LSTM与Informer融合预测冠层区域温度

    Canopy area temperature prediction with fusion on LSTM and Informer

    • 摘要: 针对传统温度预测方法难以充分捕捉多尺度信息,导致模型预测性能不佳等问题,该研究提出了一种基于Informer架构和长短时记忆网络(long short-term memory, LSTM)与多源数据融合的冠层区域温度预测模型。在编码层中,采用稀疏注意力机制提取输入因子的多尺度信息及其与长时序数据之间的耦合关系;在解码层中,利用LSTM提取短期时序依赖,以增强时间序列的连贯性,同时引入改进的反向残差前馈网络(improved residual feedforward network, IRFFN)以优化模型结构。首先采用孤立森林法对数据进行异常值清理,并进行了归一化处理;然后使用斯皮尔曼相关系数法对冠层区域温度进行相关性分析,并选择相关程度较高的环境因子作为模型的输入特征;最终通过网格搜索法对超参数进行优化,并通过迭代训练实现模型的最优配置。通过与其他4种主流算法进行对比分析,提出的Informer-LSTM在冠层区域温度预测方面表现出更高的精度,其平均绝对误差(mean absolute error, MAE)、均方根误差(root mean square error, RMSE)和决定系数(R2)分别达到了0.166、0.224 ℃和97.8%,与基础模型Informer相比,冠层区域温度的预测精度提高了32.36%。该模型在时间序列预测方面具有较高的精度,为区域气象温度的中短期精准预测提供了一种新的技术方法。

       

      Abstract: Accurate canopy area temperature prediction played a crucial role in intelligent agricultural production and climate regulation. As a key environmental factor, canopy temperature significantly influenced crop growth, physiological metabolism, and the interaction between plants and pathogens, ultimately affecting crop health, yield, and quality. However, traditional temperature forecasting methods struggled to capture multi-scale dependencies in long and short time sequences, leading to suboptimal predictive performance. To address these challenges, a fusion model based on the Informer architecture and long short-term memory neural networks (LSTM) was proposed for canopy temperature prediction by integrating multi-source environmental data. In the encoder layer, a sparse attention mechanism was employed to extract multi-scale information from the input features. This mechanism was particularly suited for long-term time series data, as it effectively captured the coupling relationships between environmental factors at different time scales. Sparse attention allowed the model to focus on the most relevant information, which was crucial for long-term temperature prediction, as it reduced noise and redundancy commonly present in traditional models. In the decoder layer, LSTM was used to extract short-term temporal dependencies, further enhancing the continuity and consistency within the time series data. The ability of LSTM to capture sequential information over short intervals enabled the model maintain prediction consistency by leveraging temporal patterns. This contributed to more reliable predictions, especially in dynamic environments where short-term fluctuations in temperature played a key role. Additionally, an improved residual feedforward network (IRFFN) was incorporated to further optimize the model structure. This module improved information flow through the network by allowing residual connections, alleviating the vanishing gradient problem often encountered during training. By enhancing the model's ability to learn complex non-linear relationships, IRFFN enabled improve prediction performance without significantly increasing computational complexity. The experiment was conducted in a kiwifruit-grape intercropping orchard, where a suspended inspection robot was deployed to collect canopy microenvironmental data from January 2021 to 2024, with measurements recorded at 30-minute intervals. Data preprocessing was performed using the isolation forest algorithm to eliminate outliers, followed by normalization to standardize feature values. A Spearman correlation analysis was conducted to identify key environmental variables affecting canopy temperature, such as canopy temperature, humidity, soil temperature, wind speed, atmospheric pressure, and soil moisture, which were selected as input features for the model. Experimental results demonstrated that the proposed Informer-LSTM model significantly outperformed mainstream models, including Times-Net, Autoformer, Informer, and Reformer, in terms of prediction accuracy. The model achieved a mean absolute error (MAE) of 0.166 ℃, a root mean square error (RMSE) of 0.224 ℃, and a coefficient of determination (R²) of 0.978. Compared to the baseline Informer model, the MAE and RMSE were reduced by 0.265 and 0.448 ℃, respectively. The stability of the model was further verified by testing predictions at different time steps (1, 6, 12hours). In the task of predicting the future one hour, the MAE and RMSE were 0.468 and 0.583 ℃, respectively, while in the task of predicting the future 12 hours, the MAE and RMSE increased to 1.368 and 1.527 ℃, respectively, and the average MAE and RMSE values were 31.75% and 29.62% lower than the baseline model Informer. The final validation experiment was conducted using actual canopy microenvironmental data from February 2024, confirming the model’s generalization capability and robustness, with an RMSE of 0.259 ℃, MAE of 0.178 ℃, and R² of 0.969. This study demonstrated that Informer-LSTM provided a high-precision and stable approach for short- and medium-term canopy temperature forecasting.

       

    /

    返回文章
    返回