Neural Circuit Architectural Priors for Quadruped Locomotion

Nikhil X. Bhattasali, Venkatesh Pattabiraman, Lerrel Pinto, Grace W Lindsay · Submission to ICLR 2025 · Rejected

TL;DR

Instead of relying on heavily engineered reward functions or massive MLPs to learn quadruped locomotion, Quadruped NCAP embeds the architectural wiring of mammalian spinal circuits directly into a neural network. This biologically inspired controller achieves comparable asymptotic performance to standard MLPs with 3 orders of magnitude fewer parameters (just 92 weights at test time), exhibits natural gaits out of the box, and transfers directly to a physical robot without standard domain randomization.

What Problem Does This Paper Address?

In nature, animals like foals walk within hours of birth thanks to evolutionary inductive biases encoded in their nervous systems. In contrast, modern reinforcement learning for legged locomotion typically uses generic, unconstrained Multi-Layer Perceptrons (MLPs). Because MLPs have virtually no architectural priors, researchers must guide them using complex reward shaping, imitation datasets, motor primitives, or training curricula to avoid unnatural or unstable gaits.

Prior work introduced Neural Circuit Architectural Priors (NCAP) for simple organisms like C. elegans, whose exact 302-neuron connectome is fully mapped. However, scaling this concept to quadrupeds was an open challenge: mammalian nervous systems contain millions to billions of neurons without a complete connectome, and quadrupedal locomotion is a high-dimensional, inherently unstable dynamical problem.

Methods

Quadruped NCAP bridges computational neuroscience and robotics through several key innovations:

  • Population-Level Modeling: Rather than modeling individual neurons, NCAP abstracts circuits into genetically defined neural populations with rate-coded continuous dynamics.
  • Specialized Computational Units: The architecture relies on two continuous-time building blocks:
  • Basic Unit: A standard leaky rate-coded neuron.
  • Oscillator Unit: A simplified relaxation oscillator capturing intrinsically bursting neurons, capable of period modulation, phase-resetting, and entrainment.
  • Modular Biological Structure:
  • Rhythm Generation (RG): Reciprocally inhibiting flexor/extensor half-centers coordinated across limbs by cross (commissural) and diagonal/side (propriospinal) connections. RG weights are biologically tuned and frozen.
  • Brainstem Command (BC): Drives the RG circuit to set locomotor speed and modulate gait transitions (walk, trot, bound).
  • Pattern Formation (PF) & Afferent Feedback (AF): Linear trainable layers that map half-center states to joint position targets and rectify sensory observations (joint positions, torques, foot pressures) back into the spinal network.
  • Overparameterization Trick: To ease optimization with gradient-free Augmented Random Search (ARS), the authors artificially expand the trainable weight matrices during training via dimension duplication, and mathematically collapse them via linear summation at test time.
Sensory Input (ot) ──► [ Afferent Feedback (AF) ]
                              │
                              ▼
Brainstem Drive (ct) ─► [ Rhythm Generation (RG) ] ──► [ Pattern Formation (PF) ] ──► Joint Targets (at)

Datasets

Because this work focuses on embodied reinforcement learning and control, it is evaluated on simulation benchmarks and real hardware rather than static datasets:

  • Simulation Benchmark: Built on the MuJoCo physics engine via DeepMind Composer using the Unitree A1 robot model. Tasks feature 15-second episodes requiring fixed-speed (Walk: 0.5 m/s, Run: 1.0 m/s) or variable-speed (0–1.0 m/s) forward motion across Flat and procedural Bumpy terrains with randomized foot friction.
  • Physical Hardware: Evaluated directly on a real Unitree A1 quadruped robot (12 actuated degrees of freedom).

Key Insights and Ideas

  • You don't need a single-neuron connectome: Modeling circuits at the level of functional, genetically identified cell groups provides sufficient inductive bias to solve complex 3D locomotion.
  • Biological priors eliminate gait artifacts: While MLPs often learn erratic shuffles or limp unless heavily constrained by reward terms, NCAP innately produces coordinated, symmetric footfall patterns due to its built-in spinal circuit structure.
  • Extreme parameter compression: Linear mappings combined with rhythmic central pattern generation achieve locomotion control with mere dozens of parameters, disproving the assumption that complex quadruped policies require tens of thousands of weights.
  • Innate Sim-to-Real Robustness: Entrainment between the spinal rhythm and afferent feedback acts as an intrinsic stabilizer, enabling zero-shot physical transfer without domain randomization.

Key Results

  • Parameter Efficiency: NCAP requires only 92 parameters during inference (708 during training), compared to 79,372 parameters for a standard MLP(256, 256)—a reduction of nearly 1,000×.
  • Data Efficiency & Return: On the challenging Bumpy/Run task, NCAP reaches asymptotic return roughly 500 epochs (~8 million timesteps) faster than the MLP baseline.
  • Generalization: NCAP matched or outperformed MLP policies when evaluated zero-shot across variations in terrain bumpiness (0 to 1), body mass (1 to 20 kg), and PD controller gains ($k_p, k_d$).
  • Physical Robot Deployment: When deployed directly to a physical Unitree A1 without sim-to-real adaptations:
  • The MLP policy failed immediately, producing violent, erratic actions that threw the robot into walls.
  • The NCAP policy successfully walked forward across multiple trials, absorbing real-world physical perturbations.

Limitations and Future Work

  • Hand-Tuned Central Circuit: The Rhythm Generation module and brainstem commands rely on hand-tuned biological parameters rather than learned connections, which may be suboptimal for non-biological robot dynamics.
  • Simplified Actuation: The policy outputs joint position targets for a low-level PD controller rather than modeling muscle dynamics, compliance, or torque actuation directly.
  • Fixed Steering & Posture: The current architecture focuses on forward locomotion; incorporating steering, turning, postural balance, and righting reflexes remains open for future research.

Summary updated

BibTeX
@misc{bhattasali2024neural,
  author = {Nikhil X. Bhattasali and Venkatesh Pattabiraman and Lerrel Pinto and Grace W Lindsay},
  title = {{Neural Circuit Architectural Priors for Quadruped Locomotion}},
  year = {2024},
  eprint = {2410.07174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.07174},
}
Figure