bioRxivEcology
Frame-by-frame annotation of video recordings using deep neural networks
Abstract
Video data are widely collected in ecological studies but manual annotation is a challenging and time-consuming task, and has become a bottleneck for scientific research. Classification models based on convolutional neural networks (CNNs) have proved successful in annotating images, but few applications have extended these to video classification. We demonstrate an approach that combines a standard CNN summarizing each video frame with a recurrent neural network (RNN) that models the temporal component of video. The approach is illustrated using two datasets: one collected by static video cameras detecting seal activity inside coastal salmon nets, and another collected by animal-borne cameras deployed on African penguins, used to classify behaviour. The combined RNN-CNN led to a relative improvement in test set classification accuracy over an image-only model of 25% for penguins (80% to 85%), and substantially improved classification precision or recall for four of six behaviour classes (12–17%). Image-only and video models classified seal activity with equally high accuracy (90%). Temporal patterns related to movement provide valuable information about animal behaviour, and classifiers benefit from including these explicitly. We recommend the inclusion of temporal information whenever manual inspection suggests that movement is predictive of class membership.Competing Interest StatementThe authors have declared no competing interest.View Full Text
- organism: multiple species
- assay: imaging
- assay: fluorescence / live-cell microscopy
- research focus: cell type annotation
- research focus: clustering
- research focus: differential expression
- research focus: gene regulatory network inference
- approach: deep learning
- approach: transformer / foundation model
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
- DeepAction: A MATLAB toolbox for automated classification of animal behavior in video
Carl Harris, Kelly R. Finn, … Peter Ulric Tse·Scientific ReportsPeer-reviewed·Feb 15, 2023
- BehaveAI: a framework for rapidly detecting and classifying objects and behaviour from motion
Jolyon T. Troscianko, Thomas A. O’Shea-Wheller, … Kevin J. Gaston·bioRxiv·Nov 4, 2025
- V-TRACE: End-to-end temporal inference and annotation ofanimal behaviors from video
Kunming Shi, Guangwei Zhang, … Li I. Zhang·bioRxiv·Sep 14, 2026
- DeepEthogram: a machine learning pipeline for supervised behavior classification from raw pixels
James P. Bohnslav, Nivanthika K. Wimalasena, … Christopher D. Harvey·eLifePeer-reviewed·Sep 2, 2021
- Deep Recurrent Neural Network Reveals a Hierarchy of Process Memory during Dynamic Natural Vision
Junxing Shi, Haiguang Wen, … Zhongming Liu·Human Brain MappingPeer-reviewed·Feb 12, 2018
- Behavioral Classification of Sequential Neural Activity Using Time Varying Recurrent Neural Networks
Yongxu Zhang, Catalin Mitelut, … Shreya Saxena·IEEE Transactions on Neural Systems and Rehabilitation EngineeringPeer-reviewed·Jan 1, 2025