A Simulator-based Planning Framework for Optimizing Autonomous Greenhouse Control Strategy

Zhicheng An, Xiaoyan Cao, Yao Yao, Wanpeng Zhang, Lanqing Li, Yue Wang, Shihui Guo, Dijun Luo

Abstract

Optimizing greenhouse environments for crop production involves a complex trade-off between maximizing yield and minimizing resource costs. Traditional methods rely on expert-defined rules that often fail to capture fine-grained optimization opportunities. This paper introduces a two-stage AI framework that utilizes a multi-modular neural network simulator to model greenhouse dynamics and crop growth. By applying reinforcement learning (Soft Actor-Critic) and genetic algorithms (Elitist Genetic Algorithm) to this simulator, we demonstrate a "superhuman" control strategy that significantly outperforms human experts and previous state-of-the-art methods in net profit for cherry tomato production.

Introduction

High-tech greenhouse management is a high-dimensional control problem. Growers must regulate temperature, CO2, lighting, and irrigation over a 160-day cycle. The astronomical number of possible control combinations makes manual optimization difficult, often resulting in coarse-grained adjustments. Furthermore, existing simulators based on rigid physical and biological rules are often too slow or inflexible for modern AI training. This work addresses these challenges by proposing a data-driven, two-stage planning framework.

Proposed Framework

The framework decouples the control problem into two distinct phases: simulation and planning.

Stage 1: Multi-Modular Simulator

Rather than a single monolithic model, the simulator consists of a three-layer cascade of neural networks:

  1. Greenhouse Climate Module: Predicts internal temperature, humidity, and CO2 levels based on external weather and control inputs.
  2. Growth State Module: Models crop status, such as the Leaf Area Index (LAI), based on the predicted indoor climate.
  3. Production Module: Predicts final fruit weight and maturation on a daily basis.

Stage 2: Planning Algorithms

The differentiable and fast simulator allows for the application of advanced optimization algorithms:

  • Soft Actor-Critic (SAC): A reinforcement learning approach that balances exploration and exploitation in continuous control spaces.
  • Elitist Genetic Algorithm (EGA): A heuristic search method that evolves a population of control strategies to maximize global profitability.
The two-stage framework for autonomous greenhouse control, integrating data-driven simulation with AI-based planning.

Experimental Evaluation

The framework was trained using a comprehensive dataset from Wageningen University & Research (WUR), comprising over 1,000 planting trajectories of cherry tomatoes. Each trajectory includes hourly data for weather, climate, crop states, and economic metrics.

Simulator Fidelity

The multi-modular approach proved essential for generalization. The 1000-trajectory simulator achieved high goodness-of-fit ($R^2$) scores, specifically 0.961 for indoor temperature and 0.966 for CO2 levels. As shown in the validation plots, the simulator closely tracks the ground truth WUR data across various growth and climate metrics.

Validation of the 1000-trajectory simulator against WUR ground truth data across climate and crop growth variables.

Key Results and Insights

  • Economic Superiority: Both SAC and EGA outperformed human expert baselines and the winning strategies from the second Autonomous Greenhouse Challenge. The AI's ability to adjust controls hourly allowed it to respond to subtle environmental shifts that humans typically ignore.
  • Resource Efficiency: The AI strategies were significantly more efficient in managing costs. SAC, for instance, reduced heating costs to 5.526 (compared to 8.018 for humans) and electricity costs to 4.100 (compared to 19.524 for humans) while maintaining high yields.
  • Algorithm Comparison: Interestingly, the Genetic Algorithm (EGA) slightly outperformed SAC in this deterministic environment. This suggests that EGA's global perspective over the entire growth cycle may avoid the local optima that reinforcement learning agents sometimes encounter when focusing on immediate rewards.

Conclusion

This two-stage framework demonstrates the potential for data-driven AI to surpass human expertise in precision agriculture. By combining high-fidelity simulation with robust planning algorithms, the system achieves superior economic performance and resource management. Future work will focus on closing the "sim-to-real" gap and extending the framework to other crop varieties such as peppers and cucumbers.

Summary updated

BibTeX
@inproceedings{an2021simulator,
  author = {Zhicheng An and Xiaoyan Cao and Yao Yao and Wanpeng Zhang and Lanqing Li and Yue Wang and Shihui Guo and Dijun Luo},
  title = {{A Simulator-based Planning Framework for Optimizing Autonomous Greenhouse Control Strategy}},
  booktitle = {ICAPS},
  year = {2021},
}
Figure