Theoretical principles explain the structure of the insect head direction circuit

  1. Pau Vilimelis Aceituno  Is a corresponding author
  2. Dominic Dall'Osto
  3. Ioannis Pisokas  Is a corresponding author
  1. Institute of Neuroinformatics, University of Zürich and ETH Zürich, Switzerland
  2. School of Informatics, University of Edinburgh, United Kingdom
12 figures, 6 tables and 1 additional file

Figures

Encoding heading with multiple harmonics.

Each panel shows the activity profiles encoding a particular heading value. Curves f=1, f=2, and f=1+f=2 respectively denote the waveform of the first harmonic, second harmonic, and the sum of the two. The vertical dashed (f=1 peak) and dotted lines (f=2 peaks) indicate the neurons which respond maximally for the first and second harmonic, respectively. Top row: Encoding the heading as the sum of two independent harmonics causes the waveform to change shape as the insect rotates, because the waveform for each harmonic can only rotate a distance of 360f as the insect rotates a full revolution to ensure an unambiguous representation. Bottom row: If all harmonics are aligned to rotate at the same speed, the combined waveform shape does not change. However, this alignment implies that higher harmonic waveforms cannot be uniquely mapped back to a heading: here the f=2 encoding is the same for θ = 0° and 180°.

Increased number of harmonics introduces more noise.

Increasing the number of active harmonic frequencies increases the effect of errors in the network. (A) Weight matrix profiles, ω, for networks with increasing numbers of harmonics. (B) Normally distributed noise with zero mean and standard deviation 0.3 was added to the network activity, then the network state updated until it reached steady state. Networks with fewer harmonics better filtered out noise. (C) Noise variance increases linearly as the number of active harmonics increases, as predicted by Equation 12. The sample size was n=1000 trials for each active harmonics set, and the error bars show the standard deviation over trials.

Circuits for encoding with different harmonics.

We show four circuits corresponding to each of the individual harmonics f=1,2,3,4 in panels (A, B, C, and D), respectively. Excitatory synapses are marked in red and inhibitory in blue. Neurons are shown in yellow with each having a black arrow that marks the direction to which it is tuned from Equation 16. The f=1 circuit is the simplest and constitutes our baseline. For the other cases we plot the original connectivity in the upper row and the rearranged network in the lower row. We find that the f=2 circuit consists of two independent subnetworks encoding orthogonal directions, the f=3 case is identical to f=1 after permuting neuron indices, and the f=4 case results in two connected groups of neurons inhibiting each other, hence it can only encode one direction. As such, all cases either have a degenerate ring structure (f=2,4) or are equivalent to f=1 after permutation.

Comparison to biological data.

The biological network models of (A) the locust and (B) the fruit fly, with four distinct neural populations each were simplified to equivalent networks with one population by counting paths of lengths 1, 2, and 3 between EPG neurons (which encode the integrated heading) and using the net signed path count as a proxy for connectivity strength. The average connectivity profile for each neuron to its neighbours around the ring was compared to the sinusoidal connectivity predicted by our theory. The locust network has no standard deviation because the data in Pisokas et al., 2020, are based on light microscopy which couldn’t resolve variations between columns. Excitatory connections are shown in red and inhibitory connections in blue, while the strength of a connection is indicated by the line width.

Recovery of synaptic weights with a Hebbian learning rule.

The synaptic weights converge to a sinusoidal pattern under our modified Oja’s rule when the network activity is dynamic and a sinusoidal input is provided. (A) The weights start at zero and slowly converge to the prescribed sinusoidal profile, showing that this connectivity can emerge from scratch. (B) The sinusoidal weights are perturbed by noise but learning ensures that the weight profile is corrected. In both cases the network’s initial activity is corrupted with zero mean Gaussian noise. Noisy sinusoidal input is provided to rotate the activity bump around the network at a constant speed of 1/8 neurons per timestep. The simulation runs for 100 periods. Parameters: N=8, integration timestep Δt=0.01,η=0.1,a=1,σW=0.2,σa=0.2,σu=0.2.

Path counting.

(A) The full locust connectivity network from Pisokas et al., 2020, and (B) the connections with path lengths 2 and 3 from EPG1 to all other EPG neurons in the network. Because the network is rotationally symmetric these path counts generalise to all EPG neurons as shown in Table 3.

The connectivity matrix for the fruit fly containing all 152 neurons.

On the horizontal axis are the names of the pre-synaptic neurons while on the vertical axis the names of the post-synaptic neurons. Neurons of each cell type are ordered by the glomerulus they innervate and arbitrarily within glomerulus.

The connectivity matrix for the fruit fly neurons grouped by innervated glomerulus so containing 60 groups.

On the horizontal axis are the names of the pre-synaptic neurons while on the vertical axis the names of the post-synaptic neurons. Neuron groups are ordered by the glomerulus they innervate.

The connectivity matrix for the fruit fly neurons grouped by glomerulus and aggregated from both hemispheres, so containing 34 groups.

