Work

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

Year: 2025
Type: article
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 (CO2) 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 CO2 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 CO2 concentration, respectively, with corresponding R2 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.
Source: Animals
Language: English
Subfield: Plant Science
Open Access status: gold
Estimated APC paid: $2,896
OpenAlex ID: W4415814331
FWCI:
Cites: 9
Cited by:
Related to: