MEKAWIRE
ExpertarXiv

A Spiking Ring-Attractor Architecture for Representation and Control of Revolute Robot Joints

Aung Htet, Alejandro Rodriguez Jimenez, Ruidong Ma, Alessandro Di Nuovo
From the abstract

Robotic systems with revolute joints evolve on circular state spaces, yet most control architectures represent these states using Euclidean variables that ignore this underlying geometry. We propose a fully spiking neural control architecture in which ring attractors encode joint states, enforcing representations consistent with the topology of revolute systems.

From the abstract. Our summary is in progress.

Full paper

A Spiking Ring-Attractor Architecture for Representation and Control of Revolute Robot Joints

Aung Htet, Alejandro Rodriguez Jimenez, Ruidong Ma, Alessandro Di Nuovo

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2610.26027 (PDF).

Abstract

Robotic systems with revolute joints evolve on circular state spaces, yet most control architectures represent these states using Euclidean variables that ignore this underlying geometry. We propose a fully spiking neural control architecture in which ring attractors encode joint states, enforcing representations consistent with the topology of revolute systems.

Homeostatic regulation computes goal-state mismatch directly over these distributed representations, and opponent gain-modulated populations convert this mismatch into controlled phase shifts of the activity bump, implementing set-point regulation as motion on the ring.

We show that the bump dynamics follow an SO(2) geometry, and that gain asymmetries induce a signed phase velocity on the ring. To interface distributed activity with scalar regulation signals, we derive an analytic Fourier phase decoder and implement its signed components using push–pull spiking populations.

For multi-joint systems, we demonstrate that local ring-based Fourier features compose into product representations that linearly decode SO(3) orientations through forward kinematics. Experiments in NEST validate the full SO(2) regulation mechanism and the spiking product-feature decoder for lift, pitch, and yaw. Robot experiments on a Tiago arm show that decoded ring dynamics generate joint velocity commands, producing directed motion with joint-dependent accuracy.

Together, these results establish a neuromorphic control framework in which representation, regulation, and action are unified within a ring-attractor substrate aligned with the geometry of revolute systems.

1 Introduction

Neural circuits in biological systems often do not appear to separate representation from control. Internal states are maintained as distributed activity patterns, goals can be encoded within the same substrate, and behavior can emerge through continuous regulation of one activity state toward another. This organization is especially clear in neural systems for orientation and navigation, where heading, goal direction, and steering commands are represented and transformed within population activity [7, 20, 13]. Ring attractors provide a particularly relevant example: in biological head-direction systems, they maintain localized activity bumps on a circular manifold and support angular integration [17, 18, 10]. This circular structure has also made ring attractors useful in computational and robotic models of path integration, grid-cell organization, and bio-inspired navigation [11, 19, 15, 2].

Building on this circular population structure, we propose a robotic control architecture in which ring attractors represent revolute joint states and serve as dynamical substrates for control. The central idea is to regulate the phase of a persistent activity bump directly, rather than decoding joint state into an external Euclidean variable before control. Homeostatic comparison provides a signed mismatch between goal and state, while opponent gain modulation converts that mismatch into directed transport of the bump around the ring [3, 16, 22]. Because the neural activity bump and the physical joint angle both evolve on circular manifolds, this yields a topology-preserving, fully spiking control primitive for revolute variables.

This perspective also provides a natural geometric and compositional structure. Phase shifts of a ring-attractor bump correspond to motion on SO(2), with infinitesimal displacements described by a Lie-algebraic tangent direction [12, 21, 9]. To interface this distributed representation with scalar regulatory signals, we derive an NEF-inspired Fourier decoder that extracts phase from ring activity [4]. For multi-joint systems, the same local Fourier features, \cos q_{i} and \sin q_{i}, compose through known forward kinematics to provide an SO(3) orientation readout. Thus, individual rings generate controlled SO(2) trajectories, while their decoded features support robot-level orientation estimates.

Our contributions are: (i) a biologically inspired closed-loop ring-attractor controller in which a Hammel-style homeostatic comparator drives opponent gain modulation to transport bump states on an SO(2)-structured manifold; (ii) a Lie-algebraic transport analysis of the gain-imbalance mechanism; (iii) an analytic Fourier phase decoder that maps distributed ring activity to scalar phase estimates compatible with homeostatic comparison; (iv) a forward-kinematic Fourier decoder that reads out an SO(3) orientation estimate from known revolute-chain ring states via product Fourier features; and (v) empirical validation in NEST spiking simulations [6] and on a Tiago robot [14].

The remainder of the paper presents the architecture, derives the SO(2) transport mechanism and Fourier readouts, and evaluates the resulting spiking controller in NEST and on a Tiago arm. Additional derivations and experimental details are provided in the appendix.

2 Architecture Overview

2.1 Single-ring architecture for revolute joint control

Figure 1: Single-ring architecture for revolute joint control, composed of four modules. The goal ring encodes the desired joint phase as a localized bump; the state ring encodes the current joint phase. A Positional Fourier readout decodes each bump into a scalar phase estimate, which feeds a Hammel-style homeostatic comparator. The comparator drives opponent left-gain (LG) and right-gain (RG) populations, moving the ring in their preferred direction. A mismatch between goal and state produces a gain imbalance that moves the bump state along the ring; when the mismatch vanishes, the opponent signals become balanced and stabilizes the bump.

This single-ring architecture builds on prior ring-attractor work for number subitization [8], extending the substrate from discretized representations of continuous revolute-joint control. Figure 1 shows the resulting control primitive for a single revolute joint, composed of goal and state ring-attractor populations, a Fourier readout layer, a homeostatic comparator, and opponent gain-modulation populations.

The goal ring encodes the desired joint configuration as the phase of a localized activity bump, and a similar representation is subsequently used by the state ring for the current joint configuration. The activity of these rings is projected onto positional Fourier features, which are decoded into spike-rate estimates of scalar phase. These goal and state phase estimates are then provided to a Hammel-inspired homeostatic comparator for feedback control [3]. The comparator produces opponent output signals that drive the left-gain (LG) and right-gain (RG) populations, directing the state bump along the preferred angular direction and closing the control loop.

This single-ring unit constitutes the basic control primitive. The following sections first derive the geometry and transport dynamics of this primitive, before Section 2.5 describes how multiple ring states are decoded through a known forward-kinematic chain.

2.2 Ring attractor as an SO(2)-structured state space (Figure 1.A)

A ring attractor is a recurrent neural network whose connectivity is invariant to rotations of a circular preferred-phase index [23, 1, 5]. This symmetry supports a continuous family of stable population states: localized activity bumps centered at any phase \phi\in S^{1}. In the regime considered here, the controlled state is the bump centroid rather than the activity of any individual neuron.

For a revolute joint, this representation is natural because the joint angle and the bump phase both live on a circular manifold. We approximate the ring activity as a translated bump,

