Using supervised machine learning to quantify cleaning behaviour
Abstract
Cleaner fish engage in mutualistic interactions by removing ectoparasites from client species, a behaviour that has traditionally been quantified through labour-intensive manual video analysis. This method is not only time-consuming but also susceptible to human error and bias. In this study, we developed a semi-automated system to track and classify cleaning interactions between the cleaner wrasse (Labroides dimidiatus) and the powder blue tang (Acanthurus leucosternon) in a controlled three-dimensional laboratory setting. We employed DeepLabCut (DLC), a deep learning-based tool for markerless pose estimation, to track both fish species simultaneously. The resulting model reliably tracked both individuals with low error rates. Using the tracking data, we designed a classification algorithm that detected cleaning interactions with 90% accuracy. Although the algorithm misclassified approximately 15% of non-interactions as interactions, it successfully identified 25% of video content as containing interactions, thereby reducing the amount of footage requiring manual annotation by 75%. This approach significantly decreases human labour while maintaining high classification performance. Overall, our system represents a valuable step toward automating behavioural analysis in marine mutualisms and can serve as a foundation for broader applications in ethology and conservation research.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility 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
- Automated quantification of ecological interactions from video
Mariana Sadde, Benjamin T. Martin·Frontiers in Marine SciencePeer-reviewed·Jan 16, 2026
- Automating the analysis of fish abundance using object detection: optimising animal ecology with deep learning
E. Ditria, S. Lopez-Marcano, … R. Connolly·bioRxiv·Oct 16, 2019
- FishProx: Proximate conspecific interaction of Atlantic salmon (Salmo salar) for behavioural analysis through instance segmentation masks
I-Hao Chen, Ahmed Nabil Belbachir, … Chris Noble·bioRxiv·Jul 7, 2025
- A low-cost, open-source framework for tracking and behavioural analysis of animals in aquatic ecosystems
F. A. Francisco, P. Nuehrenberg, A. Jordan·bioRxiv·Mar 9, 2019
- Neural Mechanisms of Mutualistic Fish Cleaning Behaviour: a Study in the Wild
Daniele Romeo, Sandra Ramirez‐Calero, … Celia Schunter·Biology LettersPeer-reviewed·Oct 1, 2024
- A low-cost, long-term underwater camera trap network coupled with deep residual learning image analysis
S. M. Bilodeau, A. W. H. Schwartz, … M. R. Silman·bioRxiv·Mar 8, 2021