On the horizontal axis are the names of the pre-synaptic neuron groups while on the vertical axis are the names of the post-synaptic neuron groups. Neuron groups are ordered by the glomerulus they innervate.

The connectivity matrix for the fruit fly neurons grouped by glomerulus and aggregated from both hemispheres, with PEG9 and PEG1 neurons and EPG9 and EGP1 neurons grouped, so containing 32 groups in total.

On the horizontal axis are the names of the pre-synaptic neuron groups while on the vertical axis the names of the post-synaptic neuron groups. Neuron groups are ordered by the glomerulus they innervate.

Gaussian and von Mises distributions provide a better fit than the weight profile with sinusoidal weights of frequency 1, but the former two distributions have an extra model parameter.

When fixing the width parameters of these distributions to match the sinusoid, all three distributions provide a very similar fit. Note that the –4 and 4 neuron indices are the same and just duplicated for visualisation purposes.

Recovery of synaptic weights with a Hebbian learning rule.

The synaptic weights converge to a sinusoidal pattern under Oja’s rule when the neurons have a nonlinear (tanh) activation function and a distorted (more square wave-like) sinusoidal input is provided. (A) The weights start at zero and slowly converge to the prescribed sinusoidal profile, showing that this connectivity can emerge from scratch. (B) The sinusoidal weights are perturbed by noise but learning ensures that the weight profile is corrected. (C) The distorted sinusoidal input (orange) compared to a sinusoid profile (blue). Noise was added to the initial activity, weights, and input with the same parameters as in Figure 5, the only difference being that these simulations were run for 2500 periods.

Tables

Table 1
Requirements for a heading integration circuit.
Circular topologyRotational symmetryNoise minimisation
The activity should have the same topology as the variable it is encoding to prevent discontinuities. To encode heading, the activity should have the topology of a 1D circle.The heading integration circuit should work similarly, irrespective of the direction in which the insect travels. There should not be a bias for any direction.The circuit should minimise the noise of the neural representation so the insect can navigate as precisely as possible.
Table 2
Distribution of neural activity phases for different harmonics.

We computed fnmod8 for n={1,2,3,4,5,6,7} and f={1,2,3,4,5,6,7,8} and found that all possible phases appear for any odd number. This happens because the mod8 operation imposes an abelian group structure, namely Z/8 and any coprime with 8 will be a generator of the whole group. If we use instead f=2 or f=6 we have that we can divide N=8 and f by 2 and we get the abelian group Z/4 which has four elements. The same argument applies to f=4, leaving only two elements, and for f=8 we get a single element.

n=0n=1n=2n=3n=4n=5n=6n=7gcd(8,f)
f=1012345671
f=2024602462
f=3036147251
f=4040404044
f=5052741631
f=6064206422
f=7076543211
f=8000000008
Table 3
Net path count profile between EPG neurons in the locust circuit.
EPGnn4n3n2n1nn+1n+2n+3
Excitatory path count00012100
Inhibitory path count43100013
Net path count–4-3–1121–1–3
Table 4
Neuron types and their numbers in the fruit fly connectome dataset (Scheffer et al., 2020).
Neuron classNumber
PEN_a(PEN1)20 neurons
PEN_b(PEN2)22 neurons
PEG18 neurons
EPG46 neurons
EPGt4 neurons
Delta7 (Δ7)42 neurons
Table 5
List of the Delta7 neuron sub-types in the fruit fly connectome dataset (Scheffer et al., 2020).

These differ in the glomeruli their pre- and post-synaptic terminals innervate. We are referring to those altogether as Delta7 neurons in the present account.

Delta7 neuron sub-typesGlomerulus group
Delta7(PB15)_L1L9R8_RDelta7 L1
Delta7(PB15)_L2R7_RDelta7 L2
Delta7(PB15)_L3R6_RDelta7 L3
Delta7(PB15)_L4R5_RDelta7 L4
Delta7(PB15)_L4R6_RDelta7 L4
Delta7(PB15)_L5R4_LDelta7 L5
Delta7(PB15)_L6R3_LDelta7 L6
Delta7(PB15)_L6R4_LDelta7 L6
Delta7(PB15)_L7R2_LDelta7 L7
Delta7(PB15)_L7R3_LDelta7 L7
Delta7(PB15)_L8R1R9_LDelta7 L8
Table 6
Quality of fit for different possible weight structures.

The root mean square error (RMSE) is weighted by the variance attached to each connection (in units of standard deviations). The corrected Akaike information criterion (AICc) is also shown for the weight profiles in Figure 11. The best fit after correcting for model size is the Gaussian with fixed standard deviation, but it is very closely matched by the von Mises with fixed kappa and f=1.

CurveRMSEAICc
f=10.32138.05
Gaussian0.194112.60
von Mises0.185412.55
Gaussian (fixed stddev)0.31427.98
von Mises (fixed kappa)0.31788.02

Additional files

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Pau Vilimelis Aceituno
  2. Dominic Dall'Osto
  3. Ioannis Pisokas
(2024)
Theoretical principles explain the structure of the insect head direction circuit
eLife 13:e91533.
https://doi.org/10.7554/eLife.91533