Skip to Content
AgricultureAgriculture
  • Article
  • Open Access

2 December 2026

26 Pages

PLSR-Driven Gated Micro-LSTM for High-Dimensional Small-Sample Rice Yield Prediction

and
1
Department of Plant Industry, National Pingtung University of Science and Technology, Pingtung 912, Taiwan
2
Department of Public Finance and Tax Administration, National Taipei University of Business, Taipei 100, Taiwan
*
Author to whom correspondence should be addressed.

Abstract

Accurate crop yield prediction is crucial amid climate change and volatile agricultural markets. However, incorporating numerous, highly collinear climate factors into predictive models often triggers the “small n, large p” data limitation inherent in annual output records, leading to severe overfitting in traditional deep learning. To address this problem, we propose a novel hybrid predictive framework, the PLSR-driven Micro-LSTM (PLSR-μLSTM). The model first uses Partial Least Squares Regression (PLSR) to reduce dimensionality and extract latent climate components with strong agronomic interpretability. It then feeds these components into a funnel-shaped LSTM tailored for microscale agricultural samples. With an extremely constrained neural topology and strict L2 regularization, the framework robustly modulates nonlinear interactions among latent seasonal climate indicators. Using 20 years (2005–2024) of historical data from Taiwan’s major rice-producing regions and 126 meteorological dimensions, out-of-sample predictions show that PLSR-μLSTM helps mitigate the “distribution shift” challenge driven by rising baseline temperatures. In fixed-origin out-of-sample testing (2020–2024), PLSR-μLSTM yields the lowest prediction error among evaluated benchmarks (RMSE = 436.32, MAPE = 6.01; mean RMSE = 457.10 ± 29.02 across 10 random initializations), showing favorable multi-year extrapolation while performing comparably to PLSR-coupled Support Vector Regression under annual rolling-origin updates. Furthermore, latent component analysis enhances model interpretability, providing physiologically plausible insights into the impacts of spring sunshine and continuous precipitation on rice photosynthesis and pollination. Ultimately, this framework addresses the algorithmic bottleneck of small-sample overfitting, providing an interpretable and computationally parsimonious approach to climate-informed rice yield forecasting and agricultural risk assessment under increasingly nonstationary climate conditions.

1. Introduction

Agriculture serves not only as the bedrock of global food security but also as a key driver of commodity market stability. Although modern agricultural technologies have substantially boosted productivity, price volatility in international agricultural commodity markets persists [1]. According to data from the Food and Agriculture Organization of the United Nations (FAO), using the 2014–2016 average price as a baseline, the FAO Food Price Index (FFPI) rose from 93.1 in 2015 to 127.2 by the end of 2025 following the COVID-19 pandemic and recent geopolitical and climatic disruptions [2]. In agricultural economics, food price volatility is fundamentally governed by the market supply-and-demand structure, which depends heavily on expected crop yields. Therefore, accurately predicting crop yields—to assist government agencies in planning market intervention strategies (e.g., import and export adjustments and the management of strategic reserves), to facilitate the pricing of agricultural futures, and to improve risk assessments for agricultural insurance—has become an important cross-disciplinary research imperative bridging agricultural economics and data science [3,4].
Because staple crops are vital to civilian demand, developing reliable yield forecasting models has long been central to quantitative agricultural research. Traditionally, crop yield forecasting relied on statistical methods such as multiple linear regression and experimental design models. With recent advances in computational science, researchers have increasingly adopted Machine Learning (ML) and Deep Learning (DL) techniques to model complex nonlinear crop–climate relationships [5,6,7]. Simultaneously, the widespread deployment of agro-meteorological monitoring networks and the Agriculture of Things (AoT) has enabled the collection of extensive time-series weather observations [8]. Because meteorological factors (e.g., temperature, precipitation, and sunshine) influence crop physiology differently across phenological stages (e.g., vegetative versus heading stages), incorporating multi-month climate variables often expands the predictor dimension (p) to dozens or even hundreds of correlated variables [9]. This high-dimensional structure induces severe multicollinearity and the “curse of dimensionality” across statistical, machine learning, and neural network models alike, degrading out-of-sample generalization and occasionally hindering model convergence [6,10,11]. Furthermore, because major grain crops such as rice and wheat are harvested only once or twice annually, the available historical sample size (n) in regional datasets is typically small relative to the large number of climate predictors (p). In such “small n, large p” settings, high-capacity deep learning architectures are highly prone to overfitting, motivating recent research into hybrid statistical–neural frameworks and temporally robust validation strategies for small-sample agricultural forecasting.
To address these methodological challenges, this study proposes a novel hybrid deep learning predictive framework. First, to address the large number of highly collinear climate features, this study introduces Partial Least Squares Regression (PLSR) for feature selection and dimensionality reduction. This effectively extracts the most representative latent climate indicators, thereby filtering out unnecessary noise interference [12,13]. Second, rather than relying on multi-step recurrent learning, which typically requires long sequential records, this study repurposes a single-step (T = 1) Long Short-Term Memory cell within a compact “Micro-Funnel Neural Network” (μLSTM) to act as a regularized, gated nonlinear modulator on the extracted PLSR components. Through a compact neural topology and regularization constraints, the model is designed to improve generalization on small samples. Building on these innovations, this study introduces a novel method that combines PLSR dimensionality reduction with a miniaturized neural network, termed the PLSR-driven Micro-LSTM (PLSR-μLSTM). Given limited historical agricultural sample data, this study uses the PLSR-μLSTM to reduce interference from high-dimensional climate variables, yielding a stable and accurate crop yield prediction model. Ultimately, this research provides a valuable academic reference for future smart agriculture decision-support systems.

2. Materials and Methods

2.1. Methodological Evolution and Bottlenecks in Agricultural Yield Prediction

Accurate agricultural yield prediction plays a central role in the contemporary global economy. From the perspective of agricultural macroeconomics and market management, crop yield not only directly dictates the stability of the market supply side but also serves as the core basis for pricing agricultural commodity futures, stabilizing inflation, and calculating agricultural insurance premiums. Traditionally, when forecasting agricultural yields and identifying influential factors, researchers relied primarily on statistical methods and econometric models. Early research often used small-scale Experimental Designs or Analysis of Variance (ANOVA) in strictly controlled growth environments to explore causal relationships and optimal growth conditions between specific variables (e.g., fertilizer application, irrigation volume) and final yield [14]. While these traditional statistical methods provided excellent model interpretability and rigorous statistical significance testing, they were constrained by experimental scale and localized geographical conditions, making it difficult to capture complex, highly variable natural climate interferences over large spatial and temporal scales.
Because agricultural output depends fundamentally and strongly on climate and environmental conditions during the growth period [4,15,16], researchers in recent years have been able to collect massive, high-frequency climate data, driven by the rapid development of the Agriculture of Things (AoT) and big data analytics. Confronted with this massive climate data characterized by highly nonlinear features, traditional linear statistical models have become inadequate. Consequently, researchers have increasingly shifted toward data mining, ML, and DL algorithms to develop predictive models that map climate variables to agricultural output [6]. For instance, models such as Random Forest (RF), Support Vector Regression (SVR), and Long Short-Term Memory (LSTM) have been shown to effectively capture complex interactions among climate features, achieving higher accuracy than traditional linear regression in large-scale yield forecasting [15,16,17,18].
Despite the successful development of various agricultural yield predictive models in the current literature, a highly challenging statistical and algorithmic bottleneck persists in practical agricultural economics and predictive science. When researchers try to incorporate climate variables from different growth stages into a predictive model, the number of input variables often grows exponentially. However, historical yield data for most major crops are annual statistics, leaving very few available observations. In statistics, this extreme “small samples and high dimensions” characteristic leads to severe multicollinearity and depleted degrees of freedom. In deep learning, this triggers the “Curse of Dimensionality,” causing complex neural network models to easily fall into the trap of “overfitting” by memorizing noise and losing their ability to generalize to unseen data [6,10,11]. Most of the applied deep learning literature assumes large sample sizes, with little research proposing optimized architectures that specifically address the micro-sample characteristics of annual agricultural data. Therefore, effectively integrating statistical dimensionality reduction techniques with neural networks under the extreme constraints of “small samples and high dimensions” to build a highly stable predictive model remains a critical gap in the literature and a core contribution of this study.

