bioRxiv · 10.64898/2026.11.25.769178
A data engine for AI-assisted labeling of high-density sperm microscopy videos
Abstract
Computer-aided semen analysis (CASA) systems are the standard tools for quantifying sperm motility, concentration, and morphology, but they rely on classical algorithms that struggle with overlapping cells, collisions, and the imaging artifacts that accumulate in long, high-density recordings. As a result, analyses are typically restricted to short videos of diluted samples. AI-based trackers could overcome these limitations, but they require large, accurately labeled training datasets, and manually labeling crowded sperm videos is prohibitively slow. Here we present a data engine for sperm tracking, where an AI model can be trained from low-density data to assist in labeling higher-density cases. We first obtain ground-truth trajectories from easy-to-label, low-density videos using a classical tracker (Trackpy) followed by human correction. From these trajectories, we generate synthetic videos that reproduce the motility characteristics of real sperm, and we further augment the real data by compositing existing videos together. This combined dataset trains an initial YOLO-based detector paired with ByteTrack, which then serves as an assistive labeler for the denser tier of videos. Through this process, we found the trained AI model was able to eliminate many of the crossovers that prevent effective labeling of sperm trajectories, with the crossover failure rate going from 44.8% down to 6.64% on medium density videos, and from 74.0% to 46.68% on high density videos. We release the videos, corrected trajectory datasets at each density, a purpose-built labeling tool, trained models with weights, and a software package for labeling, synthetic and augmented video generation, training, and evaluation. This framework provides a practical path toward AI-based semen analysis that remains reliable at high sperm densities and over long recordings.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Hart, D. M., Premasinghe, J., Bier, M., Cashwell, K. D., Schmidt, C. A.. 2026-11-28. A data engine for AI-assisted labeling of high-density sperm microscopy videos. https://doi.org/10.64898/2026.11.25.769178. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.25.769178/a-data-engine-for-ai-assisted-labeling-of-high-density-sperm-microscopy-videos
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.