BettaAI: a machine-learning object detection model for the quantification of aggressive displays in the Siamese fighting fish Betta splendens
Sara D. CardosoiD, Bianca FusaniiD, Andreia RamosiD, Jorge Mendes Maria, David GonçalvesiD
Abstract
The Siamese fighting fish (Betta splendens) is well-known for its high levels of aggression and complex, stereotyped displays, making it an ideal model for testing deep learning-based tools for high-throughput, unbiased quantification of aggressive behaviour. A deep-learning object recognition model (BettaAI) was developed to detect the species' aggressive displays, including threat (opercula opening and fin distension), attack (bites) behaviours, as well as surface air breathing, a behaviour correlated with the frequency and intensity of aggression. Videos of males confronting their mirror image were acquired simultaneously with synchronised top and side cameras. Two separate models were trained, with some behaviours identified from top-view frames and others from side-view frames; outputs from both models were combined and post-processed for final quantification. BettaAI performed with high accuracy: F1 scores were 0.99 for the top-view model and 0.93 for the side-view model. Average Precision (AP) at 0.5 IoU exceeded 0.98 for all categories except bites, a rare behaviour in the dataset, which reached 0.865. Comparisons with a manually curated "ground-truth" dataset from videos of 10 males showed strong concordance between automated quantification and manual annotations by expert observers across all behaviours. A case study on 461 males reacting either to a mirror or to a video playback of a conspecific demonstrated the high-throughput and unbiased advantages of BettaAI, with threat displays being more frequent toward the mirror image and attack rates not differing between treatments. This work underscores the potential of BettaAI for automated, bias-free quantification of aggressive displays in B. splendens.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- 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
- The determinants of aggression in male Siamese fighting fish, Betta splendens
R. McGoran, S. K. Papworth, S. Portugal·bioRxiv·Apr 16, 2020
- Hormone levels increase in response to video playback in the Siamese fighting fish
D. Alex, S. D. Cardoso, … D. Goncalves·bioRxiv·Feb 20, 2022
- Coordination and persistence of aggressive visual communication in Siamese fighting fish
Claire P. Everett, Amy L. Norovich, … Andrés Bendesky·Cell ReportsPeer-reviewed·Jan 1, 2025
- Using supervised machine learning to quantify cleaning behaviour
Raúl Oliveira, Nuno C. Garcia, José Ricardo Paula·bioRxiv·Jun 3, 2025
- Characterizing the sub-second timescale strategies of fighting in zebrafish
A. Laan, M. Iglesias-Julios, G. de Polavieja·bioRxiv·Dec 11, 2017
- Automated profiling of social behaviors to assess the genetic basis of evolution of aggressive behaviors in A. mexicanus
Renee Mapa, Stefan Choy, … Johanna E. Kowalko·bioRxiv·Jul 7, 2025