u_{r}(\theta,t)\approx f\!\left(\theta-\phi(t)\right),
(1)

where f is the bump profile and \phi(t) is the represented joint phase. Thus, although the neural activity is high dimensional, the controlled coordinate is the scalar phase \phi(t)\in S^{1}.

This population code has an SO(2) structure: shifting the bump by an angle \alpha maps u_{\phi} to u_{\phi+\alpha}. The family of bump states is therefore an orbit of the rotation group, and the centroid phase can equivalently be represented as R(\phi)\in SO(2). Control corresponds to moving the bump along this orbit. The tangent direction is generated by the infinitesimal rotation operator J=-\partial_{\theta}, so an input that reliably changes the represented joint angle must project onto the bump tangent rather than merely perturbing firing rates.

In a symmetric ring, all centroid phases are equally stable and there is no preferred direction of drift. Balanced afferent drive preserves this symmetry and keeps the bump stationary. Directed motion requires breaking the symmetry through a signed imbalance between opponent directional drives, which produces a transport term of the form

\partial_{t}u_{r}(\theta,t)+c(u_{r})\partial_{\theta}u_{r}(\theta,t)=F_{r}(u_{r}),
(2)

where F_{r}(u_{r}) denotes the symmetric recurrent dynamics and c(u_{r}) is a signed transport coefficient. The next section shows how opponent gain modulation implements this coefficient in the spiking circuit.

2.3 Gain modulation as Lie-algebraic transport (Figure 1.B)

Opponent gain modulation provides the directional drive that moves the bump. The architecture uses two gain populations, u_{g}^{+}(\theta,t) and u_{g}^{-}(\theta,t), which receive phase-shifted copies of the state-ring activity together with scalar homeostatic drives:

u_{g}^{+}(\theta,t)=W_{rg}\,g(u_{r}(\theta+\delta\theta,t))+B_{+}(t),\qquad u_{g}^{-}(\theta,t)=W_{rg}\,g(u_{r}(\theta-\delta\theta,t))+B_{-}(t).
(3)

The opposite shifts make the two populations sensitive to opposite directions of bump motion. When B_{+}(t)=B_{-}(t), their effects are balanced and the ring symmetry is preserved. When the homeostatic comparator creates an imbalance, the symmetry is broken and the bump drifts with a sign determined by B_{+}(t)-B_{-}(t).

To first order in the phase shift \delta\theta, the summed gain feedback contains a symmetric component and a directional component proportional to the ring gradient:

g(u_{g}^{+})+g(u_{g}^{-})\approx\underbrace{g(x_{+})+g(x_{-})}_{\text{symmetric}}+\underbrace{W_{rg}\delta\theta\,g^{\prime}(u_{r})\bigl[g^{\prime}(x_{+})-g^{\prime}(x_{-})\bigr]\partial_{\theta}u_{r}}_{\text{directional}},
(4)

where x_{\pm}=W_{rg}g(u_{r})+B_{\pm}(t). The symmetric term changes the net drive without selecting a direction. The directional term vanishes when the opponent drives are balanced and becomes nonzero only when B_{+}(t)\neq B_{-}(t).

Collecting this directional feedback in the ring dynamics yields

\partial_{t}u_{r}(\theta,t)+c(u_{r})\,\partial_{\theta}u_{r}(\theta,t)=F_{r}(u_{r}),
(5)

with transport coefficient

c(u_{r})=\frac{W_{gr}W_{rg}\,\delta\theta}{\tau_{r}}\,g^{\prime}(u_{r})\bigl[g^{\prime}(x_{+})-g^{\prime}(x_{-})\bigr].
(6)

Thus the transport speed scales with the phase shift, bidirectional coupling, and opponent gain difference. Since J=-\partial_{\theta}, this is equivalently activity injection along the tangent direction of the SO(2) bump manifold:

\partial_{t}u_{r}(\theta,t)=F_{r}(u_{r})+c(u_{r})\,Ju_{r}(\theta,t).
(7)

On the single-bump manifold, this transport reduces to an effective phase velocity,

\dot{\phi}(t)=c_{\mathrm{eff}}(t),

where c_{\mathrm{eff}}(t) is the projection of the gain imbalance onto the bump tangent. Opponent gain modulation therefore encodes velocity along the ring, not joint angle itself; integrating this velocity transports the internal joint state toward the goal set by the homeostatic comparator.

2.4 Positional Fourier readout for scalar phase decoding (Figure 1.E)

The homeostatic comparator operates on scalar variables, whereas the ring attractor represents state as a distributed bump. We therefore decode each ring activity profile into a scalar phase estimate using a periodic Fourier readout.

For a translated bump g(x)=r(x-\theta), the centroid estimator can be written as a projection of activity onto a positional ramp. Since the ring is periodic, this ramp admits a Fourier sine expansion, yielding the linear decoder

\hat{\theta}=b+\sum_{m=1}^{K}w_{m}S_{m}(g),\qquad S_{m}(g)=\sum_{x=0}^{N}g(x)\sin\!\left(\frac{2\pi mx}{L}\right),
(8)

where w_{m} are analytic coefficients, optionally corrected for finite bump width. Appendix C gives the full derivation.

Figure 2 validates the decoder on translated Gaussian bumps and its spiking implementation. Increasing the number of modes improves phase reconstruction, while a single mode already captures the coarse phase signal. Because the features S_{m}(g) are signed but spike counts are nonnegative, each feature is implemented with push–pull subpopulations and recovered by subtraction.

Figure 2: Analysis of the Fourier phase decoder. Top left: sine features S_{m}(g) for Gaussian bump activity. Top right: Fourier decoders with K=1,3,50 modes reconstruct centered position with increasing accuracy. Bottom left: push–pull spiking implementation of the K=1 feature. Bottom right: mean \pm standard deviation spike response across 10 repeats and 25 ring positions, showing a stable phase-dependent readout.

In the controller, the goal and state rings are decoded into \hat{\theta}_{g} and \hat{\theta}_{s}. The Hammel comparator computes their signed mismatch and drives the opponent gain populations, thereby connecting the SO(2)-structured population code to the gain-modulated transport mechanism.

2.5 Forward-kinematic Fourier decoder for known revolute chains

The single-ring controller represents and regulates one angular state. To connect multiple controlled rings to robot-level variables, we define a forward-kinematic readout for known revolute chains. This readout does not add a new control law; it maps distributed ring activity into an end-effector orientation estimate.

For each joint q_{i}, the Fourier readout provides first-harmonic estimates

\bar{C}_{i}\approx\cos q_{i},\qquad\bar{S}_{i}\approx\sin q_{i},

which form the local feature vector

\varphi_{i}=\begin{bmatrix}1\\
\bar{C}_{i}\\
\bar{S}_{i}\end{bmatrix}\approx\begin{bmatrix}1\\
\cos q_{i}\\
\sin q_{i}\end{bmatrix}.
(9)

