Neural Circuit Architectural Priors for Rat Locomotion
Organizations: Department of Computer Science, New York University · Department of Psychology, New York University · Center for Data Science, New York University
Abstract
Animals generate behavior through continuous interactions between their neural circuits, bodies, and environment. Embodied simulations study these interactions by testing neural circuit models in biologically realistic settings. Recent efforts have simulated diverse animals, and emerging work on biologically grounded neural architectures has begun to integrate circuit connectivity and single-unit dynamics from experimental data into artificial neural networks, introducing stronger inductive biases and closer mechanistic alignment with biology. How can we develop embodied simulations that enable the study of increasingly complex bodies and neural circuits? In this work, we address the challenge through coordinated advances in the simulated body, neural architecture, and training infrastructure. We introduce Rat v2, an efficient and flexible biomechanical body for simulating rat behavior. To control this body, we develop Rat NCAP, a biologically grounded neural architecture for locomotion based on mammalian spinal circuits that incorporates cell-type-specific connectivity and a novel flexor-extensor neuromechanical interface. To optimize circuit parameters, we develop GPU-accelerated simulation and training infrastructure. The model learns to locomote at different speeds and transition between gaits without imitation learning, producing locomotion statistics, kinematics, and cell-type-specific neural activity consistent with experimental data. Analyses reveal that the neuromechanical interface substantially affects trainability and gait quality, and in silico cell-type ablations reproduce known gait phenotypes and predict gait changes under graded perturbations. Together, these findings support the view that embodied simulations at an intermediate level of abstraction can simultaneously reproduce complex behavior and yield mechanistic insights into the neural circuits that generate it.
Figures & tables
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Segment | Action | Dim. |
| Head | Atlas: extend | [1] |
| Mandible: open | [1] | |
| Neck | Cervical: extend, bend, twist | [3] |
| Forelimb | Scapula: supinate, abduct, extend | [2, 3] |
| Shoulder: supinate, extend | [2, 2] | |
| Elbow: extend | [2, 1] |
| Torque | Position | Position-stiffness | Flexor-extensor | |
| Rat NCAP | ||||
| RG (fixed) | 33 | 33 | 33 | 33 |
| BC (fixed) | 2 | 2 | 2 | 2 |
| AF sensor layer | 200 | 200 | 200 | 200 |
| AF reset layer | 180 | 180 | 180 | 180 |
| PF synergy layer: RG, BC inputs | 324 | 324 | 324 | 324 |
| Hyperparameter | Value |
| Population size | 1024 |
| Top directions | 256 |
| Perturbation scale | 0.02 |
| Step size | 0.03 |
| Epochs | 4000 |
| Training rollout length | 100 steps (3 s) |
| Hyperparameter | Value | Hyperparameter | Value |
| Parallel environments | 6144 | KL early-stop threshold | 0.05 |
| Steps per update | 40 | Optimizer | Adam |
| Discount | 0.97 | Learning rate | |
| GAE | 0.95 | Entropy coefficient | 0 |
| Minibatch size | 4096 | Gradient clipping | None |
| Minibatch iterations | 4 | Advantage normalization | Yes |