欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture

• •    

基于时序气温特征增强的苹果始花期Bi-LSTM预测方法

刘恩奇1,2, 刘淼1, 王拓1,2, 朱耀辉3, 陈日强2, 徐波2, 高美玲1, 张静1, 杨耘1, 杨贵军1,2()   

  1. 1. 长安大学 地质工程与测绘学院,陕西 西安 710054,中国
    2. 农业农村部农业遥感机理与定量遥感重点实验室/北京市农林科学院信息技术研究中心,北京 100097,中国
    3. 江苏大学 农业工程学院,江苏 镇江 212013,中国
  • 收稿日期:2025-10-30 出版日期:2026-01-23
  • 基金项目:
    国家自然科学基金项目(42171303)
  • 作者简介:

    刘恩奇,硕士研究生,研究方向为农业遥感应用。E-mail:

  • 通信作者:
    杨贵军,博士,研究员,研究方向为农业定量遥感机理模型及应用。E-mail:

A Bi-LSTM Prediction Method for Apple First Flowering Date Based on Enhanced Time-Series Temperature Features

LIU Enqi1,2, LIU Miao1, WANG Tuo1,2, ZHU Yaohui3, CHEN Riqiang2, XU Bo2, GAO Meiling1, ZHANG Jing1, YANG Yun1, YANG Guijun1,2()   

  1. 1. School of Geological Engineering and Surveying, Chang'an University, Xi'an 710054, China
    2. Key Laboratory of Agricultural Remote Sensing Mechanism and Quantitative Remote Sensing, Ministry of Agriculture and Rural Affairs/Information Technology Research Center, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    3. College of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
  • Received:2025-10-30 Online:2026-01-23
  • Foundation items:National Natural Science Foundation of China(42171303)
  • About author:

    LIU Enqi, E-mail:

  • Corresponding author:
    YANG Guijun, E-mail:

摘要:

【目的/意义】 苹果始花期是果园物候管理的核心节点,其精准预测对于安排疏花疏果、病虫害防治及规避花期冻害至关重要。传统始花期预测模型特征输入所用气温特征类型单一,且对深层语义信息挖掘不足,难以表征内在物候变化规律;物理驱动模型需预设物候变化函数,依赖人工分区标定阈值,难以实现大范围自适应花期预测。 【方法】 为克服这些局限并进一步提升预测精度,构建了一种数据驱动的深度学习预测框架,以陕西省洛川县为研究区域,选取2019—2021年苹果采摘后至次年开花期前的逐日最高/平均/最低近地表气温数据,并引入局部依赖头、全局依赖头和累积特征头3种多头注意力机制,联合表征多维气温特征,增强模型对气温局部波动、全局趋势及累积变化等时变规律的识别能力,并将地理因子(高程经纬度)作为静态特征与递归神经网络融合,构建区域自适应的双向长短期记忆网络,实现面向空间差异的苹果始花期预测。并以洛川县2022年实际调查的始花期数据对模型进行了精度验证。 【结果】 模型在测试集上的均方根误差为1.34 d,平均绝对误差为1.13 d,预测误差主要集中在0~2 d范围内,相关系数达到0.84。进一步分析表明,引入地理因子有助于降低预测误差并增强模型的空间适应性。经验证,该方法在研究区内可实现提前约15~20 d的稳定预测。 【结论】 研究结果为实现苹果始花期更高精度的预测提供了新路径,并为果园花期管理及灾害防控提供了技术支撑。

关键词: 近地表气温, 多头注意力机制, 地理因子, Bi-LSTM, 苹果始花期

Abstract:

