Grower-in-the-loop interactive reinforcement learning for greenhouse climate control

Maxiu Xiao, Jianglin Lan, Jingxin Yu, Weihong Ma, Qiuju Xie, Congcong SunComput. Electron. Agric 2025

Introduction

Greenhouse climate control is a complex optimization problem that requires balancing maximum crop yield against the costs of energy and resources like $CO_2$. While Reinforcement Learning (RL) offers a path toward automation, it often struggles with "cold start" issues and low training efficiency. Crucially, standard RL often ignores the decades of expertise held by human growers. This research introduces a "Grower-in-the-Loop" framework that integrates human wisdom into the RL training process, even when that advice is "imperfect"—biased, delayed, or only occasionally available.

The Greenhouse Environment

The study utilizes a high-fidelity simulation based on the Van Henten system dynamic model for lettuce growth. The agent must manage indoor conditions while accounting for volatile outdoor weather factors and solar radiation.

The greenhouse climate and lettuce growth system model, illustrating the interaction between outdoor conditions, control inputs, and crop output.

Interactive Reinforcement Learning Framework

The researchers employed Proximal Policy Optimization (PPO) as the baseline algorithm and extended it with three Interactive RL (IRL) mechanisms to leverage human guidance:

  1. Policy Shaping: Blending the agent's action probability distribution with the grower's advice.
  2. Control Sharing: Allowing the grower's suggested action to occasionally override the agent's choice during exploration.
  3. Reward Shaping: Augmenting the environment's profit-based reward with human-provided bonuses or penalties.

To handle the reality that human experts cannot be available 24/7, the authors implemented Auxiliary Neural Networks to mimic grower logic and a Selective Strategy to query the human only during states of high uncertainty or discrepancy.

State and Action Spaces

The RL agent operates on a 15-minute discretized schedule, observing both indoor and outdoor variables to adjust setpoints for temperature, ventilation, and $CO_2$.

The state and action spaces defined for the RL agent, including specific discrete steps for climate control setpoints.

Key Insights and Results

The study yielded several critical findings regarding the integration of human expertise:

  • Action Selection vs. Reward Manipulation: Influencing how the agent chooses (Policy Shaping and Control Sharing) proved far more robust than telling the agent how well it performed (Reward Shaping). Policy shaping achieved an 8.4% improvement in profit over vanilla RL.
  • The Risk of Reward Shaping: Reward shaping led to a 9.4% decrease in profit. When grower feedback is slightly misaligned with the ultimate profit goal, the agent may prioritize human approval over actual performance.
  • Resource Efficiency: The IRL agents achieved their gains primarily by optimizing resource use, reducing energy and $CO_2$ consumption by approximately 10% while maintaining crop weight.
  • GAE as a Buffer: The use of Generalized Advantage Estimation (GAE) in PPO helped the agent learn faster when following human advice, as the "critic" component would underestimate state values, encouraging better exploration.

Limitations and Future Directions

While promising, the study was conducted in a simulated environment with discrete action spaces. Future work should explore continuous control spaces and the use of Inverse Reinforcement Learning to better decode the underlying intentions of human growers rather than simply mimicking their surface-level actions. Additionally, testing the framework with real humans in the loop remains a vital next step for practical deployment.

Summary updated

BibTeX
@inproceedings{xiao2025grower,
  author = {Maxiu Xiao and Jianglin Lan and Jingxin Yu and Weihong Ma and Qiuju Xie and Congcong Sun},
  title = {{Grower-in-the-loop interactive reinforcement learning for greenhouse climate control}},
  booktitle = {Comput. Electron. Agric},
  year = {2025},
}
Figure