Data-Driven Greenhouse Climate Regulation in Lettuce Cultivation Using BiLSTM and GRU Predictive Control
Soumo Emmanuel Arnaud, Marcello Calisti, Athanasios Polydoros
TL;DR
This work addresses the energy-intensive challenge of lettuce greenhouse climate control by introducing a data-driven predictive control framework that embeds LSTM and GRU predictors inside a Model Predictive Control loop. Training data are generated from a validated greenhouse model and validated via $10$-fold cross-validation, demonstrating superior humidity regulation and proximity to optimal economics, with day–night temperature deviations kept under $2^ vert$C and humidity violations reduced from $54.77\%$ (MPC) to the $15$–$24\%$ range for GRU/LSTM. The GRU-based controller offers up to $40\%$ faster computation than LSTM while achieving higher predictive accuracy, making real-time deployment feasible on embedded hardware. Collectively, the results position GRU-based predictive control as a practical, scalable alternative to classical MPC for energy-efficient, high-yield greenhouse automation in commercial protected agriculture.
Abstract
Efficient greenhouse management is essential for sustainable food production, but the high energy demand for climate regulation poses significant economic and environmental challenges. While traditional process-based greenhouse models exist, they are often too complex or imprecise for reliable control. To address this, our study introduces a novel data-driven predictive control framework using Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) neural networks within a Model Predictive Control (MPC) architecture. Training data were generated from a validated dynamic model simulating lettuce cultivation under various environmental conditions. The LSTM and GRU networks were trained to predict future greenhouse states -- including temperature, humidity, CO\textsubscript{2} concentration, and crop dry matter -- with robustness confirmed via $10$-fold cross-validation. These networks were embedded into an online MPC controller to optimize heating, ventilation, and CO\textsubscript{2} injection, aiming to minimize energy consumption and maximize crop yield while respecting biological constraints. Results showed that both the LSTM- and GRU-based controllers significantly outperformed a conventional MPC baseline. For example, humidity violations dropped from 54.77\% (MPC) to 15.45\% (GRU) and 17.71\% (LSTM), while day-night temperature deviations were kept below $2^\circ\text{C}$. The GRU controller further achieved up to 40\% lower computation time than its LSTM counterpart, confirming its real-time feasibility. Overall, the proposed GRU-driven predictive control approach offers a robust and computationally efficient solution for intelligent greenhouse climate automation under practical operational constraints.