For a revolute joint with known axis, the corresponding rotation matrix is linear in these features. For a serial chain, products of joint rotations therefore generate products of local Fourier terms, all contained in

\Phi^{(n)}=\varphi_{1}\otimes\varphi_{2}\otimes\cdots\otimes\varphi_{n}.
(10)

Thus, for a fixed kinematic convention, there exists a linear map T such that

\mathrm{vec}(\hat{R}_{\mathrm{ee}})=T\hat{\Phi}^{(n)},
(11)

where \hat{\Phi}^{(n)} is formed from ring-estimated features.

In the robot experiments, this decoder is used to read out lift, pitch, and yaw under a fixed ordered convention. In the spiking implementation, signed product-feature populations are formed from the input rings and projected to orientation-coordinate output rings, allowing the composition to remain within the neural substrate.

This decoder assumes known revolute kinematics, fixed rotation axes and multiplication order, and reliable first-mode sine–cosine estimates from each ring. Under these assumptions, it maps a product of local SO(2) ring states to an SO(3) orientation estimate, extending the single-joint control primitive toward task-space representations.

3 Implementation and Results

3.1 Experimental setup

Figure 3: Robot-to-ring interface for the Tiago experiments. Each control step pairs a Tiago camera frame with the current spiking ring activity. The circular and unwrapped plots show the same population response, making the bump location and centroid visible during control. The timeline shows decoded gain-modulated commands moving the joint from start to target. Quantitative tracking results are reported in Figure 5, with additional analyses in Figures 7 and 8.

We evaluate the architecture in two stages. Spiking experiments instantiate the full architecture in NEST [6] using iaf_psc_alpha populations and test whether the homeostatic gain-modulation loop transports a state bump toward a goal on the SO(2)-structured manifold, with model parameters reported in Appendix Table 1. Robot experiments connect the resulting trajectories to a Tiago arm [14] via ROS, using a receding-horizon streaming interface to issue joint velocity commands and logging measured joint states to evaluate whether decoded ring phases correspond to physical motion. For multi-ring trials, end-effector orientation is computed from logged joint angles through the known forward-kinematic model.

3.2 Spiking implementation of SO(2) homeostatic transport

We first evaluate the complete single-ring controller in NEST. The circuit contains the state ring attractor, the Hammel-style homeostatic comparator, and opponent left- and right-gain populations from Section 2. The goal is to verify the core mechanism from Section 2.3: a phase mismatch should induce an opponent gain imbalance, and this imbalance should transport the ring-attractor bump.

Figure 4 shows the resulting activity. The ring maintains a localized bump whose centroid is displaced from the start phase toward the goal phase, demonstrating directed transport of the represented state. The trajectory is not perfectly monotonic and does not always converge exactly to the target, but it remains a coherent bump motion rather than a diffuse change in population firing.

Panel C quantifies the remaining circular error across target locations after the transient period. Errors are target-dependent, indicating that the present parameterization produces a usable but nonuniform transport field over the ring. This nonuniformity is consistent with finite-size spiking effects, decoder resolution, and local gain calibration, and motivates the calibration refinements used in the robot interface.

Panel D shows the predicted opponent structure in the homeostatic and gain pathways. Hot and cold comparator activity varies systematically with relative phase, producing a graded mismatch signal. The left- and right-gain channels show complementary activation, with each channel preferentially engaged for one sign of the phase mismatch. This push–pull pattern implements the imbalance B_{+}(t)-B_{-}(t) that generates the transport coefficient in Equation (12). Together, these results show that the spiking circuit realizes the intended symmetry-breaking mechanism for SO(2) bump transport, while also revealing the target-dependent residual error expected from an unoptimized finite spiking implementation.

Figure 4: Single-ring SO(2) homeostatic controller implemented in NEST where the ring attractor is simulated using 200 neurons. A: ring-attractor firing-rate heatmap with the decoded circular centroid overlaid in white. The cyan dotted line marks the start phase and the orange dotted line marks the goal phase. B: left- and right-gain raster plots throughout the simulation period (associated to the top graph). C: relative goal error, computed as circular distance to the goal divided by ring size N, averaged over t>30000\,\mathrm{ms} across ten runs per goal. The black dotted vertical line marks the starting point. D: left- and right-homeostasis neuron spike-count heatmaps.

3.3 Tiago single-joint control from gain-modulated ring velocity

We next evaluate whether the SO(2) ring controller can drive physical joint motion on the Tiago arm. The central test is whether opponent gain modulation produces a signed velocity command whose integration moves a revolute joint toward a target angle.

For each Tiago arm joint, the measured joint angle is mapped onto the state ring and a sampled target angle is injected into the goal ring. The NEST controller runs in closed loop; at each step, the difference in spike counts between the right-gain and left-gain populations,

s_{t}=R_{t}-L_{t},
(12)

provides the signed gain signal. This is the spiking realisation of the gain imbalance derived in Section 2.3: positive s_{t} drives transport in one angular direction, negative s_{t} in the other. The signal is passed through an exponential filter and decoded into a joint velocity command with separate calibration gains for the positive and negative drive components, preserving the opponent structure of the controller. Commands are sent as receding-horizon joint trajectories via ROS, and measured joint positions are logged throughout.

Figure 5: Tiago single-joint control where the opponent gain-modulation activity is translated to the robot’s joint velocity. Left: Robot simulation snapshot demonstrating how the robot moves for specific joint index. Right: Robot simulation used to demonstrate error between goal state and target state of the ring attractor based single joint control.

Figure 5 summarises the final absolute error across all seven Tiago arm joints. The controller successfully drives directed motion across all joints, confirming that the gain-modulated ring signal translates to physical displacement. Performance is joint-dependent: some joints show consistently small errors across batches, while others exhibit larger spread and occasional outliers. This variability reflects differences in joint range, mechanical dynamics, and the calibration of the neural drive to physical velocity, rather than failures of the control mechanism itself.

3.4 NEST implementation of the forward-kinematic ring decoder

We finally evaluate whether the product-feature readout derived in Section 2.5 can be implemented in spiking neurons and decoded into orientation-coordinate output rings. We instantiate a two-ring decoder for a known two-revolute-joint chain,

R(q_{1},q_{2})=R_{x}(q_{1})\,R_{y}(q_{2}),
(13)

where the first ring represents rotation about the x-axis and the second about the y-axis. Although only two input rings are used, the experiment tests the essential compositional mechanism: local SO(2) Fourier features are combined into signed product-feature populations via push-pull pairs, and those product features are projected to output rings encoding lift, pitch, and yaw.

