# A Biophysically Detailed C. elegans Circuit as a Task-Agnostic Dynamical Core for Visually Robust Robot Manipulation

Robotics.world

> Robot policies are normally trained end-to-end for one task, one body and one visual setting, so sensorimotor computation is baked into parameters fitted to that single condition and degrades when…

**arXiv**: 2609.39322 · Preprint · not peer-reviewed

**Published**: 2026-09-30

**Authors**: Linrui Qian, Jiajia Zhang, Gan He, Bohan Sun, Zhiwei Lin, Qianhao Wang, Zewu Cai, Nianyu Yi, Mengdi Zhao, Kai Du

## In plain words

Robot policies are normally trained end-to-end for one task, one body and one visual setting, so sensorimotor computation is baked into parameters fitted to that single condition and degrades when the visual world shifts.

## AI summary

## Overview

- **Research area:** Robotics and robot learning, at the intersection of computational neuroscience and bio-inspired control. Specifically: using a connectome-constrained, biophysically detailed *C. elegans* nervous-system model as the fixed dynamical core of a visuomotor manipulation policy.
- **Technical level:** Advanced. The paper assumes familiarity with behaviour cloning, action chunking, diffusion policies, recurrent network baselines, and multicompartment Hodgkin–Huxley neuron models.
- **Scope (one sentence):** The paper tests whether a fixed-parameter, biophysically detailed 136-neuron *C. elegans* sensorimotor circuit (the BAAIWorm brain model) can serve as a task-agnostic dynamical core that gives a robot manipulation policy robustness to visual perturbations across four simulated MetaWorld tasks and one real-robot cup-push task.

## What This Paper Is About

Robot policies are normally trained end-to-end for one task, one body and one visual setting, so sensorimotor computation is baked into parameters fitted to that single condition and degrades when the visual world shifts. The authors ask whether the computation instead can be *inherited* from an evolved nervous system: they take an existing biophysically detailed *C. elegans* circuit, freeze its synaptic weights, and train only thin task-specific adapters around it. The goal is to show that this single shared circuit can drive several manipulation tasks and, in particular, that its dynamics confer visual robustness which ordinary network cores do not.

## Key Contributions

1. **A task-agnostic biological dynamical core for manipulation.** The complete BAAIWorm sensorimotor circuit — 136 multicompartment neurons (15 sensory, 41 interneurons, 80 motor neurons), 1,901 inter-neuron connections (1,115 chemical synapses and 786 gap junctions) plus 15 sensory-input connections, Hodgkin–Huxley somas, passive neurites and fourteen ion-channel families — is embedded as the core of a visuomotor policy. Its synaptic weights stay fixed and only the encoder, FiLM parameters and action decoder are trained.
2. **Competitive multi-task performance with one shared core.** Across four MetaWorld tasks (coffee-push, hammer, door-open, assembly) the same core matches or exceeds diffusion-policy (DP), action-chunking-transformer (ACT) and neural-circuit-policy (NCP) baselines, and degrades far less under image noise, illumination change and background change.
3. **A controlled attribution experiment.** Holding the encoder, FiLM mechanism, decoder, action representation, optimizer, data and checkpoint-selection rule fixed, the authors replace the circuit with an MLP, an LSTM, a transformer, a reservoir, and a reservoir with a trained linear read-out. The robustness advantage disappears, localizing the effect to the specific circuit rather than to the interface, parameter count or recurrence in general.
4. **Real-robot validation of both the robustness and the ablation.** On a six-degree-of-freedom arm with a parallel gripper performing cup-push, the core outperforms ACT and DP under four physical perturbations, and core-replacement ablations on the robot reproduce the simulated ordering.

## Main Findings

