» Articles » PMID: 40074729

Zebrafish Identification with Deep CNN and ViT Architectures Using a Rolling Training Window

Overview
Journal Sci Rep
Specialty Science
Date 2025 Mar 13
PMID 40074729
Authors
Affiliations
Soon will be listed here.
Abstract

Zebrafish are widely used in vertebrate studies, yet minimally invasive individual tracking and identification in the lab setting remain challenging due to complex and time-variable conditions. Advancements in machine learning, particularly neural networks, offer new possibilities for developing simple and robust identification protocols that adapt to changing conditions. We demonstrate a rolling window training technique suitable for use with open-source convolutional neural networks (CNN) and vision transformers (ViT) that shows promise in robustly identifying individual maturing zebrafish in groups over several weeks. The technique provides a high-fidelity method for monitoring the temporally evolving zebrafish classes, potentially significantly reducing the need for new training images in both CNN and ViT architectures. To understand the success of the CNN classifier and inform future real-time identification of zebrafish, we analyzed the impact of shape, pattern, and color by modifying the images of the training set and compared the test results with other prevalent machine learning models.

References
1.
Guilbeault N, Guerguiev J, Martin M, Tate I, Thiele T . BonZeb: open-source, modular software tools for high-resolution zebrafish tracking and analysis. Sci Rep. 2021; 11(1):8148. PMC: 8047029. DOI: 10.1038/s41598-021-85896-x. View

2.
Franco-Restrepo J, Forero D, Vargas R . A Review of Freely Available, Open-Source Software for the Automated Analysis of the Behavior of Adult Zebrafish. Zebrafish. 2019; 16(3):223-232. DOI: 10.1089/zeb.2018.1662. View

3.
Frantz W, Ceol C . From Tank to Treatment: Modeling Melanoma in Zebrafish. Cells. 2020; 9(5). PMC: 7290816. DOI: 10.3390/cells9051289. View

4.
Xu Z, Cheng X . Zebrafish tracking using convolutional neural networks. Sci Rep. 2017; 7:42815. PMC: 5314376. DOI: 10.1038/srep42815. View

5.
Cousin X, Daouk T, Pean S, Lyphout L, Schwartz M, Begout M . Electronic individual identification of zebrafish using radio frequency identification (RFID) microtags. J Exp Biol. 2012; 215(Pt 16):2729-34. DOI: 10.1242/jeb.071829. View