Figure 6: Sawtooth-decoded output-ring index against the true target index for two slices of the joint configuration space (q_{1} fixed with q_{2} varied; q_{2} fixed with q_{1} varied). Decoded and true traces closely overlap for lift, pitch, and yaw. Discontinuities are expected sawtooth wrap-around effects from the circular representation, quantified in Figure 9. See Appendix Figure 10 for decoder activity.

Figure 10 shows the internal decoder activity. During a sweep of q_{2} with q_{1} fixed, the first-order features track the sweep directly while the product features reflect the interaction between the fixed q_{1} state and the varying q_{2} state. The output ring profiles confirm that these product features are sufficient to produce structured orientation-coordinate population responses.

Figure 6 quantifies the decoder output against analytically computed targets across two configuration-space slices. The decoded traces closely track the true targets throughout, and Figure 9 shows that the circular index error remains small across both sweep conditions and all three orientation variables. The discontinuities visible in Figure 6 are expected sawtooth wrap-around effects, not decoder failures.

These results validate the orientation readout in spiking neurons. The decoder does not control orientation — it reads out the orientation implied by the ring states. The single-ring homeostatic gain-modulation loop generates SO(2) trajectories; the multi-ring product-feature decoder composes those trajectories into lift, pitch, and yaw output rings.

4 Conclusion

We introduced a spiking ring-attractor architecture for representing and controlling revolute robot joints. Rather than treating joint angle as an external scalar variable passed to a conventional controller, the proposed system represents joint state as a persistent activity bump on a circular neural manifold and regulates that state through homeostatic comparison and opponent gain modulation. This provides a different paradigm for spiking robot control: representation and action are not separated, but are coupled through transport of a population code whose geometry matches the topology of the physical joint.

The results show that gain imbalance can induce directed bump motion on an SO(2)-structured ring, that distributed ring activity can be decoded through analytic Fourier features, and that local ring features can be composed into forward-kinematic orientation readouts for known revolute chains. Robot experiments further demonstrate that the gain-modulated ring dynamics can be coupled to physical joint motion, producing directed actuation with joint-dependent accuracy. Although the present implementation is not intended to replace optimized model-based or PID controllers, it establishes a neuromorphic control primitive in which circular state representation, regulation, and motor drive are implemented within a common spiking substrate.

Because the controlled variable is represented by a population activity pattern rather than a single scalar state, this framework may offer robustness advantages under noise, partial perturbation, or neuronal variability: errors in individual units need not destroy the represented phase as long as the population bump remains coherent. More broadly, precise control of such attractor bumps could enable applications beyond low-level joint actuation, including task-space control, internal simulation, and neural forms of motor imagery. In biological systems, structured activity patterns can be maintained, shifted, and replayed offline, as in hippocampal experience replay; analogous mechanisms in robotic ring-attractor substrates could support imagined trajectories, predictive rollouts, or planning over embodied state spaces. We therefore view controlled spiking attractor dynamics as a promising route toward natural neural controllers for revolute systems, where the geometry of the controller is aligned with the geometry of the body it controls.

References

  1. [1] S. Amari (1977) Dynamics of pattern formation in lateral-inhibition type neural fields. Biological Cybernetics 27 (2), pp. 77–87. External Links: ISSN 1432-0770, Link, Document
  2. [2] S. Benas, X. Fernandez, and E. Kropff (2024) Modeled grid cells aligned by a flexible attractor. eLife. External Links: Link, Document
  3. [3] J. A. Boulant (2006) Neuronal basis of hammel’s model for set-point thermoregulation. Journal of Applied Physiology 100 (4), pp. 1347–1354. External Links: Document
  4. [4] C. Eliasmith (2005) A unified approach to building and controlling spiking attractor networks. Neural Computation 17 (6), pp. 1276–1314. External Links: Document
  5. [5] W. Gerstner, W. M. Kistler, R. Naud, and L. Paninski (2014) Cortical field models for perception. In Neuronal Dynamics: From Single Neurons to Networks and Models of Cognition, pp. 467–490.
  6. [6] M. Gewaltig and M. Diesmann (2007) NEST (neural simulation tool). Scholarpedia 2 (4), pp. 1430. External Links: Document
  7. [7] J. Green, A. Adachi, K. K. Shah, J. D. Hirokawa, P. S. Magani, and G. Maimon (2017) A neural circuit architecture for angular integration in drosophila. Nature 546 (7656), pp. 101–106. External Links: ISSN 1476-4687, Link, Document
  8. [8] A. Htet, A. J. Rodriguez, S. Hamburg, and A. Di Nuovo (2025) Allostatic control of persistent states in spiking neural networks for perception and computation. In Biomimetic and Biohybrid Systems, pp. 388–402. External Links: ISBN 9783032074485, ISSN 1611-3349, Link, Document
  9. [9] M. Khona and I. R. Fiete (2022) Attractor and integrator networks in the brain. Nature Reviews Neuroscience 23 (12), pp. 744–766. External Links: ISSN 1471-0048, Link, Document
  10. [10] S. S. Kim, H. Rouault, S. Druckmann, and V. Jayaraman (2017) Ring attractor dynamics in the <i>drosophila</i> central brain. Science 356 (6340), pp. 849–853. External Links: ISSN 1095-9203, Link, Document
  11. [11] T. C. Knowles, A. G. Summerton, J. G. H. Whiting, and M. J. Pearson (2023) Ring attractors as the basis of a biomimetic navigation system. Biomimetics 8 (5). External Links: Link, ISSN 2313-7673, Document
  12. [12] R. M. Murray, Z. Li, and S. S. Sastry (2017) Rigid body motion. In A Mathematical Introduction to Robotic Manipulation, pp. 19–79. External Links: ISBN 9781315136370, Link, Document
  13. [13] P. Mussells Pires, L. Zhang, V. Parache, L. F. Abbott, and G. Maimon (2024) Converting an allocentric goal into an egocentric steering signal. Nature 626 (8000), pp. 808–818. External Links: ISSN 1476-4687, Link, Document
  14. [14] J. Pagès, L. Marchionni, and F. Ferro (2016) TIAGo: the modular robot that adapts to different research needs. External Links: Link
  15. [15] J. D. Rivero-Ortega, J. S. Mosquera-Maturana, J. Pardo-Cabrera, J. Hurtado-López, J. D. Hernández, V. Romero-Cano, and D. F. Ramírez-Moreno (2023) Ring attractor bio-inspired neural network for social robot navigation. Frontiers in Neurorobotics Volume 17 - 2023. External Links: Link, Document, ISSN 1662-5218
  16. [16] E. Salinas and T. J. Sejnowski (2001) Gain modulation in the central nervous system: where behavior, neurophysiology, and computation meet. The Neuroscientist 7 (5), pp. 430–440. External Links: ISSN 1089-4098, Link, Document
  17. [17] J. D. Seelig and V. Jayaraman (2015) Neural dynamics for landmark orientation and angular path integration. Nature 521 (7551), pp. 186–191. External Links: ISSN 1476-4687, Link, Document
  18. [18] D. Turner-Evans, S. Wegener, H. Rouault, R. Franconville, T. Wolff, J. D. Seelig, S. Druckmann, and V. Jayaraman (2017) Angular velocity integration in a fly heading circuit. eLife 6. External Links: ISSN 2050-084X, Link, Document
  19. [19] P. Vafidis, D. Owald, T. D’Albis, and R. Kempter (2022) Learning accurate path integration in ring attractor models of the head direction system. eLife 11, pp. e69841. External Links: Document, Link, ISSN 2050-084X
  20. [20] E. A. Westeinde, E. Kellogg, P. M. Dawson, J. Lu, L. Hamburg, B. Midler, S. Druckmann, and R. I. Wilson (2024) Transforming a head direction signal into a goal-oriented steering command. Nature 626 (8000), pp. 819–826. External Links: ISSN 1476-4687, Link, Document
  21. [21] S. Wu, Y. Wu, W. Zhang, and J. Zuo (2024) The motion planning neural circuit in goal-directed navigation as lie group operator search. In Advances in Neural Information Processing Systems 37, NeurIPS 2024, pp. 110369–110387. External Links: Link, Document
  22. [22] J. Zhang and L.F. Abbott (2000) Gain modulation of recurrent networks. Neurocomputing 32-33, pp. 623–628. External Links: ISSN 0925-2312, Link, Document
  23. [23] K. Zhang (1996) Representation of spatial orientation by the intrinsic dynamics of the head-direction cell ensemble: a theory. The Journal of Neuroscience 16 (6), pp. 2112–2126. External Links: ISSN 1529-2401, Link, Document