2.2. Partial Least Squares Regression and Dimensionality Reduction

Because the climate factors influencing crop growth are numerous and highly temporally correlated, feature selection is essential to reduce dimensionality before building agricultural yield predictive models. This step prevents the model from succumbing to the curse of dimensionality and overfitting, improving performance and predictive power. While various feature selection methods exist, the most common approach couples predictive models with optimization algorithms (e.g., Genetic Algorithms) to reduce dimensionality [19,20]. However, these methods predominantly operate as “black box” models; even if they effectively reduce the number of variables, they often fail to meaningfully explain the practical economic and agronomic implications of the selected variables on the predictive model (e.g., yield fluctuations) [21]. To address the lack of interpretability in conventional feature selection methods, this study employs PLSR as the front-end feature selection method. PLSR not only compresses data features and reduces the predictive model’s dimensionality, but also provides interpretability of the extracted latent components. Consequently, it improves the predictive model’s interpretability and practical value in agricultural economics. The foundational theories of PLSR were initially introduced by Wold and his research team in the 1970s [13,22]. Recently, researchers have widely applied PLSR across interdisciplinary fields, including chemical engineering, market and financial analysis, and agriculture [23]. PLSR is primarily designed to address two core challenges: (a) resolving the issue of severe multicollinearity among independent variables, and (b) overcoming the estimation failure that can occur in statistical modeling when the number of independent variables vastly exceeds the available observation samples [24,25]. In terms of dimensionality reduction, PLSR is similar to Principal Component Regression (PCR); both are soft computing methods suited to datasets with many independent variables and multicollinearity [26]. This makes PLSR well suited for integration into contemporary big data analytics methodologies, and it is why this study selects it as the core algorithm for synthesizing weighted climate indicators. However, PLSR differs fundamentally from PCR: while PCR extracts maximum-variance information from the independent variables to build a predictive model and ignores information from the dependent variable, PLSR uses the covariance between the independent variables and the dependent variable. This mechanism ensures that each latent climate component extracted by PLSR combines features with high predictive power. In practice, PLSR algorithms are commonly categorized as PLS1 and PLS2. PLS1 is primarily used for predictive problems with a single response variable and multiple independent variables, whereas PLS2 addresses complex associations among multiple independent and dependent variables simultaneously. Because the dependent variable in this study is a single indicator (i.e., agricultural output), we adopt the PLS1 model. Mathematically, PLS1 functions as a Bilinear Model, and its core feature decomposition formulas are presented in Equations (1) and (2).
X I × K = T I × A P A × K ′ + E A ,
y I × 1 = T I × A q A × 1 + f A .
In Equations (1) and (2), P represents the loading matrix of the independent variables X, with a dimension of K × A; q represents the loading matrix of the dependent variable y, with a dimension of A × 1; T denotes the score matrix, with a dimension of I × A (where I is the number of samples, K is the number of variables, and A is the number of extracted latent components); and EA and fA represent the unexplained residual matrices, respectively. In summary, this study selects PLSR over traditional analytical methods as the front-end data dimensionality-reduction technique for the predictive model because PLSR maintains the ability to establish accurate and stable models even when confronted with severe collinearity among climate variables or the “small sample size” dilemma typical of annual agricultural statistical data. Furthermore, the components extracted by PLSR can clearly correspond to the marginal impacts of the original climate variables on the final crop yield.

2.3. Long Short-Term Memory

During crop growth and yield, climate impacts on yield are fundamentally a highly time-series-dependent, dynamic accumulation process. Therefore, effectively capturing temporal correlations among climate features is critical to constructing predictive models. Traditionally, when utilizing artificial neural networks to analyze time-series data, researchers have predominantly employed Recurrent Neural Networks (RNNs) for modeling. RNNs can pass the hidden state from the previous time step to the current one, enabling them to process sequentially ordered data. However, when the time series is excessively long or the network architecture becomes deeply layered, standard RNNs often encounter optimization bottlenecks, such as “vanishing gradients” or “exploding gradients,” during weight updates via the Backpropagation Through Time (BPTT) algorithm. Consequently, RNNs often fail to learn and capture dependencies over long temporal spans, forgetting crucial early input features [27,28]. The Long Short-Term Memory (LSTM) network was developed to address RNNs’ inherent deficiencies in long-term memory preservation [29]. In recent years, LSTM has achieved tremendous success in fields such as speech recognition and natural language processing and has also been widely applied in precision agriculture and crop yield prediction [5,30,31]. The key mechanism that allows LSTM to overcome the limitations of traditional RNNs is the introduction of a “Cell State” (Ct) and three sophisticated “Gating Mechanisms” within its hidden layers: the Forget Gate (ft), the Input Gate (it), and the Output Gate (ot). Through these gating structures, the LSTM network autonomously learns which historical climate information to retain and which interfering noise to discard. Equations (3)–(8) express the core mathematical equations governing its operations.
f t = σ ( W f · h t − 1 ,   x t + b f ) ,
i t = σ W i · h t − 1 ,   x t + b i ,
C ~ t = tanh ( W C · h t − 1 ,   x t + b C ) ,
C t = f t ∗ C t − 1 + i t ∗ C ~ t ,
o t = σ ( W o · h t − 1 ,   x t + b o ) ,
h t = o t ∗ tanh ( C t ) .
In Equations (3)–(8), xt represents the input variable at time t, and ht−1 denotes the hidden state from the previous time step. The terms W and b represent the weight matrices and bias vectors, respectively, which the network optimizes during learning. The symbol σ denotes the Sigmoid activation function, which maps the output values to a range between 0 and 1, thereby controlling the information passing rate. Additionally, the tanh function is the hyperbolic tangent function, used to stabilize the magnitude of numerical values transmitted through the network. At the application level, LSTM network architecture offers a high degree of flexibility. Based on the dimensional mapping relationship between the input independent variables and the output dependent variables, LSTM models can be primarily categorized into four analytical states: (a) the “One-to-One” state, mapping a single independent variable to a single dependent variable; (b) the “One-to-Many” state, mapping a single independent variable to multiple dependent variables; (c) the “Many-to-One” state, mapping multiple independent variables to a single dependent variable; and (d) the “Many-to-Many” state, mapping multiple independent variables to multiple dependent variables [32]. In this study, because intra-seasonal monthly weather trajectories are already summarized by front-end PLSR components, the LSTM unit is implemented in a single-step (T = 1) setting for its multiplicative gating properties rather than multi-step recurrent temporal unrolling.

2.4. The Proposed Model

To address the difficulty of establishing predictive models due to the “small n, large p” characteristic frequently encountered in crop yield or agricultural economic data, this study proposes a hybrid deep learning predictive framework that integrates PLSR and LSTM, termed the PLSR-driven Micro-LSTM (PLSR-μLSTM). Section 2.4.1 explains the design rationale for the PLSR-μLSTM, and Section 2.4.2 details its computational procedures.

2.4.1. Rationale for the PLSR-μLSTM

In practical agricultural yield prediction, traditional machine learning and deep learning models often face two major structural challenges. First, advances in meteorological sensing technologies have generated massive, high-dimensional climate variables with extreme multicollinearity. Directly inputting these variables into predictive models can introduce severe dimensionality issues and noise. Second, because of the crop growth cycle, reliable macroeconomic agricultural yield data are predominantly annual statistics. This restriction makes the number of samples available for model training far smaller than the number of climate variables.
To overcome these limitations, this study proposes the PLSR-μLSTM, whose design rationale is predicated on two core considerations:
  • Integrating the Feature Dimensionality Reduction and Interpretability of PLSR:
