Spiking Neural Networks Derive Insect Locomotion States From Distributed
A computational investigation into insect biomechanics demonstrates that multi-layer spiking neural networks can accurately decode movement primitives and whole-body posture using only distributed proprioceptive signals from leg joints. Published in Biological
Illustrative imageA computational investigation into insect biomechanics demonstrates that multi-layer spiking neural networks can accurately decode movement primitives and whole-body posture using only distributed proprioceptive signals from leg joints. Published in Biological Cybernetics by researchers Thomas van der Veen, Volker Dürr, and Elisabetta Chicca, the study addresses a longstanding neurobiological puzzle: how insects successfully coordinate multi-legged locomotion and monitor body orientation without the dedicated vestibular organs or statocysts found in vertebrates and certain aquatic invertebrates. By constructing a hierarchical model driven entirely by kinematic data recorded from freely moving stick insects of the species Carausius morosus, the authors revealed that elementary combinations of joint angles and angular velocities are sufficient to track step cycle phases, phase transitions, and substrate-relative body pitch during walking and stair climbing.
To explore how high-level postural control emerges from localized mechanoreceptive feedback, the research team designed an extended four-layer spiking neural network architecture. In biological systems, redundant motor control is often simplified through movement primitives, where individual degrees of freedom are coupled into functional motor synergies. Insects lack specialized gravitational sensors on their bodies to gauge orientation directly, relying instead on distributed proprioceptor arrays across their thoracic segments and limbs. Building directly upon a preceding companion study that modeled the phasic-tonic encoding of joint angles by hair field mechanoreceptive afferents in Layer 1 and the extraction of position and velocity signals in Layer 2 first-order interneurons, the current work implemented two subsequent interneuronal layers to evaluate how local joint information converges to represent limb states and global posture.
The experimental foundation for validating the computational architecture comprised detailed kinematic recordings from nine adult stick insects walking and climbing across an experimental track. The insects were filmed using a high-speed motion capture system equipped with eight infrared cameras operating at 200 frames per second, tracking passive retroreflective markers placed on the animal’s head, thorax, and all six legs. The dataset encompassed 78 trials of unrestricted horizontal walking along a 40-millimeter-wide by 490-millimeter-long walkway, alongside 15 trials where the insects encountered and negotiated two 48-millimeter physical steps. These vertical barriers were equivalent to three times the insects’ body clearance and exceeded their leg length, forcing substantial postural adaptations that tilted the metathorax upwards to pitch angles reaching approximately 60 degrees relative to the horizontal.
Across all simulations, the model processed the time courses of three pivotal rotational degrees of freedom per leg: protraction and retraction around the thorax-coxa alpha joint, levation and depression at the coxa-trochanter beta joint, and extension and flexion across the femur-tibia gamma joint. In Layer 2, these continuous kinematic trajectories were translated into discrete spike trains by twelve first-order interneurons per leg, categorized into positive and negative position-sensitive units alongside positive and negative velocity-sensitive units. This sensory upstream fed into Layer 3, designated as the movement primitive layer, which comprised 112 second-order interneurons per leg, yielding a total population of 672 neurons across the six thoracic limbs. Each movement primitive interneuron received converging synaptic inputs from two or three distinct joints of the same leg, systematically exploring all viable permutations across seven architectural subsets.
All simulated interneurons were implemented using leaky integrate-and-fire dynamic models solved via the backward difference method at a temporal resolution of 0.25 milliseconds. The fundamental dynamics were defined by a leak reversal potential, membrane threshold, membrane decay time constant, and synaptic weights. To identify the operational envelope of Layer 3, the researchers conducted an exhaustive grid search optimizing synaptic weights between 2 millivolts and 18 millivolts alongside the membrane decay time constant across all 78 horizontal walking trials. Model classification performance was assessed using Matthews correlation coefficient against empirical ground truth spike trains binned at 50-millisecond windows. Across all seven structural subsets, model fidelity peaked at an extremely brief decay constant of 0.2 milliseconds, declining as integration windows widened and temporally distant spikes generated spurious coincident firings.
The computational analysis showed distinct performance differences among the seven movement primitive subsets, dictated largely by the dynamical properties of their presynaptic inputs. Subsets integrating position interneurons, such as position-position and position-position-position combinations, consistently achieved higher Matthews correlation coefficients than subsets relying predominantly on velocity interneurons. The authors identified three physiological and computational mechanisms underlying this disparity. First, velocity-sensitive first-order interneurons exhibited an intrinsic response delay of approximately 25 milliseconds relative to kinematic ground truth. Second, position interneurons maintained elevated, sustained firing frequencies across broad ranges of joint deflection, whereas velocity units discharged in brief, sparse bursts. Third, while position interneurons retained sensitivity across entire sensory hair fields, velocity units responded strictly during initial hair deflections, limiting total coincidence opportunities.
Beyond basic coincidence detection, Layer 3 interneurons functioned as robust detectors of discrete behavioral events, exhibiting clear specialization for particular step cycle phases. By segmenting experimental swing and stance phases into 16 normalized temporal bins each, the team evaluated each neuron against idealized phase templates. Certain movement primitive units matched specific step cycle states with exceptional accuracy. Notably, an interneuron in the left hind leg receiving triple velocity inputs—combining forward protraction at the alpha joint, upward levation at the beta joint, and inward flexion at the gamma joint—achieved the highest swing phase score in the entire model. This single neuron fired reliably during nearly 100 percent of swing bins while remaining completely silent throughout stance, capturing leg liftoff and touchdown transitions with smooth continuity.
A systematic comparison across the six legs revealed pronounced functional divisions between anterior and posterior limbs that mirror natural stick insect locomotor strategies. While bilateral symmetry was remarkably preserved between left and right limb counterparts, striking front-to-rear reversals emerged in joint-specific tuning. For instance, positive velocity signals at the femur-tibia gamma joint supported swing detection in front legs but signaled stance in hind legs, with an inverted pattern governing the coxa-trochanter beta joint. Thorax-coxa alpha joint velocity remained the sole consistent factor across all six legs, reliably signaling swing during protraction and stance during retraction. Furthermore, movement primitive interneurons in middle and hind legs demonstrated significantly sharper phase selectivity than those in front legs, reflecting the irregular searching movements and short tactile probing steps characteristic of anterior limbs.
In the fourth layer of the network, the researchers assessed whether distributed single-leg movement primitives could converge to reconstruct whole-body postural orientation without dedicated equilibrium organs. Layer 4 comprised three specialized third-order interneurons receiving inputs from all 672 movement primitive units: a single climbing classifier neuron and two pitch estimator neurons. Individual Layer 3 units were screened for climbing or walking biases based on the ratio of spikes emitted when substrate-relative body pitch exceeded or remained below 10 degrees. Using leave-one-out cross-validation across the 15 stair-climbing trials, the climbing classifier neuron achieved an optimal mean Matthews correlation coefficient of 0.597 with a climbing bias threshold of 1.8 and a synaptic weight of 0.15 millivolts, with middle legs providing the largest functional contribution.
Simultaneously, the two pitch estimator neurons reconstructed continuous metathoracic pitch angles by taking the z-normalized difference between their respective firing rates. Optimized with a bias threshold of 1.620 and a synaptic weight of 10 millivolts, the pitch-estimating pair achieved a mean squared error of 0.664 relative to experimental motion capture recordings. At these elevated weights, the estimator units operated essentially as perfect spike integrators. The middle legs contributed the greatest number of presynaptic connections to the pitch estimation pool, followed closely by the front legs, while hind legs contributed the fewest. The resulting temporal profile closely matched actual climbing trajectories across trials, although transient overestimations and temporal leads occasionally appeared when insects initiated elevated limb searching prior to obstacle contact.
These computational findings provide critical support for the hypothesis that insect nervous systems can extract high-level body representations and phase switching cues solely from kinematic proprioception. Biomechanical frameworks of multi-legged locomotion frequently presume that transitions between swing and stance require explicit contact force or load feedback from campaniform sensilla. However, behavioral observations show that insects preserve normal stepping coordination when walking inverted on ceilings or negotiating steep inclines despite radical shifts in gravitational load vectors. By demonstrating that pure kinematic coincidence detection across distributed joint proprioceptors can reliably isolate step cycle phases and estimate spatial body pitch, this virtual ablation model confirms that load cues are not strictly mandatory for internal state representation.
While demonstrating the viability of distributed proprioceptive decoding, the authors noted several neurobiological simplifications that present valuable directions for future robotic and physiological research. The current model operated deterministically without biological synaptic or channel noise, lacked non-spiking interneurons known to populate insect thoracic neuropils, and relied exclusively on hair field mechanoreceptive models rather than integrating high-velocity chordotonal organs or load-sensing campaniform sensilla. Future expansions could incorporate multi-sensory integration and lateral inter-leg coordination circuits to resolve additional degrees of freedom, such as roll, yaw, and forward translational velocity. Nevertheless, the study confirms that hierarchical coincidence networks offer a computationally efficient, biologically grounded mechanism for extracting robust body posture and motor states from distributed mechanical feedback.
Subject of Research: Spiking neural network modeling of distributed proprioceptive encoding for insect locomotion and posture
Article Title: Encoding of movement primitives and body posture through distributed proprioception in walking and climbing insects
Article References: van der Veen, T., Dürr, V., & Chicca, E. (2026). Encoding of movement primitives and body posture through distributed proprioception in walking and climbing insects. Biological Cybernetics, 120(1), Article 3. https://doi.org/10.1007/s00422-025-01029-x
Image Credits: AI Generated
DOI: 10.1007/s00422-025-01029-x
Keywords: spiking neural networks, distributed proprioception, insect locomotion, Carausius morosus, movement primitives, body posture, computational neuroscience, leaky integrate-and-fire, biomechanics, joint kinematics, step cycle encoding, climbing behavior, interneurons, biological cybernetics, motor control, stick insects
News Source: Cassandra Pierce. (November 25, 2026). Spiking Neural Networks Derive Insect Locomotion States From Distributed Proprioceptive Signals. Scienmag.
