Abstract
Vertical farming requires precise environmental control, yet long-term multivariable analyses linking environmental dynamics and crop growth remain limited. This study analyzes a two-year operational dataset from a commercial vertical farm in South Korea to evaluate the suitability of advanced artificial intelligence models for harvest yield prediction. Conventional machine learning models and recent deep learning architectures were systematically benchmarked under identical conditions. Among them, the patch-based Transformer model achieved the highest predictive accuracy (R2 = 0.942; RMSE = 5.81 g per plant). The variable-importance analysis revealed that daily light integral and CO2 concentration were the dominant drivers of harvest yield variability, jointly accounting for more than 76% of total contribution. These findings demonstrate the effectiveness of Transformer-based architectures for long-term multivariate time series modeling and provide actionable insights for the data-driven optimization of vertical farming systems.
1. Introduction
The global population is continuously expanding, leading to a steady increase in food demand. International organizations forecast that the global population will reach 9.7 billion by 2050, intensifying pressure to secure a stable supply of substantially greater quantities of food [1]. However, the agricultural landscape is complex. Concurrent challenges such as abnormal weather caused by climate change, an aging agricultural workforce, and decreasing arable land indicate that reliance solely on traditional outdoor agriculture methods will be insufficient to meet future food needs [2,3]. In this context, vertical farms are emerging as a promising alternative for stable crop production in urban environments.
Vertical farms utilize the interiors of urban buildings, underground spaces, and unused areas within existing structures to cultivate crops in multilevel systems. This approach maximizes productivity per unit area and enables year-round production regardless of external climatic conditions [4]. Additionally, situating production closer to consumers can reduce distribution costs while improving food safety and traceability. However, substantial barriers still hinder the widespread adoption of vertical farming [5,6]. The primary challenges are high energy consumption and the complexity of environmental management. Given that vertical farms simultaneously operate LED lighting, temperature-control systems, ventilation, and nutrient-delivery equipment, energy accounts for a substantial portion of operating costs [7,8]. As these costs directly affect economic viability, optimizing energy use and environmental control is essential to improving competitiveness [9].
In response, active research and investment in vertical farming technologies are increasing worldwide [10]. Companies and research institutions are exploring cost-reduction strategies such as improving lighting efficiency, optimizing heating and cooling systems, and standardizing cultivation environments [11]. However, these efforts largely focus on advancing equipment performance [12]. Few studies have quantitatively analyzed the complex interactions between environmental factors and crop growth or developed management strategies based on such analyses. Environmental factors, such as temperature, humidity, CO2 concentration, illuminance, and nutrient solution pH and electrical conductivity (EC), directly influence crop growth and harvest yield; however, their interactions and optimal combinations remain poorly understood [13,14,15,16].
Recent advances in sensor technology and data processing offer new opportunities to address these gaps [17,18]. IoT sensors installed across many farms currently collect large volumes of high-resolution data, enabling more detailed analysis of environment–growth relationships that were previously only partially characterized [19,20].
Despite the increasing availability of sensor data in vertical farming systems, conventional statistical and rule-based approaches remain limited in capturing nonlinear, multivariate, and temporally dependent interactions between environmental variables and crop growth. Traditional regression-based methods typically assume linearity and independence among predictors, which may oversimplify the dynamic feedback mechanisms inherent in controlled-environment agriculture. As environmental control strategies evolve continuously across cultivation cycles, predictive models must accommodate long-term dependencies and complex feature interactions. These limitations motivate the adoption of advanced artificial intelligence models capable of learning hierarchical temporal structures and multivariate relationships from operational data.
Furthermore, artificial intelligence (AI), especially machine learning and deep learning, has emerged as a powerful tool for learning complex patterns and predicting future growth responses [21]. Previous studies have commonly employed tree-based models such as Random Forest and XGBoost, and recurrent neural network (RNN) models such as LSTM and GRU, which perform well even with relatively small datasets, offer interpretability, and capture time series dependencies [22]. However, interest has expanded to Transformer-based models (e.g., PatchTST, TimesNet, Autoformer), which effectively handle long-term time multivariate time series; graph neural networks (GNNs), which incorporate spatial relationships among sensors; and hybrid or physics-informed models that integrate traditional growth models with machine learning [23]. These approaches enhance the predictive performance, as well as the comprehension and practical applicability for real farm management.
Internationally, several pioneering companies are already incorporating AI into agricultural operations. Some farms automatically adjust light spectra and regulate CO2 concentration in real time to maximize growth [24], whereas others use machine learning with camera and sensor data to predict harvest timing and increase productivity [25]. These examples demonstrate the potential of AI to improve harvest yields and reduce costs, though many case studies rely on proprietary data and thus have limited academic transparency and reproducibility [26].
In South Korea, research on smart and vertical farms is also active; however, several challenges remain. Some studies aim to reduce energy consumption by optimizing lighting or temperature control, whereas others investigate automated nutrient supply systems [27]. However, systematic, data-driven studies that incorporate state-of-the-art AI techniques and jointly analyze environmental and crop growth data are still rare [28]. In particular, studies using multi-year datasets to quantitatively evaluate the effects of environmental variables and compare both conventional and cutting-edge AI models are nearly nonexistent in Korea [29].
South Korea provides a particularly relevant context for such investigation due to its limited arable land, high urban population density, and rapid technological adoption in smart agriculture. As vertical farming in Korea has expanded primarily within energy-intensive indoor facilities, optimizing environmental control and energy efficiency is both an economic and sustainability priority. Moreover, empirical analyses based on long-term operational datasets from technologically advanced, land-constrained countries contribute valuable evidence to the broader discourse on sustainable urban food systems. Therefore, the Korean case represents not only a local research gap but also a meaningful reference model for densely urbanized regions pursuing data-driven agricultural solutions.
This study addresses these gaps using 2-year environmental data (temperature, humidity, CO2 concentration, illuminance, irrigation amount, EC, pH) and crop growth data (plant height, leaf area, biomass, harvest yield) from an operational vertical farm in South Korea.
An in-depth analysis of environment–growth relationships was conducted. The predictive performances of conventional tree-based models (Random Forest, XGBoost), RNN-based models (LSTM, GRU), and Transformer-based models (PatchTST, TimesNet) were quantitatively compared to evaluate the applicability of recent approaches. Additionally, the relative influences of each environmental factor on crop growth were assessed to identify priority variables for farm management.
To bridge the aforementioned gaps, this study presents a comprehensive benchmarking framework using a large-scale, 2-year operational dataset from a commercial vertical farm. Unlike previous studies, which have been limited to short-term experiments or single-model evaluations, we systematically compare eight distinct predictive models ranging from classical machine learning to state-of-the-art Transformer architectures (PatchTST, TimesNet). By integrating rigorous performance validation with SHAP-based interpretability analysis, this study not only demonstrates the superior accuracy of patch-based Transformers but also quantifies the operational value of key environmental factors. This approach offers a practical roadmap for transitioning from experience-based management to data-driven precision agriculture.
2. Literature Review
2.1. Development and Challenges of Vertical Farming and Controlled-Environment Agriculture (CEA)
Vertical farming represents a core component of controlled-environment agriculture (CEA), enabling stable crop production independent of external climatic variability [30]. Rapid urbanization, declining arable land, and increasing climate instability have intensified interest in high-density indoor farming systems suitable for urban environments [5].
Commercial vertical farms have demonstrated the technical feasibility of large-scale indoor production. However, despite these advancements, energy consumption remains a critical constraint. Electricity demand from LED lighting, HVAC systems, and nutrient solution management constitutes a substantial portion of operational costs, with several reports indicating that energy expenses account for 40–60% of total costs in commercial facilities [9,31,32]. Consequently, improving energy efficiency and implementing data-driven optimization strategies have become central research priorities in both academia and industry [33,34,35].
2.2. Effects of Environmental Factors on Crop Growth
2.2.1. Temperature and Humidity
Temperature and relative humidity are two of the most important environmental factors in vertical farms, as they are closely linked to photosynthesis efficiency, transpiration rate, stomatal behavior, and disease incidence [36,37]. Leafy vegetables such as lettuce generally exhibit stable growth at daytime temperatures of 20–24 °C, nighttime temperatures of 16–20 °C, and relative humidity levels of 60–70% [38]. High temperatures limit photosynthetic efficiency and leaf expansion, while low temperatures slow biomass accumulation. Excessive humidity promotes fungal diseases, whereas low humidity causes water stress through excessive transpiration [39]. Recent studies emphasize the interaction of temperature and humidity with other factors, such as illuminance or CO2 concentration, rather than treating these variables independently. Precise control of temperature and humidity is therefore essential for optimizing crop growth, as well as for preventing disease and improving energy efficiency in vertical farms [36].
2.2.2. CO2 Concentration
CO2 concentration is directly linked to photosynthesis, and increased CO2 levels have repeatedly been shown to increase harvest yields in both leafy and fruiting vegetables [40]. In lettuce, for example, biomass and harvest yield increased markedly when CO2 levels were increased to two to four times the atmospheric concentration [41]. Recent studies have also examined the interaction between mean daily temperature (MDT) and CO2 concentration, demonstrating that growth and quality responses cannot be adequately characterized through single-factor experiments alone [42].
2.2.3. Light Quantity (Photosynthetic Photon Flux Density, PPFD) and Daily Light Integral (DLI)
Light quantity influences key quality indicators such as growth rate, leaf shape, chlorophyll content, and nitrate accumulation [43]. Although higher PPFD generally increases harvest yield, it also raises energy consumption proportionately, rendering it essential to identify economically optimal lighting conditions [31]. A recent study in Japan reported that spectral modulation, specifically adjusting the red–blue ratio, can improve photosynthetic efficiency relative to energy use [44].
In addition to instantaneous light intensity, the daily light integral (DLI), defined as the cumulative photosynthetic photon flux received by plants over a 24 h period, has been widely recognized as a critical determinant of crop growth and harvest yield in controlled-environment agriculture [45]. While PPFD represents the momentary light intensity, DLI integrates both light intensity and photoperiod, providing a more physiologically relevant indicator of total light availability for photosynthesis [46]. Previous studies have shown that optimizing DLI can significantly improve biomass accumulation and harvest yield in leafy vegetables while balancing energy consumption in indoor farming systems [47,48].
Therefore, DLI is increasingly adopted as a key control and optimization variable in vertical farming research [49].
2.2.4. Nutrient Solution Management (pH, EC)
The pH and EC directly affect root development and nutrient absorption. Deviations from the appropriate pH ranges sharply reduce the solubility of certain nutrients, and excessively high EC induces salt stress that inhibits growth. Conversely, low EC slows growth and diminishes product quality. Continuous monitoring and real-time adjustment of pH and EC therefore remain critical components of nutrient solution management in vertical farms [50].
2.2.5. Water/Nutrient Use Efficiency
Water use efficiency (WUE) and nutrient use efficiency (NUE) in CEA systems can reach levels up to 90% higher than those in outdoor cultivation, according to recent studies [30]. However, achieving such efficiency gains requires precise synchronization of light, CO2, ventilation, and fertigation cycles. Although the effects of individual environmental factors are relatively well elucidated, the multivariable, long-term interactions that occur in actual farm settings remain insufficiently characterized [18].
2.3. AI and Machine-Learning-Based Predictive Models
The application of artificial intelligence in agriculture relies on a theoretical framework that prioritizes resource optimization and operational precision. Recent reviews have highlighted that AI-driven solutions are pivotal for enhancing business value and operational efficiency in complex industrial systems [51]. Furthermore, accurate predictive modeling is fundamental for evaluating sustainable production potential. For instance, Talavyria emphasized the critical role of precise biomass assessment in the context of sustainable agricultural planning and bioenergy production [52]. Building on these theoretical foundations, this study explores various AI architectures to optimize crop harvest yield and energy efficiency in vertical farms.
2.3.1. Tree-Based Ensemble Models
Machine learning is widely used to interpret complex, nonlinear patterns in agriculture; among these methods, tree-based ensemble models such as Random Forest and XGBoost are notable for their stability and interpretability. Recent reviews report that XGBoost consistently outperforms other classical models in crop harvest yield prediction, irrigation scheduling, and energy demand forecasting. In practical CEA management, XGBoost has achieved the lowest error rates in irrigation demand and environmental control predictions and has been effectively implemented in both cloud and edge computing environments [53].
2.3.2. Time Series Deep Learning Models
RNN-based deep learning models such as LSTM and GRU are well suited for agricultural predictions tasks because they capture temporal dependencies. In greenhouse climate prediction studies, LSTM and Bi-LSTM have been shown to have superior performance to traditional regression models for multistep forecasts. Transformer-based time series models have also shown strong stability in long-term predictions, creating new possibilities for agricultural applications [54].
2.3.3. Transformer-Based Time Series Models
Transformer-based time series models have recently gained prominence in agricultural and environmental prediction tasks due to their ability to process long sequences in parallel. PatchTST, which learns by dividing time series into patches, outperformed LSTM in large-scale, multivariable environmental datasets. TimesNet, which models time series as periodic patterns, has shown suitability for agricultural data with strong seasonality and cyclic behavior. These Transformer-based models are particularly appropriate for vertical farm prediction tasks because they overcome the long-term dependency limitation of earlier RNN-based approaches [55,56].
2.3.4. Graph Neural Networks (GNNs)
Vertical farming environments vary by level and zone, and sensor networks collect data from multiple spatial locations. GNNs can model these spatial correlations by representing sensor connections as a graph and learning correlations that simple averaging cannot capture. Recent studies have shown that microclimate variability can be more accurately represented when multipoint sensor data are processed with GNNs in smart greenhouse environments [57,58].
2.3.5. Hybrid/Physics-Informed Models
Physics-based growth models (e.g., DSSAT, APSIM) capture physiological mechanisms but often generate errors compared with real agricultural data. Hybrid models that combine physics-based approaches with LSTM or Transformer models have recently been proposed to correct these residuals. This strategy preserves interpretability while improving prediction accuracy, rendering hybrid models highly applicable to the management of vertical farms [59,60].
2.3.6. Temporal Convolutional Networks (TCNs)
TCNs are CNN-based architectures that use dilated convolutions to process time series data. They are more easily parallelized than RNNs and can process long-term dependencies with greater stability. Recent case studies have shown that TCNs achieve lower error rates and faster training speeds than LSTM in energy demand forecasting and greenhouse climate prediction, indicating strong potential for long-term environmental prediction in vertical farms [61,62].
2.4. The Necessity of Long-Term Multivariate Data Analysis
The limitations of previous research can be broadly categorized in three areas. First, the complexity of real farm environments has been underrepresented due to an emphasis on short-term, single-factor experiments. Second, available datasets have often been limited to specific objectives (e.g., energy, disease and pests, irrigation), restricting opportunities for integrative analysis. Third, heavy reliance on proprietary company data has constrained academic reproducibility [30].
To address these issues, recent studies emphasize the use of long-term, multivariable datasets. Examples include analyses of variable importance using XGBoost with integrated meteorological, soil, and remote sensing data, as well as multistep forecasting using LSTM. Moreover, Transformer-based models (PatchTST, TimesNet) are being adopted for extended time series processing, GNNs are being applied to learn spatial relationships among sensors, and hybrid/physics-informed models are being used to enhance traditional growth models [18,53,54,55,56]. In parallel, TCNs have emerged as an efficient alternative to RNNs, capable of modeling long-term dependencies with high stability. Collectively, these approaches are essential for moving beyond simple prediction toward precise, interpretable analysis of multi-year environment–growth datasets [58,61].
However, a critical review of the literature reveals that the mere adoption of advanced models is insufficient without a rigorous understanding of their comparative suitability. Traditional statistical and regression-based frameworks are fundamentally constrained by assumptions of linearity and variable independence, limiting their ability to capture nonlinear feedback mechanisms and time-lagged physiological responses inherent in crop growth. As a result, such approaches often oversimplify the complex dynamics of high-dimensional vertical farm data.
Furthermore, a significant gap persists in the systematic benchmarking of diverse AI architectures. Although individual studies have introduced novel approaches, few have conducted structured comparisons between fundamentally different modeling paradigms—particularly established recurrent architectures (e.g., LSTM, GRU) and emerging Transformer-based models (e.g., PatchTST, TimesNet)—under identical long-term real-world conditions. Consequently, it remains unclear which structural mechanisms, such as attention-based long-range dependency modeling versus recurrent sequential processing, are most effective for capturing complex environment–growth interactions.
This limitation is explicitly addressed in our study by establishing a comprehensive benchmarking framework that rigorously compares recurrent and Transformer-based architectures using multi-year operational datasets from a commercial vertical farm.
2.5. Purpose of the Current Study
In summary, although the effects of individual environmental factors are relatively well understood and machine learning and deep learning techniques have demonstrated clear advantages in interpretability and predictive performance, the use of long-term, real-world vertical farm data remains limited. Few studies have systematically compared diverse models under consistent conditions [27,33].
Building on recent research trends, this study integratively analyzes environmental and crop growth data collected over approximately 2 years from operational vertical farms in South Korea. Unlike previous studies that focused on a narrow set of variables, this work adopts a systematic approach using multivariable, long-term datasets. Baseline models include widely used machine learning models (Random Forest, XGBoost) and time series deep learning model (LSTM, GRU), whereas Transformer-based models (PatchTST, TimesNet), GNNs, hybrid/physics-informed models, and TCNs, representing emerging approaches, are also implemented to compare and evaluate predictive performance.
Beyond performance comparison, this study also assesses the relative importance of environmental factors to identify which variables farm managers should prioritize. Through these analyses, the study provides concrete implications for applying the sate-of-the-art AI techniques to vertical farming, enhancing the precision of data-driven environmental control, and improving the efficiency and productivity of vertical farm operations.
Accordingly, the central research question of this study is not merely which model achieves the highest predictive accuracy, but rather which architectural paradigm most effectively captures the long-term, multivariable environment–growth dynamics inherent in operational vertical farming systems. Specifically, this study investigates whether attention-based Transformer architectures provide structural advantages over recurrent and tree-based models in modeling hierarchical temporal dependencies and variable-specific dynamics under real-world controlled-environment conditions. By framing the comparison within this theoretical perspective, the objective extends beyond model ranking toward understanding how architectural design influences the representation of complex agricultural time series systems.
3. Materials and Methods
3.1. Study Site and Data Collection
This study was conducted at a fully closed vertical farm located in the Jeonnam region. Figure 1 shows the vertical farming system used in this research, consisting of (a) the cultivation structure, (b) the central control unit, and (c) the nutrient solution supply device. The farm is designed with a multilevel structure and equipped with LED light sources (wavelength range: 450–660 nm), HVAC, a nutrient solution delivery system, and an automated irrigation system, enabling crop cultivation independent of external climatic conditions. Environmental conditions and equipment operations are managed through the central control unit, whereas nutrient delivery is controlled by a dedicated nutrient solution system.
Figure 1.
Overview of the vertical farming system.
The framework, as shown in Figure 2, outlines the sequential process from data acquisition and preprocessing to time-based data splitting and predictive model development.
Figure 2.
Overall framework of the proposed study.
Multiple models are evaluated in terms of accuracy, temporal stability, and harvest-stage performance.
The workflow concludes with interpretation and outcome analysis to identify the most suitable modeling approach.
Lettuce (Lactuca sativa L.) was selected as the model crop, and the same variety was used throughout the study to standardize the growth cycle. Environmental sensory modules were installed on each cultivation level to record temperature (°C), relative humidity (%), CO2 concentration (ppm), PPFD (μmol·m−2·s−1), irrigation amount (L), EC (mS·cm−1), and pH data at 10 min intervals.
Table 1 summarizes the environmental variables and growth variables collected in this study.
Table 1.
Environmental and crop growth variables collected in the vertical farming system.
The data collection period spanned approximately 24 months, from January 2022 to December 2023, and the environmental dataset comprised a total of 105,120 timestamps. Growth data were recorded daily during the same period and included measurements of plant height (cm), leaf area (cm2), biomass (g), and yield (g). To ensure reliability, all data was collected in parallel through the management system of the vertical farm and manual inspections conducted by the research team.
To assess the practical feasibility of the evaluated models, the hardware environment and software stack used for model training and evaluation are presented in Table 2.
Table 2.
Hardware and software environment used for model training and evaluation.
All models were trained and evaluated under identical hardware and software configurations to ensure a fair comparison of computational efficiency. Although Transformer-based models required relatively higher computational resources during training, their inference cost remained comparable to that of other deep-learning-based time series models, indicating that they are suitable for decision-support applications in operational vertical farming systems.
3.1.1. Cultivation Protocol and Crop Cycle Definition
Lettuce cultivation was conducted using a batch-based crop cycle strategy, in which identical management conditions were applied to all cultivation cycles. Each crop cycle consisted of a seedling stage followed by a post-transplant cultivation stage, enabling consistent temporal alignment of growth and environmental data. The seedling stage lasted 11 days, after which seedlings were transplanted and cultivated for an additional 24 days, resulting in a total crop cycle duration of 35 days.
During the 24-month experimental period, a total of 21 complete cultivation cycles were conducted. Harvest yield was defined as fresh weight per plant (g·plant−1) measured at the end of each crop cycle. For time series modeling, all growth-related data were aligned based on days after transplanting (DAT) to ensure temporal consistency across cycles and to reduce inter-cycle variability.
3.1.2. Planting Density and Cultivation Layout
Lettuce plants were cultivated in a multilevel hydroponic rack system, reflecting a typical vertical farming configuration. Modular cultivation trays with a standardized footprint of approximately 600 mm × 400 mm were installed on each level, and plants were evenly distributed within each tray.
Planting followed a row-based arrangement to minimize inter-plant competition and canopy overlap. The average spacing between neighboring plants was maintained at approximately 18–22 cm, corresponding to an effective planting density of approximately 20–25 plants·m−2. This density falls within the standard operational range for leafy vegetables in commercial vertical farming systems and was sufficient to ensure stable canopy development and representative microclimatic conditions.
The cultivation layout, planting density, and rack configuration were kept constant throughout the entire experimental period to minimize structural variability and to isolate temporal environmental effects on crop growth.
3.1.3. Nutrient Solution Formulation and Management
A modified Hoagland nutrient solution was applied consistently across all cultivation cycles. Nutrient management targets were set to an electrical conductivity (EC) of 1.8 ± 0.2 mS·cm−1 and a pH of 6.0 ± 0.3, which are commonly adopted ranges for hydroponically grown lettuce. The nutrient solution temperature was maintained at 20 ± 1 °C to ensure stable root zone conditions.
Nutrient delivery was controlled using an EC-based automatic regulation strategy, in which concentrated A/B stock solutions were injected to maintain the target EC level. To prevent ionic imbalance and salt accumulation over long-term operation, the nutrient reservoir was completely replaced at 14-day intervals. The pH was continuously monitored and automatically adjusted when deviations exceeded the predefined tolerance range.
3.1.4. Environmental Setpoints and Control Conditions
The cultivation protocol, including seedling stages, nutrient management, and environmental setpoints for the 2-year experiment, is summarized in Table 3.
Table 3.
Cultivation protocol, planting density, nutrient management, and environmental setpoints used in the 2-year experiment.
Environmental conditions were automatically managed through a centralized control system, and identical setpoints were applied throughout all cultivation cycles. Light conditions were maintained using a photoperiod of 16 h light and 8 h dark, with a target photosynthetic photon flux density (PPFD) of 220 ± 20 μmol·m−2·s−1 at the cultivation level. This lighting regime corresponds to an average daily light integral (DLI) of approximately 12.7 mol·m−2·day−1.
Air temperature was controlled at 22 ± 1 °C during the light period and 18 ± 1 °C during the dark period, while relative humidity was maintained at 65 ± 5%. Carbon dioxide concentration was regulated at 800 ± 50 ppm during the light period and suspended during the dark period to optimize photosynthetic efficiency.
Irrigation was performed using a recirculating hydroponic system, supplying nutrient solution intermittently at 30–60 min intervals during the light period. The drainage ratio was maintained at 20–30% to ensure stable root zone conditions and to prevent nutrient accumulation.
3.2. Data Preprocessing and Quality Control
Calibration differences between sensors were possible because hardware was regularly inspected and replaced during the study period. To minimize inconsistencies, the following preprocessing steps were applied. First, all sensor logs were interpolated at 10 min intervals to ensure continuity, and missing sections were filled using linear interpolation between the nearest observations. Second, negative PPFD values, abnormal CO2 fluctuations, and extreme pH and EC values were identified using a threshold of three interquartile ranges. The upper and lower 0.5% of values were then managed through Winsorization. Third, to ensure compatibility with the growth dataset, environmental variables were converted to daily averages (temperature, humidity, CO2, EC, pH), cumulative daily amounts (irrigation amount), and the daily light integral (DLI). The DLI was calculated using the following equation:
Here, represents measurements recoded at 10 min intervals (µmol·m−2·s−1), and 600 is the conversion factor from seconds.
In addition, considering that the dataset was collected over a long-term period, the preprocessing strategy was designed to account for gradual measurement variability that may arise under continuous operation. All environmental variables were collected under consistent operational management throughout the study period, and physically implausible values were removed based on predefined range constraints and temporal continuity checks. Furthermore, by applying normalization based on statistics derived exclusively from the training dataset, the potential influence of subtle shifts in measurement baselines associated with long-term operation on model training and evaluation was minimized.
3.3. Data Splitting and Validation Strategy
The learning dataset covered data from 1 January 2022 to 30 June 2023, while the test set included data from 1 July 2023 to 31 December 2023. Five-fold TimeSeriesSplit cross-validation was applied to the learning set, using an expanding-window strategy to prevent information leakage caused by the inclusion of future observations in model training.
Vertical farming data exhibit strong temporal characteristics; crop growth stages, batch-based cultivation cycles, and environmental control strategies evolve structurally over time. Under such conditions, applying a random split may result in unintended information leakage from future data into the learning process. Therefore, a time-based splitting strategy was adopted to realistically reflect prediction scenarios in operational vertical farming systems.
The complete dataset spans approximately 24 months from January 2022 to December 2023 and includes a total of 21 cultivation cycles. Among these, the learning period contains 15 harvest cycles, whereas the test period includes 6 independent harvest cycles.
During data scaling, to prevent target leakage, standardization (z-score normalization) and normalization (min–max scaling) were performed using parameters calculated exclusively from the learning set. The same parameters were subsequently applied to the validation and test sets.
3.4. Comparative Model Composition
In this study, comparative models were constructed to identify and validate predictive model structures suitable for vertical-farming-based crop growth and yield prediction. Vertical farming datasets exhibit nonlinear relationships between environmental and growth variables, multivariate time series behavior, long-term temporal dependencies, and spatial heterogeneity arising from cultivation layers and sensor locations. These characteristics cannot be sufficiently captured by a single modeling approach.
Accordingly, models representing different predictive mechanisms were selected to examine how effectively each model structure addresses the characteristics of vertical farming data. The comparison focused on key aspects relevant to the target problem, including nonlinear relationship modeling, temporal dependency learning strategies, long-term time series representation, and the incorporation of spatial information.
Based on these criteria, the selected models include tree-based ensemble models, recurrent-neural-network-based time series models, Transformer-based time series models, graph neural networks, as well as hybrid physics-informed and convolution-based temporal models.
Table 4 [63,64,65,66,67] summarizes the structural characteristics of the applied models and provides a reference framework for discussing which model structures are most appropriate for vertical farming prediction tasks in the subsequent sections.
Table 4.
Applied prediction models and their main characteristics.
3.4.1. Previously Used Models
Previously used models were included as baseline approaches to evaluate how conventional algorithms handle nonlinear relationships and temporal dependencies in vertical farming data. Specifically, Random Forest (RF), XGBoost (XGB), LSTM, and GRU were selected.
RF and XGB are tree-based ensemble algorithms that have been widely used in agricultural data analysis due to their stable performance with relatively small datasets and their ability to generate variable-importance measures. LSTM and GRU are representative RNN-based structures frequently used in studies that simultaneously account for environmental changes and growth responses, as they effectively capture temporal dependencies.
3.4.2. Recent Models of Interest
To address the structural limitations of conventional time series models when applied to long-term and multivariate vertical farming data, recent structure-aware models were additionally considered.
These models offer advantages in processing long-term or multivariable time series and in learning complex relationships. Transformer-based models (PatchTST, TimesNet) show excellent long-term predictive performance by learning in patch units or modeling periodic patterns, thereby overcoming the limitations of conventional RNNs. GNNs capture spatial correlations by defining sensors and per-level environmental data as nodes and edges, enabling effective learning of environmental variation across the multilevel structure of vertical farms. Hybrid/physics-informed models incorporate outputs from physiological growth models as complementary features and correct model residuals using deep learning models, providing both interpretability and predictive accuracy. TCNs, which use dilated convolutions for time series modeling, offer easier parallelization than RNNs and show stable performance in capturing long-term dependencies.
3.5. Hyperparameter Optimization
Hyperparameter optimization is essential for improving predictive performance and preventing overfitting. In this study, grid search and Bayesian optimization (based on the Optuna library) were applied in parallel to determine optimal hyperparameter configurations. All searches were conducted through five-fold TimeSeriesSplit cross-validation on the learning set, with the root mean square error (RMSE) on the validation set as the evaluation criterion.
The hyperparameter search space for the Random Forest model was designed to focus on ranges that are practically relevant for multivariate, nonlinear time series data rather than exhaustively exploring all theoretical combinations.
Previous studies have shown that shallow trees (e.g., max_depth < 8) often lead to underfitting when modeling complex environment–crop relationships, as they fail to capture hierarchical interactions among variables [22,67]. Accordingly, the search range for maximum tree depth was restricted to 8–24, where meaningful branching structures are typically formed in high-dimensional agricultural datasets.
Similarly, Random Forest models with fewer than 200 trees have been reported to exhibit higher prediction variance and reduced stability, particularly in variable-importance analysis [68,69]. Therefore, the number of estimators was set to start from 200 to ensure robust ensemble behavior and reproducible performance. This informed search strategy allows computational efficiency while maintaining reliable and representative model performance for practical vertical farming applications.
All the time-series-based models, including LSTM, GRU, PatchTST, TimesNet, TCN, and GNN, were trained using an identical set of environmental input variables. The input feature set consisted of seven variables: air temperature, relative humidity, CO2 concentration, daily light integral (DLI), irrigation amount, electrical conductivity (EC), and pH.
Time series inputs were constructed using a fixed sliding window approach. Accordingly, the effective input dimensionality depended on the window length: a 7-day input window corresponds to 49 features (7 variables × 7 days), whereas a 14-day input window corresponds to 98 features (7 variables × 14 days). This design ensures a consistent amount of input information across all models, enabling a fair and systematic performance comparison.
For the RF model, the search space included the number of trees (n_estimators: 200–800, step size = 100), the maximum tree depth (max_depth: 8–24, step size = 4), and the minimum number of samples per leaf (min_samples_leaf: 1–5, step size = 1).
For the XGB model, the search space included the number of boosting rounds (n_estimators: 400–1200, step size = 200), learning rate (learning_rate: 0.03–0.1), maximum depth (max_depth: 3–7, step size = 1), L2 regularization term (reg_lambda: 0–3), and subsampling ratios (subsample and colsample_bytree: 0.7–0.9).
For the LSTM and GRU time series deep models, the input window length (7 d, 14 d), number of hidden units (32, 64, 128), dropout ratio (0.0–0.4, step size = 0.1), learning rate (1 × 10−3, 5 × 10−4), and batch size (32, 64) were tuned. The Adam optimizer was used, with early stopping (patience = 20) and a learning-rate scheduler.
For the Transformer-based models (PatchTST, TimesNet), the search space included the number of layers (2–4, step size: 1), number of attention heads (4–8, step size: 2), embedding dimension (64–128, step size: 32), and learning rate (1 × 10−3, 5 × 10−4). For the GNN, combinations of the number of graph-convolution layers (2–3), hidden dimension (64, 128), and activation function (ReLU, GELU) were explored. For the TCN, kernel size (3, 5, 7), dilation factor {1–4 (powers of 2)}, and dropout (0.1–0.3, step size: 0.1) were optimized.
For the hybrid/physics-informed model, the output of a simplified DSSAT growth model was included as an input feature, and the number of hidden units and dropout ratio of the Transformer- or LSTM-based correction network were optimized.
The simplified DSSAT module was parameterized using environmental variables directly derived from the operational dataset, including daily mean temperature, CO2 concentration, irrigation amount, and nutrient-related indicators such as electrical conductivity and pH. Because vertical farming systems utilize standardized artificial substrates rather than field soil, soil-related parameters were fixed according to controlled substrate conditions typical of commercial indoor cultivation. Crop-specific coefficients were calibrated using observed biomass and harvest yield data to ensure alignment between simulated and measured growth trajectories. The DSSAT output thus served as a physiology-informed baseline, and residual errors were subsequently corrected through the deep learning module.
All optimization procedures followed the same learning and validation protocol, and the final hyperparameter configurations were evaluated using the test set. This unified optimization workflow ensured fair performance comparisons across models. Table 5 provides a concise summary of the hyperparameter search spaces for each model, serving as a structured reference to ensure clarity and reproducibility of the optimization procedure described above.
Table 5.
Hyperparameter search space for each model.
Optimization Convergence and Training Stability
To ensure that the reported model performances were obtained through stable and well-defined optimization procedures, the convergence behavior of the hyperparameter optimization process and the training stability of deep learning models were systematically examined.
Figure 3 illustrates the convergence trends of Bayesian hyperparameter optimization for representative models across four crop growth indicators (plant height, leaf area, fresh weight, and harvest yield). Each curve represents the best validation RMSE obtained up to a given optimization trial. For all targets, the validation error gradually decreased as the number of trials increased, indicating effective exploration of the predefined hyperparameter search space and stable convergence toward optimal configurations.
Figure 3.
Trial–RMSE optimization convergence.
Tree-based models such as XGBoost exhibited relatively rapid convergence during the early trials, reflecting their lower architectural complexity. In contrast, recurrent-neural-network-based models, particularly LSTM, required a larger number of trials to reach stable performance due to their sensitivity to learning rate, hidden unit size, and other training-related hyperparameters. Transformer-based models (PatchTST and TimesNet) achieved lower final RMSE values with fewer optimization trials compared to LSTM, demonstrating their structural suitability for long-term multivariate time series modeling. These convergence characteristics confirm that the adopted optimization strategy was appropriately designed to identify stable and competitive hyperparameter settings rather than relying on arbitrary parameter choices.
Figure 4 presents the training convergence curves of the three representative deep learning models (PatchTST, TimesNet, and LSTM), showing validation loss as a function of training epochs. All models exhibited a consistent decreasing trend in validation loss, indicating stable learning behavior. PatchTST reached its minimum validation loss at epoch 38, whereas TimesNet achieved optimal performance at epoch 67. LSTM showed slower convergence and greater loss variability, reaching its optimal point at epoch 113.
Figure 4.
Training loss convergence curves.
Early stopping was employed based on validation loss, and training was terminated when no further improvement was observed for a predefined patience period. This approach prevented overfitting while ensuring sufficient training for each model. The observed differences in convergence behavior reflect architectural distinctions among models, with Transformer-based architectures demonstrating superior training stability and efficiency when handling long-term multivariate time series data from vertical farming environments.
Based on the confirmed convergence of both the optimization process and model training, the final hyperparameter configurations selected for each model are summarized in Table 6.
Table 6.
Final hyperparameter configurations used for model evaluation.
3.6. Performance Endpoints
Model performance was evaluated using several indices commonly applied in regression tasks. The primary endpoints were the RMSE and mean absolute error (MAE), which quantify the average differences between predicted and observed values. As both metrics use the same units as the original data, they are straightforward to interpret and useful for assessing absolute predictive accuracy. As a secondary endpoint, the coefficient of determination (R2) was calculated to represent the explanatory power of the model, indicating the proportion of total variance accounted for by the model. The mean absolute percentage error (MAPE) was also examined to assess relative error expressed as a percentage. However, because MAPE is undefined when the observed value equals 0, a constant of 1 was added or an alternative metric was applied for intervals in which the yield was 0 g.
To evaluate prediction stability, 95% confidence intervals were estimated through bootstrapping (n = 1000 iterations) rather than relying solely on single test set values. To enhance interpretability, variable importance and permutation importance were derived for the tree-based models, whereas integrated gradients were used to quantify input-variable contributions in the deep learning models. These analyses were designed to compare predictive performance and identify the relative influence of each environmental factor on crop growth.
4. Results
4.1. Descriptive Statistics and Time Series Characteristics of the Dataset
Environmental and crop growth data were collected, preprocessed, and analyzed over a 2-year period at the vertical farm. After data cleansing, the mean temperature was 22.5 °C and the mean relative humidity was 65.8%, showing that a generally stable growing environment was maintained. In contrast, CO2 concentration had a mean value of 850 ppm but varied widely, ranging from 450 ppm to 1500 ppm. This variation reflects period of external ventilation and targeted CO2 injection. The mean DLI was 15.2 mol·m−2·d−1, consistent with appropriate illuminance levels for leaf vegetable cultivation.
Figure 5 shows the 24-month time series characteristics of the environmental and growth variables, including (a) DLI, (b) CO2 concentration, (c) temperature, (d) humidity and (e) harvest yield.
Figure 5.
Time series characteristics of environmental and growth variables over 24 months.
When the 24-month time series of the major variables was examined, the DLI showed a step-like pattern rather than a seasonal one, reflecting adjustments made according to the cultivation management plan, an expected characteristic of fully controlled vertical farming. CO2 concentration showed clear diurnal variation, with a distinct pattern of maintaining elevated levels during the light cycle. Temperature showed mild seasonality, with slightly higher values in summer and lower temperatures in winter, although the HVAC system effectively minimized large variance. Daily harvest yield showed periodicity, with sharp increases and decreases according to the cultivation cycle, representing a key pattern that predictive models must learn. Approximately 1.2% of all data points were identified as anomalous based on interquartile-range thresholds and were treated through Winsorizing to ensure data quality.
4.2. Performance of Crop Growth Prediction Models
Eight predictive models were developed for four representative crop growth indicators (plant height, leaf area, biomass, and harvest yield), and their performances were compared. RMSE, MAE, and R2 values for the 6-month test window are summarized in Table 7 and Table 8.
Table 7.
Average predictive performance of models for plant height and leaf area over the 6-month test period.
Table 8.
Average predictive performance of models for fresh weight and harvest yield over the 6-month test period.
Table 7 and Table 8 show that, across the evaluated growth indicators, the Transformer-based models achieved the highest predictive accuracy.
While Table 7 and Table 8 summarize the average predictive performance of each model over the entire 6-month test window, the harvest yield values reported in these tables reflect prediction errors accumulated across all growth stages. Figure 6 visualizes the harvest yield results presented in Table 7 and Table 8 by focusing exclusively on predictions at the harvest stage. This figure therefore provides a stage-specific interpretation of the tabulated harvest yield performance.
Figure 6.
Model performance comparison for harvest yield prediction.
In the harvest yield predictions, the Transformer-based models showed outstanding performance. The PatchTST model achieved an RMSE of 5.81 g, an MAE of 3.24 g, and an R2 of 0.942, indicating that it accounted for 94.2% of the variance in the actual harvest yield.
From a practical perspective, an RMSE of 5.81 g per plant corresponds to approximately 3% of the average harvest weight per plant. This level of deviation falls within typical commercial grading tolerances for leafy vegetables, indicating that the model’s predictions are sufficiently precise to support automated harvest scheduling and short-term sales forecasting without materially affecting distribution decisions.
TimesNet followed, with an RMSE of 6.53 g and R2 of 0.928. The hybrid model, which combines a growth model with deep learning, also performed well, with an R2 of 0.915.
Figure 7 is derived from the same harvest-stage test results presented in Figure 6, providing a time series visualization that illustrates a direct comparison between observed and predicted harvest yields across successive harvest events for all eight models. The Transformer-based models, particularly PatchTST and TimesNet, closely follow the observed yield trends across the entire harvest period, accurately capturing both high- and low-yield events. In contrast, tree-based and RNN-based models show larger deviations from the observed values, especially around local maxima and minima. Overall, this visual comparison highlights the greater temporal stability and consistency of Transformer-based models in harvest yield prediction.
Figure 7.
Visual comparison between observed and predicted harvest yields across models.
In contrast, the earlier machine learning models showed relatively poor performance. XGB reached an R2 of 0.885; however, its error rate was approximately 30% higher than that of PatchTST. The RNN-based LSTM and GRU models recorded R2 values of 0.861 and 0.870, respectively, performing below XGB. This appears to indicate the challenges in effectively addressing long-term dependency issues inherent in extended time series. Although the GNN and TCN models exhibited superior performance than the RNN-based models, they did not achieve the levels of performance demonstrated by the Transformer-based architectures.
Similar trends appeared in the predictions for the intermediate growth indicators (plant height, leaf area, biomass). PatchTST and TimesNet consistently produced the lowest error rates and higher explanatory power, indicating that both models effectively learned the complex interactions between environmental factors and crop growth characteristics. Additionally, the TCN and Transformer-based models showed training speeds approximately 2.5 times faster than the RNN-based models, demonstrating advantages for large-scale data processing and real-time applications.
4.3. In-Depth Analysis of the Transformer-Based Models for Long-Term Time Series Predictions
To further evaluate the strengths of the Transformer-based models, especially PatchTST, their performance was examined with respect to prediction stability and the ability to process long-term dependencies throughout the test period. Figure 8 shows the rolling 7-day RMSE trends of the two top models (PatchTST, TimesNet) and the baseline models (XGB, LSTM) over the 6-month test period.
Figure 8.
Rolling 7-day RMSE trends of four representative models during the 6-month test period.
Figure 8 shows the rolling 7-day RMSE trends, demonstrating that the Transformer-based models maintained lower and more stable error rates throughout the entire test period.
PatchTST and TimesNet maintained low and stable error rates throughout the test period, LSTM and XGB repeatedly showed intervals with pronounced error spikes at specific time points (e.g., cultivation cycle transitions, changes in environmental settings). This suggests that Transformer-based models respond more robustly to changes in farm management patterns and temporary disturbances.
To examine the ability of the model to utilize long-term information, the input window was expanded from 7 to 14 days and the resulting performance changes were compared. PatchTST and TimesNet exhibited additional RMSE reductions of 4.8% and 3.5%, respectively, demonstrating their ability to extract meaningful patterns from longer historical windows. In contrast, LSTM showed a slight decrease in performance with the expanded window, consistent with previous findings that RNN-based structures are vulnerable to vanishing gradients in extended time series. XGB, which relies on lagged variables and manual feature design, showed limited adaptability during regime shifts such as cultivation cycle changes or adjustments to control settings.
To interpret the pronounced error spikes observed in XGBoost and LSTM in Figure 8, the characteristics of the corresponding time intervals were examined in detail. The representative error-spike intervals identified from the rolling RMSE trends, and the affected models are summarized in Table 9.
Table 9.
Error-spike intervals identified from the rolling RMSE analysis in Figure 8.
As shown in Table 8, error spikes in XGBoost and LSTM were repeatedly observed during specific date ranges, despite unchanged cultivation conditions and stable environmental inputs. This indicates that prediction instability can arise from intrinsic model characteristics even under identical input conditions. XGBoost, which relies on fixed lagged feature representations, exhibited increased sensitivity during the early test period and as temporal dependencies accumulated. In contrast, LSTM showed localized error amplification as sequence length increased, reflecting instability in hidden-state dynamics and gradient propagation.
During these intervals, the input–output relationship between environmental variables and harvest yield remained stable, suggesting that the observed error spikes were not driven by external regime changes but rather by limitations in the models’ ability to adapt to long and cumulatively evolving time series. This highlights the vulnerability of conventional tree-based and RNN-based models to cumulative temporal effects.
In contrast, Transformer-based models maintained relatively stable error levels over the same periods. This robustness can be attributed to their attention mechanisms, which enable simultaneous modeling of local patterns and long-range temporal dependencies, thereby reducing sensitivity to cumulative sequence effects.
The self-supervised pretraining and fine-tuning strategy implemented in this study also elevated the performance of PatchTST. Compared with purely supervised training, the model pretrained on masked-patch restoration achieved a 5.2% reduction in MSE for harvest yield predictions, demonstrating that refining internal representations through patch restoration improves generalization in supervised tasks using large-scale time series data.
Transformer-based models also showed advantages in error-pattern analysis. Fluctuations in the rolling RMSE closely matched management events, including cultivation cycle transitions, changes in light cycle/CO2 strategies, and short-term equipment inspections. Even in these intervals, PatchTST showed a relatively shallow error increase. This likely results from the ability of the attention mechanism to simultaneously capture local patch-level patterns and long-range periodic or trend-based relationships, enabling the model to account for the delayed or cumulative effects of environmental disturbances on crop growth. Variable-contribution analysis consistently ranked DLI, CO2 concentration, and temperature deviation as the most influential factors, supporting the view that interactions among light environment, CO2 assimilation, and temperature as key determinants of harvest yield variability.
4.4. Quantification of the Relative Importance of Environmental Variables
Given that PatchTST achieved the highest predictive performance, Shapley additive explanations (SHAP) analysis was applied to quantitatively evaluate the relative importance of environmental variables for final harvest yield. Table 10 presents the importance rankings for the seven environmental variables based on their mean absolute SHAP values.
Table 10.
Relative importance of environmental variables for crop harvest yield based on SHAP analysis.
DLI accounts for 35.1% of the total contribution, signifying it as the most influential variable and indicating that cumulative light availability is a primary determinant of productivity. CO2 concentration (24.8%) and mean temperature (16.5%) ranked second and third, respectively. Together, these three variables accounted for 76.4% of the total, quantitatively demonstrating that they are the most critical factors requiring precise control in vertical farming.
Relative humidity (8.8%), nutrient solution EC (6.7%), pH (4.5%), and the total irrigation amount (3.6%) contributed less overall but still exerted substantial effects on productivity variability.
The SHAP summary plot in Figure 9 shows the magnitude and direction of the effect of each variable on harvest yield. For example, data points corresponding to high DLI and elevated CO2 concentrations (red markers) show positive SHAP values, showing that these conditions contribute positively to harvest yield. Temperature, however, displays a more complex pattern: SHAP values become negative (−) when temperatures fall outside an optimal range, reflecting reduced harvest yield under both excessively high or low temperatures.
Figure 9.
Relative importance of environmental variables for crop harvest yield (SHAP analysis).
Specifically, the temperature variable exhibits a more complex pattern because its influence on crop growth is not monotonic and varies across different growth stages. Moderate temperature ranges contribute positively to growth, whereas deviations beyond stage-specific optimal thresholds can suppress physiological activity.
In addition, the effect of temperature is strongly coupled with other environmental factors such as relative humidity, CO2 concentration, and light conditions, leading to nonlinear and interaction-driven responses rather than simple linear trends.
These results establish predictive accuracy and indicate that the AI models have effectively learned phytophysiological relationships directly from the data. Furthermore, the analysis provides evidence-based guidance for practical management, highlighting the need to prioritize control strategies centered on light, CO2, and temperature when allocating resources. This supports the applicability of AI-driven insights to real-world vertical farm operation and decision making.
In addition, the consistency of the identified key environmental variables across different predictive models was examined to assess whether the observed importance patterns were model-specific or consistently maintained across diverse modeling frameworks. Across all eight predictive models evaluated in this study, the relative importance of the major environmental variables showed broadly similar patterns.
To further characterize this consistency, variable importance rankings were examined for representative models from different model families, including the Transformer-based PatchTST and the tree-based XGBoost and Random Forest models. Although the absolute importance values differed due to variations in learning mechanisms and attribution strategies, the relative ordering of key variables remained largely consistent across models.
The variable-importance analysis was conducted with a focus on model interpretability rather than exhaustively covering all model families. Accordingly, representative models were selected based on their ability to provide stable and well-established importance measures. Random Forest and XGBoost were chosen as tree-based models with distinct learning mechanisms (bagging and boosting, respectively), enabling the meaningful comparison of feature contributions under different ensemble strategies.
Deep learning models such as LSTM and GNN were excluded from the variable-importance comparison because their internal representations distribute importance across time steps or graph structures, making direct variable-level attribution less transparent and potentially misleading. Nevertheless, these models were fully evaluated in the performance comparison to ensure a comprehensive assessment of predictive accuracy.
As summarized in Table 11, daily light integral (DLI), CO2 concentration, and air temperature consistently ranked among the top three most influential factors affecting crop harvest yield in all representative models. This consistent ranking indicates that the dominant influence of light availability and CO2-related factors is not driven by a specific model architecture, but rather reflects stable environment–growth relationships embedded in the long-term multivariate dataset.
Table 11.
Cross-model comparison of environmental variable importance rankings for crop harvest yield prediction.
Variables with lower relative importance, including relative humidity, electrical conductivity (EC), pH, and irrigation amount, exhibited modest variations in their rankings across models. These differences are likely attributable to how individual models capture nonlinear interactions, temporal dependencies, and feature relationships. Nevertheless, these variables consistently contributed less to harvest yield variability than the dominant light- and CO2-related factors.
Overall, the agreement in variable importance patterns observed across the eight predictive models strengthens the interpretability and reliability of the results. The cross-model consistency supports the conclusion that the key environmental drivers of crop harvest yield in vertical farming systems are not dependent on a single predictive model, and that the SHAP-based interpretation derived from PatchTST reflects intrinsic characteristics of the underlying data rather than model-specific bias.
In summary, PatchTST demonstrated strengths in long-term dependency learning, robustness to regime shifts, and potential for additional improvement through pretraining. These characteristics render PatchTST highly suitable for large-scale data usage and real-time prediction and control applications (e.g., lighting, CO2, and HVAC scheduling), supporting its selection as a stable decision-support model in practical vertical farm management.
5. Discussion
5.1. Predictive Performance and Architectural Superiority of the PatchTST Model
In this study, we confirmed that the patch-based Transformer model, PatchTST, outperforms previous machine learning and deep learning models when applied to complex, long-term, multivariable time series data from vertical farms. Its superior performance can be attributed to two key architectural features: patching and channel independence.
First, patching divides the time series into fixed-length subsequences rather than processing continuous individual time points. This enables the model to capture meaningful temporal structures relevant to vertical farming, such as daily light cycles, nighttime respiration, and irrigation events. By applying an attention mechanism to these patches as tokens, PatchTST efficiently captures hierarchical temporal structures and long-distance dependencies while reducing computational complexity for long sequences.
Second, channel independence presents a new approach for learning multivariable time series. Each environmental variable in vertical farms exhibits physical properties and temporal behavior. Lighting shows a square-wave pattern according to the on/off cycles, the EC of the nutrient solution shows gradual changes with nutrient consumption, and the temperature shows shallow variance as it is controlled by the HVAC. Channel-independent structures enable variables to be learned as independent single-variable time series that share a Transformer backbone while preserving the features of each variable. This approach is beneficial for preventing negative transfer between variables while fully reflecting the characteristics of each channel. The findings in this study show that the long-term patterns inherent to each variable are more important to vertical farm data predictions than momentary correlations and provide key implications for the direction of future agricultural AI model design.
The predictive performance achieved by PatchTST in this study is not only superior within the set of evaluated models but also highly competitive when benchmarked against previously reported results in agricultural AI research. Recent comprehensive reviews on crop harvest yield prediction indicate that state-of-the-art machine learning and deep learning approaches generally achieve R2 values in the range of 0.70–0.90, with performance varying according to crop type, dataset scale, and prediction horizon [58,70].
Within the context of controlled-environment agriculture, CNN–LSTM and other LSTM-based architectures have commonly reported R2 values of approximately 0.82–0.91 for greenhouse harvest yield and climate prediction tasks [20,71]. By contrast, the PatchTST model in the present study achieved an R2 of 0.942 and an RMSE of 5.81 g for harvest-stage harvest yield prediction, thereby exceeding the upper performance range typically documented in the literature.
This performance gain is particularly noteworthy because the model was trained and evaluated using real operational data collected over a two-year period. Such datasets inherently encompass management variability, sensor noise, and operational regime shifts that are often absent from short-term or experimentally controlled studies, underscoring the robustness and practical relevance of the proposed approach.
All deep learning models were trained and evaluated using a standard workstation setup (AMD Ryzen 9 5950X, 64 GB RAM, and a single NVIDIA RTX 3090 GPU; Table 2), demonstrating that high-performance computing clusters are not a strict requirement. While Transformer-based models like PatchTST generally impose higher computational costs during the training phase compared to classical ML baselines, this training is typically an intermittent offline process. In contrast, the operational phase relies on low latency inference, which allows for seamless integration into farm level decision support systems. Consequently, the marginal increase in training costs is outweighed by the substantial gains in predictive accuracy and temporal stability, providing critical value for production planning in commercial vertical farming.
5.2. Physiological Interpretability: DLI and CO2 as Major Drivers of Growth
In the analysis of variable importance, DLI and CO2 concentration were identified as the most important factors determining harvest yield. This shows that, beyond simply learning statistical patterns, the AI models learned fundamental physiological principles of crop growth from the data. The fact that these two variables, as key substrates for photosynthesis, directly contribute to biomass accumulation aligns with established phytophysiological knowledge [72,73].
The dominance of daily light integral (DLI) and CO2 concentration observed in this study is consistent with prior physiological and experimental research, which has repeatedly identified light availability and carbon assimilation as primary drivers of biomass accumulation in leafy vegetables [74,75].
However, most previous studies have examined these factors independently or under short-term, tightly controlled experimental conditions [30], thereby limiting their relevance to real-world operational environments. In contrast, the present study provides quantitative evidence based on long-term, multivariable operational data, demonstrating that DLI alone explains more than 35% of harvest yield variability, while DLI, CO2 concentration, and air temperature together account for over 76% of the total contribution. Such explicit quantification of the relative dominance of key environmental drivers has rarely been reported in AI-based agricultural studies, which typically emphasize overall prediction accuracy rather than actionable interpretation for management decision making.
This provides clear evidence of where limited resources and energy should be focused.
Furthermore, the importance of DLI and CO2 concentration highlights the trade-off between energy use and harvest yield that vertical farms must manage. Artificial lighting and CO2 supplementation represent the largest portions of operating costs [33], yet the high sensitivity revealed by the model also indicates substantial potential for optimization. Using these insights, managers can evaluate various virtual scenarios, for example, simulating how reducing lighting intensity during periods of high energy pricing might balance cost reduction against harvest yield loss.
5.3. Practical Applicability and AI-Based Operational Optimization
Beyond statistical superiority, the improvements demonstrated in this study carry direct operational implications for vertical farm management. Reduced prediction error at the per-plant level enhances the reliability of aggregated batch-yield estimation across cultivation units, thereby supporting more stable harvest scheduling and more accurate short-term sales forecasting. Improved harvest yield predictability also enables farm managers to assess environmental control strategies such as adjustments in light intensity or CO2 concentration with greater confidence, facilitating data-driven optimization of resource allocation and energy use. Consequently, the superior temporal stability demonstrated by PatchTST contributes not only to higher predictive accuracy but also to more robust planning and decision making in commercial controlled-environment agriculture systems.
The high prediction accuracy of PatchTST provides a technological foundation for transitioning vertical farm management from experience-based control to data-driven optimization. This model can function as a digital twin to model how crops respond to environmental changes [76]. Using this digital twin enables both prediction of future harvest yields and derivation of optimal environmental control strategies for specific objectives. For example, multipurpose optimization could be implemented to maximize both harvest yield and profitability. Achieving this requires a framework that integrates growth prediction models with external data, such as real-time energy prices, weather forecasts, and market demand. Such integration represents a key step toward greatly improving resource efficiency through AI.
Ultimately, this system can evolve into a fully autonomous farm. Training reinforcement-learning-based control agents using the predictive model as an environment simulator would enable them to independently discover optimal management policies [77]. Such agents could adapt to both short-term fluctuations in energy prices and long-term changes such as climate shifts, equipment degradation, and the introduction of new crop varieties. This study therefore transcends simple model performance comparisons and provides foundational technology for next-generation intelligent agricultural systems, offering substantial academic and commercial significance.
5.4. Limitations of the Study and Future Research Directions
The harvest yield prediction performance achieved in this study using the PatchTST model (R2 = 0.942, RMSE = 5.81 g) is highly competitive when benchmarked against recent agricultural AI research. While state-of-the-art machine learning and deep learning models for crop harvest yield prediction typically report R2 values in the range of 0.70–0.90 [20,66], the results obtained in this study exceed the upper performance bounds commonly documented in the literature. These findings indicate that the PatchTST architecture, which effectively captures complex long-term temporal patterns, can be successfully applied to the multivariable time series dynamics characteristic of vertical farming systems.
Nevertheless, several limitations must be critically acknowledged to ensure the credibility and objectivity of these findings.
First, the generalizability of the proposed model is constrained by the use of a two-year dataset collected from a single commercial vertical farm and a single lettuce variety. Although the long-term nature of the dataset provides robustness against operational noise, the high predictive accuracy may partially reflect the structural and environmental stability specific to the study site. Different lettuce cultivars may exhibit distinct growth rates, canopy architectures, and physiological responses to light and CO2 enrichment. Moreover, fruiting crops or longer growth-cycle species such as tomatoes or strawberries may demonstrate fundamentally different temporal dynamics compared to leafy vegetables. Therefore, caution should be exercised when extending the reported performance metrics to other crop types without additional validation. Therefore, validation using multi-site datasets and diverse crop species is required to confirm whether comparable performance can be achieved across different farm environments.
Second, the current analysis assumes spatial homogeneity within cultivation layers by relying on mean values aggregated from multiple sensors. This assumption limits the model’s ability to capture microclimatic variations, such as vertical temperature gradients or localized airflow patterns, which are commonly observed in multilevel rack-based vertical farming systems. Future studies should incorporate high-density sensor networks or spatially aware modeling approaches, such as graph neural networks, to explicitly account for spatial heterogeneity.
Third, the exclusion of stochastic exogenous variables restricts the immediate applicability of the proposed model as a comprehensive decision-support tool. Although daily light integral (DLI), CO2 concentration, and temperature collectively explained 76.4% of harvest yield variability, external factors such as dynamic energy pricing, market demand, and pest incidence were not considered. Given that energy consumption represents a substantial proportion of operating costs in vertical farming, integrating these socio-economic variables is essential for extending the model toward optimization-oriented farm management.
Finally, hybrid modeling approaches that combine physics-based crop growth models with data-driven neural networks warrant further investigation. Such approaches may enhance interpretability while maintaining predictive accuracy under environmental conditions not represented in the training data.
Collectively, these limitations highlight important directions for future research. Expanding the benchmarking framework to multi-site datasets, incorporating spatially explicit sensing strategies, and integrating socio economic and energy-related variables will be essential for improving model generalizability and operational applicability. Furthermore, exploring hybrid and lightweight Transformer architectures may enhance robustness and scalability across diverse controlled-environment agriculture systems. Addressing these challenges will support the development of more comprehensive and transferable AI-driven decision-support tools for vertical farming.
6. Conclusions
In this study, we used long-term, multivariable time series data collected over 2 years from a commercial vertical farm and systematically compared the performance of eight crop growth prediction models, ranging from traditional machine learning methods to cutting-edge deep learning architectures. Among these, the Transformer-based PatchTST model, which divides time series into patches and processes each variable through independent channels, achieved the highest accuracy and stability across all growth indicators, including harvest yield (R2 = 0.942). This result demonstrates the strong capability of the PatchTST architecture to capture complex, long-term temporal patterns in vertical farming data.
The originality of this research lies in its integrative and transparent benchmarking of fundamentally different AI paradigms under identical real-world operational conditions. Unlike prior studies that frequently focused on a single modeling approach or short-term experimental datasets, this work evaluated tree-based models, recurrent neural networks, Transformer-based models, hybrid physics-informed approaches, and TCNs within a unified preprocessing and evaluation framework. This comprehensive comparison provides rigorous empirical evidence on how structural characteristics particularly long-range attention mechanisms affect the modeling of multi-year environment growth dynamics in controlled-environment agriculture.
Model interpretation further revealed that DLI and CO2 concentration are key environmental factors influencing crop harvest yield. These findings align with established phytophysiological principles and strengthen the scientific understanding of multivariate interactions in indoor crop production systems. By quantitatively validating these relationships using operational data, this study bridges the gap between theoretical plant physiology and data-driven predictive modeling.
From a practical perspective, the identification of key controllable variables offers actionable guidance for optimizing environmental management strategies in energy-intensive vertical farming systems. Accurate harvest yield forecasting enables more efficient resource allocation, particularly in managing lighting and CO2 enrichment, which directly impact operational costs. Thus, the proposed modeling framework supports data-driven decision making aimed at improving productivity while maintaining economic viability.
Beyond farm-level optimization, these findings also contribute to broader sustainability objectives. The application of advanced AI models such as PatchTST enables more precise environmental control, which can reduce unnecessary electricity consumption associated with lighting and HVAC systems. By enhancing forecasting accuracy and operational efficiency, this approach supports the development of resource-efficient, low-carbon vertical farming systems. Consequently, the integration of high-performance AI into controlled-environment agriculture represents a critical technological pathway toward achieving sustainable food production and strengthening global food security in the face of climate change and urbanization.
Author Contributions
Conceptualization, G.-H.J. and M.-H.L.; methodology, G.-H.J. and H.-O.C.; software, G.-H.J.; validation, G.-H.J., H.-O.C. and M.-H.L.; formal analysis, G.-H.J. and H.-O.C.; investigation, G.-H.J.; resources, M.-H.L.; data curation, G.-H.J.; writing—original draft preparation, G.-H.J.; writing—review and editing, G.-H.J., H.-O.C. and M.-H.L.; visualization, G.-H.J.; supervision, M.-H.L.; project administration, M.-H.L.; funding acquisition, M.-H.L. All authors have read and agreed to the published version of the manuscript.
Funding
This paper was supported by Sunchon National University Glocal University Project Fund in 2025.
Data Availability Statement
Data supporting the findings of this study are not publicly available due to institutional policies and ongoing research activities. Access to processed data may be granted by the corresponding author upon reasonable request.
Acknowledgments
Artificial intelligence tools (ChatGPT 5.2) were used solely for grammar correction and language refinement during manuscript preparation. All scientific analyses, interpretations, and conclusions were conducted by the authors without the assistance of AI systems.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AI | artificial intelligence |
| CEA | controlled-environment agriculture |
| CO2 | carbon dioxide |
| DLI | daily light integral |
| EC | electrical conductivity |
| GRU | gated recurrent unit |
| GNN | graph neural network |
| HVAC | heating, ventilation, and air conditioning |
| IoT | Internet of Things |
| LSTM | long short-term memory |
| MAE | mean absolute error |
| MAPE | mean absolute percentage error |
| MDT | mean daily temperature |
| ML | machine learning |
| MPC | model predictive control |
| PPFD | photosynthetic photon flux density |
| RF | Random Forest |
| RMSE | root mean square error |
| RNN | recurrent neural network |
| SHAP | SHapley Additive exPlanations |
| TCN | temporal convolutional network |
References
- Food and Agriculture Organization of the UN (FAO); IFAD; UNICEF; WFP; WHO. The State of Food Security and Nutrition in the World 2023: Urbanization, Agrifood Systems Transformation and Healthy Diets Across the Rural–Urban Continuum; FAO: Rome, Italy, 2023. [Google Scholar] [CrossRef] [Scilit]
- CGIAR. What Do We Know About the Future of Agrifood Systems in South Asia? 2024. Available online: https://www.cgiar.org/news-events/news/what-do-we-know-about-the-future-of-agrifood-systems-in-south-asia/ (accessed on 21 January 2026).
- van Dijk, M.; Morley, T.; Rau, M.L.; Saghai, Y. A meta-analysis of projected global food demand and population at risk of hunger for the period 2010–2050. Nat. Food 2021, 2, 494–501. [Google Scholar] [CrossRef] [Scilit]
- Oh, S.; Lu, C. Vertical farming—Smart urban agriculture for enhancing resilience and sustainability in food security. J. Hortic. Sci. Biotechnol. 2022, 98, 1–8. [Google Scholar] [CrossRef] [Scilit]
- Benke, K.; Tomkins, B. Future food-production systems: Vertical farming and controlled-environment agriculture. Sustain. Sci. Pract. Policy 2017, 13, 13–26. [Google Scholar] [CrossRef] [Scilit]
- Aborujilah, A. Towards Sustainable Vertical Farming: A Systematic Review of Energy Return on Investment Efficiency and Optimization Strategies. Sustainability 2025, 17, 8142. [Google Scholar] [CrossRef] [Scilit]
- Pereira, J.; Gomes, M.G. Lighting strategies in vertical urban farming for enhancement of plant productivity and energy consumption. Appl. Energy 2025, 377, 124669. [Google Scholar] [CrossRef] [Scilit]
- Farmonaut. Vertical Farming: 95% Less Water, Lower Energy Use by 2025. 2024. Available online: https://farmonaut.com/blogs/vertical-farming-95-less-water-lower-energy-use-by-2025 (accessed on 21 January 2026).
- Ahamed, M.S.; Sultan, M.; Monfet, D.; Rahman, M.S.; Zhang, Y.; Zahid, A.; Bilal, M.; Ahsan, T.M.A.; Achour, Y. A critical review on efficient thermal environment controls in indoor vertical farming. J. Clean. Prod. 2023, 425, 138923. [Google Scholar] [CrossRef] [Scilit]
- Yuan, X.; Hu, J.; Marcelis, L.F.M.; Heuvelink, E.; Peng, J.; Yang, X.; Yang, Q. Advanced technologies in plant factories: Exploring current and future economic and environmental benefits in urban horticulture. Hortic. Res. 2025, 12, uhaf024. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shamshiri, R.R.; Kalantari, F.; Ting, K.C.; Thorp, K.R.; Hameed, I.A.; Weltzien, C.; Ahmad, D.; Shad, Z.M. Advances in greenhouse automation and controlled environment agriculture: A transition to plant factories and urban agriculture. Int. J. Agric. Biol. Eng. 2018, 11, 1–22. [Google Scholar] [CrossRef] [Scilit]
- Sowmya, C.; Anand, M.; Rani, C.I.; Amuthaselvi, G.; Janaki, P. Recent developments and inventive approaches in vertical farming. Front. Sustain. Food Syst. 2024, 8, 1400787. [Google Scholar] [CrossRef] [Scilit]
- Tarr, S.T.; Lopez, R.G. Influence of day and night temperature and carbon dioxide concentration on growth, yield, and quality of green butterhead and red oakleaf lettuce. PLoS ONE 2025, 20, e0313884. [Google Scholar] [CrossRef] [Scilit]
- Carotti, L.; Graamans, L.; Puksic, F.; Butturini, M.; Meinen, E.; Heuvelink, E.; Stanghellini, C. Plant Factories Are Heating Up: Hunting for the Best Combination of Light Intensity, Air Temperature and Root-Zone Temperature in Lettuce Production. Front. Plant Sci. 2021, 11, 592171. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, H.A.; Tong, Y.; Li, L.; Sahari, S.Q.; Almogahed, A.M.; Cheng, R. Integrative Effects of CO2 Concentration, Illumination Intensity and Air Speed on the Growth, Gas Exchange and Light Use Efficiency of Lettuce Plants Grown under Artificial Lighting. Horticulturae 2022, 8, 270. [Google Scholar] [CrossRef] [Scilit]
- Samarakoon, U.; Palmer, J.; Ling, P.; Altland, J. Effects of Electrical Conductivity, pH, and Foliar Application of Calcium Chloride on Yield and Tipburn of Lactuca sativa Grown Using the Nutrient–Film Technique. HortScience 2020, 55, 1265–1271. [Google Scholar] [CrossRef] [Scilit]
- Verdouw, C.; Tekinerdogan, B.; Beulens, A.; Wolfert, S. Digital twins in smart farming. Agric. Syst. 2021, 189, 103046. [Google Scholar] [CrossRef] [Scilit]
- Rathor, A.S.; Choudhury, S.; Sharma, A.; Nautiyal, P.; Shah, G. Empowering vertical farming through IoT- and AI-driven technologies: A comprehensive review. Heliyon 2024, 10, e34998. [Google Scholar] [CrossRef] [Scilit]
- Ayaz, M.; Ammad-Uddin, M.; Sharif, Z.; Mansour, A.; Aggoune, E.H.M. Internet-of-things (IoT)-based smart agriculture: Toward making the fields talk. IEEE Access 2019, 7, 129551–129583. [Google Scholar] [CrossRef] [Scilit]
- Ojo, M.O.; Zahid, A. Deep Learning in Controlled Environment Agriculture: A Review of Recent Advancements, Challenges and Prospects. Sensors 2022, 22, 7965. [Google Scholar] [CrossRef] [Scilit]
- Kamilaris, A.; Prenafeta-Boldú, F.X. Deep learning in agriculture: A survey. Comput. Electron. Agric. 2018, 147, 70–90. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In KDD’16: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; ACM Digital Library: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
- Zeng, A.; Chen, M.; Zhang, L.; Xu, Q. Are transformers effective for time series forecasting? AAAI Conf. Artif. Intell. 2023, 37, 11121–11128. [Google Scholar] [CrossRef] [Scilit]
- Xin, P.; Li, B.; Zhang, H.; Hu, J. Optimization and Control of the Light Environment for Greenhouse Crop Production. Sci. Rep. 2019, 9, 8650. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Apolo-Apolo, O.E.; Martínez-Guanter, J.; Egea, G.; Raja, P.; Pérez-Ruiz, M. Deep learning techniques for estimation of the yield and size of citrus fruits using a UAV. Eur. J. Agron. 2020, 115, 126030. [Google Scholar] [CrossRef] [Scilit]
- Benfenati, D.; Amalfitano, D.; Russo, C.; Tommasino, C.; Rinaldi, A.M. Data centric Artificial Intelligence for agrifood domain: A systematic mapping study. Comput. Electron. Agric. 2025, 239, 110847. [Google Scholar] [CrossRef] [Scilit]
- An, Y.; Minh, K.N.; Joo, H.-J.; Lee, K.-H.; Lee, W.-J.; Kim, M.-H.; Lee, H.-H.; Shin, S.Y.; Kang, S.-B. Development and Performance Evaluation of a Hybrid Louver Window System Using Natural Light and LED for Energy-Efficient Vertical Farming Building. Build. Environ. 2025, 279, 113020. [Google Scholar] [CrossRef] [Scilit]
- O’Shaughnessy, S.A.; Kim, M.; Lee, S.; Kim, Y.; Kim, H.; Shekailo, J. Towards Smart Farming Solutions in the U.S. and South Korea: A Comparison of the Current Status. Geogr. Sustain. 2021, 2, 312–327. [Google Scholar] [CrossRef] [Scilit]
- Jung, M.; Kim, J.; Kim, H.; Hong, T.; Jang, H. Market Growth Strategies for Sustainable Smart Farm: A Correlation and Causal Relationship Approach. Dev. Built Environ. 2023, 16, 100260. [Google Scholar] [CrossRef] [Scilit]
- Beacham, A.M.; Vickers, L.H.; Monaghan, J.M. Vertical farming: A summary of approaches to growing skywards. J. Hortic. Sci. Biotechnol. 2019, 94, 277–283. [Google Scholar] [CrossRef] [Scilit]
- Miserocchi, L.; Franco, A. Benchmarking energy efficiency in vertical farming: Status and prospects. Therm. Sci. Eng. Prog. 2025, 58, 103165. [Google Scholar] [CrossRef] [Scilit]
- Graamans, L.; Baeza, E.; van den Dobbelsteen, A.; Tsafaras, I.; Stanghellini, C. Plant factories versus greenhouses: Comparison of resource use efficiency. Agric. Syst. 2018, 160, 31–43. [Google Scholar] [CrossRef] [Scilit]
- Avgoustaki, D.D.; Xydis, G. How energy innovation in indoor vertical farming can improve food security, sustainability, and food safety. Adv. Food Secur. 2020, 5, 1–51. [Google Scholar] [CrossRef] [Scilit]
- Kozai, T. Resource use efficiency of closed plant production systems with artificial light: Concept, estimation and application to plant factory. Proc. Jpn. Acad. Ser. B Phys. Biol. Sci. 2013, 89, 447–461. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sulaiman, H.; Yusof, A.A.; Mohamed Nor, M.K. Automated hydroponic nutrient dosing systems: A scoping review of pH and electrical conductivity dosing frameworks. AgriEngineering 2025, 7, 43. [Google Scholar] [CrossRef] [Scilit]
- Harbinson, J.; Taylor, C.R. Food for thought: Perspectives on the current state of vertical farming. EMBO Rep. 2025, 26, 3982–3990. [Google Scholar] [CrossRef] [Scilit]
- Inoue, T.; Sunaga, M.; Ito, M.; Yuchen, Q.; Matsushima, Y.; Sakoda, K.; Yamori, W. Minimizing VPD Fluctuations Maintains Higher Stomatal Conductance and Photosynthesis, Resulting in Improvement of Plant Growth in Lettuce. Front. Plant Sci. 2021, 12, 646144. [Google Scholar] [CrossRef] [Scilit]
- Bian, Z.H.; Yang, Q.C.; Liu, W.K. Effects of light quality on the accumulation of phytochemicals in vegetables produced in controlled environments: A review. J. Sci. Food Agric. 2015, 95, 869–877. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jeong, S.J.; Niu, G.; Zhen, S. Far-red light and temperature interactively regulate plant growth and morphology of lettuce and basil. Environ. Exp. Bot. 2024, 218, 105589. [Google Scholar] [CrossRef] [Scilit]
- Dong, J.; Gruda, N.; Lam, S.K.; Li, X.; Duan, Z. Effects of elevated CO2 on nutritional quality of vegetables: A review. Front. Plant Sci. 2018, 9, 924. [Google Scholar] [CrossRef] [Scilit]
- Chen, D.; Mei, Y.; Liu, Q.; Wu, Y.; Yang, Z. Carbon dioxide enrichment promoted the growth, yield, and light-use efficiency of lettuce in a plant factory with artificial lighting. Agron. J. 2021, 113, 5196–5206. [Google Scholar] [CrossRef] [Scilit]
- Richardson, S.J.; Hardgrave, M. Effect of temperature, carbon dioxide enrichment, nitrogen form and rate of nitrogen fertiliser on the yield and nitrate content of two varieties of glasshouse lettuce. J. Sci. Food Agric. 1992, 59, 345–349. [Google Scholar] [CrossRef] [Scilit]
- Miao, C.; Yang, S.; Xu, J.; Wang, H.; Zhang, Y.; Cui, J.; Zhang, H.; Jin, H.; Lu, P.; He, L.; et al. Effects of light intensity on growth and quality of lettuce and spinach Cultivars in a plant factory. Plants 2023, 12, 3337. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, Y.; Liu, N.; Ji, F.; He, D. Optimal red:blue ratio of full-spectrum LEDs for hydroponic pakchoi cultivation in a plant factory. Int. J. Agric. Biol. Eng. 2022, 15, 72–77. [Google Scholar] [CrossRef] [Scilit]
- Neo, D.C.J.; Ong, M.M.X.; Lee, Y.Y.; Teo, E.J.; Ong, Q.; Tanoto, H.; Xu, J.; Ong, K.S.; Suresh, V. Shaping and tuning lighting conditions in controlled environment agriculture: A review. ACS Agric. Sci. Technol. 2022, 2, 3–16. [Google Scholar] [CrossRef] [Scilit]
- Gavhane, K.P.; Hasan, M.; Singh, D.K.; Kumar, S.N.; Sahoo, R.N.; Alam, W. Determination of optimal daily light integral (DLI) for indoor cultivation of iceberg lettuce in an indigenous vertical hydroponic system. Sci. Rep. 2023, 13, 10923. [Google Scholar] [CrossRef] [Scilit]
- Jin, W.; Lopez, D.F.; Heuvelink, E.; Marcelis, L.F.M. Light use efficiency of lettuce cultivation in vertical farms compared with greenhouse and field. Food Energy Secur. 2023, 12, e391. [Google Scholar] [CrossRef] [Scilit]
- Ciriello, M.; Formisano, L.; Rouphael, Y.; De Pascale, S.; Kacira, M. Effects of daily light integral and photoperiod with successive harvests on basil yield, morpho-physiological characteristics, and mineral composition in vertical farming. Sci. Hortic. 2023, 322, 112396. [Google Scholar] [CrossRef] [Scilit]
- Mayorga-Gomez, A.M.; van Iersel, M.W.; Ferrarezi, R.S. Lowering the target daily light integrals following days with excessive lighting can reduce lettuce production costs. Front. Plant Sci. 2024, 15, 1467443. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Trejo-Téllez, L.I.; Gómez-Merino, F.C. Nutrient solutions for hydroponic systems. In Hydroponics—A Standard Methodology for Plant Biological Researches; Asao, T., Ed.; InTechOpen: London, UK, 2012; pp. 1–22. [Google Scholar] [CrossRef] [Scilit]
- Tairov, I.; Stefanova, N.; Aleksandrova, A.; Aleksandrov, M. Review of AI-Driven Solutions in Business Value and Operational Efficiency. Econ. Ecol. Socium 2024, 8, 55–66. [Google Scholar] [CrossRef] [Scilit]
- Talavyria, M.; Furman, I.; Alexandrov, D.; Drabovskyi, A. Assessment of Agricultural Biomass Potential in Sustainable Biofuel Production. Econ. Ecol. Socium 2025, 9, 109–123. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Ahn, J.Y.; Kim, Y.; Park, H.; Park, S.H.; Suh, H.K. Evaluating Time-Series Prediction of Temperature, Relative Humidity, and CO2 in the Greenhouse with Transformer-Based and RNN-Based Models. Agronomy 2024, 14, 417. [Google Scholar] [CrossRef] [Scilit]
- Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A time series is worth 64 words: Long-term forecasting with transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar] [CrossRef] [Scilit]
- Wu, H.; Hu, T.; Liu, Y.; Zhou, H.; Wang, J.; Long, M. TimesNet: Temporal 2D-variation modeling for general time series analysis. arXiv 2022, arXiv:2210.02186. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Pan, S.; Chen, F.; Long, G.; Zhang, C.; Yu, P.S. A Comprehensive Survey on Graph Neural Networks. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 4–24. [Google Scholar] [CrossRef] [Scilit]
- Seri, E.; Petitta, M.; Papaioannou, C.; Katsoulas, N.; Cornaro, C. Sustainable greenhouse microclimate modeling: A comparative analysis of recurrent and Graph Neural Networks. Build. Environ. 2025, 284, 113473. [Google Scholar] [CrossRef] [Scilit]
- Xiong, Y.; Su, Y. Hybrid modeling approaches for accurate greenhouse climate prediction: Combining mechanistic models and LSTM neural networks. Ecol. Model. 2025, 503, 111059. [Google Scholar] [CrossRef] [Scilit]
- Fasciolo, B.; Grasso, N.; Bruno, G.; Chiabert, P. Hybrid machine learning and physics-based model for estimating lettuce (Lactuca sativa) growth and resource consumption in aeroponic systems. Sci. Rep. 2025, 15, 23063. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gong, L.; Yu, M.; Jiang, S.; Cutsuridis, V.; Pearson, S. Deep learning based prediction on greenhouse crop yield combined TCN and RNN. Sensors 2021, 21, 4537. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Wang, L.; Lin, Z.; Zheng, X. Temporal Convolution Domain Adaptation Learning for Crops Growth Prediction. arXiv 2022, arXiv:2202.12120. [Google Scholar] [CrossRef] [Scilit]
- Belgiu, M.; Drăguţ, L. Random forest in remote sensing: A review of applications and future directions. ISPRS J. Photogramm. Remote Sens. 2016, 114, 24–31. [Google Scholar] [CrossRef] [Scilit]
- Bai, S.; Kolter, J.Z.; Koltun, V. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv 2018, arXiv:1803.01271. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems 30; Curran Associates: Red Hook, NY, USA, 2017. [Google Scholar] [CrossRef] [Scilit]
- Reichstein, M.; Camps-Valls, G.; Stevens, B.; Jung, M.; Denzler, J.; Carvalhais, N.; Prabhat. Deep learning and process understanding for data-driven Earth system science. Nature 2019, 566, 195–204. [Google Scholar] [CrossRef] [Scilit]
- Jeong, J.H.; Resop, J.P.; Mueller, N.D.; Fleisher, D.H.; Yun, K.; Butler, E.E.; Timlin, D.J.; Shim, K.M.; Gerber, J.S.; Reddy, V.R.; et al. Random forests for global and regional crop yield predictions. PLoS ONE 2016, 11, e0156571. [Google Scholar] [CrossRef] [Scilit]
- Oshiro, T.M.; Perez, P.S.; Baranauskas, J.A. How many trees in a random forest? In Machine Learning and Data Mining in Pattern Recognition; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.; Yang, F.; Luo, Z. An experimental study of the intrinsic stability of random forest variable importance measures. BMC Bioinform. 2016, 17, 60. [Google Scholar] [CrossRef] [Scilit]
- Jabed, M.A.; Murad, M.A.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]
- Airlangga, G.; Bata, J.; Adi Nugroho, O.I.; Lim, B.H.P. Hybrid CNN-LSTM model with custom activation and loss functions for predicting fan actuator states in smart greenhouses. AgriEngineering 2025, 7, 118. [Google Scholar] [CrossRef] [Scilit]
- Ainsworth, E.A.; Long, S.P. What have we learned from 15 years of free-air CO2 enrichment (FACE)? A meta-analytic review of the responses of photosynthesis, canopy properties and plant production to rising CO2. New Phytol. 2005, 165, 351–372. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Poorter, H.; Niinemets, Ü.; Poorter, L.; Wright, I.J.; Villar, R. Causes and consequences of variation in leaf mass per area (LMA): A meta-analysis. New Phytol. 2009, 182, 565–588. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Poorter, H.; Knopf, O.; Wright, I.J.; Temme, A.A.; Hogewoning, S.W.; Graf, A.; Cernusak, L.A.; Pons, T.L. A meta-analysis of responses of C3 plants to atmospheric CO2: Dose–response curves for 85 traits ranging from the molecular to the whole-plant level. New Phytol. 2022, 233, 1560–1596. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wong, C.E.; Teo, Z.W.N.; Shen, L.; Yu, H. Seeing the lights for leafy greens in indoor vertical farming. Trends Food Sci. Technol. 2020, 106, 48–63. [Google Scholar] [CrossRef] [Scilit]
- Pylianidis, C.; Osinga, S.; Athanasiadis, I.N. Introducing digital twins to agriculture. Comput. Electron. Agric. 2021, 184, 105942. [Google Scholar] [CrossRef] [Scilit]
- Nasirahmadi, A.; Hensel, O. Toward the Next Generation of Digitalization in Agriculture Based on Digital Twin Paradigm. Sensors 2022, 22, 498. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