Appendix A Ring-attractor mode analysis and SO(2) reduction

This appendix provides the derivation underlying Section 2.2. We start from the continuum ring neural field

\tau_{r}\partial_{t}u_{r}(\theta,t)=-u_{r}(\theta,t)+\int_{-\pi}^{\pi}W(\theta-\theta^{\prime})g(u_{r}(\theta^{\prime},t))\,d\theta^{\prime}+I(\theta,t),

where u_{r}(\theta,t) is the ring activity, W(\theta-\theta^{\prime}) is a translation-invariant recurrent kernel, g is a static nonlinearity, and I is external input. For the mode analysis, we first consider a constant input I(\theta,t)=I_{0} and a spatially homogeneous equilibrium

u_{r}(\theta,t)=\bar{u}.

Substituting this into the neural field and setting \partial_{t}u_{r}=0 gives

\bar{u}=g(\bar{u})\int_{-\pi}^{\pi}W(\theta-\theta^{\prime})\,d\theta^{\prime}+I_{0}.

Since the kernel depends only on the phase difference, the integral is independent of \theta. Let

\widehat{W}_{0}=\int_{-\pi}^{\pi}W(\psi)\,d\psi.

Then the homogeneous fixed point satisfies

\bar{u}=g(\bar{u})\widehat{W}_{0}+I_{0}.

To study the stability of this homogeneous state, write

u_{r}(\theta,t)=\bar{u}+v(\theta,t),

where v is a small perturbation. Expanding the nonlinearity to first order,

g(\bar{u}+v)\approx g(\bar{u})+g^{\prime}(\bar{u})v.

Substituting into the neural field and cancelling the fixed-point terms gives the linearized dynamics

\tau_{r}\partial_{t}v(\theta,t)=-v(\theta,t)+g^{\prime}(\bar{u})\int_{-\pi}^{\pi}W(\theta-\theta^{\prime})v(\theta^{\prime},t)\,d\theta^{\prime}.

Because the recurrent operator is convolutional on the ring, Fourier modes diagonalize the linearized dynamics. Let

v(\theta,t)=\sum_{k=-\infty}^{\infty}a_{k}(t)e^{ik\theta}.

The Fourier coefficient of the kernel is

\widehat{W}_{k}=\int_{-\pi}^{\pi}W(\psi)e^{-ik\psi}\,d\psi.

Using the convolution identity on the ring, each mode evolves independently:

\tau_{r}\dot{a}_{k}(t)=\left[-1+g^{\prime}(\bar{u})\widehat{W}_{k}\right]a_{k}(t).

Thus the growth rate of mode k is

\lambda_{k}={1\over\tau_{r}}\left[-1+g^{\prime}(\bar{u})\widehat{W}_{k}\right].

Modes with \lambda_{k}<0 decay, while modes with \lambda_{k}>0 destabilize the homogeneous state. In the parameter regime considered in the main text, the recurrent kernel and nonlinearity support a stable single-bump profile rather than a homogeneous firing state. The mode analysis therefore motivates the reduction from a full activity field to a low-dimensional bump coordinate.

We assume the ring is operating in this activated single-bump regime. The activity can then be approximated by a fixed bump profile translated by a phase coordinate,

u_{r}(\theta,t)\approx f(\theta-\phi(t)),

where f is the bump profile and \phi(t)\in S^{1} is the bump centroid. This is a collective-coordinate approximation: the controlled state is not the activity of a single neuron, but the position of the distributed bump.

The rotation action on ring activity is

(\rho_{\alpha}u_{r})(\theta)=u_{r}(\theta-\alpha).

For the bump state

u_{\phi}(\theta)=f(\theta-\phi),

we have

(\rho_{\alpha}u_{\phi})(\theta)=f(\theta-\alpha-\phi)=u_{\phi+\alpha}(\theta).

Thus the family of translated bump states is an orbit of the continuous rotation group. The bump centroid may equivalently be represented by the rotation matrix

R(\phi)=\begin{pmatrix}\cos\phi&-\sin\phi\\
\sin\phi&\cos\phi\end{pmatrix}\in SO(2).

The full neural population state lives in a high-dimensional activity space, but the controlled collective coordinate \phi(t) lies on S^{1} and carries the action of SO(2).

The infinitesimal generator of rotations on the ring is

J=-\partial_{\theta}.

For a small displacement \delta\phi,

u_{\phi+\delta\phi}(\theta)=f(\theta-\phi-\delta\phi)\approx f(\theta-\phi)-\delta\phi\partial_{\theta}f(\theta-\phi).

Using J=-\partial_{\theta}, this becomes

u_{\phi+\delta\phi}(\theta)\approx u_{\phi}(\theta)+\delta\phi Ju_{\phi}(\theta).

Thus the tangent direction of the single-bump manifold is Ju_{\phi}. A control input that moves the bump should therefore project onto this direction.

Appendix B Derivation of gain modulation as a transport equation

This appendix provides the derivation underlying Section 2.3. The goal is to show how opponent gain populations produce a first-order transport term on the ring. Let u_{g}^{+}(\theta,t) and u_{g}^{-}(\theta,t) denote the two gain populations. We model their inputs as shifted copies of the ring activity plus opponent homeostatic drive:

