Deep learning approach for classifying grazing behavior in yearling horses using triaxial accelerometer data: A pilot study.
Abstract: Accurate monitoring of grazing behavior in horses is essential for pasture management and welfare evaluation; however, conventional observation methods are labor-intensive and lack temporal resolution. Objective: This pilot study aimed to develop and validate a deep learning model using jaw-mounted accelerometer data to classify grazing and non-grazing behaviors in yearling horses under various pasture conditions. Methods: Four yearling Thoroughbred horses were equipped with triaxle accelerometers mounted under their jaws. Data were recorded at 10 Hz (100 ms) during a 19 h free-grazing period in a 4.0 ha paddock. A total of 230,286 data points were annotated as grazing (G) or non-grazing (NG) using synchronized video observation. Three deep learning models-one-dimensional convolutional neural network (CNN), long short-term memory (LSTM), and combined CNN+LSTM-were trained and evaluated under varying sampling rates (100-10,000 ms) and time windows (5-60 s). Model performance was assessed using accuracy, F1 score, precision, recall, and area under the curve (AUC). Results: The CNN+LSTM model demonstrated the highest classification performance with a test accuracy of 98.0 % and an AUC of 1.00. F1 scores were 0.99 for G and 0.97 for NG behavior. Across the full observational period, the proportion of grazing behavior was 58.3 % (±2.1 %). Spatial analysis revealed that grazing was concentrated along paddock peripheries, whereas non-grazing was more frequent in central zones. Conclusions: A deep learning framework that combines CNN and LSTM can accurately classify grazing behavior in horses using jaw-mounted accelerometers. This non-invasive, high-resolution method offers a promising tool for automated behavioral monitoring in pasture-based systems.
Copyright © 2025. Published by Elsevier Inc.
Publication Date: 2025-10-01 PubMed ID: 41043567DOI: 10.1016/j.jevs.2025.105706Google Scholar: Lookup
The Equine Research Bank provides access to a large database of publicly available scientific literature. Inclusion in the Research Bank does not imply endorsement of study methods or findings by Mad Barn.
- Journal Article
Summary
This research summary has been generated with artificial intelligence and may contain errors and omissions. Refer to the original study to confirm details provided. Submit correction.
Research Overview
- This study developed and tested a deep learning method to classify grazing behavior in young horses using data from jaw-mounted triaxial accelerometers.
- The combined CNN+LSTM model achieved very high accuracy in distinguishing grazing from non-grazing behavior during free grazing on pasture.
Introduction and Objective
- Monitoring grazing behavior in horses is important for managing pastures and assessing animal welfare.
- Traditional observation methods are laborious and do not provide continuous, fine-grained data over long periods.
- The objective was to create and validate an automated system using deep learning that uses accelerometer data to classify when horses are grazing versus not grazing.
- This pilot study focused on yearling Thoroughbred horses under natural grazing conditions.
Methods
- Subjects: Four yearling Thoroughbred horses grazing freely in a 4.0 hectare paddock.
- Data Collection:
- Each horse wore a jaw-mounted triaxial accelerometer recording motion data at 10 Hz (one reading every 100 milliseconds).
- Data were recorded for a 19-hour continuous grazing period.
- Simultaneous video recordings were used to manually annotate each data point as grazing (G) or non-grazing (NG).
- A total of 230,286 annotated data points were used for model training and validation.
- Deep Learning Models Tested:
- One-dimensional Convolutional Neural Network (CNN) which captures local patterns in the accelerometer data.
- Long Short-Term Memory (LSTM) network designed to model temporal dependencies and sequences.
- A hybrid CNN+LSTM model combining both approaches to capture spatial and temporal features.
- Model Training and Evaluation:
- Different data sampling rates between 100 ms to 10,000 ms and time windows between 5 and 60 seconds were explored to optimize performance.
- Performance metrics used included accuracy, F1 score, precision, recall, and area under the ROC curve (AUC).
Results
- The combined CNN+LSTM model outperformed the individual CNN and LSTM models.
- Key performance indicators for CNN+LSTM:
- Test Accuracy: 98.0% — meaning 98% of behavior classifications were correct.
- AUC: 1.00 — perfect discrimination between grazing and non-grazing behaviors.
- F1 Score: 0.99 for grazing, 0.97 for non-grazing — indicating very high balance between precision and recall.
- Behavioral Observations from the Data:
- Horses spent about 58.3% (±2.1%) of the time grazing.
- Spatial analysis showed grazing mostly took place around the edges of the paddock, with non-grazing more common in the central areas.
Conclusions and Implications
- The study demonstrates that a deep learning approach combining CNN and LSTM can reliably classify horse grazing behavior based on accelerometer signals from the jaw.
- Using such jaw-mounted accelerometers offers a non-invasive, automated, and high-resolution method to monitor animal behavior continuously.
- This approach can aid pasture management by providing accurate temporal and spatial grazing patterns without the need for constant human observation.
- It can also contribute to welfare assessments by quickly identifying deviations from normal grazing behavior.
- Further studies with more horses and varied environments would be beneficial to validate and generalize these findings.
Cite This Article
APA
Kamiya U, Kakiuchi K, Kawamura K, Ueda K, Kawai M, Matsui A, Negishi N.
(2025).
Deep learning approach for classifying grazing behavior in yearling horses using triaxial accelerometer data: A pilot study.
J Equine Vet Sci, 155, 105706.
https://doi.org/10.1016/j.jevs.2025.105706 Publication
Researcher Affiliations
- School of Agriculture and Animal Science, Obihiro University of Agriculture and Veterinary Medicine, Obihiro, Hokkaido 080-8555, Japan.
- School of Agriculture and Animal Science, Obihiro University of Agriculture and Veterinary Medicine, Obihiro, Hokkaido 080-8555, Japan.
- Department of Agro-environmental Science, Obihiro University of Agriculture and Veterinary Medicine, Obihiro, Hokkaido 080-8555, Japan. Electronic address: kamuken@obihiro.ac.jp.
- Research Faculty of Agriculture, Hokkaido University, Sapporo, Hokkaido 060-8589, Japan.
- Shizunai Livestock Farm, Field Science Center for Northern Biosphere, Hokkaido University, Shin-Hidaka, Hokkaido 056-0141, Japan.
- Equine Science Division, Hidaka Training and Research Center, Japan Racing Association, Hokkaido, 057-0171, Japan.
- Equine Science Division, Hidaka Training and Research Center, Japan Racing Association, Hokkaido, 057-0171, Japan.
MeSH Terms
- Animals
- Horses / physiology
- Pilot Projects
- Accelerometry / veterinary
- Accelerometry / methods
- Accelerometry / instrumentation
- Deep Learning
- Feeding Behavior
- Behavior, Animal
Conflict of Interest Statement
Declaration of competing interest None of the authors has any financial or personal relationships that could inappropriately influence or bias the content of this paper.
Citations
This article has been cited 0 times.Use Nutrition Calculator
Check if your horse's diet meets their nutrition requirements with our easy-to-use tool Check your horse's diet with our easy-to-use tool
Talk to a Nutritionist
Discuss your horse's feeding plan with our experts over a free phone consultation Discuss your horse's diet over a phone consultation
Submit Diet Evaluation
Get a customized feeding plan for your horse formulated by our equine nutritionists Get a custom feeding plan formulated by our nutritionists