Classifying rodent behaviors one frame at a time: A CNN-based method

IF 8.5 2区 环境科学与生态学 Q1 ECOLOGY
Ecological Informatics Pub Date : 2026-08-01 Epub Date: 2026-07-16 DOI:10.1016/j.ecoinf.2026.103927
Ehsan Noshahri, Andres Molares-Ulloa, Carlota Fraga-Seijas, Alejandro Puente-Castro, Alvaro Rodriguez
{"title":"Classifying rodent behaviors one frame at a time: A CNN-based method","authors":"Ehsan Noshahri,&nbsp;Andres Molares-Ulloa,&nbsp;Carlota Fraga-Seijas,&nbsp;Alejandro Puente-Castro,&nbsp;Alvaro Rodriguez","doi":"10.1016/j.ecoinf.2026.103927","DOIUrl":null,"url":null,"abstract":"<div><div>The classification of animal behavior is essential in disciplines such as pharmacology, neuroscience, and ecology. Traditional methods are labor-intensive, time-consuming, and dependent on human observation, while many existing automated approaches rely on pose estimation and temporal models that demand extensive data, annotations, and computational resources. This study proposes a non-temporal, frame-by-frame deep learning approach for classifying rodent behaviors directly from annotated video frames, without relying on pose estimation, body-part segmentation, or temporal context, and requiring only frame-level annotations. We constructed a large dataset of images representing distinct rodent behaviors in operant conditioning chambers to evaluate multiple convolutional neural network (CNN) architectures of various sizes. Our results show that deep CNNs achieve high classification performance in terms of accuracy and F1-score. The models maintain strong performance under challenging conditions, including restricted training data, noisy labels, and low subject diversity, demonstrating their data efficiency and resilience. Performance remains stable even when trained on data from a limited number of animals, supporting the method’s practicality for population-level behavior classification. Together, these results suggest that robust behavior classification can be achieved without temporal context, even under realistic experimental constraints such as limited data availability and label noise. The proposed framework also offers flexibility across different data formats, including static images and partial video recordings. Overall, our approach provides an accessible and scalable alternative for behavioral researchers, lowering barriers to automated animal behavior analysis while preserving strong classification performance.</div></div>","PeriodicalId":51024,"journal":{"name":"Ecological Informatics","volume":"97 ","pages":"Article 103927"},"PeriodicalIF":8.5000,"publicationDate":"2026-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ecological Informatics","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1574954126003341","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/7/16 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ECOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

The classification of animal behavior is essential in disciplines such as pharmacology, neuroscience, and ecology. Traditional methods are labor-intensive, time-consuming, and dependent on human observation, while many existing automated approaches rely on pose estimation and temporal models that demand extensive data, annotations, and computational resources. This study proposes a non-temporal, frame-by-frame deep learning approach for classifying rodent behaviors directly from annotated video frames, without relying on pose estimation, body-part segmentation, or temporal context, and requiring only frame-level annotations. We constructed a large dataset of images representing distinct rodent behaviors in operant conditioning chambers to evaluate multiple convolutional neural network (CNN) architectures of various sizes. Our results show that deep CNNs achieve high classification performance in terms of accuracy and F1-score. The models maintain strong performance under challenging conditions, including restricted training data, noisy labels, and low subject diversity, demonstrating their data efficiency and resilience. Performance remains stable even when trained on data from a limited number of animals, supporting the method’s practicality for population-level behavior classification. Together, these results suggest that robust behavior classification can be achieved without temporal context, even under realistic experimental constraints such as limited data availability and label noise. The proposed framework also offers flexibility across different data formats, including static images and partial video recordings. Overall, our approach provides an accessible and scalable alternative for behavioral researchers, lowering barriers to automated animal behavior analysis while preserving strong classification performance.
一次一帧对啮齿动物行为进行分类:一种基于cnn的方法
动物行为的分类在药理学、神经科学和生态学等学科中是必不可少的。传统的方法是劳动密集型的,耗时的,并且依赖于人类的观察,而许多现有的自动化方法依赖于姿态估计和时间模型,这些模型需要大量的数据,注释和计算资源。本研究提出了一种非时间的、逐帧的深度学习方法,直接从带注释的视频帧中对啮齿动物的行为进行分类,而不依赖于姿势估计、身体部位分割或时间背景,只需要帧级注释。我们构建了一个大型图像数据集,这些图像代表了操作性条件反射室中不同的啮齿动物行为,以评估不同规模的多个卷积神经网络(CNN)架构。我们的研究结果表明,深度cnn在准确率和f1分数方面都取得了很高的分类性能。这些模型在具有挑战性的条件下保持了较强的性能,包括有限的训练数据、噪声标签和低主题多样性,证明了它们的数据效率和弹性。即使在使用有限数量的动物数据进行训练时,性能也保持稳定,这支持了该方法在种群水平行为分类方面的实用性。总之,这些结果表明,即使在有限的数据可用性和标签噪声等现实实验约束下,也可以在没有时间背景的情况下实现稳健的行为分类。该框架还提供了跨不同数据格式的灵活性,包括静态图像和部分视频记录。总的来说,我们的方法为行为研究人员提供了一个可访问和可扩展的替代方案,降低了自动化动物行为分析的障碍,同时保持了强大的分类性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Ecological Informatics
Ecological Informatics 环境科学-生态学
CiteScore
8.30
自引率
11.80%
发文量
346
审稿时长
46 days
期刊介绍: The journal Ecological Informatics is devoted to the publication of high quality, peer-reviewed articles on all aspects of computational ecology, data science and biogeography. The scope of the journal takes into account the data-intensive nature of ecology, the growing capacity of information technology to access, harness and leverage complex data as well as the critical need for informing sustainable management in view of global environmental and climate change. The nature of the journal is interdisciplinary at the crossover between ecology and informatics. It focuses on novel concepts and techniques for image- and genome-based monitoring and interpretation, sensor- and multimedia-based data acquisition, internet-based data archiving and sharing, data assimilation, modelling and prediction of ecological data.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书