u_{g}^{+}(\theta,t)=W_{rg}g(u_{r}(\theta+\delta\theta,t))+B_{+}(t),
u_{g}^{-}(\theta,t)=W_{rg}g(u_{r}(\theta-\delta\theta,t))+B_{-}(t),

where W_{rg} is the ring-to-gain connection strength, \delta\theta is a small connection phase shift, and B_{+}(t), B_{-}(t) are homeostatic drive terms.

For small \delta\theta, expand the shifted ring activity:

u_{r}(\theta+\delta\theta,t)\approx u_{r}(\theta,t)+\delta\theta\partial_{\theta}u_{r}(\theta,t),
u_{r}(\theta-\delta\theta,t)\approx u_{r}(\theta,t)-\delta\theta\partial_{\theta}u_{r}(\theta,t).

Applying the nonlinearity gives

g(u_{r}(\theta+\delta\theta,t))\approx g(u_{r})+\delta\theta g^{\prime}(u_{r})\partial_{\theta}u_{r},
g(u_{r}(\theta-\delta\theta,t))\approx g(u_{r})-\delta\theta g^{\prime}(u_{r})\partial_{\theta}u_{r},

where u_{r} abbreviates u_{r}(\theta,t).

Define the baseline gain inputs

x_{+}=W_{rg}g(u_{r})+B_{+}(t),\qquad x_{-}=W_{rg}g(u_{r})+B_{-}(t).

Then the gain-population activities can be written to first order as

u_{g}^{+}\approx x_{+}+W_{rg}\delta\theta g^{\prime}(u_{r})\partial_{\theta}u_{r},
u_{g}^{-}\approx x_{-}-W_{rg}\delta\theta g^{\prime}(u_{r})\partial_{\theta}u_{r}.

Expanding the gain output nonlinearity around x_{+} and x_{-} gives

g(u_{g}^{+})\approx g(x_{+})+W_{rg}\delta\theta g^{\prime}(x_{+})g^{\prime}(u_{r})\partial_{\theta}u_{r},
g(u_{g}^{-})\approx g(x_{-})-W_{rg}\delta\theta g^{\prime}(x_{-})g^{\prime}(u_{r})\partial_{\theta}u_{r}.

Summing the two opponent outputs gives

g(u_{g}^{+})+g(u_{g}^{-})\approx g(x_{+})+g(x_{-})+W_{rg}\delta\theta g^{\prime}(u_{r})\left[g^{\prime}(x_{+})-g^{\prime}(x_{-})\right]\partial_{\theta}u_{r}.

The first two terms are nondirectional. They modify the local drive to the ring but do not select a direction of motion. The final term is directional because it is proportional to \partial_{\theta}u_{r}.

This expression also shows why balanced opponent drive does not move the bump. If B_{+}(t)=B_{-}(t), then x_{+}=x_{-}, and therefore

g^{\prime}(x_{+})-g^{\prime}(x_{-})=0.

The directional term vanishes. Thus equal opponent magnitudes preserve the rotational symmetry of the ring and do not generate bump transport. Directed motion requires B_{+}(t)\neq B_{-}(t), which breaks the symmetry and leaves a nonzero first-order transport term.

The state ring receives feedback from the gain populations with strength W_{gr}. Substituting the directional term into the ring equation and collecting all nondirectional terms into F_{r}(u_{r}) gives

\partial_{t}u_{r}(\theta,t)+c(u_{r})\partial_{\theta}u_{r}(\theta,t)=F_{r}(u_{r}).

The symmetric part is

F_{r}(u_{r})={1\over\tau_{r}}\left[-u_{r}(\theta,t)+\int_{-\pi}^{\pi}W(\theta-\theta^{\prime})g(u_{r}(\theta^{\prime},t))\,d\theta^{\prime}+I(\theta,t)\right].

The transport coefficient is

c(u_{r})={W_{gr}W_{rg}\delta\theta\over\tau_{r}}g^{\prime}(u_{r})\left[g^{\prime}(x_{+})-g^{\prime}(x_{-})\right].

Depending on the sign convention used for the feedback projection, the sign of c(u_{r}) may be absorbed into W_{gr} or into the definitions of the positive and negative gain channels. The important point is that the transport coefficient is proportional to the phase shift \delta\theta, the bidirectional coupling W_{gr}W_{rg}, and the local gain difference between the two opponent channels.

Using J=-\partial_{\theta}, the transport equation becomes

\partial_{t}u_{r}(\theta,t)=F_{r}(u_{r})+c(u_{r})Ju_{r}(\theta,t).

Thus gain modulation supplies the scalar coefficient multiplying the Lie algebra generator of the ring.

Finally, consider the single-bump approximation

u_{r}(\theta,t)=f(\theta-\phi(t)).

Then

\partial_{t}u_{r}(\theta,t)=-\dot{\phi}(t)f^{\prime}(\theta-\phi(t))=\dot{\phi}(t)Ju_{r}(\theta,t).

If c(u_{r}) is approximately constant over the bump support, or if it is projected onto the bump tangent direction, the dynamics reduce to an effective phase equation

\dot{\phi}(t)=c_{\mathrm{eff}}(t),

where c_{\mathrm{eff}}(t) is the transport coefficient averaged or projected over the bump. Therefore opponent gain modulation encodes velocity along the SO(2)-structured bump manifold, rather than encoding the joint angle directly.

Appendix C Fourier decoder derivation

This appendix provides the derivation underlying the positional Fourier decoder in Section 2.4. The problem is to convert a distributed bump state into a scalar phase estimate that can be used by the homeostatic comparator.

Let the ring activity be a translated bump profile

g(x)=r(x-\theta),

where x=0,\ldots,N indexes discrete ring positions and \theta is the bump position. The centroid estimator is

\hat{\theta}_{\mathrm{cent}}={\sum_{x=0}^{N}xg(x)\over\sum_{x=0}^{N}g(x)}.

Assume that the bump shape and amplitude are approximately constant under translation. Then the total mass

M_{0}=\sum_{x=0}^{N}g(x)

is approximately independent of \theta. The centroid can then be written as the linear decoder

\hat{\theta}\approx{1\over M_{0}}\sum_{x=0}^{N}xg(x).

To center the decoded coordinate, define

L=N+1,\qquad\xi(x)=x-{L\over 2}.

Then

\hat{\theta}-{L\over 2}\approx{1\over M_{0}}\sum_{x=0}^{N}\xi(x)g(x).

Thus position decoding is equivalent to projecting the activity profile onto a centered ramp function.

On a periodic interval, the centered ramp is represented by a sine series. For x\in[0,L],

x-{L\over 2}=-{L\over\pi}\sum_{m=1}^{\infty}{1\over m}\sin\left({2\pi mx\over L}\right).

Substituting this into the centered centroid estimator gives