- **Clean performance matches or beats baselines in every simulated task:** coffee-push 0.92 versus 0.86 (DP), 0.94 (ACT) and 0.86 (NCP); hammer 0.98 versus 0.28, 0.94 and 0.62; door-open 1.00 versus 1.00, 1.00 and 1.00; assembly 1.00 versus 0.78, 1.00 and 0.52.
- **Pixel noise (σ = 0.10) separates the methods qualitatively:** the core stayed at 0.90–1.00 across the four tasks, while ACT fell to 0.00–0.26, NCP to 0.08–0.46 and DP to 0.28–1.00.
- **Illumination change:** the core retained 0.82–0.98, against 0.80–0.88 (ACT), 0.14–0.96 (DP) and 0.12–0.80 (NCP).
- **Background change:** the core held 0.80–0.88 and ACT held 0.86, while DP collapsed to 0.00–0.48 and NCP to 0.04–0.56.
- **The gain is not from a better clean policy:** on three of the four tasks the clean success rates were already at ceiling for every method, so the perturbed results are the discriminator.
- **Noisy trajectories stay on the circuit's own manifold:** projected onto a three-dimensional manifold fitted to each model's clean trajectories, the full circuit's noisy trials stayed close to its clean manifold while replacement cores drifted and dispersed. At moderate noise (σ = 0.15) the speed band around the clean profile was 0.03 for the full circuit versus 0.62 (MLP), 0.28 (LSTM), 0.35 (transformer), 0.59 (reservoir) and 0.58 (reservoir read-out).
- **Five dynamical metrics agree:** temporal jitter, normalized jerk, path curvature, velocity dissimilarity and tangling reproduce the same ordering across the noise sweep, with effect sizes that grow with noise.
- **Real-robot nominal results:** the core succeeded in 18/20 trials, ACT in 16/20, DP in 14/20; NCP was excluded because its nominal real-robot success was already low (13/20).
- **Real-robot perturbation results:** the core retained 15–16/20 while ACT fell to 8–14/20 and DP to 0–12/20, with the largest separations under illumination change (15/8/0) and object displacement (15/9/6).
- **Real-robot manifold deviations:** the noisy trials of ACT and DP leave their clean manifolds, with reported spread/shift values of 0.79/2.10, 1.60/30.05 and 1.11/3.26.
- **Real-robot ablation:** the full circuit is the only variant above 50% under every perturbation; MLP, LSTM, transformer and reservoir replacements stay at or below 45% and lose most or all perturbed trials.

## Methodology in Plain English

The pipeline deliberately splits a policy into two parts that are usually fused together.

The **task-specific interface** is small and trainable. Four consecutive RGB frames are compressed by a compact CNN into a 15-dimensional "sensory drive". This drive is not fed to a task network; it is scaled and injected into the circuit's sensory neurons as clamp currents, mimicking injected stimulation.

The **dynamical core** is the BAAIWorm brain model, reused without modification. Its neurons are multicompartment models with realistic morphology and active conductances, including voltage-gated calcium channels and calcium-regulated potassium channels. The simulation runs in continuous time, and the voltages of the 80 motor neurons form a "motor neural state". Crucially, the core receives no gradient updates: its synaptic weights are frozen, and only its membrane voltages evolve.

The **readout** uses FiLM to condition the motor neural state on the visual feature, and a small MLP decodes an eight-step action chunk of which four steps are executed before the next observation arrives (predict 8, execute 4, re-observe, replan). Only the CNN encoder, FiLM parameters and decoder are trained, by behaviour cloning from demonstrations, and the identical core is shared by every task.

To test where the robustness comes from, the authors run a **shared-interface core-replacement** study: they swap the circuit for an MLP, LSTM, transformer, reservoir, or reservoir-with-trained-linear-readout while keeping encoder, FiLM, decoder, optimizer, data and checkpoint selection identical. They then project high-dimensional motor states onto a three-dimensional manifold fitted to each model's clean trajectories and measure displacement from the clean manifold, the width of the speed band, and five trajectory-shape metrics.

Baselines are DP and ACT trained with their original recipes on the same demonstrations and action representation, plus NCP as a system-level baseline trained with its own interface. Simulation uses MetaWorld's coffee-push, hammer, door-open and assembly with 50 evaluations per success rate and three perturbations (Gaussian noise at a single intensity σ = 0.10, illumination change, background change). Physical experiments use a six-degree-of-freedom arm with a parallel gripper on a cup-push task from a fixed initial pose, 20 trials per condition, with four perturbations: additive image noise (σ = 30), turning off three light sources, replacing the background with a green cloth, and displacing the task objects. Success was judged by an on-site annotator against a fixed criterion.

## Why This Matters

The paper proposes a different division of labour for robot learning: instead of fitting all sensorimotor computation into task-specific parameters, let a biologically constrained circuit *generate* the sensorimotor trajectories and shrink the fragile, learnable part to thin adapters. If this holds more broadly, robustness and interpretability would come from the same experimentally constrained object rather than from data augmentation or domain randomization applied on top of a task-fitted network.

