Full Research Article
Fixed-adaptive Temporal Attention Network for Predicting Crop Yield

Fixed-adaptive Temporal Attention Network for Predicting Crop Yield
Submitted03-11-2025|
Accepted06-01-2026|
First Online 26-01-2026|
Background: In agriculture, Crop Yield Prediction (CYP) by Deep Learning (DL) models such as Deep Neural Network (DNN) and Convolutional Neural Network (CNN) is an emerging technique that utilizes weather, soil and previous year yield information for different crops. On the other hand, these models often struggle to effectively handle time-series data, which can lead to challenges in capturing temporal relationships between weather, soil and crop yield factors. This can affect the accuracy of predicting crop yields.
Methods: To address this issue, the Fixed-Adaptive Temporal Attention Network (FAT-AttNet) is proposed in this study for CYP using a time-series crop yield dataset, which includes historical information on soil, weather and crop yields. A normalization technique is used to preprocess the dataset, removing irregularities and empty values. Next, the FAT-AttNet model is trained to predict crop yields. This model consists of fixed and adaptive temporal modules. In the fixed temporal module, 18 parallel one-dimensional (1D) CNNs are used to process the stable factors, such as soil data, to capture temporal features. In the adaptive temporal module, 16 parallel two-dimensional (2D) CNNs capture the dynamic relationships among weather, soil and crop growth factors over time. The results from these models are combined using the lateral connection and an attention strategy is applied to adjust the weight of each factor for more accurate predictions. Furthermore, a Fully Connected (FC) layer and an output layer are used to predict crop yields.
Result: The experiments are conducted using an agricultural crop yield in Indian States dataset (ACY-ISD) to evaluate the performance of the FAT-AttNet model for five major crops in Tamil Nadu using the historical data from 2002 to 2023. The results show that the FAT-AttNet model achieves a Mean Absolute Error (MAE) of 0.05, 0.059, 0.061, 0.058 and 0.074 for groundnut, maize, moong, rice and urad yield predictions, respectively. The Root Mean Square Error (RMSE) for the groundnut, maize, moong, rice and urad yield predictions is 0.217, 0.268, 0.245, 0.235 and 0.266, respectively. The correlation coefficients for groundnut, maize, moong, rice and urad yield predictions are 0.862, 0.846, 0.864, 0.860 and 0.859, respectively. The results of FAT-AttCNN models outperform the Improved Optimizer Function with Long Short-Term Memory (IOF-LSTM), CNN-Bidirectional LSTM (BiLSTM), MayFly Algorithm empowered attention-BiLSTM (MFA-BiLSTM) and Spatio-Temporal Attention-based CNN (STACNN) models.
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.