\hat{\theta}-{L\over 2}\approx{1\over M_{0}}\sum_{x=0}^{N}g(x)\left[-{L\over\pi}\sum_{m=1}^{\infty}{1\over m}\sin\left({2\pi mx\over L}\right)\right].

Interchanging the order of summation yields

\hat{\theta}-{L\over 2}\approx-{L\over\pi M_{0}}\sum_{m=1}^{\infty}{1\over m}\sum_{x=0}^{N}g(x)\sin\left({2\pi mx\over L}\right).

Define the m-th sine feature

S_{m}(g)=\sum_{x=0}^{N}g(x)\sin\left({2\pi mx\over L}\right).

Then

\hat{\theta}\approx{L\over 2}-{L\over\pi M_{0}}\sum_{m=1}^{\infty}{1\over m}S_{m}(g).

Truncating the series to K modes gives the practical decoder

\hat{\theta}=b+\sum_{m=1}^{K}w_{m}S_{m}(g),

with

b={L\over 2},\qquad w_{m}=-{L\over\pi M_{0}m}.

If the bump profile has finite width, then each sine feature is attenuated by the Fourier response of the bump shape. In this case,

S_{m}(g)\approx A_{m}\sin\left({2\pi m\theta\over L}\right),

where A_{m} depends on the shape and width of the bump. A shape-corrected decoder can therefore absorb this attenuation into the weights:

w_{m}=-{L\over\pi mA_{m}}.

This shows that the Fourier decoder is a periodic reformulation of the centroid estimator. The centroid projects activity onto a ramp; the Fourier decoder expresses that ramp in a sine basis adapted to the ring geometry.

Appendix D Signed implementation of Fourier features

The sine features used by the decoder can take positive or negative values, whereas firing rates and spike counts are nonnegative. To implement signed Fourier features with nonnegative neural activity, each sine feature is represented by two subpopulations:

S_{m}^{+}(x)=\max\left(\sin\left({2\pi mx\over L}\right),0\right),
S_{m}^{-}(x)=\max\left(-\sin\left({2\pi mx\over L}\right),0\right).

The signed feature is recovered by subtraction:

S_{m}(g)=S_{m}^{+}(g)-S_{m}^{-}(g).

In practice, the two subpopulations accumulate spike responses to the positive and negative parts of the sine feature. The downstream linear decoder then combines the recovered signed features to estimate the bump phase. This implements the Fourier phase readout using nonnegative neural responses while preserving the linear decoding structure used in the main text.

Appendix E Compositional SO(2) ring decoder for SO(3) orientation

This appendix derives the orientation readout used in the robot experiments. The control mechanism — homeostatic comparison driving opponent gain modulation on individual rings — is described in the main text. Here we show how the decoded phases of several such rings compose into a robot-level SO(3) orientation estimate through forward kinematics. This is a readout, not an additional control law.

E.1 From ring activity to local trigonometric features

The Fourier readout derived in Appendix C extracts a scalar phase estimate from each ring. For the orientation readout we retain the trigonometric form rather than collapsing to a scalar angle, because forward kinematics is naturally expressed in terms of sines and cosines. For ring i with activity profile g_{i}(x) over positions x=0,\ldots,L-1, the first harmonic Fourier features are

C_{i}=\sum_{x=0}^{L-1}g_{i}(x)\cos\!\left(\frac{2\pi x}{L}\right),\qquad S_{i}=\sum_{x=0}^{L-1}g_{i}(x)\sin\!\left(\frac{2\pi x}{L}\right).
(14)

When bump shape and amplitude are approximately preserved under translation — the same condition that justifies the centroid approximation in the main text — normalising by the bump shape gives reliable estimates

\bar{C}_{i}\approx\cos q_{i},\qquad\bar{S}_{i}\approx\sin q_{i},
(15)

where q_{i} is the phase represented by the bump centroid. These are collected into a local feature vector

\varphi_{i}=\begin{bmatrix}1\\
\bar{C}_{i}\\
\bar{S}_{i}\end{bmatrix}\approx\begin{bmatrix}1\\
\cos q_{i}\\
\sin q_{i}\end{bmatrix},
(16)

where the constant term accounts for the fixed entries present in all coordinate-axis rotation matrices.

E.2 A single revolute rotation is linear in ring features

A rotation about a coordinate axis a_{i}\in\{x,y,z\} takes the form

R_{x}(q_{i})=\begin{bmatrix}1&0&0\\
0&\cos q_{i}&-\sin q_{i}\\
0&\sin q_{i}&\cos q_{i}\end{bmatrix},\;R_{y}(q_{i})=\begin{bmatrix}\cos q_{i}&0&\sin q_{i}\\
0&1&0\\
-\sin q_{i}&0&\cos q_{i}\end{bmatrix},\;R_{z}(q_{i})=\begin{bmatrix}\cos q_{i}&-\sin q_{i}&0\\
\sin q_{i}&\cos q_{i}&0\\
0&0&1\end{bmatrix}.
(17)

Each matrix is linear in 1,\cos q_{i},\sin q_{i}, so for any coordinate axis the local rotation can be written as

R_{a_{i}}(q_{i})=B^{(0)}_{a_{i}}+\cos q_{i}\,B^{(c)}_{a_{i}}+\sin q_{i}\,B^{(s)}_{a_{i}},
(18)

where the coefficient matrices B^{(0)},B^{(c)},B^{(s)} are read off directly from equation (17) and are fixed once the joint axis is known. A single ring’s Fourier features therefore suffice to linearly represent one coordinate-axis revolute rotation.

E.3 Composing rings produces product Fourier features

For a serial chain of n revolute joints, the end-effector orientation is the ordered product

R_{\mathrm{ee}}(q_{1},\ldots,q_{n})=R_{a_{1}}(q_{1})\,R_{a_{2}}(q_{2})\cdots R_{a_{n}}(q_{n}).
(19)

The order here is not arbitrary — serial rotations do not commute, so the multiplication order is part of the kinematic convention and must match the robot model. Substituting equation (18) for each factor and expanding yields matrix entries that are sums of products of local sine and cosine terms across joints, such as

\cos q_{1}\cos q_{2},\qquad\cos q_{1}\sin q_{2},\qquad\sin q_{1}\sin q_{2},\qquad\cos q_{1}\cos q_{2}\cos q_{3}.
(20)

All such terms appear in the tensor product of the individual feature vectors. The chain feature vector

\Phi^{(n)}=\varphi_{1}\otimes\varphi_{2}\otimes\cdots\otimes\varphi_{n}
(21)

contains every cross-term generated by the kinematic chain and has 3^{n} entries for n first-harmonic rings. Since every entry of R_{\mathrm{ee}} is a sum of these product features, there exists a fixed matrix T such that

\mathrm{vec}(R_{\mathrm{ee}})=T\Phi^{(n)},
(22)

