Unsupervised Anomaly Detection with Continuous-Time Model for Pig Farm Environmental Data

Environmental air anomaly detection is crucial for ensuring the healthy growth of livestock in smart pig farming systems. This study focuses on four key environmental variables within pig housing: temperature, relative humidity, carbon dioxide concentration, and ammonia concentration. Based on these variables, it proposes a novel encoder–decoder architecture for anomaly detection based on continuous-time models. The proposed framework consists of two embedding layers: an encoder module built around a continuous-time neural network, and a decoder composed of multilayer perceptrons. The model is trained in a self-supervised manner and optimized using a reconstruction-based loss function. Extensive experiments are conducted on a multivariate multi-sequence dataset collected from real-world pig farming environments. Experimental results show that the proposed architecture significantly outperforms existing transformer-based methods, achieving 92.39% accuracy, 92.08% precision, 85.84% recall, and an F1 score of 88.19%. These findings highlight the practical value of accurate anomaly detection in smart farming systems; timely identification of environmental irregularities enables proactive intervention, reduces animal stress, minimizes disease risk, and ultimately improves the sustainability and productivity of livestock operations.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2025-06-30
DOI
https://doi.org/10.3390/agriculture15131419
Citations
1
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
1.16

Funders

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

Unsupervised Anomaly Detection with Continuous-Time Model for Pig Farm Environmental Data

Hyongsuk Kim, Sang-Cheol Kim, Seyeon Chung, Arsalan Ahmad et al.
1 citations
Agriculture
Food Supply Chain Traceability
1.16
article

Unsupervised Anomaly Detection with Continuous-Time Model for Pig Farm Environmental Data

Hyongsuk Kim, Sang-Cheol Kim, Seyeon Chung, Arsalan Ahmad, Muhammad Ilyas, Malik Muhammad Waqar, Heng Zhou, Muhammad Ibrahim Zain Ul Abideen
article en
1 citations

Abstract

Environmental air anomaly detection is crucial for ensuring the healthy growth of livestock in smart pig farming systems. This study focuses on four key environmental variables within pig housing: temperature, relative humidity, carbon dioxide concentration, and ammonia concentration. Based on these variables, it proposes a novel encoder–decoder architecture for anomaly detection based on continuous-time models. The proposed framework consists of two embedding layers: an encoder module built around a continuous-time neural network, and a decoder composed of multilayer perceptrons. The model is trained in a self-supervised manner and optimized using a reconstruction-based loss function. Extensive experiments are conducted on a multivariate multi-sequence dataset collected from real-world pig farming environments. Experimental results show that the proposed architecture significantly outperforms existing transformer-based methods, achieving 92.39% accuracy, 92.08% precision, 85.84% recall, and an F1 score of 88.19%. These findings highlight the practical value of accurate anomaly detection in smart farming systems; timely identification of environmental irregularities enables proactive intervention, reduces animal stress, minimizes disease risk, and ultimately improves the sustainability and productivity of livestock operations.

AgricultureVol. 15(13)
Jeonbuk National University (KR)
National Research Foundation, Ministry of Agriculture, Food and Rural Affairs, National Research Foundation of Korea, China Scholarship Council, Korea Institute of Planning and Evaluation for Technology in Food, Agriculture and Forestry
Openalex Percentile: Top 21%
Food Supply Chain Traceability
1.16
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.