Scaling Deep Reinforcement Learning for Farm Decision-Making in Agent-Based Model AgriPoliS [13:50 - 14:15]
Authors: Changxing Dong, Ruth Njiru, Franziska Appel, Alfons Balmann
AgriPoliS (www.agripolis.org/agripolis) is an agent-based model simulating the development of agricultural regions under various constraints, in which farm agents make decisions related to production, investment, and land market activities. Mixed-integer programming (MIP) optimizes each farm's decisions annually but is inherently myopic, ignoring longer-term strategic outcomes.
In prior work (10.22434/ifamr.1126), we integrated AgriPoliS with Deep Reinforcement Learning (DRL), demonstrating that farm agents can learn strategic decision-making within an artificial model region. However, results remain limited to a small neighborhood.
This work scales DRL to a realistic, policy-relevant agricultural region with a generalized decision model applicable across all farm types. A core challenge is that farm agents interact continuously through shared markets, making the learning environment non-stationary and precluding naive parallelization. Furthermore, direct training on the full region is infeasible. We therefore propose a two-step approach: training on sub-regions, followed by model generalization. Sub-regions are sampled according to the observed farm-type distribution, and DRL sub-models are trained independently on the HPC clusters before being consolidated into a single generalized neural network. To further improve computational efficiency, we apply process pools and dynamic job allocation, substantially reducing wasted core allocation time and improving node and core usage.
The trained model is deployed in standard AgriPoliS simulations, replacing the MIP optimizer for all farm agents. We analyze policy generalizability, emergent agent behavior, and long-run regional structural development under different policy scenarios. Preliminary results confirm clear learning behavior, providing a strong foundation for full-scale generalization and policy-relevant analysis.