which is exact for coordinate-axis revolute chains. For the three-ring case considered here \Phi^{(n)} has 3^{3}=27 entries, which is entirely manageable; longer chains would require feature pruning or low-rank approximation.

E.4 Neural implementation with estimated features

In the spiking model the exact features are replaced by ring-activity estimates, giving

\hat{\Phi}^{(n)}=\hat{\varphi}_{1}\otimes\hat{\varphi}_{2}\otimes\cdots\otimes\hat{\varphi}_{n},\qquad\mathrm{vec}(\hat{R}_{\mathrm{ee}})=T\hat{\Phi}^{(n)}.
(23)

Because product Fourier features can take positive or negative values while neural firing rates are nonnegative, each feature is implemented via a push-pull pair of subpopulations,

\Phi^{+}_{j}=\max(\Phi_{j},0),\qquad\Phi^{-}_{j}=\max(-\Phi_{j},0),\qquad\Phi_{j}=\Phi^{+}_{j}-\Phi^{-}_{j},
(24)

preserving the linear readout structure while remaining compatible with nonnegative spike counts. The signed product populations project directly to output rings for lift, pitch, and yaw using analytic or learned weights.

E.5 Three-ring orientation readout for lift, pitch, and yaw

For the robot experiments three ring coordinates represent lift, pitch, and yaw. Under the ordered convention

R=R_{\mathrm{lift}}(\hat{q}_{\mathrm{lift}})\,R_{\mathrm{pitch}}(\hat{q}_{\mathrm{pitch}})\,R_{\mathrm{yaw}}(\hat{q}_{\mathrm{yaw}}),
(25)

the composed feature vector \Phi=\varphi_{\mathrm{lift}}\otimes\varphi_{\mathrm{pitch}}\otimes\varphi_{\mathrm{yaw}} supports the exact linear readout \mathrm{vec}(R)=T\Phi. When an explicit rotation matrix is decoded, lift, pitch, and yaw are recovered as

\hat{\theta}=-\arcsin(r_{31}),\qquad\hat{\lambda}=\arctan 2(r_{32},r_{33}),\qquad\hat{\psi}=\arctan 2(r_{21},r_{11}),
(26)

valid away from the gimbal singularity at \cos\theta=0, which does not arise in the workspace used for the Tiago experiments. Alternatively, a direct linear decoder from \hat{\Phi} to each output ring coordinate can be fitted, bypassing explicit matrix extraction and allowing the composition to be carried out entirely within the neural substrate.

The SO(3) orientation produced by this readout is not separately controlled. It is the forward-kinematic image of three independently controlled SO(2) ring trajectories, each driven by its own homeostatic gain-modulation loop.

Appendix F Extra Results

F.1 Tiago single-joint control from gain-modulated ring velocity

Figure 7: Left: Gain-population imbalance versus decoded velocity command across joints 0,3 and 5. Each point represents one recorded time step from the ring controller, showing an approximately linear increase in decoded velocity with the difference between right and left gain-population spike counts. Right: Settling time for joints 0, 3, and 5 under the ring and PID controllers. Settling time is defined as the first time the absolute tracking error remains below 0.05 rad for 5 consecutive samples; bars show mean ± 1 SD across trials.
Figure 8: Left: Absolute tracking error over time for joints 0, 3, and 5, shown for representative Ring and PID trials. The dashed line indicates the 0.05 rad tolerance. PID drops into this band quickly, while the Ring controller reduces error more slowly and reaches the same threshold later. Right: Velocity command over time for joints 0, 3, and 5, shown for representative Ring and PID trials. PID starts with a strong corrective command and rapidly decays toward zero, while the Ring controller applies smaller, smoother commands that vary gradually over a longer duration.

F.2 NEST implementation of the forward-kinematic ring decoder

Figure 9: Circular index error for the two-ring forward-kinematic decoder under the same sweep conditions as Figure 6. Across both sweeps and all three decoded orientation variables, the circular error remains small, confirming that the discontinuities in Figure 6 arise from the circular representation rather than decoder failure.
Figure 10: Spiking implementation of the two-ring forward-kinematic decoder in NEST. Top: signed product-feature population activity during a sweep of q_{2} with q_{1} fixed, showing systematic variation of first-order features (\cos q_{1},\sin q_{1},\cos q_{2},\sin q_{2}) and second-order products (\cos q_{1}\cos q_{2}, etc.) with joint angle. Bottom: output ring profiles for lift, pitch, and yaw at representative q_{2} values, showing structured population responses driven by the product-feature layer.

Appendix G Model Parameters

Table 1: Spiking model parameters used for the ring, homeostatic comparator, and gain-modulation populations.
  • Neuron parameters for iaf_psc_alpha
  • Firing threshold (mV)
    Symbol
    V_{\mathrm{th}}
    Ring
    0.8
    Homeostatic
    0.8
    Gain
    1.35
  • Membrane time constant (ms)
    Symbol
    \tau_{m}
    Ring
    7.04
    Homeostatic
    7.04
    Gain
    7.04
  • Membrane capacitance (pF)
    Symbol
    C_{m}
    Ring
    3.96{\times}10^{6}
    Homeostatic
    3.96{\times}10^{6}
    Gain
    3.96{\times}10^{6}
  • Excitatory synaptic time constant (ms)
    Symbol
    \tau_{\mathrm{syn}}^{\mathrm{ex}}
    Ring
    27.0
    Homeostatic
    75.0
    Gain
    27.0
  • Inhibitory synaptic time constant (ms)
    Symbol
    \tau_{\mathrm{syn}}^{\mathrm{in}}
    Ring
    50.0
    Homeostatic
    50.0
    Gain
    50.0
  • Background current (pA)
    Symbol
    I_{e}
    Ring
    4.5{\times}10^{5}
    Homeostatic
    9.0{\times}10^{5}
    Gain
    0
  • Refractory period (ms)
    Symbol
    t_{\mathrm{ref}}
    Ring
    0
    Homeostatic
    0
    Gain
    0
  • Ring-attractor topology and readout
  • Population size
    Symbol
    N
    Ring
    200
  • Represented positions
    Symbol
    N_{\mathrm{pos}}
    Ring
    30
  • Readout weight scale
    Symbol
    s_{\mathrm{readout}}
    Ring
    200
  • Ridge regularization
    Symbol
    \lambda
    Ring
    10^{-6}
  • Gain-modulation connectivity
  • Homeostatic comparator to gain
    Symbol
    w_{h\to g}
    Ring
    1.0{\times}10^{4}
  • Ring to gain
    Symbol
    w_{r\to g}
    Ring
    4.5{\times}10^{5}
  • Gain to ring
    Symbol
    w_{g\to r}
    Ring
    -0.6
  • Cross-inhibition
    Symbol
    w_{\mathrm{cross}}
    Ring
    -3.0{\times}10^{4}