NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Network Models of Chemotaxis in the Nematode Caenorhabditis Elegans

Thomas C. Ferrée, Ben A. Marcotte, Shawn R. LockeryNeurIPS 1996

TL;DR

Researchers developed a simplified biomechanical and recurrent neural network model of the nematode C. elegans to simulate chemotaxis—the ability to navigate toward chemical attractants. By using simulated annealing to optimize unknown synaptic weights, they demonstrated that a small network of graded-potential neurons can successfully replicate the complex, goal-oriented search patterns observed in biological worms.

The Computational Puzzle of Chemotaxis

C. elegans is often considered a "goldilocks" organism for neuroscience. With exactly 302 neurons and a fully mapped connectome, it theoretically offers the easiest brain to understand. However, knowing the "wiring diagram" isn't enough; the strengths (weights) and polarities (excitatory vs. inhibitory) of most synapses remain unknown.

Furthermore, chemotaxis presents a specific computational challenge. Because C. elegans moves on its side, its two primary chemical sensors (amphids) are oriented perpendicularly to the ground, meaning it cannot sense a spatial gradient directly across its body. It must somehow compute a temporal derivative of chemical concentration as it sweeps its head back and forth, translating that temporal data into motor commands. Previous biomechanical models were too computationally expensive to use in the thousands of iterations required for neural network optimization. This paper seeks a "compact" model that bridges the gap between neuroanatomy and behavior.

Methods

The authors combined three distinct modeling layers to simulate the organism:

  1. Simplified Biomechanics: Instead of simulating every muscular force, they derived a set of equations where the "neck angle" determines the rate of turning. This allows the head to direct the movement of the body, which follows in a sinusoidal wave.
Biomechanical model of C. elegans
  1. Graded Potential Neural Network: Unlike typical "spike-based" models, C. elegans neurons primarily use graded signals. The authors modeled each neuron as a single isopotential compartment where the output is a sigmoidal function of the input. The network consisted of $n=12$ neurons, including one chemosensor and two motor neurons (dorsal and ventral).
  2. Stochastic Optimization: Since synaptic weights were unknown, they used simulated annealing to search the $(n^2 + 3)$-dimensional parameter space. The "fitness" of a network was defined by how well the simulated worm maximized its exposure to a Gaussian-shaped field of chemical attractant over a 15-minute simulation.

Experimental Constraints

Rather than using a traditional machine learning dataset, the model relies on:

  • Biological Constraints: Parameters for worm speed ($0.022 \text{ cm/s}$), body length ($1 \text{ mm}$), and head-sweep period ($4.2 \text{ s}$) were derived directly from experimental observations.
  • Comparative Evaluation: The resulting simulated trajectories were qualitatively compared against biological tracks of worms in Petri dishes provided by the authors' lab.

Key Insights and Ideas

  • The "Head-Sweep" Strategy: The model supports the theory that worms navigate by comparing concentrations at different points in their oscillatory head-sweep. By combining this temporal data with proprioceptive feedback, the network "discovers" the spatial gradient.
  • Diversity of Solutions: Optimization didn't just produce one type of behavior. Different parameter sets led to different strategies: some worms approached the center asymptotically, while others made complex geometric patterns or "orbited" the peak concentration. This mirrors the high behavioral variability seen in real worms.
  • The Time Constant Challenge: The authors found that finding optimal solutions becomes much harder as the neuronal time constant ($\tau$) decreases. While they used $\tau = 500 \text{ ms}$, biological data suggests it might be much smaller. This implies that real worms might use voltage-dependent conductances or synaptic delays to "stretch" their internal time scales for better gradient computation.

Key Results

  • Successful Navigation: Simulated worms with optimized networks successfully moved toward and remained at the center of the chemical gradient.
  • Qualitative Match: The simulated tracks show a striking resemblance to biological tracks, successfully capturing the "looping" and "searching" phases characteristic of biological chemotaxis.
Simulated chemotaxis tracks
  • Computational Efficiency: By simplifying the biomechanics to a single turning equation ($d\theta/dt$), the authors created a model fast enough to be embedded in a global optimization procedure—a significant step up from previous, computationally heavy Newtonian force models.

Limitations and Future Work

The authors acknowledge several simplifications that could be refined in future iterations:

  • Synaptic Summation: The model assumes a simple additive sigmoidal summation, which may not capture the full complexity of real chemical and electrical synapses.
  • The $\tau$ Discrepancy: As noted, the model's time constants are likely larger than those in biological neurons. Future versions will need to incorporate more realistic membrane conductances to see if the network can still solve the gradient problem at higher speeds.
  • Constraining the Search: The authors plan to use laser ablation data (identifying which neurons are essential for chemotaxis) to prune the network and constrain the optimization, moving closer to a biologically "true" set of weights.

Summary updated

BibTeX
@inproceedings{ferree1996neural,
  author = {Thomas C. Ferrée and Ben A. Marcotte and Shawn R. Lockery},
  title = {{Neural Network Models of Chemotaxis in the Nematode Caenorhabditis Elegans}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1996},
}
Figure