Exploratory Room-Level Acoustic Soundscape Monitoring of Cough-like Events Under Standard and Ventilation-Restricted Pig-Housing Conditions Using Audio Spectrogram Transformer

Respiratory sound monitoring is a promising non-invasive tool for precision pig farming, but practical evidence from calibrated room-level deployment under degraded air-quality conditions remains limited. This study reports a 28-day exploratory room-level case study in which 52 growing pigs were housed in two rooms: one standard-ventilation room and one ventilation-restricted room, and monitored with one microphone per room emphasizing mixed room-level soundscape monitoring rather than individual pig cough counts or replicated treatment inference. Because the design lacked independent room-level replication, all room contrasts and p-values were interpreted as exploratory descriptive screening summaries rather than causal treatment effects. Airflow verification, playback calibration at multiple pen positions, and background-noise spectral analysis were performed to address measurement bias. Signal inspection showed that biologically relevant vocal energy was retained after 16 kHz resampling, while class imbalance was handled by inverse-frequency weighting and macro-F1-based model selection. The Audio Spectrogram Transformer (AST) pipeline was subjected to five-fold group-blocked cross-validation, and temporal validation. The model achieved a test macro-F1 of 0.937, five-fold macro-F1 of 0.928 ± 0.019, and three-day deployment validation macro-F1 of 0.914. In this two-room dataset, the ventilation-restricted room displayed higher room-level cough-like detections, aggressive vocalizations, normal vocalizations, lower silence, reduced growth, and poorer air quality. Cough-like detections showed recurring clock-time clustering, with the most sustained elevation during 19:00–22:00 and a smaller peak around 10:00 with the highest occurrences at 20.00 (2.84 room-level cough-like detections standardized to group size). Audio-only early-warning analysis flagged deteriorated air-quality windows with AUROC = 0.91 and AUPRC = 0.88 and provided a median 34 min lead time before environmental threshold exceedance, highlighting practical utility as an early inspection cue for farmers before air-quality deterioration becomes more pronounced. Cough-like events descriptively co-varied positively with NH3, temperature, and CO2. Overall, calibrated AST-based monitoring can summarize group-level acoustic changes associated with degraded room environments, while multi-room and multi-farm replication remains necessary for causal inference and generalization.

Authors

Institutions

Publication Details

Journal
Animals
Published
2026-07-22
DOI
https://doi.org/10.3390/ani16142275
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploratory Room-Level Acoustic Soundscape Monitoring of Cough-like Events Under Standard and Ventilation-Restricted Pig-Housing Conditions Using Audio Spectrogram Transformer

Hong‐Seok Mun, Eddiemar B. Lagua, Hae-Rang Park, Keiven Mark B. Ampode et al.
Animals
Animal Behavior and Welfare Studies
article

Exploratory Room-Level Acoustic Soundscape Monitoring of Cough-like Events Under Standard and Ventilation-Restricted Pig-Housing Conditions Using Audio Spectrogram Transformer

Hong‐Seok Mun, Eddiemar B. Lagua, Hae-Rang Park, Keiven Mark B. Ampode, Chul‐Ju Yang, Md Sharifuzzaman, Md Kamrul Hasan, Ahsan Mehtab, Jin-Gu Kang, Young-Hwa Kim
article en

Abstract

Respiratory sound monitoring is a promising non-invasive tool for precision pig farming, but practical evidence from calibrated room-level deployment under degraded air-quality conditions remains limited. This study reports a 28-day exploratory room-level case study in which 52 growing pigs were housed in two rooms: one standard-ventilation room and one ventilation-restricted room, and monitored with one microphone per room emphasizing mixed room-level soundscape monitoring rather than individual pig cough counts or replicated treatment inference. Because the design lacked independent room-level replication, all room contrasts and p-values were interpreted as exploratory descriptive screening summaries rather than causal treatment effects. Airflow verification, playback calibration at multiple pen positions, and background-noise spectral analysis were performed to address measurement bias. Signal inspection showed that biologically relevant vocal energy was retained after 16 kHz resampling, while class imbalance was handled by inverse-frequency weighting and macro-F1-based model selection. The Audio Spectrogram Transformer (AST) pipeline was subjected to five-fold group-blocked cross-validation, and temporal validation. The model achieved a test macro-F1 of 0.937, five-fold macro-F1 of 0.928 ± 0.019, and three-day deployment validation macro-F1 of 0.914. In this two-room dataset, the ventilation-restricted room displayed higher room-level cough-like detections, aggressive vocalizations, normal vocalizations, lower silence, reduced growth, and poorer air quality. Cough-like detections showed recurring clock-time clustering, with the most sustained elevation during 19:00–22:00 and a smaller peak around 10:00 with the highest occurrences at 20.00 (2.84 room-level cough-like detections standardized to group size). Audio-only early-warning analysis flagged deteriorated air-quality windows with AUROC = 0.91 and AUPRC = 0.88 and provided a median 34 min lead time before environmental threshold exceedance, highlighting practical utility as an early inspection cue for farmers before air-quality deterioration becomes more pronounced. Cough-like events descriptively co-varied positively with NH3, temperature, and CO2. Overall, calibrated AST-based monitoring can summarize group-level acoustic changes associated with degraded room environments, while multi-room and multi-farm replication remains necessary for causal inference and generalization.

AnimalsVol. 16(14)
Chonnam National University (KR), Gopalganj Science and Technology University (BD), Sylhet Agricultural University (BD), Sunchon National University (KR), Western Philippines University (PH)
Openalex Percentile: Top 7%
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.