Neural Circuit Architectural Priors for Embodied Control

Nikhil X. Bhattasali, Anthony M. Zador, Tatiana A. Engel

TL;DR

Researchers have developed Neural Circuit Architectural Priors (NCAP), a method for designing motor control networks based on the actual wiring diagrams of biological organisms like C. elegans. By baking biological structure into the network, they achieved performance comparable to massive "black box" models using four orders of magnitude fewer parameters and demonstrating seamless zero-shot transfer to new body types.

What Problem Does This Paper Address?

In the world of artificial intelligence, motor control is usually handled by "tabula rasa" (blank slate) architectures, specifically fully connected Multi-Layer Perceptrons (MLPs). While flexible, these models suffer from three major headaches:

  1. Data Inefficiency: They require millions of trial-and-error interactions to learn basic movements.
  2. Opacity: It is nearly impossible to look at the weights of a 70,000-parameter MLP and understand why the agent is moving a certain way.
  3. Brittleness: A model trained to control a five-jointed "swimmer" is useless if you suddenly give it a six-jointed body.

In contrast, nature doesn't start from scratch. A foal can walk within hours of birth because evolution has "pre-wired" its nervous system with inductive biases. This paper asks: Can we steal these biological blueprints to make AI more efficient and interpretable?

Methods

The authors translated the locomotion circuits of the nematode C. elegans—one of the few organisms with a fully mapped "connectome"—into a discrete-time Artificial Neural Network (ANN).

Key technical innovations include:

  • Integrator Units with Sign Constraints: Unlike standard neurons where weights can flip between positive and negative during training, these units are strictly constrained to be either excitatory (+) or inhibitory (-), mimicking biological synapses.
  • Oscillator Units: Instead of relying solely on external sensory input, the network includes internal "pacemaker" units that generate rhythmic activity, similar to the Central Pattern Generators (CPGs) found in animals.
  • Modular Translation: The C. elegans circuit (B neurons for sensing/driving, D neurons for inhibition, and muscle units) was mapped into a repeating modular architecture. Each module controls one joint of a simulated "Swimmer" agent.

The researchers tested this NCAP architecture against standard MLPs using three different learning algorithms: Proximal Policy Optimization (PPO), Deep Deterministic Policy Gradient (DDPG), and Evolution Strategies (ES).

Datasets

The study utilized the DeepMind Control Suite, a standard benchmark for reinforcement learning built on the MuJoCo physics engine. Specifically, they used the "Swimmer" task, where an articulated agent must move forward through a fluid. While not a "dataset" in the traditional sense, this environment serves as the standardized testing ground for the agent's performance.

Key Insights and Ideas

  • Structure Trumps Scale: The most striking finding is that an NCAP model with only 4 trainable parameters could outperform a small MLP (74 parameters) and match the performance of a large MLP (over 73,000 parameters). This suggests that how neurons are connected is often more important than how many there are.
  • The Necessity of Sign Constraints: Through ablation studies, the authors found that fixing the "sign" (excitatory vs. inhibitory) of a synapse is critical for learning in sparse, biologically-inspired networks. Without these constraints, the small models failed to learn entirely.
  • Zero-Shot Transfer: Because the NCAP is modular, the researchers could take a controller trained on a 5-jointed body and immediately apply it to a 3-jointed or 15-jointed body by simply adding or removing modules. Standard MLPs cannot do this; they would require a complete retraining from scratch.
  • Innate Interpretability: Because the units have specific roles (e.g., "dorsal muscle driver"), researchers can visualize the network's internal dynamics and relate them directly to the agent's physical behavior, making debugging and safety constraints much easier to implement.

Key Results

  • Parameter Efficiency: The NCAP achieved a "reward per parameter" score that was more than an order of magnitude higher than any tested MLP size.
  • Data Efficiency: NCAP models reached high performance levels significantly faster than MLPs, requiring far fewer environment interactions.
  • Qualitative Movement: While both models learned to swim, the NCAP produced large-amplitude waves resembling actual C. elegans movement, whereas MLPs tended to produce small-amplitude "tadpole-like" wiggles.

Limitations and Future Work

The authors acknowledge that their study was limited to a relatively simple 2D body and a well-understood biological circuit. The C. elegans circuit, while efficient, is not necessarily optimized for the fastest possible swimming in a MuJoCo environment.

Future directions include: * Scaling Complexity: Applying NCAP to more complex bodies, such as quadrupeds (inspired by spinal cord circuits in cats or mice) or bipeds. * Perception-Action Loops: Integrating these motor priors with upstream sensory circuits for vision or touch. * Hybrid Models: Exploring how these structured priors can be combined with larger, more general-purpose networks to get the best of both worlds: biological efficiency and deep learning's representational power.

Summary updated

Abstract

Artificial neural networks for motor control usually adopt generic architectures like fully connected MLPs. While general, these tabula rasa architectures rely on large amounts of experience to learn, are not easily transferable to new bodies, and have internal dynamics that are difficult to interpret. In nature, animals are born with highly structured connectivity in their nervous systems shaped by evolution; this innate circuitry acts synergistically with learning mechanisms to provide inductive biases that enable most animals to function well soon after birth and learn efficiently. Convolutional networks inspired by visual circuitry have encoded useful biases for vision. However, it is unknown the extent to which ANN architectures inspired by neural circuitry can yield useful biases for other AI domains. In this work, we ask what advantages biologically inspired ANN architecture can provide in the domain of motor control. Specifically, we translate C. elegans locomotion circuits into an ANN model controlling a simulated Swimmer agent. On a locomotion task, our architecture achieves good initial performance and asymptotic performance comparable with MLPs, while dramatically improving data efficiency and requiring orders of magnitude fewer parameters. Our architecture is interpretable and transfers to new body designs. An ablation analysis shows that constrained excitation/inhibition is crucial for learning, while weight initialization contributes to good initial performance. Our work demonstrates several advantages of biologically inspired ANN architecture and encourages future work in more complex embodied control.
BibTeX
@inproceedings{bhattasali2022neural,
  author = {Nikhil X. Bhattasali and Anthony M. Zador and Tatiana A. Engel},
  title = {{Neural Circuit Architectural Priors for Embodied Control}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=XSwpJ2bonX},
}
Figure