WormSwin: Instance segmentation of C. elegans using vision transformer
Abstract
The possibility to extract motion of a single organism from video recordings at a large-scale provides means for the quantitative study of its behavior, both individual and collective. This task is particularly difficult for organisms that interact with one another, overlap, and occlude parts of their bodies in the recording. Here we propose WormSwin - an approach to extract single animal postures of Caenorhabditis elegans (C. elegans) from recordings of many organisms in a single microscope well. Based on transformer neural network architecture our method segments individual worms across a range of videos and images generated in different labs. Our solutions offers accuracy of 0.990 average precision (AP0.50) and comparable results on the benchmark image dataset BBBC010. Finally, it allows to segment challenging overlapping postures of mating worms with an accuracy sufficient to track the organisms with a simple tracking heuristic. An accurate and efficient method for C. elegans segmentation opens up new opportunities for studying of its behaviors previously inaccessible due to the difficulty in the worm extraction from the video frames.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 24
- FWCI
- 2.90
- Field percentile
- top 7%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Large vision model framework for automated C. elegans analysis: From static morphometry to dynamic neural activity
Aurélie Guisnet, Michael Hendricks·PLoS Computational BiologyPeer-reviewed·Jul 22, 2026
- Unsupervised Representation Learning of C. elegans Poses and Behavior Sequences From Microscope Video Recordings
Maurice Deserno, Katarzyna Bożek·bioRxiv·Feb 14, 2025
- WormPose: Image synthesis and convolutional networks for pose estimation in C. elegans
L. Hebert, T. Ahamed, … G. J. Stephens·bioRxiv·Jul 9, 2020
- An improved neural network model enables worm tracking in challenging conditions and increases signal-to-noise ratio in phenotypic screens
Weheliye H. Weheliye, Javier Rodríguez, … André EX Brown·PLoS Computational BiologyPeer-reviewed·Aug 8, 2025
- WormID-Bench: A Benchmark for Whole-Brain Activity Extraction in C. elegans
Jason Ken Adhinarta, Jizheng Dong, … Donglai Wei·bioRxiv·Jan 6, 2025
- Deep-Worm-Tracker: Deep Learning Methods for Accurate Detection and Tracking for Behavioral Studies in C. elegans
S. C. Banerjee, K. A. Khan, R. Sharma·bioRxiv·Aug 18, 2022