Preprocessing Strategies for Animal Behavior Classification Using Inertial Sensors: Effects of Filtering, Normalization, and Data Representation

Automatic classification of livestock behaviors, including feeding, rumination, standing, lying, walking, and drinking, using wearable accelerometers has become an important tool in precision livestock farming (PLF). However, the influence of preprocessing strategies on classification performance and computational efficiency remains poorly understood. This study investigated the effects of filtering, normalization, data representation, and machine learning algorithms using five accelerometer datasets comprising 3,533,974 records collected from different livestock species and sampling frequencies. Four filtering strategies, three normalization methods, two data representations, and four machine learning algorithms were evaluated using a standardized pipeline. Model performance was assessed using weighted F1-scores together with statistical and computational analyses. The absence of filtering achieved the highest average performance, reaching a weighted F1-score of 0.773 with Random Forest, whereas high-pass filtering consistently reduced performance (minimum average F1 = 0.605 across sampling frequencies) while increasing computational cost. Z-score standardization improved the performance of scale-sensitive algorithms, increasing SVM performance by up to 8.6% compared with no normalization. Feature-based representations provided greater stability for conventional machine learning models, whereas raw signals generally benefited the 1D-CNN. These findings demonstrate that preprocessing strategies should be selected according to the learning algorithm, signal characteristics, and computational constraints rather than applied as universal procedures, providing methodological guidance for the development of efficient livestock behavior monitoring systems.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-08-24
DOI
https://doi.org/10.3390/s26175353
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Preprocessing Strategies for Animal Behavior Classification Using Inertial Sensors: Effects of Filtering, Normalization, and Data Representation

Késia Oliveira da Silva Miranda, Magno do Nascimento Amorim
Sensors
Animal Behavior and Welfare Studies
article

Preprocessing Strategies for Animal Behavior Classification Using Inertial Sensors: Effects of Filtering, Normalization, and Data Representation

Késia Oliveira da Silva Miranda, Magno do Nascimento Amorim
article en

Abstract

Automatic classification of livestock behaviors, including feeding, rumination, standing, lying, walking, and drinking, using wearable accelerometers has become an important tool in precision livestock farming (PLF). However, the influence of preprocessing strategies on classification performance and computational efficiency remains poorly understood. This study investigated the effects of filtering, normalization, data representation, and machine learning algorithms using five accelerometer datasets comprising 3,533,974 records collected from different livestock species and sampling frequencies. Four filtering strategies, three normalization methods, two data representations, and four machine learning algorithms were evaluated using a standardized pipeline. Model performance was assessed using weighted F1-scores together with statistical and computational analyses. The absence of filtering achieved the highest average performance, reaching a weighted F1-score of 0.773 with Random Forest, whereas high-pass filtering consistently reduced performance (minimum average F1 = 0.605 across sampling frequencies) while increasing computational cost. Z-score standardization improved the performance of scale-sensitive algorithms, increasing SVM performance by up to 8.6% compared with no normalization. Feature-based representations provided greater stability for conventional machine learning models, whereas raw signals generally benefited the 1D-CNN. These findings demonstrate that preprocessing strategies should be selected according to the learning algorithm, signal characteristics, and computational constraints rather than applied as universal procedures, providing methodological guidance for the development of efficient livestock behavior monitoring systems.

SensorsVol. 26(17)
Universidade de São Paulo (BR), Instituto Federal Goiano (BR)
Conselho Nacional de Desenvolvimento Científico e Tecnológico
Zero hunger
Openalex Percentile: Top 8%
Animal Behavior and Welfare Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.