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
- Hong‐Seok Mun (ORCID: https://orcid.org/0000-0003-0322-6462)
- Eddiemar B. Lagua (ORCID: https://orcid.org/0000-0003-0344-1680)
- Hae-Rang Park
- Keiven Mark B. Ampode (ORCID: https://orcid.org/0000-0003-2693-6125)
- Chul‐Ju Yang (ORCID: https://orcid.org/0000-0003-3510-3096)
- Md Sharifuzzaman (ORCID: https://orcid.org/0000-0003-3195-2891)
- Md Kamrul Hasan (ORCID: https://orcid.org/0009-0008-5365-6616)
- Ahsan Mehtab
- Jin-Gu Kang
- Young-Hwa Kim
Institutions
- Chonnam National University (KR)
- Gopalganj Science and Technology University (BD)
- Sylhet Agricultural University (BD)
- Sunchon National University (KR)
- Western Philippines University (PH)
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