Unlike general dimensionality reduction techniques, PLSR simultaneously maximizes covariance between the climate variables and the target dependent variable when extracting latent features. Consequently, PLSR not only effectively eliminates multicollinearity and condenses noise from complex climate variables into a few comprehensive climate indicators, but also preserves these indicators’ agronomic implications for crop yield.
b.
Anti-Overfitting and Gated Nonlinear Modulation Design of the Micro-LSTM (μLSTM):
Although standard LSTM neural networks can model complex nonlinear relationships, their gating mechanisms and large parameter spaces make them prone to overfitting on small agricultural sample sizes. Furthermore, because the intra-seasonal monthly progression (January to June) of the 126 climate predictors is linearly condensed by the front-end PLSR into orthogonal latent trajectory indicators, each annual county-level observation is supplied to the neural network as a single integrated seasonal time step (T = 1). Under this single-step formulation, the μLSTM cell operates not as a multi-step sequence unroller, but as a regularized, gated nonlinear feature modulator. Through the multiplicative interactions between its sigmoid (σ) input/output gates and hyperbolic tangent (tanh) cell state candidate, combined with a compact “Micro-Funnel” topology (8 to 4 to 1 neurons), L2 regularization, and dropout constraints, the μLSTM models nonlinear interactions among the PLSR latent climate indicators within a bounded parameter space, thereby aiding generalization on unseen years.

2.4.2. Computational Workflow of PLSR-μLSTM

The PLSR-μLSTM computational workflow has five steps: “Data Splitting and Standardization”, “PLSR Feature Extraction via Cross-Validation”, “Construction of the Micro-Funnel Neural Network”, “Micro-Batch Training, Internal Validation, and Model Refitting”, and “Inverse Transformation and Yield Prediction”. Figure 1 shows the flowchart, and the specific algorithmic steps are detailed below.
Figure 1. The flowchart of PLSR-μLSTM.
Step 1: Data Splitting and Standardization:
To ensure the predictive model’s objectivity and prevent data leakage, this study must first partition the historical agricultural data chronologically into training and test sets. The training set trains the model’s parameters and establishes the predictive model, while the test set evaluates the model’s predictive performance. Subsequently, Z-score standardization scales the independent climate variables and the rice yield dependent variable. The standardization parameters are fitted exclusively to the training set and then applied to the test set to unify the dimensional scales of all variables.
Step 2: PLSR Feature Extraction via Cross-Validation:
For each sample i (i = 1,…, N), the monthly climate factors across the growing season are arranged into a K-dimensional row vector x i ∈ R K . To prevent hyperparameter overfitting on small samples and ensure a uniform feature subspace across downstream models, latent dimensionality is determined via a stage-decoupled selection mechanism prior to neural network training. Specifically, using the Z-score-standardized training dataset, randomized 5-fold cross-validation (with a fixed random seed) is performed across 1 to 15 candidate dimensions. Within each fold split, a standalone linear PLSR model is fitted on four training folds via the Nonlinear Iterative Partial Least Squares (NIPALS) algorithm, sequentially extracting orthogonal components that maximize squared covariance with standardized yield, and evaluated on the held-out validation fold. The optimal number of components is selected by minimizing the mean out-of-fold linear PLSR prediction error across the five folds (with robustness to intra-year spatial correlation verified via year-grouped 5-fold cross-validation in Section 4.2, where retaining a parsimonious subspace is prioritized when additional components yield <2% MSE change). Once A is determined, the PLSR model is refitted on the complete standardized training set to obtain the rotation weight matrix R   =   W ( P T W ) − 1 ∈ R K × A , projecting the predictors onto the latent score matrix T ∈ R N × A as expressed in Equation (9):
T   =   X scaled R
Because R weights climate variables across sequential growing months, each extracted component in T summarizes the intra-seasonal temporal progression and cumulative meteorological patterns.
Step 3: Construction of the Micro-Funnel Neural Network:
To meet the input requirements of the LSTM layer, the two-dimensional latent score matrix T ∈ R N × A is reshaped into a three-dimensional tensor χ ∈ R N × T × A , where N is the number of samples, T = 1 represents a single integrated seasonal time step, and A is the number of PLSR latent features. With initial states h0 = 0 and C0 = 0, the single-step (t = 1) gated transformation of the μLSTM layer is defined in Equation (10).
h 1 = σ ( W o t i + b o ) ⨀ tan h ( σ ( W i t i + b i ) ⨀ tan h ( W C t i + b C ) )
where t i ∈ R A denotes the ith row of T, and ⨀ represents element-wise multiplication. This multiplicative gating mechanism acts as a bounded nonlinear modulator that regulates feature flow. The μLSTM network adopts a compact “Funnel” topology, described as follows:
  • Gated Feature Modulation Layer: Configured with an LSTM structure containing 8 neurons, a hyperbolic tangent (tanh) activation function, and an L2 regularization penalty (weight coefficient 0.01) to constrain weight growth.
  • Regularization Layer: A dropout layer (rate = 0.2) is included to randomly deactivate a subset of neurons during training, reducing overfitting on small datasets.
  • Dimensionality-Reduction Fully Connected Layer: A dense layer with 4 neurons and a ReLU activation function is used to compress the nonlinear features.
  • Output Layer: A final dense layer with a single linear neuron outputs the standardized yield prediction.
Step 4: Micro-Batch Training, Internal Validation, and Model Refitting:
During model optimization, this study uses the Adam optimizer with a learning rate of 0.0005 and Mean Squared Error (MSE) as the loss function. The maximum number of training iterations is set to 150 epochs with a micro-batch size of 2. To prevent overtraining without sacrificing training observations on small datasets, a two-stage internal validation and refitting procedure is employed: first, a 15% subset of the training dataset (Nval = 14, partitioned strictly within the 2005–2019 training set under fixed random seeds) is held out as an internal validation subset, and early stopping monitors the validation loss (terminating when no improvement occurs for 40 consecutive epochs) to identify the optimal stopping epoch; second, the final μLSTM model is refitted on the complete 90-observation training dataset using the determined epoch schedule.
Step 5: Inverse Transformation and Yield Prediction
Once the μLSTM model completes training and generates predictions on the standardized scale, an inverse Z-score transformation (using the mean and standard deviation fitted on the training target set) is applied to restore the predicted values back to the original physical yield units (kg ha−1) for error evaluation.

2.5. Performance Measures

To objectively and comprehensively evaluate model performance for crop yield prediction, this study employs three widely recognized statistical evaluation metrics: Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), and relative RMSE (r-RMSE). By integrating scale-dependent and scale-independent metrics, this evaluation framework captures both the absolute and relative magnitudes of prediction deviations. First, the RMSE quantifies the standard deviation of the prediction residuals [16]. In agricultural economics, an extreme prediction failure in a single year (e.g., failing to forecast severe crop losses) often shocks market prices and food security policies. Because RMSE squares errors, it is highly sensitive to outliers or large deviations in predictions, severely penalizing unstable predictive models. Equation (11) defines it.
RMSE = 1 n ∑ t = 1 n ( y t − y ^ t ) 2 .
In Equation (11), yt represents the actual rice yield in year t, y ^ t denotes the model’s predicted yield in year t, and n is the total number of observation samples. Although the RMSE accurately reflects the scale of absolute errors, it lacks the intuitive clarity of relative proportions. Therefore, this study introduces the MAPE as the second evaluation metric. By expressing absolute error as a percentage of the actual observation, MAPE presents errors in a highly interpretable way for economic and practical decision-making. Consequently, researchers have extensively applied it to compare the accuracy of various time-series predictive models [9]. Equation (12) defines MAPE. In Equation (12), yt represents the actual rice yield in year t, y ^ t denotes the model’s predicted yield in year t, and n is the total number of observation samples.
MAPE = 1 n ∑ t = 1 n y t − y ^ t y t × 100 .
Finally, to further mitigate RMSE’s limitations in cross-dataset comparisons, this study adopts the relative RMSE (r-RMSE). The r-RMSE is derived by dividing the standard RMSE by the mean actual yield. This metric combines RMSE’s sensitivity to extreme errors with MAPE’s dimensionless advantage, making it well suited for evaluating and comparing overall stability and performance gaps among models [33,34]. The r-RMSE is defined in Equation (13).
r − RMSE = 1 y ¯ × 1 n ∑ t = 1 n ( y t − y ^ t ) 2 × 100 .
In Equation (13), y ¯ represents the arithmetic mean of the actual observation data. Ultimately, for all three evaluation metrics (RMSE, MAPE, and r-RMSE), lower values indicate smaller prediction errors, signifying superior predictive accuracy and reliability.