[Objective] The first flowering date of apples is a key phenological stage in the annual growth cycle of fruit trees. Its occurrence timing is directly associated with pollination efficiency, fruit set rate, and subsequent fruit development, and it also serves as an important basis for orchard management practices, including flower and fruit thinning, pest and disease control, as well as risk early warning and emergency management for low-temperature frost events during the flowering period. Existing studies still have room for improvement in the fine-scale extraction of temperature time-series information and in the representation of model adaptability across different spatial locations. Therefore, this study aimed to develop a prediction method for the first flowering date of apples that can effectively characterize time-varying temperature patterns and achieve regional adaptability, thereby providing more reliable technical support for refined orchard management and disaster prevention. [Methods] A deep learning–based forecasting framework for predicting the first flowering date of apples was developed based on observation sites in Luochuan County, Shaanxi Province. First, daily near-surface air temperature (NSAT) data from 2019 to 2021 were collected for the period from apple harvest to the subsequent flowering season in the study area, including daily maximum, mean, and minimum temperatures. In addition, elevation, latitude, and longitude were introduced as static geographic factors, forming a combined input composed of dynamic temperature sequences and static spatial attributes. Second, in terms of model design, a bidirectional long short-term memory network (Bi-LSTM) was employed as the temporal encoder to learn bidirectional dependencies within the temperature time series. On this basis, a customized multi-head attention (MHA) mechanism was integrated, consisting of a local dependency head, a global trend head, and a cumulative feature head, which were designed to represent short-term pre-flowering temperature fluctuations, overall temperature trends, and cumulative temperature effects, respectively. This configuration enhanced the extraction of time-varying information across multiple temporal scales. The attention outputs were then fused with the static geographic factors, and the predicted first flowering date was generated through a regression layer, enabling regionally adaptive prediction. To ensure comparability of results, LSTM and Bi-LSTM models were simultaneously constructed as baseline models using identical data preprocessing and training procedures.Third, Bayesian optimization was applied for automatic hyperparameter tuning, during which key parameters—including learning rate, number of network layers, number of hidden units, regularization terms, and optimizers—were systematically searched, and the optimal configuration was selected based on validation performance. Finally, a cross-year validation strategy was adopted to evaluate model generalization ability: Data from 2019 to 2021 were used as the modeling dataset (training and validation), while the observed first flowering date in 2022 served as an independent test dataset. The predictive performance of all models was evaluated using three widely recognized metrics: root mean square error (RMSE), mean absolute error (MAE), and the correlation coefficient (R). [Results and Discussion] The proposed model achieved an RMSE of 1.34 d, a MAE of 1.13 d, and the R of 0.84 on the test dataset, with most prediction errors concentrated within a range of 0–2 d. Validation results indicated that the proposed approach was capable of providing stable predictions approximately 15–20 d in advance within the study area. Further comparative analysis demonstrated that the Bi-LSTM architecture more effectively exploited both forward and backward dependencies in the pre-flowering temperature time series, thereby offering a more stable temporal representation for regression-based prediction of the first flowering date. Building upon this structure, the introduction of three attention heads—the local dependency head, the global trend head, and the cumulative feature head—enabled the model to more explicitly distinguish and utilize short-term fluctuations, stage-wise trends, and cumulative temperature effects. This targeted extraction of multi-scale time-varying information contributed to reduced prediction errors and improved overall prediction accuracy. Ablation experiments involving static geographic factors further verified the necessity of the spatial adaptability component. When elevation was removed, the RMSE increased from 1.34 d to 1.45 d. Removing latitude and longitude led to a larger increase in RMSE to 2.54 d, and when both elevation and geographic coordinates were excluded, the RMSE further rose to 2.69 d accompanied by a decrease in correlation. These results indicated that geographic factors provided effective spatial constraints, which supported the learning of location-specific phenological responses across different sampling sites. In addition, spatial prediction maps revealed that the first flowering date in the study area exhibited a gradient distribution with respect to elevation to a certain extent. This spatial pattern was consistent with the modeling rationale of incorporating geographic factors into a unified prediction framework. [Conclusion] This study proposes a deep learning-based prediction method for the first flowering date of apples that integrates multi-dimensional temperature features, a multi-head attention mechanism, and geographic factors. The proposed method achieves relatively high prediction accuracy in cross-year forecasting and enables spatially adaptive prediction of the first flowering date of apples. These findings provide a new data-driven technical pathway for refined prediction of apple flowering phenology and offer important technical support for orchard flowering management, frost damage prevention, and agricultural production decision-making.

Key words: near-surface air temperature, multi-head attention, geographic factors, Bi-LSTM, the first flowering date of apples

中图分类号: