IGrow: A Smart Agriculture Solution to Autonomous Greenhouse Control

Xiaoyan Cao, Yao Yao, Lanqing Li, Wanpeng Zhang, Zhicheng An, Zhong Zhang, Shihui Guo, Li Xiao, Xiaoyu Cao, Dijun Luo

TL;DR

This paper introduces iGrow, a novel AI-powered system for autonomous greenhouse control. It tackles the challenge of optimizing crop yield and resource efficiency by formulating the problem as a Markov Decision Process (MDP) and developing a sophisticated neural network-based simulator. Real-world trials show iGrow significantly outperforms human experts, boosting crop yield and net profit.

What Problem Does This Paper Address?

The global population is growing, increasing the demand for food. Modern autonomous greenhouses offer a promising solution by enabling precise control over growing conditions for high-efficiency food production. However, optimizing these complex systems is a significant challenge. It requires making decisions based on vast amounts of sensory data, and the scarcity of skilled labor limits the scalability of current operations. Traditional methods often rely on expert knowledge, which can be insufficient when dealing with high-dimensional, multimodal data streams. This paper aims to bridge this gap by developing an AI-driven system that can autonomously learn and optimize greenhouse control strategies.

Methods

The core of iGrow is a bi-level optimization framework.

  • MDP Formulation: The autonomous greenhouse planting process (AGPP) is framed as a Markov Decision Process (MDP). This allows for a principled approach to sequential decision-making under uncertainty, aiming to maximize cumulative rewards (crop yield minus costs).
  • Incremental NN-based Simulator: A key innovation is a three-stage neural network (NN) simulator designed to mimic the entire planting process. This simulator is composed of modules for greenhouse climate, crop growth, and yield prediction. Crucially, it incorporates an incremental learning mechanism. This means the simulator is continuously updated with new real-world data, allowing it to adapt and improve its accuracy over time, thus mitigating the simulation-to-reality gap.
  • Bi-level Optimization Algorithm: The system employs a closed-loop bi-level optimization algorithm. The lower level focuses on calibrating the simulator using incoming real-time data. The upper level then uses this updated simulator to re-optimize the control strategy. This asynchronous approach allows for dynamic adjustments to the control strategy as new data becomes available, ensuring robust and adaptive decision-making.
  • Decision-Making Algorithms: For the optimization of control strategies on the simulator, the paper explores two classical AI algorithms: the Elitist Genetic Algorithm (EGA) and the Soft Actor-Critic (SAC) algorithm.

Datasets

  • Dr (Real Tomato Datasets): Trajectories from six independent greenhouses participating in the 2nd Autonomous Greenhouse Challenge.
  • Dw (Virtual Tomato Datasets): Thousands of virtual trajectories generated by a state-of-the-art rule-based simulator (WUR simulator).

These datasets were used for training and evaluating the NN-based simulator and the control strategies.

Key Insights and Ideas

  • Framing AGC as an MDP is a powerful approach: This provides a formal framework for optimizing long-term objectives in a complex, dynamic environment.
  • The incremental simulator is crucial for bridging the simulation-to-reality gap: By continuously learning from real-world data, the simulator becomes a more accurate "digital twin," leading to more effective control strategies.
  • Bi-level optimization enables continuous adaptation: Separating simulator calibration and strategy optimization allows for flexible and asynchronous updates, mimicking a form of lifelong learning.
  • AI-driven strategies can outperform human experts: The fine-grained control offered by optimization algorithms can lead to better balancing of yield and cost, resulting in significantly improved economic outcomes.

Key Results

  • Simulator Performance: The NN-based simulator achieved accuracy comparable to a SOTA rule-based simulator (WUR simulator) on virtual trajectories. On real trajectories, the incremental simulator showed better adaptation.
  • Decision-Making Performance (Simulation): Both EGA and SAC algorithms optimized control strategies that significantly improved net profit compared to human experts (Automatoes), with EGA showing a 285.82% improvement.
  • Real-World Deployment (Tomato Pilot Project):
    • Crop Yield: Increased by 10.15% compared to expert growers.
  • Net Profit: Increased by 92.70% compared to expert growers.
  • These improvements were statistically significant.
  • The experimental group also produced fruits of higher quality (e.g., sweetness and weight).

Limitations and Future Work

  • Simulator Accuracy: While comparable to existing methods, the incremental simulator's performance on real data can be slightly inferior to its performance on purely virtual data if the real data distribution deviates significantly. The authors note that as more real data becomes available, incremental simulators are expected to overtake rule-based ones.
  • SAC vs. EGA: The paper notes that SAC's focus on short-range optimization might be a limitation for long-term planting periods, whereas EGA's direct optimization of the full strategy proved more effective for balancing yield and cost in this context.
  • Future Work: The paper suggests that the bi-level optimization paradigm, which involves building an accurate digital twin and then iterating optimization algorithms, can be applied to other real-world applications beyond greenhouse control. The authors also provide their code for broader use.

Summary updated

Abstract

Agriculture is the foundation of human civilization. However, the rapid increase of the global population poses a challenge on this cornerstone by demanding more food. Modern autonomous greenhouses, equipped with sensors and actuators, provide a promising solution to the problem by empowering precise control for high-efficient food production. However, the optimal control of autonomous greenhouses is challenging, requiring decision-making based on high-dimensional sensory data, and the scaling of production is limited by the scarcity of labor capable of handling this task. With the advances of artificial intelligence (AI), the internet of things (IoT), and cloud computing technologies, we are hopeful to provide a solution to automate and smarten greenhouse control to address the above challenges. In this paper, we propose a smart agriculture solution named iGrow, for autonomous greenhouse control (AGC): (1) for the first time, we formulate the AGC problem as a Markov decision process (MDP) optimization problem; (2) we design a neural network-based simulator incorporated with the incremental mechanism to simulate the complete planting process of an autonomous greenhouse, which provides a testbed for the optimization of control strategies; (3) we propose a closed-loop bi-level optimization algorithm, which can dynamically re-optimize the greenhouse control strategy with newly observed data during real-world production. We not only conduct simulation experiments but also deploy iGrow in real scenarios, and experimental results demonstrate the effectiveness and superiority of iGrow in autonomous greenhouse simulation and optimal control. Particularly, compelling results from the tomato pilot project in real autonomous greenhouses show that our solution significantly increases crop yield (+10.15\%) and net profit (+92.70\%) with statistical significance compared to planting experts.
BibTeX
@inproceedings{cao2022igrow,
  author = {Xiaoyan Cao and Yao Yao and Lanqing Li and Wanpeng Zhang and Zhicheng An and Zhong Zhang and Shihui Guo and Li Xiao and Xiaoyu Cao and Dijun Luo},
  title = {{IGrow: A Smart Agriculture Solution to Autonomous Greenhouse Control}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21440},
}
Figure