3. Results

3.1. Dataset

To demonstrate the proposed PLSR-μLSTM’s predictive capability for crop yields with limited sample sizes, this study uses Taiwan’s rice yield as an empirical example. Taiwan’s geography makes it highly suitable for rice cultivation, with two stable harvests annually. More importantly, the primary rice-producing regions are situated in central and southern Taiwan, spanning both tropical and subtropical zones. This geographical span creates substantial climate variability, which complicates training and validating predictive models that assess climate impacts on rice yield; therefore, it serves as an ideal testbed for rigorously evaluating the model’s predictive capability.
The study area encompasses six major rice-producing counties and cities in central and southern Taiwan: Taichung City, Nantou County, Changhua County, Yunlin County, Chiayi County, and Tainan City (Figure 2). The dataset is structured as a balanced regional panel spanning 20 years (2005–2024), yielding 1 observation per region per year and a total sample size of N = 120 observations (6 regions × 20 years). Each observational unit represents a specific county/city in a given year. To align with the growing season of the first rice crop in Taiwan, the dependent variable is defined as the annual first-crop brown rice yield per hectare (kg ha−1), obtained from the Ministry of Agriculture’s (MOA) Agricultural Statistics Yearbook (https://www.moa.gov.tw/ws.php?id=209, accessed on 1 May 2026). For the regional meteorological indicators, monthly climate records from January to June were retrieved directly from the Central Weather Administration’s (CWA) Agricultural Meteorological Observation Network Monitoring System (https://agr.cwa.gov.tw/history/station_day, accessed on 1 May 2026). To ensure regional representativeness and data completeness, one primary agricultural meteorological station in or adjacent to the core rice-farming zone with complete historical records was selected for each of the six counties and cities. No missing values were present across the selected stations during the 2005–2024 study period.
Figure 2. Geographic locations of the study area.
This study collects a total of 21 monthly climate factors: station pressure (hPa), maximum station pressure (hPa), minimum station pressure (hPa), average temperature (°C), maximum temperature (°C), minimum temperature (°C), dew point temperature (°C), wind speed (m/s), wind direction (360 degrees), maximum gust wind speed (m/s), maximum gust wind direction (360 degrees), rainfall (mm), number of rainy days (days), relative humidity (%), sunshine duration (hours), global solar radiation (MJ/m2), and ground temperatures (°C) at depths of 5 cm, 10 cm, 20 cm, 50 cm, and 100 cm. In the official CWA monthly statistical records, cumulative variables (rainfall, number of rainy days, sunshine duration, and global solar radiation) represent monthly totals, extreme variables (maximum/minimum station pressure, maximum/minimum temperature, and maximum gust wind speed/direction) represent monthly extremes, and all remaining variables represent monthly means; wind directions are recorded as standard azimuth degrees (0–360°; noting that although wind direction is an angular variable, seasonal monsoon directions in the study area fall predominantly within non-wrapping sectors between 148° and 303° across Table A9 and Table A11, allowing continuous numerical standardization). Because the 21 climate factors are collected over 6 months (January to June), the model incorporates 6 × 21 = 126 climate variables as independent predictors and 1 first-crop rice yield variable (kg ha−1) as the dependent variable.

3.2. Descriptive Statistics

This section presents descriptive statistics of the collected data to examine potential time-series variation. Given the vast number of collected climate factors, Table 1 selectively extracts the core variable, “rice yield,” alongside the “average temperature” during the growth period (January to June) to illustrate the numerical feature differences between the training dataset (2005–2019) and the test dataset (2020–2024). Appendix A (Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7, Table A8, Table A9, Table A10, Table A11, Table A12, Table A13, Table A14, Table A15, Table A16, Table A17, Table A18, Table A19, Table A20 and Table A21) details the descriptive statistics for the remaining climate factors, such as rainfall, sunshine duration, and ground temperatures.
Table 1. Average rice yield and temperature.
Further examination of the descriptive statistics in Table 1 indicates an empirical shift in the sample distributions between the training and test periods. Specifically, average first-crop rice yield is 6177.23 kg ha−1 in the test dataset (2020–2024), compared to 5729.75 kg ha−1 in the training dataset (2005–2019), accompanied by higher mean temperatures across all six growing months (e.g., March temperatures increasing from 19.57 °C to 20.84 °C). In addition to warmer temperatures, the descriptive statistics in Appendix A show that the 2020–2024 period had longer spring sunshine duration and higher global solar radiation (Table A15 and Table A16), along with fewer rainy days in April and May (Table A12 and Table A13), providing favorable photosynthetic conditions for first-crop rice. Moreover, higher recent yields may also be partially attributable to non-climatic factors over the 20-year horizon, such as ongoing improvements in rice cultivar resilience, fertilization management, and irrigation infrastructure. From a predictive modeling standpoint, this upward shift in test-period yield levels poses a practical out-of-sample extrapolation challenge: models trained on lower historical yield ranges (2005–2019) are prone to systematic underestimation if they cannot extrapolate beyond training-set averages.
This explicit disparity in data features between the training and test sets highlights the extreme difficulty of building an accurate predictive model. In traditional machine learning frameworks, when a model learns weights from historical data with lower yields and lower temperatures (the training dataset), exposing it to future unknown scenarios with generally higher values (the test dataset) makes it highly susceptible to severe underestimation bias. This finding not only reiterates the importance of agricultural economic forecasting amid climate change but also substantiates the need for the PLSR-μLSTM framework proposed in this study. By extracting latent climate features via PLSR and complementing them with the strict regularization constraints of the μLSTM to suppress overfitting on the training set, the model helps mitigate underestimation bias when predicting out-of-sample periods with higher average yield levels.

3.3. Results and Performance Comparison

To evaluate the predictive performance of the proposed PLSR-μLSTM framework, this study compares it against six representative benchmark models widely used in agricultural forecasting and high-dimensional small-sample learning. These include two regularized linear regression models, which are Ridge Regression and Elastic Net, and four nonlinear machine learning algorithms: Support Vector Regression (SVR), Random Forest (RF), eXtreme Gradient Boosting (XGBoost), and a Multi-Layer Perceptron Artificial Neural Network (ANN/MLP). In the empirical agricultural literature, these four algorithms have been widely shown to be robust in handling the nonlinear relationships between climate conditions and crop yields [6,15,20,35]. To ensure a consistent comparison across competing models, all algorithms were trained on the identically scaled training dataset (2005–2019, Ntrain = 90) and evaluated on the out-of-sample test dataset (2020–2024, Ntest = 30) using fixed random seeds for reproducibility. Regularization hyperparameters for the linear benchmarks were selected via 5-fold cross-validation within the training set (2005–2019), whereas standard default settings were retained for nonlinear baselines to avoid overfitting the limited training sample. Specifically, Ridge Regression was configured with an L2 penalty parameter α = 10 (selected from {0.1, 1.0, 10.0, 100.0}), and Elastic Net was configured with α = 0.5 (selected from {0.1, 0.5, 1.0, 5.0}) and an L1/L2 mixing ratio of 0.5. SVR employed a radial basis function (RBF) kernel with a regularization parameter C = 1.0 and ε = 0.1; RF was constructed with 100 decision trees; XGBoost was configured with 100 boosting stages and a learning rate of 0.1; and the standard ANN (MLP) utilized a two-hidden-layer architecture (64, 32) with a maximum of 1000 iterations and early stopping enabled. In the empirical implementation, 5-fold cross-validation on the standardized training dataset (Ntrain = 90, K = 126) identified A = 3 as the optimal number of PLSR latent components. Accordingly, the dimensionality-reduced input tensors supplied to the μLSTM had dimensions of (90, 1, 3) for the training dataset and (30, 1, 3) for the test dataset.
All data preprocessing, dimensionality reduction, and model training procedures were implemented in Python (version 3.10). Specifically, Z-score standardization (StandardScaler), PLSR (PLSRegression), Ridge, Elastic Net, SVR, Random Forest, and MLP benchmarks were implemented using scikit-learn (version 1.2); gradient boosting was implemented using xgboost (version 1.7); and the deep learning architectures were constructed using TensorFlow/Keras (version 2.12). To ensure reproducibility, random seeds were fixed across all experiments (random_state = 42 for scikit-learn and XGBoost routines, and global seed 10 for Python, NumPy, and TensorFlow weight initializations).
Table 2 summarizes the out-of-sample prediction results on the test dataset. The empirical results indicate that the proposed PLSR-μLSTM model achieves lower prediction errors than the competing benchmark models across all three evaluation metrics, yielding an RMSE of 436.32, a MAPE of 6.01, and an r-RMSE of 7.06. From an agricultural risk-assessment perspective, a MAPE of 6.01 suggests that the proposed framework can provide informative quantitative estimates of expected crop yield.
Table 2. Performance comparison of different prediction models on the test dataset (Ntest = 30).
In contrast, the other benchmark models perform worse, echoing the “small n, large p” and “distribution shift” challenges highlighted in Section 3.2. Because tree-based models have limited extrapolation, XGBoost and RF have significantly higher prediction errors (XGBoost has an RMSE of 603.64, the worst among all models). This occurs because decision-tree-based models mathematically lack “extrapolation predictive capability” beyond the numerical range of the training dataset. When yield and temperature in the test dataset (2020–2024) are significantly higher than in the training dataset (2005–2019), RF and XGBoost cannot predict values beyond historical extremes, resulting in severe underestimation bias.
Meanwhile, although the ANN model constructed using an MLP (RMSE = 533.06) possesses fully connected learning capabilities, when confronted with up to 126 climate variables and only a few dozen training samples, its large number of weight parameters rapidly depletes the statistical degrees of freedom. This causes the model to memorize climate noise from the training dataset, thereby losing its ability to generalize to unknown climate variations. Notably, SVR demonstrates the second-best predictive performance among the benchmark models (RMSE = 490.81). This is attributed to the core “Structural Risk Minimization” principle of the SVR algorithm, which gives it stronger noise resistance on small datasets. Similarly, while regularized linear models such as Ridge Regression (RMSE = 567.75) and Elastic Net (RMSE = 548.58) mitigate collinearity through shrinkage penalties and achieve lower errors than XGBoost, their linear functional forms limit their capacity to capture complex nonlinear interactions among meteorological variables across growth stages.
In summary, the empirical results demonstrate the potential effectiveness of the proposed hybrid architecture. The PLSR-μLSTM filters high-dimensional climate noise and eliminates multicollinearity through the frontend PLSR while integrating the strict regularization constraints of the miniaturized LSTM. This integrated mechanism, combining “statistical dimensionality reduction” with “gated nonlinear deep learning,” effectively compensates for the inherent limitations of traditional algorithms when dealing with small agricultural economic samples and climate change shifts. Consequently, it offers a competitive and interpretable modeling option for regional crop yield estimation under shifting sample distributions.

4. Discussion

This section presents empirical findings from three perspectives. First, an ablation study is conducted to verify the respective contributions of PLSR dimensionality reduction and the gated micro-neural architecture. Second, disaggregated annual and regional error analyses, multi-seed sensitivity tests, and rolling-origin validations are performed to evaluate model robustness. Finally, the latent climate components extracted by PLSR are examined to discuss the physiological and agronomic relevance of key climate variables for rice yield.

4.1. Ablation Study and the Contribution of Dimensionality Reduction and Gated Micro-Architecture

As discussed in the Introduction, incorporating multi-month climate variables into annual crop yield models frequently results in the “small n, large p” problem. To systematically isolate the individual contributions of front-end PLSR dimensionality reduction and the back-end μLSTM gated architecture, we conducted an expanded ablation study. Specifically, we compared the proposed PLSR-μLSTM against: (1) standalone linear PLSR (PLSR-only) without a neural network; (2) compact neural network variants without PLSR dimensionality reduction (Raw-LSTM and Raw-μMLP); (3) an identical micro-funnel feed-forward neural network (PLSR-μMLP, configured with 8 to 4 to 1 dense neurons, tanh/ReLU activations, L2 = 0.01, and dropout equals 0.2) to test whether the gated LSTM unit provides advantages over a standard dense layer at a single time step (T = 1); (4) an identical micro-funnel Gated Recurrent Unit (PLSR-μGRU); and (5) standard machine learning benchmarks coupled with PLSR (PLSR-SVR, PLSR-RF, PLSR-XGBoost, and PLSR-ANN). The empirical results are presented in Table 3.
Table 3. Ablation study and performance comparison of PLSR-integrated models on the test dataset (Ntest = 30).
The ablation results in Table 3 provide several methodological insights: First, evaluating the contribution of PLSR dimensionality reduction, models trained directly on the 126 raw climate variables exhibit substantially higher prediction errors (Raw-LSTM RMSE = 658.43; Raw-μMLP RMSE = 585.54). When PLSR condenses the 126 collinear predictors into 3 orthogonal latent components, predictive performance improves consistently across all model families. For instance, the RMSE of SVR decreases from 490.81 to 447.63, XGBoost improves from 603.64 to 509.90, and the compact MLP improves from 585.54 to 521.35. This confirms that supervised covariance-based dimensionality reduction is a critical first stage for mitigating noise in small-sample agricultural data.
Second, evaluating the contribution of the μLSTM nonlinear modulator, standalone linear PLSR (PLSR-only) yields an RMSE of 509.56 (r-RMSE = 8.25). Incorporating the back-end μLSTM reduces the RMSE to 436.32 (a 14.37% reduction in RMSE), demonstrating that while PLSR effectively extracts linear seasonal climate trajectories, a subsequent nonlinear mapping stage is necessary to capture complex physiological threshold effects on rice yield.
Third, comparing gated versus ungated micro-architectures at T = 1, replacing the 8-unit LSTM layer with an identically parameterized 8-unit Dense layer (PLSR-μMLP) increases the RMSE from 436.32 to 521.35, while replacing it with a GRU layer (PLSR-μGRU) results in higher errors (RMSE = 756.38). Although the input tensor operates at a single integrated seasonal time step (T = 1), the LSTM cell’s decoupled input and output gates (σ⊙tanh, multiplicative modulation) provide a more stable, bounded nonlinear transformation than standard feed-forward layers or coupled reset/update gates in GRU under small-sample training.

4.2. Temporal, Regional, and Rolling-Origin Robustness Analysis

Beyond overall test-set metrics, evaluating predictive stability across individual years, geographical areas, random weight initializations, and expanding training windows is essential for assessing practical reliability. Table 4 presents the disaggregated annual and region-specific prediction errors on the test dataset (2020–2024) for PLSR-μLSTM, the second-best hybrid model (PLSR-SVR), and the tree-based baseline (RF).
Table 4. Annual and region-specific prediction errors on the test dataset (2020–2024).
Across individual test years, PLSR-μLSTM maintains consistent error levels. In years characterized by higher average yields, specifically 2021 (6447.27 kg ha−1), 2023 (6624.60 kg ha−1), and 2024 (6249.22 kg ha−1), tree-based RF suffers from severe underestimation bias (RMSE reaching 735.67 in 2023), whereas PLSR-μLSTM achieves lower RMSEs (304.09, 507.30, and 361.24, respectively) than both RF and PLSR-SVR.
Across administrative regions, PLSR-μLSTM records its lowest prediction errors in the major central rice-producing plains of Changhua County (RMSE = 171.31) and Yunlin County (RMSE = 327.93), outperforming PLSR-SVR in five of the six counties and cities. Prediction errors are comparatively higher in Tainan City (RMSE = 667.96), which lies at the southernmost latitude of the study region where earlier spring warming slightly advances crop phenology relative to central Taiwan.
To further examine multi-step temporal generalization, a rolling-origin (expanding-window) validation was conducted by sequentially expanding the training set year by year (i.e., training on 2005–2019 to forecast 2020, training on 2005–2020 to forecast 2021, and so forth through 2024), with standardization and PLSR refitted strictly within each training partition. In addition, we verified that replacing standard 5-fold cross-validation with year-grouped 5-fold cross-validation (GroupKFold grouped by year) yielded a nearly identical low-dimensional subspace (A = 4 components, with validation MSE differing by less than 2% from A = 3), confirming that component selection is robust to intra-year spatial correlation. Under annual rolling-origin updates (Ntest = 30), both PLSR-SVR (RMSE = 435.34) and PLSR-μLSTM (RMSE = 467.90) outperform PLSR-RF (RMSE = 481.59) and standalone linear PLSR (RMSE = 513.08).
Finally, to evaluate sensitivity to random neural network initialization, PLSR-μLSTM was trained across 10 distinct random seeds using the internal validation and refitting protocol, yielding a mean RMSE of 457.10 ± 29.02. Taken together, these robustness checks indicate that the performance gap between PLSR-μLSTM and PLSR-SVR should be interpreted cautiously: both hybrid models benefit from front-end PLSR dimensionality reduction, with PLSR-μLSTM demonstrating stronger extrapolation over multi-year fixed-origin horizons (Table 2) and PLSR-SVR performing slightly better when updated annually with recent high-yield observations. Finally, these validations establish temporal forecasting performance within the six monitored producing regions, rather than spatial extrapolation to unmonitored geographical areas.

4.3. Agricultural Interpretation and Key Variable Analysis of Latent Climate Components

The PLSR model in this study extracts A = 3 latent components from the standardized training dataset. To examine the meteorological structure of these components, Figure 3, Figure 4 and Figure 5 and Table 5, Table 6 and Table 7 present the top 20 climate variables with the largest absolute weights across the three components. Mathematically, the weights reported in Figure 3, Figure 4 and Figure 5 and Table 5, Table 6 and Table 7 are the PLSR rotation weights R = W ( P T W ) − 1 ∈ R 126 × 3 , which directly transform the standardized predictor matrix into the latent score matrix (T = XscaledR). It is important to distinguish these component rotation weights from overall regression coefficients (which measure net linear marginal effects on yield) and Variable Importance in Projection (VIP) scores (which aggregate variable explanatory power across all components): rotation weights specifically describe the relative contribution and direction of each standardized predictor in forming an individual latent component. Furthermore, given the inherent multicollinearity among meteorological indicators (such as sunshine duration, solar radiation, and ground temperatures across soil depths), exact individual rankings may exhibit sample sensitivity; therefore, the top-ranked predictors are interpreted below as physiologically plausible, co-varying agro-climatic clusters rather than direct causal mechanisms verified by the predictive model.
Figure 3. Top 20 Influential Climate Variables and their PLSR rotation weights for the 1st component of PLSR (Ntrain = 90; red and blue bars indicate positive and negative rotation weights, respectively).
Figure 4. Top 20 Influential Climate Variables and their PLSR rotation weights for the 2nd component of PLSR (Ntrain = 90; red and blue bars indicate positive and negative rotation weights, respectively).
Figure 5. Top 20 Influential Climate Variables and their PLSR rotation weights for the 3rd component of PLSR (Ntrain = 90; red and blue bars indicate positive and negative rotation weights, respectively).
Table 5. The 1st component of PLSR (Ntrain = 90).
Table 6. The 2nd component of PLSR (Ntrain = 90).
Table 7. The 3rd component of PLSR (Ntrain = 90).
A comprehensive observation of the weight distribution across these 3 latent components reveals a clear seasonal climate signal: spring sunshine and precipitation (April and May) carry the largest weights in forming the latent components. April and May are critical months for agro-meteorological monitoring in Taiwan, as this two-month window broadly spans the reproductive and heading phases across the six studied regions (noting a slight latitudinal gradient, with southernmost Tainan City transplanting and heading approximately two to three weeks earlier than central counties such as Taichung and Changhua). In addition, this period coincides with the peak occurrence season of rice blast disease, one of the most important diseases affecting rice production. Moreover, the specific physiological interpretations are as follows:
  • The Potential Role of Photosynthesis on Yield Formation:
Across all three components, “Sunshine Duration in Apr” consistently ranks highest in weight and shows a strong positive correlation (Component 1: 0.260; Component 2: 0.397; Component 3: 0.405). Additionally, the sunshine durations in March, May, and June frequently rank among the top 10 for each component. From a plant physiological perspective, April and May for the first rice crop in Taiwan coincide with the most critical “Booting Stage” and “Heading and Flowering Stage” of rice growth. According to crop physiology theories, sufficient sunlight during this stage maximizes leaf-area photosynthesis, promoting carbohydrate synthesis and smooth translocation to the grains [36]. Recent empirical studies also indicate that high solar radiation during the heading stage is a key factor in improving the seed-setting rate in rice [37].
b.
The Negative Impact of Continuous Precipitation on Pollination and Disease:
Corresponding to sunshine, the “Number of Rainy Days in Apr” ranks highest for negative impacts across all three components (weights ranging from −0.236 to −0.350). The number of rainy days and rainfall amounts in May and March also exhibit significantly negative weights. This has high scientific interpretability in agricultural practice: during the anthesis (flowering and pollination) period of rice, excessive rainfall can wash away pollen or cause pollen rupture due to osmotic pressure changes, triggering severe spikelet sterility and a massive increase in empty grains [38]. Furthermore, continuous rainfall and high spring humidity readily induce devastating diseases such as rice blast, causing irreversible yield loss.
c.
Early Chilling Stress and Late-Stage Lodging Risks:
Beyond the tug-of-war between light and water, PLSR acutely captures potential climate threats during the early and late growth stages. For instance, in the second and third components, “Average Temperature in Feb” and “Minimum Temp in Feb” show significant influence. This reflects rice vulnerability during the early vegetative stage to “chilling stress”; low temperatures inhibit nutrient absorption in seedling roots, substantially reducing seedling survival rates and tiller numbers. In contrast, the model also flags “Maximum Gust Wind Speed” in May and June as a crucial negative feature. This corresponds to the strong gusts associated with Taiwan’s plum rain season and the peripheral circulations of early-summer typhoons, which easily cause “lodging” of rice during the grain-filling stage (a top-heavy phase), thereby interrupting photosynthesis and increasing mechanical harvesting losses.
In conclusion, the three latent components extracted by PLSR are not merely abstract mathematical combinations of dimensions, but comprehensive climate indicators consistent with the physiological growth cycle of first-crop rice. The positive rotation weights assigned to “spring sunshine” and the negative rotation weights on “continuous spring rainfall and strong winds” not only provide physiologically plausible interpretations that support the practical relevance of this feature-extraction approach, while recognizing that final yields are also co-determined by non-climatic agronomic practices (e.g., cultivar selection, irrigation, and fertilization), but also offer valuable quantitative empirical insights for government agricultural departments in formulating yield assessment and food security management mechanisms under climate variability.

5. Conclusions

Amidst climate variability and fluctuations in bulk agricultural commodity markets, reliable crop yield estimation remains an important tool for food security assessment and market management. However, when modeling annual regional agricultural statistics alongside multi-month meteorological records, predictive models are constrained by the “small n, large p” structure and severe multicollinearity. To address this challenge, this study developed and evaluated a hybrid statistical–neural framework: the PLSR-driven Gated Micro-LSTM (PLSR-μLSTM).

5.1. Research Contributions

This study offers three main contributions regarding hybrid modeling, empirical robustness evaluation, and agronomic interpretability:
  • Gated Nonlinear Modulation Under Small-Sample High-Dimensionality:
This study couples front-end PLSR dimensionality reduction with a single-step (T = 1) “micro-funnel” gated network (μLSTM). Rather than performing multi-step recurrent temporal learning, this hybrid architecture uses PLSR to condense 126 collinear monthly climate features into three seasonal climate components and employs the regularized μLSTM unit (σ⊙tanh gating with L2 and dropout constraints) for bounded nonlinear modulation. Ablation results indicate that this gated design achieves lower errors than both standalone linear PLSR and ungated micro-MLP variants on small agricultural samples.
b.
Out-of-Sample Extrapolation and Complementary Robustness Across Validation Regimes:
Under empirical sample shifts where average yields in the test period (2020–2024) exceed those in the historical training period (2005–2019), tree-based models (RF and XGBoost) exhibited underestimation bias, whereas PLSR-μLSTM achieved the lowest fixed-origin test error (RMSE = 436.32 and MAPE = 6.01) with stable performance across 10 random initializations (mean RMSE = 457.10 ± 29.02). Viewed alongside our robustness checks, PLSR-μLSTM shows an advantage over multi-year fixed-origin horizons, whereas PLSR-coupled SVR achieves slightly lower error (RMSE = 435.34 vs. 467.90) when updated annually under rolling-origin validation. These results suggest that while front-end PLSR dimensionality reduction consistently improves small-sample generalization, the gated micro-network and kernel-based SVR provide complementary strengths depending on model-updating frequency.
c.
Unpacking the Predictive Black Box and Extracting Highly Interpretable Indicators:
Unlike the “black box” nature of most predictive models, this study used PLSR to extract latent climate components with high agronomic and physical significance, highlighting the plausible agronomic associations of “spring sunshine” and “continuous precipitation” with rice yield. These highly interpretable quantitative results not only help agricultural economists evaluate climate risks more accurately but also provide robust scientific support for decision-making by relevant government agencies in formulating food-security yield assessment mechanisms, adjusting import and export volumes, and calculating agricultural insurance premiums.

5.2. Limitations and Future Research Directions

Although the PLSR-μLSTM framework proposed in this study demonstrated competitive performance in crop yield prediction, certain research limitations remain, providing the following three promising development directions for future research:
  • Cross-Crop and Cross-Regional Generalization:
This study’s empirical scope was limited to rice yield in Taiwan’s primary producing regions. To comprehensively verify the universality of the PLSR-μLSTM model, future research can extend this framework to other bulk grains with major global economic impact (such as wheat, corn, and soybeans), using transnational agricultural data spanning different latitudes and climate zones. This will help confirm whether this micro-network topology still has robust feature-learning capabilities when processing different crops’ physiological growth cycles.
b.
Integration with Commodity Pricing Models:
In agricultural economics, the ultimate goal of yield prediction is risk management and price setting. Future research could use the highly accurate yield estimates produced by the PLSR-μLSTM as input variables for macroeconomic econometric models. By establishing an end-to-end economic predictive chain of “climate predicts yield, and yield predicts market prices,” researchers can directly measure the substantial financial impacts of climate change on global food price indices or agricultural commodity futures markets.
c.
Incorporation of Non-Climatic Agronomic Factors and Pre-Harvest Forecasting Horizons:
The current model relies exclusively on meteorological predictors from January to June. In practice, regional rice yields are also shaped by non-climatic factors, including cultivar improvement, transplanting dates, irrigation and fertilization practices, and pest management, and phenological stages exhibit a slight latitudinal gradient from Tainan City in the south to Taichung City in the north. Moreover, because full January–June climate observations become available only at the end of June (coinciding with the main harvest period), the current framework functions as a rapid end-of-season yield estimation tool before the release of official government statistics, rather than a mid-season pre-harvest warning system. Future research can integrate agronomic management variables and evaluate truncated predictor windows (e.g., January–April or January–May) or medium-range weather forecasts to enable true pre-harvest early warning.

Author Contributions

Conceptualization, W.-S.L. and C.-P.L. Methodology, W.-S.L. and C.-P.L. Software, W.-S.L. and C.-P.L. Writing, W.-S.L. and C.-P.L. Writing—Review and Editing, W.-S.L. and C.-P.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Science and Technology Council (NSTC), Taiwan, grant number NSTC 113-2410-H-141-030-MY2.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

During the preparation of this manuscript, the authors used Google Gemini (https://gemini.google.com/, accessed on 26 November 2026) to assist with English translation and language editing. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Station Pressure (hPa).
Table A2. Maximum Station Pressure (hPa).
Table A3. Minimum Station Pressure (hPa).
Table A4. Average Temperature (°C).
Table A5. Maximum Temperature (°C).
Table A6. Minimum Temperature (°C).
Table A7. Dew Point Temperature (°C).
Table A8. Wind Speed (m/s).
Table A9. Wind Direction (360 degree).
Table A10. Maximum Gust Wind Speed (m/s).
Table A11. Maximum Gust Wind Direction (360 degree).
Table A12. Rainfall (mm).
Table A13. Number of Rainy Days (days).
Table A14. Relative Humidity (%).
Table A15. Sunshine Duration (hours).
Table A16. Global Solar Radiation (MJ/m2).
Table A17. Ground Temperature (°C) at 5 cm.
Table A18. Ground Temperature (°C) at 10 cm.
Table A19. Ground Temperature (°C) at 20 cm.
Table A20. Ground Temperature (°C) at 50 cm.
Table A21. Ground Temperature (°C) at 100 cm.

References

  1. Tadesse, G.; Algieri, B.; Kalkuhl, M.; von Braun, J. Drivers and triggers of international food price spikes and volatility. Food Policy 2014, 47, 117–128. [Google Scholar] [CrossRef] [Scilit]
  2. FAO. FAO Food Price Index. Available online: https://www.fao.org/worldfoodsituation/foodpricesindex/en/ (accessed on 1 May 2026).
  3. Wang, X.; Li, Z.; Chen, Y.; Zhu, J.; Wang, C.; Wang, J.; Zhang, X.; Feng, M.; Liang, Q. Impact of extreme weather and climate events on crop yields in the Tarim River Basin, China. J. Arid. Land 2025, 17, 200–223. [Google Scholar] [CrossRef] [Scilit]
  4. Wheeler, T.; von Braun, J. Climate Change Impacts on Global Food Security. Science 2013, 341, 508–513. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Kuan, C.-H.; Leu, Y.; Lin, W.-S.; Lee, C.-P. The Estimation of the Long-Term Agricultural Output with a Robust Machine Learning Prediction Model. Agriculture 2022, 12, 1075. [Google Scholar] [CrossRef] [Scilit]
  6. van Klompenburg, T.; Kassahun, A.; Catal, C. Crop yield prediction using machine learning: A systematic literature review. Comput. Electron. Agric. 2020, 177, 105709. [Google Scholar] [CrossRef] [Scilit]
  7. Jabed, M.A.; Azmi Murad, M.A. Crop yield prediction in agriculture: A comprehensive review of machine learning and deep learning approaches, with insights for future research and sustainability. Heliyon 2024, 10, e40836. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Tzounis, A.; Katsoulas, N.; Bartzanas, T.; Kittas, C. Internet of Things in agriculture, recent advances and future challenges. Biosyst. Eng. 2017, 164, 31–48. [Google Scholar] [CrossRef] [Scilit]
  9. Lin, W.-S.; Lee, C.-P. Assessing the Impact of Climate Change on Agricultural Economic Prediction Models: An Example of the Rice Yield Prediction Model. Sage Open 2025, 15, 21582440251336535. [Google Scholar] [CrossRef] [Scilit]
  10. Dormann, C.F.; Elith, J.; Bacher, S.; Buchmann, C.; Carl, G.; Carré, G.; Marquéz, J.R.G.; Gruber, B.; Lafourcade, B.; Leitão, P.J.; et al. Collinearity: A review of methods to deal with it and a simulation study evaluating their performance. Ecography 2013, 36, 27–46. [Google Scholar] [CrossRef] [Scilit]
  11. Verleysen, M.; François, D. The Curse of Dimensionality in Data Mining and Time Series Prediction. In Proceedings of the Computational Intelligence and Bioinspired Systems, Barcelona, Spain, 8–10 June 2005; pp. 758–770. [Google Scholar]
  12. Lin, W.-S.; Yang, C.-M.; Kuo, B.-J. Classifying cultivars of rice (Oryza sativa L.) based on corrected canopy reflectance spectra data using the orthogonal projections to latent structures (O-PLS) method. Chemom. Intell. Lab. Syst. 2012, 115, 25–36. [Google Scholar] [CrossRef] [Scilit]
  13. Wold, S.; Sjöström, M.; Eriksson, L. PLS-regression: A basic tool of chemometrics. Chemom. Intell. Lab. Syst. 2001, 58, 109–130. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, C.-M.; Chen, C. Study on the Data Analysis Of the Pesticide Experiment in the Field. J. Agric. For. 2023, 70, 193–205. [Google Scholar] [CrossRef]
  15. Khaki, S.; Wang, L. Crop Yield Prediction Using Deep Neural Networks. Front. Plant Sci. 2019, 10, 621. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Kuan, C.-H.; Leu, Y.; Lee, C.-P. A strategy of assessing climate factors’ influence for agriculture output. KSII Trans. Internet Inf. Syst. 2022, 16, 1414–1430. [Google Scholar] [CrossRef] [Scilit]
  17. Benos, L.; Tagarakis, A.C.; Dolias, G.; Berruto, R.; Kateris, D.; Bochtis, D. Machine Learning in Agriculture: A Comprehensive Updated Review. Sensors 2021, 21, 3758. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Islam, M.M.; Alharthi, M.; Alkadi, R.S.; Islam, R.; Masum, A.K.M. Crop yield prediction through machine learning: A path towards sustainable agriculture and climate resilience in Saudi Arabia. AIMS Agric. Food 2024, 9, 980–1003. [Google Scholar] [CrossRef] [Scilit]
  19. Sari, M.; Duran, S.; Kutlu, H.; Guloglu, B.; Atik, Z. Various optimized machine learning techniques to predict agricultural commodity prices. Neural Comput. Appl. 2024, 36, 11439–11459. [Google Scholar] [CrossRef] [Scilit]
  20. Mahmud, T.; Datta, N.; Chakma, R.; Das, U.K.; Aziz, M.T.; Islam, M.; Salimullah, A.H.M.; Hossain, M.S.; Andersson, K. An Approach for Crop Prediction in Agriculture: Integrating Genetic Algorithms and Machine Learning. IEEE Access 2024, 12, 173583–173598. [Google Scholar] [CrossRef] [Scilit]
  21. Mehmood, T.; Liland, K.H.; Snipen, L.; Sæbø, S. A review of variable selection methods in Partial Least Squares Regression. Chemom. Intell. Lab. Syst. 2012, 118, 62–69. [Google Scholar] [CrossRef] [Scilit]
  22. Wold, S.; Antti, H.; Lindgren, F.; Öhman, J. Orthogonal signal correction of near-infrared spectra. Chemom. Intell. Lab. Syst. 1998, 44, 175–185. [Google Scholar] [CrossRef] [Scilit]
  23. Duan, L.; Xie, H.; Li, Z.; Yuan, H.; Guo, Y.; Xiao, X.; Zhou, Q. Use of partial least squares regression to identify factors controlling rice yield in Southern China. Agron. J. 2020, 112, 1502–1516. [Google Scholar] [CrossRef] [Scilit]
  24. Geladi, P.; Kowalski, B.R. Partial least-squares regression: A tutorial. Anal. Chim. Acta 1986, 185, 1–17. [Google Scholar] [CrossRef] [Scilit]
  25. Martens, H.; Næs, T. Multivariate Calibration, 4th ed.; John Wiley: New York, NY, USA, 1989. [Google Scholar]
  26. Helland, I.S. Partial Least Squares Regression and Statistical Models. Scand. J. Stat. 1990, 17, 97–114. [Google Scholar]
  27. Bengio, Y.; Simard, P.; Frasconi, P. Learning long-term dependencies with gradient descent is difficult. IEEE Trans. Neural Netw. 1994, 5, 157–166. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Lin, H.-Y.; Hsu, B.-W. Application of Big Data Analysis Combined with Time Series Prediction-Using Interval Improved Neural Networks. J. Chung Cheng Inst. Technol. 2023, 52, 89–100. [Google Scholar] [CrossRef]
  29. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Shen, Y.; Mercatoris, B.; Cao, Z.; Kwan, P.; Guo, L.; Yao, H.; Cheng, Q. Improving Wheat Yield Prediction Accuracy Using LSTM-RF Framework Based on UAV Thermal Infrared and Multispectral Imagery. Agriculture 2022, 12, 892. [Google Scholar] [CrossRef] [Scilit]
  31. Tian, H.; Wang, P.; Tansey, K.; Zhang, J.; Zhang, S.; Li, H. An LSTM neural network for improving wheat yield estimates by integrating remote sensing data and meteorological data in the Guanzhong Plain, PR China. Agric. For. Meteorol. 2021, 310, 108629. [Google Scholar] [CrossRef] [Scilit]
  32. Phan, H.; Andreotti, F.; Cooray, N.; Chen, O.Y.; De Vos, M. SeqSleepNet: End-to-End Hierarchical Recurrent Neural Network for Sequence-to-Sequence Automatic Sleep Staging. IEEE Trans. Neural Syst. Rehabil. Eng. 2019, 27, 400–410. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Cao, L.; Liu, H.; Fu, X.; Zhang, Z.; Shen, X.; Ruan, H. Comparison of UAV LiDAR and Digital Aerial Photogrammetry Point Clouds for Estimating Forest Structural Attributes in Subtropical Planted Forests. Forests 2019, 10, 145. [Google Scholar] [CrossRef] [Scilit]
  34. Liu, L.-W.; Lu, C.-T.; Wang, Y.-M.; Lin, K.-H.; Ma, X.; Lin, W.-S. Rice (Oryza sativa L.) Growth Modeling Based on Growth Degree Day (GDD) and Artificial Intelligence Algorithms. Agriculture 2022, 12, 59. [Google Scholar] [CrossRef] [Scilit]
  35. Zheng, H.; Yuan, J.; Chen, L. Short-Term Load Forecasting Using EMD-LSTM Neural Networks with a Xgboost Algorithm for Feature Importance Evaluation. Energies 2017, 10, 1168. [Google Scholar] [CrossRef] [Scilit]
  36. Yoshida, S. Fundamentals of Rice Crop Science; International Rice Research Institute: Manila, Philippines, 1981. [Google Scholar]
  37. Namikawa, M.; Matsunami, T.; Yabiku, T.; Takahashi, T.; Matsunami, M.; Hasegawa, T. Analysis of yield constraints and seasonal solar radiation and temperature limits for stable cultivation of dry direct-seeded rice in northeastern Japan. Field Crops Res. 2023, 295, 108896. [Google Scholar] [CrossRef] [Scilit]
  38. Wassmann, R.; Jagadish, S.V.K.; Heuer, S.; Ismail, A.; Redona, E.; Serraj, R.; Singh, R.K.; Howell, G.; Pathak, H.; Sumfleth, K. Chapter 2 Climate Change Affecting Rice Production: The Physiological and Agronomic Basis for Possible Adaptation Strategies. In Advances in Agronomy; Sparks, D.L., Ed.; Academic Press: Cambridge, MA, USA, 2009; Volume 101, pp. 59–122. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.