C. elegans is a 1 mm roundworm with 302 stereotyped, individually-named neurons. It's small enough to map completely, but still surprisingly capable: finding food, avoiding harm, adapting when hungry or sick, associating specific temperatures or smell as positive or negative stimuli.
We record the entire brain, as it senses, processes, and acts.
A moving worm results in blurry, dim, single-color frames. The old pipeline non-rigidly warps every frame onto a crisp, four-color reference of an immobilized worm, then labels that reference. The warp is expensive and fundamentally cannot run online. Instead, I made it possible to label each moving frame directly, removing alignment altogether.
To do that, I needed a network which could perform on the lower quality freely moving (FM) data. This meant being able to train on the hundreds of thousands of volumes we'd recorded in the lab, however the current network took days to train on just 81 volumes.
Dropping the segmentation step makes ACLL's traces noisier than the old ground-truth pipeline, but they are aimed at entirely different and complementary use cases.
ACLL enables entirely new experiments, but also provides a backup for experiments when immobilization or alignment fails (a common occurrence). Since more time and compute will almost always win out, ANTSUN still remains the benchmark C. elegans pipeline.
Network confidence correlates with accuracy across held-out datasets, providing automatic flagging of inaccurate predictions. Additionally, intra-recording quality is more stable than inter-recording, which is a useful characteristic.
As a solo project, I built on the work of Atanas, Lu (2025), overhauling the pipeline, from architecture to training to live deployment.