A Patch and Attention Mechanism-Based Model for Multi-Parameter Prediction of Rabbit House Environmental Parameters

The health and productivity of rabbits are highly sensitive to the environmental conditions within the rabbit house, particularly to fluctuations and deviations in temperature, relative humidity, and carbon dioxide (CO<sub>2</sub>) concentration. However, owing to the thermal inertia and residual evaporation effects inherent in ventilation and cooling systems, environmental changes often exhibit delayed responses, rendering real-time control inadequate. Accurate prediction of key environmental parameters is indispensable for formulating effective environmental control strategies, as it enables consideration of their future dynamics and thereby enhances the rationality of regulation in rabbit farming. Existing prediction models often exhibit unsatisfactory accuracy and weak generalization, which restricts the incorporation of prediction into effective environmental control strategies. To address these limitations, summer indoor and outdoor environmental data were collected from rabbit houses in Nanping, Fujian; Jiyuan, Henan; and Qingyang, Gansu, China-three climatically distinct regions-forming three datasets. Based on these datasets, a multi-parameter time-series prediction model, Patch and Cross-Attention Enhanced Transformer for Rabbit House Prediction (PatchCrossFormer-RHP), is introduced, integrating patching and attention mechanisms. The model partitions the sequences of rabbit house temperature, relative humidity, and CO<sub>2</sub> concentration into patches and incorporates auxiliary parameters, such as indoor air velocity and outdoor temperature and humidity, to enhance feature representation. Furthermore, it applies cross-attention with differentiated encoding to disentangle multi-parameter relationships and improve predictive performance. This study used the Fujian dataset as the primary benchmark. On this dataset, PatchCrossFormer-RHP achieved root mean square error (RMSE) values of 0.290 °C, 1.554%, and 38.837 ppm for rabbit house temperature, humidity, and CO<sub>2</sub> concentration, respectively, with corresponding R<sup>2</sup> values of 0.963, 0.956, and 0.838, consistently outperforming RNN, GRU, and LSTM. Transfer experiments with single- and multi-source pretraining followed by fine-tuning on Fujian demonstrated that strong cross-regional generalization can be achieved with only limited target-domain data.

Authors

Institutions

Publication Details

Journal
Animals
Published
2025-11-02
DOI
https://doi.org/10.3390/ani15213192
Primary Topic
Rabbits: Nutrition, Reproduction, Health
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Patch and Attention Mechanism-Based Model for Multi-Parameter Prediction of Rabbit House Environmental Parameters

Zhongying Liu, Hou-rning Chang, Ronghua Ji, Guoxin Wu et al.
Animals
Rabbits: Nutrition, Reproduction, Health
article

A Patch and Attention Mechanism-Based Model for Multi-Parameter Prediction of Rabbit House Environmental Parameters

Zhongying Liu, Hou-rning Chang, Ronghua Ji, Guoxin Wu, Zhonghong Wu
article en

Abstract

The health and productivity of rabbits are highly sensitive to the environmental conditions within the rabbit house, particularly to fluctuations and deviations in temperature, relative humidity, and carbon dioxide (CO<sub>2</sub>) concentration. However, owing to the thermal inertia and residual evaporation effects inherent in ventilation and cooling systems, environmental changes often exhibit delayed responses, rendering real-time control inadequate. Accurate prediction of key environmental parameters is indispensable for formulating effective environmental control strategies, as it enables consideration of their future dynamics and thereby enhances the rationality of regulation in rabbit farming. Existing prediction models often exhibit unsatisfactory accuracy and weak generalization, which restricts the incorporation of prediction into effective environmental control strategies. To address these limitations, summer indoor and outdoor environmental data were collected from rabbit houses in Nanping, Fujian; Jiyuan, Henan; and Qingyang, Gansu, China-three climatically distinct regions-forming three datasets. Based on these datasets, a multi-parameter time-series prediction model, Patch and Cross-Attention Enhanced Transformer for Rabbit House Prediction (PatchCrossFormer-RHP), is introduced, integrating patching and attention mechanisms. The model partitions the sequences of rabbit house temperature, relative humidity, and CO<sub>2</sub> concentration into patches and incorporates auxiliary parameters, such as indoor air velocity and outdoor temperature and humidity, to enhance feature representation. Furthermore, it applies cross-attention with differentiated encoding to disentangle multi-parameter relationships and improve predictive performance. This study used the Fujian dataset as the primary benchmark. On this dataset, PatchCrossFormer-RHP achieved root mean square error (RMSE) values of 0.290 °C, 1.554%, and 38.837 ppm for rabbit house temperature, humidity, and CO<sub>2</sub> concentration, respectively, with corresponding R<sup>2</sup> values of 0.963, 0.956, and 0.838, consistently outperforming RNN, GRU, and LSTM. Transfer experiments with single- and multi-source pretraining followed by fine-tuning on Fujian demonstrated that strong cross-regional generalization can be achieved with only limited target-domain data.

AnimalsVol. 15(21)
China Agricultural University (CN)
Openalex Percentile: Top 62%
Rabbits: Nutrition, Reproduction, Health
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.