Development and validation of a deep learning–based system for nighttime behavioral monitoring in captive Asian elephants: A preliminary study https://doi.org/10.12982/VIS.2026.076
Main Article Content
Abstract
Concerns over the welfare of captive elephants in tourism highlight the importance of objective and non-invasive behavioral monitoring. This study developed and validated a method for automated classification of key elephant behaviors using nighttime CCTV footage. An experienced veterinarian categorized video recordings of two adult male elephants in Thailand into four categories: walking, standing, eating, and sleeping. Two convolutional neural network models, ResNet-18 and ResNet-50, were trained and tested using four-fold cross-validation. Both models achieved a high overall accuracy of more than 90 percent, and sleep was detected with the most reliability, with a sensitivity of 99 percent. These findings suggest that automated behavior recognition may be useful for continuous welfare monitoring in captive elephants. The approach provides a cost-effective and practical monitoring system that may help identify behavioral changes associated with discomfort or disease.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Publishing an article with open access in Veterinary Integrative Sciences leaves the copyright with the author. The article is published under the Creative Commons Attribution License 4.0 (CC-BY 4.0), which allows users to read, copy, distribute and make derivative works from the material, as long as the author of the original work is cited.
References
Abou-Ismail, U.A., Burman, O.H.P., Nicol, C.J., Mendl, M., 2007. Can sleep behaviour be used as an indicator of stress in group-housed rats (Rattus norvegicus)? Anim. Welf. 16, 185–188.
Bansiddhi, P., Brown, J.L., Thitaram, C., 2020. Welfare assessment and activities of captive elephants in Thailand. Animals (Basel). 10, 919.
Bansiddhi, P., Brown, J.L., Thitaram, C., Punyapornwithaya, V., Somgird, C., Edwards, K.L., Nganvongpanit, K., 2018. Changing trends in elephant camp management in northern Thailand and implications for welfare. PeerJ. 6, e5996.
Bevan, P.A., Pantazis, O., Pringle, H., Ferreira, G.B., Ingram, D.J., Madsen, E., et al., 2024. Deep learning-based ecological analysis of camera trap images is impacted by training data quality and quantity. arXiv. 2408, 14348.
Binta Islam, S., Valles, D., Hibbitts, T.J., Ryberg, W.A., Walkup, D.K., Forstner, M.R.J., 2023. Animal species recognition with deep convolutional neural networks from ecological camera trap images. Animals (Basel). 13, 1526.
Brown, J.L., Bansiddhi, P., Khonmee, J., Thitaram, C., 2020. Commonalities in management and husbandry factors important for health and welfare of captive elephants in North America and Thailand. Animals (Basel). 10, 737.
Ghimire, R., Brown, J.L., Thitaram, C., Bansiddhi, P., 2024a. Comparison of animal welfare assessment tools and methodologies: need for an effective approach for captive elephants in Asia. Front. Vet. Sci. 11, 1370909.
Ghimire, R., Brown, J.L., Thitaram, C., Glaeser, S.S., Na-Lampang, K., Kulnanan, P., Bansiddhi, P., 2024b. Development of a welfare assessment tool for tourist camp elephants in Asia. PeerJ. 12, e18370.
He, K., Zhang, X., Ren, S., Sun, J., 2016. Deep residual learning for image recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Las Vegas, NV, USA, 27 -30 June 2016.
Kalirathinam, U.K., Elangkovan, S., Kawi, J., Cabana, F., 2019. Sleep monitoring of an Asian elephant (Elephas maximus) calf at Night Safari, Singapore: testing whether sleep time is a significant predictor of cortisol or the onset of positive elephant endotheliotropic herpesvirus viraemia. Int. Zoo Yearb. 53, 128–137.
Lund, S.M., Nielsen, J., Gammelgård, F., Nielsen, M.G., Jensen, T.H., Pertoldi, C., 2024. Behavioral coding of captive african elephants (Loxodonta africana): Utilizing deeplabcut and create ml for nocturnal activity tracking. Animals (Basel). 14(19), 2820.
Meehan, C.L., Hogan, J.N., Bonaparte-Saller, M.K., Mench, J.A., 2016. Housing and social environments of African (Loxodonta africana) and Asian (Elephas maximus) elephants in North American zoos. PLoS One. 11, e0146703.
Meehan, C.L., Mench, J.A., Carlstead, K., Hogan, J.N., 2016. Determining connections between the daily lives of zoo elephants and their welfare: an epidemiological approach. PLoS One. 11, e0158124.
Mellor, D.J., Beausoleil, N.J., 2015. Extending the 'five domains' model for animal welfare assessment to incorporate positive welfare states. Anim. Welf. 24, 241–253.
Phuangkum, P., Lair, R.C., Angkawanish, T., 2005. Elephant care manual for mahouts and camp managers. FAO Regional Office for Asia and the Pacific, Bangkok.
Pires, G.N., Bezerra, A.G., Tufik, S., Andersen, M.L., 2016. Effects of experimental sleep deprivation on anxiety-like behavior in animal research: systematic review and meta-analysis. Neurosci. Biobehav. Rev. 68, 575–589.
Rajagukguk, R.A., Lee, S.-Y., Park, J.-Y., Daniel, K.F., Lee, C.-R., Chen, Z., Liu, D., Norton, T., Park, J., Hong, S.-W., 2025. Deep learning for visual animal monitoring (detection, tracking, pose estimation, and behavior classification): a comprehensive review. Smart Agric. Technol. 12, 101539.
Rohan, A., Rafaq, M.S., Hasan, M.J., Asghar, F., Bashir, A.K., Dottorini, T., 2024. Application of deep learning for livestock behaviour recognition: a systematic literature review. Comput. Electron. Agric. 224, 109115.
Schiffmann, C., Hoby, S., Wenker, C., Hård, T., Scholz, R., Clauss, M., Hatt, J.M., 2018. When elephants fall asleep: a literature review on elephant rest with case studies on elephant falling bouts, and practical solutions for zoo elephants. Zoo Biol. 37, 133–145.
Siegel, J.M., 2009. Sleep viewed as a state of adaptive inactivity. Nat. Rev. Neurosci. 10, 747–753.
Sokolova, M., Lapalme, G., 2009. A systematic analysis of performance measures for classification tasks. Inf. Process. Manag. 45, 427–437.
Villafuerte, G., Miguel-Puga, A., Rodríguez, E.M., Machado, S., Manjarrez, E., Arias-Carrión, O., 2015. Sleep deprivation and oxidative stress in animal models: a systematic review. Oxid. Med. Cell. Longev. 2015, 234952.
Walsh, B., 2017. Sleep in Asian elephants (Elephas maximus): long-term quantitative research at Dublin Zoo (PhD thesis). University College Dublin.
Williams, E., Bremner-Harrison, S., Harvey, N., Evison, E., Yon, L., 2015. An investigation into resting behavior in Asian elephants in UK zoos. Zoo Biol. 34, 406–417.
Yin, Z., Zhao, Y., Xu, Z., Yu, Q., 2024. Automatic detection of stereotypical behaviors of captive wild animals based on surveillance videos of zoos and animal reserves. Ecol. Inform. 79, 102450.