**Potential real-world applications (as directions the result suggests, not as demonstrations in the paper):**

- Warehouse pick-and-place and bin manipulation, where lighting, camera exposure and background clutter shift between shifts and sites.
- Household or assistive robots operating under changing room lighting and moving background objects.
- Agricultural and field robotics, where illumination and scene background vary continuously and retraining data is expensive.
- Manufacturing feeding and assembly cells, where cameras are fixed but part appearance and placement drift over time.

**Industry relevance:** the practical appeal is reduced adaptation burden. Because the core's weights are fixed and shared, per-deployment work reduces to retraining small adapters; and because the authors show the advantage vanishes when the circuit is swapped for standard recurrent or feed-forward cores, the result argues that the specific structured prior — not generic recurrence — is doing the work. The paper's own framing is that "the fragile part of a robot-learning pipeline shrinks to the adapters."

## Future Directions

- **Broaden real-robot evidence.** The paper reports exactly one physical task with a fixed initial pose; more tasks, more initial conditions and more bodies are needed before the transfer claims can be generalized.
- **Test long-horizon and dexterous tasks.** The authors explicitly flag as open how far the principle extends to tasks requiring long-horizon planning or dexterous manipulation, given that the circuit's behavioural repertoire is that of a small sensorimotor system.
- **Scale beyond this circuit.** The 136-neuron *C. elegans* sensorimotor circuit is small and reused rather than created here; whether richer connectomes or larger biophysical models yield the same or greater benefit is untested.
- **Identify which circuit properties produce robustness.** The ablation shows generic recurrence is insufficient, but does not isolate whether morphology, specific ion-channel families, or connectome topology is responsible — a natural target for systematic lesion and substitution studies.

## Target Audience

Robotics researchers working on visuomotor policies, imitation learning and robustness to distribution shift; computational neuroscientists interested in whether connectome-constrained models generalize outside their original embodiment; and engineers evaluating whether structured biological priors can replace or reduce data augmentation and domain randomization in deployed manipulation systems. Readers without a background in behaviour cloning, action chunking or multicompartment neuron models will find the methods section demanding.

## Authors’ abstract

Robot policies are usually trained for one task, one body and one visual environment, and generalize poorly beyond these conditions. Whether a nervous system can instead supply the sensorimotor computation through its evolved wiring and biophysics remains unresolved. Here we embed a biophysically detailed Caenorhabditis elegans sensorimotor circuit - 136 multicompartment neurons with realistic morphologies and electrophysiological characteristics - as the dynamical core of a…

[The full abstract on arXiv](https://arxiv.org/abs/2609.39322)

[Read the original paper](https://arxiv.org/abs/2609.39322)

## Related papers

- [Dynamic Manipulation with World-Action Models via Counterfactual Planning](https://robotics.world/paper/dynamic-manipulation-with-world-action-models-via-counterfactual-2609.33172) 2026-09-27 · cs.RO · Key terms of the title in common
- [DualManip: Agentic Dynamic Manipulation via Dual-Path Semantic Reasoning and Geometric Adaptation](https://robotics.world/paper/dualmanip-agentic-dynamic-manipulation-via-dual-path-semantic-reasoning-2609.31112) 2026-09-25 · cs.RO · Key terms of the title in common
- [Dataset-Free Compliant Humanoid Loco-Manipulation with Dynamic Online Posture](https://robotics.world/paper/dataset-free-compliant-humanoid-loco-manipulation-with-dynamic-online-2610.05678) 2026-10-05 · cs.RO · Key terms of the title in common
- [Humanoid Horizon: Extending Task Horizon in Whole-Body Loco-Manipulation via Parallel Training, Dynamic Starting, and Reward Gating](https://robotics.world/paper/humanoid-horizon-extending-task-horizon-in-whole-body-loco-manipulation-2610.08320) 2026-10-06 · cs.RO · Key terms of the title in common
- [Point It, Strike It: Direction-Conditioned Dynamic Manipulation of Deformable Linear Objects](https://robotics.world/paper/point-it-strike-it-direction-conditioned-dynamic-manipulation-of-2610.09573) 2026-10-07 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/a-biophysically-detailed-c-elegans-circuit-as-a-task-agnostic-dynamical-2609.39322
