Abstract
Due to high efficiency and reduced weather dependency, autonomous greenhouses provide an ideal solution to meet the increasing global demand for fresh food. However, greenhouse managers face significant challenges in balancing complex environmental variables over long growing cycles. This paper presents a robust model-based reinforcement learning (RL) framework that addresses the hurdles of sample efficiency and safety in agricultural automation. By utilizing an ensemble of environment simulators and a novel "sample dropout" module that prioritizes worst-case scenarios, the proposed system achieves superior crop yields and resource efficiency compared to standard RL algorithms and expert human managers.
Introduction
Autonomous greenhouses are critical for future food security, yet they present a formidable control challenge. Managers must optimize dozens of variables—including temperature, $CO_2$ levels, irrigation, and lighting—across a 3-to-5-month growing cycle. This results in an astronomical decision space where mistakes can be fatal for the crop.
While Reinforcement Learning (RL) is theoretically suited for such optimal control problems, it faces two primary obstacles in agriculture:
- Sample Efficiency: Real-world agricultural cycles are slow, making traditional trial-and-error RL impractical.
- Safety and Robustness: Policies optimized for average conditions often fail during extreme weather events or sensor malfunctions. Standard RL agents typically maximize expected returns, which can overlook the "long tail" of high-risk, low-probability events.
Methods
The researchers developed a Robust Model-based RL framework utilizing a "Dyna-style" architecture. This approach allows the agent to learn primarily from a self-constructed "world model" rather than relying solely on slow real-world interactions.
Model Ensemble and Uncertainty
Instead of a single simulator, the system employs an ensemble of probabilistic neural networks. This ensemble captures "epistemic uncertainty," allowing the agent to identify areas where its models disagree and thus where its knowledge is limited. This prevents the agent from exploiting flaws in a single simulator that would not translate to the real world.
Sample Dropout Module
The core innovation is the Sample Dropout Module, inspired by Conditional Value at Risk (CVaR). During training, this module selectively discards a portion of samples with the highest rewards. By "dropping out" easy successes, the algorithm is forced to optimize for the most challenging, "worst-case" scenarios. This creates a pessimistic, risk-averse policy designed to survive extreme conditions.
Experimental Setup
The framework was evaluated using data from a real-world tomato greenhouse. The Observation Space consisted of 22 variables (e.g., humidity, $CO_2$, leaf area index) processed into a 275-dimensional state, while the Action Space included 6 control variables resulting in a 52-dimensional action space.
To overcome the "cold start" problem, environment models were pre-trained using historical data and expert agricultural knowledge. Final evaluations were conducted using a high-fidelity, commercial tomato growth simulator independent of the training models to ensure objective results.
Key Results and Discussion
The proposed method demonstrated significant improvements in both profitability and resilience:
- Profitability: In a 120-day test measuring net profit (yield gains minus resource costs), the robust model-based approach outperformed both model-free Soft Actor-Critic (SAC) baselines and skilled human managers.
- Robustness in Extremes: During "Exception Tests" simulating extreme temperature and humidity fluctuations, the Sample Dropout module proved vital. The dropout-enabled agent maintained a 72.62% crop retention rate, significantly higher than the 63.14% achieved by the standard agent.
- Optimization: Sensitivity analysis revealed that a dropout rate of $p=0.8$ (retaining the bottom 80% of reward samples) provided the optimal balance between learning efficiency and operational robustness.
Conclusion and Future Work
This research demonstrates that pessimism can be a valuable feature in high-stakes RL applications. By intentionally training on difficult scenarios, agents can achieve the stability required for real-world agricultural deployment. Future work will explore Meta-RL to facilitate knowledge transfer between different crop species and Offline RL to better leverage historical data from traditional farms where active exploration is restricted.
Summary updated