WorksComputer Science
AgriManager: A Framework and Benchmark for LLM-RL Generalization in Agricultural Management
Abstract
Agricultural management is heterogeneous along two axes. The first is distributional shift within a fixed task interface: weather, crops, and prices vary across years and locations while sensors, actions, and objective stay fixed. The second is structural shift across interfaces: different farms expose different observed variables, available actions, and management objectives. We formalize the second axis as schema shift: variation in the policy-facing schema between training and deployment. We test whether LLM-RL generalizes across both axes with AgriManager, to our knowledge the first framework that trains LLM policies with RL across multiple process-based crop simulators, unifying DSSAT, WOFOST, and Cycles. We design a three-tier generalization ladder: Tier 1 within-schema distributional shift, Tier 2 single-axis schema shift along , Tier 3 compositional schema shift across simulators, all scored on a frozen held-out test suite with three training seeds per method. Within fixed schemas, Qwen3-4B trained by RL with explicit reasoning exceeds neural-network PPO trained with the same interaction budget; without reasoning, training stalls near no-action where the reward penalizes input use. Under single-axis schema shift, transfer needs decision-critical state, results are consistent with joint action-menu coverage, and with reasoning a policy trained on yield alone transfers to unseen objectives. Under compositional schema shift, single-source training mostly hurts zero-shot transfer across simulators, and a unified policy trained only on other combinations of the same components recovers about 86% of the gain of a specialist trained on the target combination on DSSAT and stays below the specialists on the WOFOST and Cycles profit targets. Project page: https://agrimanager-framework.github.io
Project page: https://agrimanager-framework.github.io/
Introduction
Crop management decisions are made each growing season and affect both farm productivity and environmental outcomes. Work on these decisions has long drawn on process-based crop simulation and rule- or optimization-based scheduling [16]. Recent machine-learning work in agriculture has concentrated more on crop sensing and yield prediction than on the management decisions themselves [18, 37]. Reinforcement learning targets the decision directly, casting management as sequential control under uncertainty. New agricultural RL environments make this formulation executable across crop simulators [24, 11, 35, 31]. The open question is whether such policies generalize across the heterogeneity inherent to crop management.
The heterogeneity an agricultural RL policy faces decomposes into two qualitatively different axes. The first is distributional shift within a fixed interface: weather, soil, crop variety, or prices change while the observed variables, available actions, and management objective stay the same. This is the standard setting in the RL generalization literature, studied through contextual MDPs [14], procedural-generation benchmarks [5], and domain randomization [34], and surveyed [21] (Zhao et al. 2020). The second is structural shift across interfaces: different farms expose different observed variables, support different management actions, or optimize different objectives, so the policy-facing interface itself changes. Prior work has studied parts of this second axis: transfer across observation feature spaces [32] or heterogeneous action spaces [29], differences in MDP components surveyed for transfer RL [Zhu et al., 2023], and, for LLM agents, changes in observation spaces, action interfaces and tool schemas [22] (Xi et al. 2026; Wu et al. 2026). Joint changes across observations, actions and objectives, evaluated together in one benchmark, remain less studied. We name this broader structural axis schema shift, orthogonal to the distributional axis above. In agricultural RL specifically, to our knowledge neither axis has been systematically evaluated.
Current agricultural RL benchmarks, however, treat the policy-facing interface as a fixed property of the simulator: each environment binds one observation set, one action menu, and one reward formulation to one underlying simulator [11, 31, 35, 24]. The schema is therefore not a benchmark variable, and structural generalization across observed variables, action menus, or reward formulations falls outside what current setups can measure. Prompt-conditioned LLM policies [33, 1] (Yao et al. 2023) now offer a different policy class: they ingest the schema directly from text at inference time, so a single trained policy can in principle operate across schemas that would otherwise each require their own neural architecture or adapter. Yet no agricultural benchmark currently supports such policies: the closest related work uses a language model only as a text encoder for a downstream DQN [Wu et al., 2024a], and broader LLM–RL integrations remain at the survey level [4]. The infrastructure to test this policy class is therefore missing.
We introduce AgriManager, a framework and benchmark that make the policy-facing schema an explicit, variable axis of agricultural RL (§ 2 and § 3). Table 1 contrasts it with representative prior work, none of which jointly covers the agricultural domain, multi-simulator integration, schema shift, and joint multi-objective, multi-environment LLM-RL training; Appendix § 14 gives the per-thread discussion.
| NN-RL training | prompt-LLM-RL | multi-simulator | schema shift | multi-obj + multi-env | |
| gym-DSSAT [11] | ✓ | − | − | − | − |
| WOFOSTGym [31] | ✓ | − | − | − | − |
| CyclesGym [35] | ✓ | − | − | − | − |
| CropGym [24] | ✓ | − | − | − | − |
| Wu et al. [2024a] () | ✓ | − | − | − | − |
| ProcGen [5] | ✓ | − | − | − | − |
| Sun et al. [2022] | ✓ | − | − | only | − |
| AgentBoard [23] | − | eval. | − | − | − |
| WebArena [Zhou et al., 2024] | − | eval. | − | − | − |
| AgriManager (ours) | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 1. Comparison of AgriManager against representative prior work along five axes: (1) training NN policies with RL on the environment (PPO, DQN, etc.); (2) training a prompt-conditioned LLM policy with RL; (3) integration of multiple simulator backends; (4) explicit study of schema-shift generalization; (5) joint multi-objective and multi-environment training. eval.: prompted LLM agents are evaluated, without RL training. The row marked () is a method paper, included to position our LLM-RL contribution against the most directly related prior agricultural-RL method.
Contributions. We (1) introduce the AgriManager framework, which unifies three crop simulators (DSSAT, WOFOST, and Cycles) under one prompt-based schema interface and trains one prompt-conditioned policy jointly across simulators and objectives, with fixed-interface neural baselines (§ 2); (2) construct a three-tier benchmark of eight settings spanning within-schema distributional shift, schema shift targeted at one axis, and compositional schema shift across simulators, scored on a frozen held-out test suite against no-action and a scripted agronomic reference and released with its manifests, seeds, and evaluation scripts (§ 3); and (3) find that, with explicit reasoning, LLM-RL on a Qwen backbone exceeds neural-network PPO trained with the same interaction budget under distributional shift, shows an axis-specific profile under schema shift, and yields a unified policy that, trained only on other component combinations, recovers about 86% of a target-trained specialist’s gain on DSSAT and stays below the specialists on the WOFOST and Cycles profit targets, while single-source training mostly hurts zero-shot cross-simulator transfer (§ 4.1–§ 4.3).
The AgriManager framework
We introduce AgriManager, to our knowledge the first framework that trains LLM policies with RL across multiple process-based crop simulators. The framework unifies the DSSAT, WOFOST, and Cycles simulators under a schema-aware text interface, declares the policy-facing schema to the policy through a structured prompt template (Appendix C), and supports multi-turn rollout with joint multi-objective, multi-environment training (Section 2.3). The crop simulators are accessed through their gym wrappers (gym-DSSAT [11], WOFOSTGym [31], CyclesGym [35]), and we name each environment after its simulator: DSSAT, WOFOST, and Cycles. Figure 1 shows the architecture; adapters for additional simulators follow a documented contract (Appendix A).

Figure 1. The AgriManager framework architecture. The “Agri-Gyms” layer wraps the three crop simulators; the environment adapters and Unified Env Interface translate the numerical state-action representation into the text consumed by the LLM decision model; rollouts () drive policy updates.
Decision process and schema shift
We frame an agricultural management task as a finite-horizon Partially Observable Markov Decision Process (POMDP) [17] , with transition kernel , observation kernel , reward , and horizon (a crop season or a multi-year rotation).
The policy-facing interface of is described by a schema that specifies what the policy observes, what actions it may take, and what objective it is optimizing. The observation schema is the finite list of labeled observed variables; both the number of variables and the labels themselves are part of the schema. The action schema is the menu of available management actions and their argument spaces. The reward schema specifies the form of the objective function. The remaining POMDP components and the scalar parameters that calibrate the objective, such as prices, enter as episode context ; is held fixed within an episode and may vary across episodes.
This separation induces two kinds of shift between training and test. A distributional shift keeps the schema fixed while changes (); a schema shift changes the policy-facing interface (). Observation-schema, action-menu, and reward-formulation shifts correspond to changes in , , and respectively. Either kind can occur without the other; a change of , as in sim-to-real transfer, counts here as distributional shift.
A fixed-interface neural policy, such as our PPO baseline, cannot run when a schema change alters its numerical input layout or action encoding, since its input layer and action head are sized to the training schema, and it has no objective conditioning, so a change leaves it optimizing the training reward. A neural policy over a shared, masked action vocabulary covers menus drawn from it (Appendix § 11.6). A prompt-conditioned LLM policy re-reads from the prompt of each new episode, so it can run under a change on any of the three schema axes.
Tasks
The framework includes two task families, both multi-turn instances of the formalism of § 2.1.
Crop-growth tasks: Every few simulated days, the agent decides whether to fertilize or irrigate; the simulator advances soil and crop state until the next decision. The default objective is profit over a single growing season.
Crop-planning tasks: At the start of each year, the agent picks the year’s crop and planting week; the simulator runs the full annual cycle, including off-season soil dynamics. The objective is to maximize gross revenue over a multi-year rotation.
Each simulator has a distinct role (Appendix § 7.§ 1). WOFOST, with over twenty crop trait files, six native action menus, and four objectives, hosts all three single-axis schema settings. DSSAT supplies independent crop–soil dynamics and is a source and target of cross-simulator transfer. Cycles supplies the only long-horizon task, the 19-year corn–soybean rotation of price-regime.
Multi-turn training pipeline
An episode is a multi-turn rollout. At step , the policy receives the user prompt and emits a structured response containing the action ; we evaluate two variants, think and no-think, detailed in Appendix § 9.§ 2. The action is sent to the environment, which returns the next observation and a scalar reward; the user prompt for step is reassembled around the new observation. The trajectory has return .
Because the schema is declared at every step, a single LLM policy can be trained jointly across multiple objectives and multiple environments. Each training instance is a triple specifying the prompt-declared schema, the simulator dynamics, and the matching reward function; the <management objective> block of is paired with the environment-side reward . Drawing from a training distribution, we train to maximize
The Tier 3 unified policy (§ 4.3) instantiates this joint training.
Policy updates run on VeRL [28], with hyperparameters in Appendix § 10.
The AgriManager benchmark
The AgriManager benchmark decomposes the question of § 1, whether prompt-conditioned LLM-RL generalizes across distributional and structural shift, into a three-tier generalization ladder of eight settings with a shared evaluation protocol.
Three-tier generalization ladder and settings
Table 2 lists the eight settings. Tier 1 holds fixed and varies . Tier 2 targets one of , , or by editing one block of the prompt template (Appendix § 9); on the action axis, each menu also brings its own production wrapper (Appendix § 8.§ 3). On identical scenarios, withholding the four resource-state fields takes the observation schema from 15 fields to 11, and a nitrogen-only menu takes the action menu from 17 actions to 5; the fixed-interface baseline cannot run on either. Tier 3 changes multiple components of together (compositional schema shift), and its cross-simulator cases also shift , a co-occurring factor (Appendix § 8.§ 4).
Table 2: The eight settings at a glance. Varies names the schema or context component that changes between train and test (§ 2.1). Scenarios: training configurations training rows per configuration / held-out test rows (Appendix § 8).
| Setting | Varies | Train | Test | Objective | Scenarios |
| Tier 1: within-schema distributional shift | |||||
| weather-regime | weather | normal weather | drought, wet, hot, cold | profit | / 1,280 |
| crop-variety | crop variety | 4 / 8 / 16 seen crops | 4 held-out crops | profit | / 1,024 |
| price-regime | prices | non-dominant band | high-corn, high-soy | gross revenue | 1,600 / 384 |
| Tier 2: single-axis schema shift | |||||
| observation-schema | observation | full schema | subset, rename, superset, anonymized | profit | 1,600 / 1,024 |
| action-menu | action | A: lnpkw, lnpk; B: lnpk, lw | A: lnw, ln, lw (+ seen lnpkw); B: lnpkw, lnw, ln (+ seen lw) | profit | / 512 |
| reward-formulation | objective | multi: yield, profit, water; ablation: yield only | yield, profit, water, nutrient | (varies) | 1,600+1,602 / 512 |
| Tier 3: compositional schema and dynamics shift (DSSAT, WOFOST, Cycles) | |||||
| cross-simulator | simulator: | one source simulator | source–target pairs | profit | / 386 |
| unified policy | seen schema tuples | held-out schema combinations | (varies) | 3,200 / 1,156 |
Table 2.
Baselines and metrics
The target policy class is prompt-conditioned LLM-RL (§ 2.3), evaluated in think and no-think variants. Figures show each arm’s seed mean as a bar with SD whiskers and mark the untrained model (the same backbone before RL, scored under both response formats) on the same test scenarios as an open circle.
NN-RL (neural-network PPO): Stable-Baselines3 PPO [26] over the numerical observation, with the interaction budget of LLM-RL and its one gradient pass per batch. This fixedinterface network applies to the Tier 1 settings (§ 2.1); potato weather-regime adds DQN and A2C, and the action-menu setting adds schema-capable PPO variants (Appendix § 11.6).
Scripted agronomic reference: a fixed rule set per simulator codified from agronomic guidance, such as crop-stage fertilizer and irrigation rules on WOFOST and a corn–soybean rotation for Cycles crop planning (Appendix § 11). It is uncalibrated against experts or optimal control.
No-action: the zero action at every decision, which applies no input on the crop-growth tasks (Appendix § 11.§ 5); falling below it is worse than abstaining.
Normalized return places a policy relative to these two references:
where is the policy’s mean test return and both references are scored on the same scenarios. No-action sits at 0 and the scripted reference at ; means the policy exceeds the reference. Where the two references are too close to divide by, as on weather-regime, we report the gain over no-action, . The gap varies across targets, so we compare policies by only within a target; Appendix § 11.§ 1 lists raw returns, both reference returns and the gap for every headline cell.
Experimental setup
LLM-RL trains Qwen3-4B-Instruct [Yang et al., 2025] with GRPO [27] on VeRL [28]. The default reward is profit_max (terminal storage-organ yield minus input costs); reward overrides and hyperparameters appear in Appendices § 8 and § 10. All main-text scores come from a frozen, prespecified held-out test suite of 6,278 evaluation rows, built after submission and disjoint from each experiment’s training and validation data (Appendix § 8.§ 1). Each LLM-RL arm and NN baseline trains three seeds; we report mean SD over seeds, each run scored at its terminal checkpoint with no selection on validation, and give differences between arms in propagated SD (Appendix § 10). These three-seed test-suite results are confirmatory; results only on validation or from a single seed (training curves, backbone comparisons) and the crop-variety per-crop breakdown are exploratory and labeled as such. We release the code, the test-suite manifests with generation configurations and seeds, disjointness audits, evaluation scripts, trained checkpoints, and per-run records for every reported table at https://github.com/AgriManager-Framework/AgriManager and https://huggingface.co/AgriManager-Framework, with a project page and documentation at https://agrimanager-framework.github.io/ (licenses in Appendix § 10).
Results
Tier 1: Within-schema distributional shift
RL training lifts the think variant above the untrained model in every seed and split of Figure 2 (30/30 seed–split pairs on weather-regime, 18/18 on crop-variety, 9/9 on price-regime), and every think seed scores above every seed of neural-network PPO. No-think tracks think on price-regime and stays near no-action on both WOFOST settings, where no-action is a stable basin of profit_max and the no-think runs stop early under the rollout filter (Appendix § 12.6); the gap there reflects training stability.
Figure 2. Tier 1 results, with bars and markers as in § 3.2; each panel has its own y-axis, with zero aligned. (a) WOFOST weather-regime shift per split (chickpea and potato averaged per seed), as gain over no-action in profit-equivalent t/ha, since its two references are too close to normalize. (b) WOFOST crop-variety shift on seen and held-out crops (4, 8, and 16 training crops averaged) and (c) Cycles price-regime shift per regime, in normalized return.
Weather-regime. Among the main-text methods, think scores highest on both crops in all five splits, the four out-of-distribution regimes included. It leads PPO by 1.16 to 3.54 profit-equivalent t/ha (3.6 to 15.5 propagated SD) on every split, and A2C, the strongest neural baseline on potato, by 4.5 to 7.3 propagated SD (Appendix § 12.§ 2).
Crop-variety. PPO averages below no-action on both seen and held-out crops at every coverage. In profit-equivalent t/ha, the unit of the per-crop table (Appendix § 12.§ 3), think leads it by 1.25 to 1.84 (5.6 to 32 propagated SD) on every coverage and split. Per crop (exploratory), RL gains are uneven across the held-out crops, so subset-level heterogeneity appears even under a fixed schema.
Price-regime. On multi-year Cycles crop planning (gross-revenue objective), think and no-think both reach 1.07, above PPO (0.99) and the untrained model (0.16 with thinking, 0.54 without).
Their seed-matched difference is 0.00 ± 0.06: no observed advantage for reasoning. Per regime, PPO is the only trained arm below the reference (0.91 under high corn prices).
Within a fixed schema, RL training thus gives the think policy distributional generalization across weather, crop, and price shifts. § 4.2 releases and asks whether the same policy class transfers when the schema itself changes.
Tier 2: Single-axis schema shift
Figure 3 reports Tier 2 results on the three schema axes.
Figure 3. Tier 2 results in normalized return, with bars and markers as in § 3.2. (a) Observation schema , with the resource-state-removed variant highlighted. (b,c) Action menu , Families A and B, each family’s seen menu first and the shared held-out menu lnpkw highlighted. (d,e) Reward formulation : multi-objective and yield-only training, with nutrient stewardship held out for both. (f) Seed-matched difference per objective, multi-objective minus yield-only, for both variants.
Observation-schema. On seven of the eight variants (the full schema, renamed or anonymized fields, a field superset, and drops of stage and time, management history, or weather context), think scores 4.4 to 5.4, and RL lifts it above the untrained model in every seed. Removing the resource state, which tells the policy whether an action is needed while unneeded actions still incur the input cost, drops think to 0.94±1.40: the lowest variant in every seed and 0.45 below the untrained model on average, with one of three seeds above it (Appendix § 12.§ 1). Observation-schema transfer is robust to representational change and depends on decision-critical state.
Action-menu. Two training families share the held-out menu . Family A trains on and , so it has seen N and water in one menu; Family B trains on and , where they appear only separately. On , think’s RL gain over the untrained model is +0.29 for A and −0.44 for B. Family A gains on all four test menus in every seed; Family B gains in every seed only on its training menu . The sign flip is consistent with joint action coverage; each native menu also runs under its own production wrapper (Appendix § 8.§ 3), which these runs do not separate from coverage. Schema-capable PPO baselines are reported in Appendix § 11.6.
Reward-formulation. The backbone is trained on a multi-objective reward set (yield, profit, water stewardship) or on yield alone, and evaluated on four objectives with nutrient stewardship held out from both. Under think, both policies score above the untrained model on all four objectives in every seed, and the seed-matched difference (multi-objective minus yield-only) is small against scores of 3.9 to 6.2: −0.17 on yield, +0.67 on profit, +0.55 on water, and +0.55 on held-out nutrient. A think policy trained on yield alone thus transfers to three unseen objectives, and multi-objective training adds a modest margin. Under no-think, multi-objective training is unstable: two of its three seeds end at or near no-action on every objective, placing it below yield-only on all four.
The three axes therefore impose different burdens: requires information sufficiency, the results are consistent with joint action coverage, and on , with reasoning, reward-schema transfer holds without objective coverage. § 4.3 shifts several axes at once.
Tier 3: Compositional schema shift
T3.1 switches simulator, which changes the transition dynamics together with the observation fields, the action menu and its units, the objective terms, and the site and weather source, so no single factor accounts for a transfer score (Appendix § 8.§ 4).
Pairwise cross-simulator transfer. In Figure 4a, single-source training hurts four of the six transfers relative to the untrained model. The two into WOFOST (2.13 from DSSAT, 1.94 from Cycles, against 2.33) and the two into Cycles (0.89 from WOFOST, 0.85 from DSSAT, against 0.98) score below it in every seed. The transfers into DSSAT (0.45 from WOFOST, 0.31 from Cycles) gain only relative to an untrained think model that fails the output format on every DSSAT decision and therefore scores as no-action (0.00; Appendix § 12.7). DSSAT is the hardest target: transfers into it recover 33% to 48% of the DSSAT-trained policy’s gain over no-action, against 65% to 71% into WOFOST and 79% to 82% into Cycles, and part of the shortfall is format failure. The pattern is consistent with a limit set by the transition dynamics , which the prompt never describes and these runs do not isolate.
Figure 4. Tier 3 results in normalized return, with bars and markers as in § 3.2. (a) T3.1 think-mode transfer matrix on maize profit; rows index the source simulator, columns the target, and cells compare within a column; the strip below gives the untrained model. (b) T3.2 unified policy on five seen-control and four held-out tuples. (c–e) Test-suite scores over T3.2 training (line: seed mean; band: seed range; intermediate points exploratory; epoch 0 is the untrained model) on the three held-out profit targets that call back T3.1; the dashed line gives the T3.1 specialist trained on that tuple.
Toward a unified prompt-conditioned policy. T3.2 trains a single backbone on schema tuples of the form (simulator, action menu, objective), with four target tuples held out; every component of every held-out tuple appears in at least one training tuple (Appendix § 8.§ 4). The think unified policy scores above no-action on all four held-out tuples in every seed. It gains over the untrained model on WOFOST lnpkw nutrient and on DSSAT profit, partly by learning the output format there. On DSSAT it reaches 0.81 ± 0.13 against 0.94 ± 0.11 for the matched T3.1 specialist, which trains on this exact tuple and is scored on the same scenarios, about 86% of the specialist’s gain, with overlapping seeds; the gain arrives in the first training epoch (Figure 4d). On WOFOST lnw profit and Cycles profit it ends below the untrained model (2.10 and 0.96 against 2.35 and 0.98), and every specialist seed scores above every unified seed (specialists 2.99 and 1.08; Appendix § 12.7); the wide WOFOST spread comes from one seed.
Without thinking, the unified policy is unstable across seeds: no-think ends below think on all four held-out targets, and one of its three seeds ends near or below no-action on each of them. This matches the no-think instability on WOFOST in Tier 1 and under multi-objective rewards in Tier 2 (§ 4.1 and § 4.2). The association of thinking with stable training holds for the Qwen backbones we tested and reverses for Llama-3.2-3B, where a single-seed unified pair has no-think ahead on four of the five WOFOST tuples (Appendix § 12.8).
Tier 3 therefore gives the thesis question a partial answer. Trained only on other combinations of the same components, one prompt-conditioned policy recovers about 86% of the in-distribution specialist’s gain on DSSAT and stays below it on the WOFOST and Cycles profit targets, while single-source training mostly hurts transfer. Closing the gap between recombining schema components and training on the target tuple itself remains open.
Discussion
Generalization in agricultural RL depends on which part of the interface shifts, so a single generalization score can hide the axis that fails. Our settings suggest three lessons for building such policies (Appendix § 13.§ 1 summarizes each tier). Observations can be renamed or extended, but the state that decides whether an input is needed must stay in the schema. Transfer to a new action menu is consistent with having seen its actions together in one training menu. With reasoning, a policy trained on one objective can be redirected to new objectives through the prompt. On Qwen, reasoning acts mainly as a training stabilizer: without it, RL often settles near no-action when inputs carry a cost, and a single-seed Llama-3.2-3B pair does not show this effect (Appendix § 12.8). The open problem is compositional shift across simulators, where recombining seen components recovers only part of a target-trained specialist’s gain; changes in transition dynamics, which the prompt could describe, are one candidate bottleneck; describing dynamics in the prompt or adapting at test time are natural next steps.
Limitations. All evaluation is in simulation; on-farm validation is the next step. Three seeds per arm give direction and spread without formal significance tests, and normalized return measures distance from codified practice with no optimality bound (Appendix § 13).
Broader impacts. The benchmark lets researchers test agricultural policies before any deployment. Its main risk is over-reading simulator results as farm advice: released policies should not schedule inputs or planting without local agronomic review and field validation.
Acknowledgments and Disclosure of Funding
This work was supported by the AIFARMS National AI Institute (USDA NIFA Award Number 2020-67021-32799) and the Center for Digital Agriculture at the University of Illinois. The views expressed and conclusions drawn herein are solely those of the authors and do not necessarily reflect the official policies or positions, expressed or implied, of any sponsoring organizations. This work used the Delta advanced computing and data resource at the University of Illinois Urbana-Champaign and its National Center for Supercomputing Applications through allocations CIS251101, CIS260670, and CIS260693 from the Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support (ACCESS) program, which is supported by U.S. National Science Foundation grants #2138259, #2138286, #2138307, #2137603, and #2138296. Jeremiah Barr was employed by Corteva Agriscience when this work was done.
Framework details
A new simulator joins the AGRIMANAGER framework by adding one package under agrimanager/env/<name>/ that implements a documented adapter; the framework discovers it by folder name, with no central registry or routing edit. Each environment is exposed through three interfaces: a dataset generator that materializes scenarios into a parquet file, a multi-turn environment for LLM rollout, and a numeric adapter that bridges the same parquet to a Gymnasium environment for the fixed-interface NN-PPO baseline (Appendix § 11.6). The parquet artifact is the seam between dataset build and training: every row carries the full environment configuration, so the two phases stay decoupled and the same split always reconstructs the same environment. The released code documents the full method-level contract.
Simulator pool
DSSAT (Decision Support System for Agrotechnology Transfer): a process-based crop-growth simulator suite from the IBSNAT/USDA line [15]. Our adapter (gym_dssat) builds on gym-DSSAT [11], defaults to maize and adds prompt configurations for cotton and rice; it supports the LLM path.
WOFOST (WOrld FOod STudies): the Wageningen crop-growth simulator behind the EU MARS yield-forecasting system [7], run through its Python implementation PCSE. Our adapter (wofost_gym) builds on WOFOSTGym [31] and provides trait files for over twenty crops, six action-menu configurations (the full lnpkw menu of N/P/K and water plus five restricted subsets), and four management objectives (yield_max, profit_max, water_stewardship, nutrient_stewardship); single-axis schema variants along , , and can all be constructed on this backend. WOFOST is the reference instantiation and supports both the LLM and NN paths.
Cycles: the Penn State multi-year agroecosystem model [20], the only simulator in the pool that contributes a crop-planning task, a 19-year corn–soybean rotation in which annual crop choices drive long-horizon soil carbon and nitrogen dynamics; it also provides a single-season maize nitrogen-fertilization task. The adapter (cycles_gym) builds on CyclesGym [35]; it supports the LLM path for both tasks and the NN path for crop planning. Appendix D lists the version and license of each simulator, wrapper, model, and software package.
Benchmark task specification
This appendix specifies each of the eight benchmark settings of Table 2: what it varies, its agricultural interpretation, its training, validation and test scenarios, and its objective. Table 3 collects the split sizes; the per-setting paragraphs below give the construction details. Throughout, is the policy-facing schema of § 2.1.
| Setting | Simulator | Train | Validation (named groups) | Test (named groups) |
| T1.1 weather-regime | WOFOST | 1600 per crop | per crop: id, drought, wet, hot, cold | per crop: id, drought, wet, hot, cold |
| T1.2 cross-crop (4ID) | WOFOST | ID + OOD (= 768) | seen + held-out (= 1024), shared by 4ID/8ID/16ID | |
| T1.2 cross-crop (8ID) | WOFOST | ID + OOD (= 768) | shared T1.2 suite | |
| T1.2 cross-crop (16ID) | WOFOST | ID + OOD (= 768) | shared T1.2 suite | |
| T1.3 price-regime | Cycles | 1600 | paired: id_test, high_corn, high_soybean | paired, same regimes |
| T2.1 observation-schema | WOFOST | 1600 | shared scenarios: S1, S2a–d, S3, S4, S5 | shared scenarios, same variants |
| T2.2 action-menu (Family A) | WOFOST | : lnpkw, lnpk | seen + held-out: lnw, ln, lw | paired: lnpkw, lnw, ln, lw |
| T2.2 action-menu (Family B) | WOFOST | : lnpk, lw | seen + held-out: lnpkw, lnw, ln | same suite as Family A |
| T2.3 reward-formulation | WOFOST | 1600: yield, profit, water (534/533/533); yield-only: 534 scenarios (1602 rows) | : yield, profit, water, nutrient | paired, same objectives |
| T3.1 cross-simulator | W / D / C | 1600 per source | : WOFOST, DSSAT, Cycles target | 128 WOFOST + 128 DSSAT + 130 Cycles |
| T3.2 unified policy | all three | (= 3200) | seen-control + held-out | + (Cycles profit, yield) |
Table 3. Per-setting training, validation and test split sizes. “” denotes groups of scenarios; the paragraphs below define the groups. Validation sets serve training-time monitoring only; every main-text score uses the test suite (Appendix § 8.§ 1). The three test groups of 130 are the rebuilt Cycles suites.
Frozen test suite
Every main-text score comes from a test suite built after submission. Its suites were frozen on 25–27 July 2026, during the author-response period, and the three Cycles crop-growth suites were rebuilt on 26 September 2026 (below). The numerical renderings of the T1.2 and T1.3 suites that the neural baselines read were added on 3 September 2026, scenario for scenario identical to the frozen suites. The suite holds 6,278 evaluation rows over the eight settings in groups of 128 (130 for the three rebuilt Cycles suites): 2,688 for Tier 1, 2,048 for Tier 2 and 1,542 for Tier 3 (Table 3). Rows are not all distinct physical scenarios, by design: T2.1 renders one set of 128 scenarios under eight observation schemas, the Tier 2 suites, the WOFOST target of T3.1 and the WOFOST tuples of T3.2 share one base of 128 maize scenarios (Appendix § 8.§ 3), T1.3 renders each of 128 scenarios under three price vectors, the DSSAT target of T3.1 and the DSSAT profit tuples of T3.2 use the same generator seeds, and each rebuilt Cycles suite repeats 13 weather years ten times. Each suite is fixed by a generation configuration and seed, needs no checkpoint to build, and comes with a manifest, checksums and an audit of its overlap with the training and validation scenarios of the matching experiment. The audit compares physical scenario keys: crop, year, latitude and longitude on the WOFOST pools, the generator seed on DSSAT, and the weather year on Cycles. Policies, think or no-think, are scored on the same suite under the response format they were trained with.
The three Tier 3 Cycles crop-growth suites (the T3.1 target and the T3.2 profit and yield tuples) were rebuilt. A Cycles crop-growth scenario is fixed by its weather year at a single site (Rock Springs); the first build was audited by scenario identifier and reused the eight validation years (1996–2003). The rebuilt suites draw on weather years 2004–2016, which training (1980–1995) and validation leave unused. Their effective sample is 13 physical scenarios, so scenario-level standard errors on these three targets overstate precision; seed-level SDs are unaffected. Every Cycles crop-growth number in this version uses the rebuilt suites, except the exploratory Qwen3-8B format diagnostic of Appendix § 12.8, scored before the rebuild.
These three-seed test-suite results at the terminal checkpoint are confirmatory. Results available only on validation or from a single training seed are exploratory: the training curves (Appendix § 12.§ 5), the single-seed PPO n8 cells on T1.1, and the backbone comparisons (Appendix § 12.8). The Tier 1 lower-tail readout (Appendix § 12.§ 2) is also exploratory: it uses all three seeds but a later re-scoring pass and is not a prespecified target. The T1.2 per-crop breakdown (Appendix § 12.§ 3) is also exploratory: it uses the three-seed test suite and splits it below the prespecified targets. The Tier 3 training curves of Figure 4(c–Figure 4e) score intermediate checkpoints of the three seeds on the test suite; the protocol fixes the terminal checkpoint, so their intermediate points are exploratory and their end points equal the confirmatory bars of panel (b).
Tier 1: within-schema distributional shifts
Tier 1 keeps the observation, action, and reward schema fixed and changes only the episode context, testing whether a policy that needs no interface change is still robust to realistic agricultural variation.
T1.1 Weather-regime shift. Two single-crop runs (chickpea, potato) train on ordinary viable weather and are evaluated on four named regimes plus an in-distribution control, testing whether fertilizer and irrigation timing track phenology and water stress. Validation regimes are defined on WOFOST growing-season weather statistics with : drought/wet are the lowest/highest fraction of cumulative rainfall, cold/hot the lowest/highest of mean temperature; each contributes 128 scenarios. The test regimes are rebuilt from the 1,600 pool scenarios per crop that training and validation leave unused, under a predeclared rule computed over each crop’s sowing-to-maturity window: each group takes one fifth of these scenarios (320), assigned in turn: the 320 coldest by mean temperature form cold, the 320 hottest remaining scenarios hot, the 320 driest remaining by cumulative rainfall drought and the 320 wettest remaining wet, and the last 320 form id; 128 scenarios are drawn from each group with a fixed seed. The test id group is therefore more moderate than a random in-distribution draw.
T1.2 Cross-crop trait shift. Crop identity and traits change while the WOFOST observation fields, N/P/K/water actions, and profit_max reward stay fixed; one interface represents every crop, so this is a context shift. Traits enter the prompt as a 23-dimensional descriptor (temperature adaptation, phenology, rooting and water response, nutrient capacity, assimilation, storage allocation). Three coverage settings (4ID/8ID/16ID) hold a fixed 1600-scenario train budget while varying the number of training crops (, , ); all three are evaluated on the same four held-out crops (barley, groundnut, pigeonpea, seed_onion) and total 768 validation rows. The test suite draws 128 scenarios per crop from the crop pool’s own test split for the four held-out crops and for the four 4ID training crops (cotton, millet, rapeseed, rice), which the 8ID and 16ID settings also train on.
T1.3 Price-regime shift. A 19-year crop-planning episode on Cycles (crops CornRM.100, SoybeanMG.3) keeps the planting action and gross-revenue objective fixed and changes only the crop-price vector. Gross revenue is yield times price and carries no input-cost term; its formula stays fixed while its parameters move, so this is an economic-context shift within one reward formulation. Training samples non-dominant in-distribution price pairs matching a Corn Belt rotation. Validation is paired: identical weather, location, and seed produce three rows differing only in the price vector, one per regime in {id_test, high_corn, high_soybean}, for rows. The test suite repeats this pairing on 128 new scenarios from a fresh seed range.
Tier 2: single-axis schema shifts
Tier 2 targets one component of between training and test; on the action axis each menu also brings its own production wrapper (T2.2 below). The target schema is supplied in the prompt, while the simulator stays WOFOST maize. The Tier 2 test suites, the WOFOST target of T3.1 and the WOFOST tuples of T3.2 render one frozen base of 128 maize scenarios, disjoint from the submitted training and validation scenarios.
T2.1 Observation-schema shift (). Training uses the full 15-field WOFOST reference schema S1 (development stage, storage-organ weight, nutrients, soil moisture, cumulative inputs, weather, day count). Validation re-renders one shared set of 128 maize scenarios under eight projections of the same underlying state: S1 (in-distribution reference); four missing-information masks S2a–S2d that drop the stage/time, resource-state, management-history, or weather-context fields; S3 renaming labels to agronomic synonyms; S4 adding seven growth and uptake fields; and S5 replacing labels with anonymous A–O plus a glossary. The prompt is therefore responsible for telling the policy what each field means; the rows are paired across schemas, in validation and in the test suite alike.
T2.2 Action-menu shift (). Prompts expose native WOFOST menus that model different equipment or input-access constraints: lnpkw (N/P/K/water), lnpk, lnw (N/water), ln, and lw. Two families with matched budgets train on two menus each (Family A: lnpkw, lnpk; Family B: lnpk, lw; 800 scenarios per menu) and are validated on all five (128 paired maize scenarios each), so the held-out menus are lnw/ln/lw for A and lnpkw/lnw/ln for B. The test suite covers the four reported menus (lnpkw, lnw, ln, lw). The reward is profit_max throughout, with input costs absorbed into the objective; success requires reallocating the remaining controls when an input is unavailable. Each native menu runs under its own WOFOST production-level wrapper, in which the inputs absent from the menu are simulated as non-limiting (lw, for example, is water-limited with unlimited nutrients). A menu change therefore also changes the crop’s resource limits: on the same test scenarios, no-action returns 0.12 on lnw, 0.15 on ln, 0.40 on lnpkw and 2.77 on lw. The T2.2 runs do not separate action coverage from this wrapper.
T2.3 Reward-formulation shift (). Observation and actions stay fixed while the prompt objective and terminal reward change among yield_max, profit_max, water_stewardship, and held-out nutrient_stewardship. With the final storage-organ weight, , and ,
Nutrient stewardship reuses the yield floor but penalizes N/P/K over-application and terminal nutrient pools outside a target range, so the held-out objective is related to but distinct from the seen ones. Training mixes the three in-distribution objectives and is validated and tested on all four; a per-scenario calibrated by a scripted probe places the four rewards on a common scale. A yield-only ablation trains on yield_max alone (and validates on the same four objectives) to isolate the effect of training-time reward diversity.
Tier 3: compositional schema and simulator shifts
Tier 3 changes multiple schema components together; T3.1 additionally changes simulator dynamics .
T3.1 Cross-simulator maize transfer. Three single-source specialists (one per simulator, 1600 train and 128 validation scenarios each) all optimize grain-equivalent maize profit over the inputs the target simulator exposes,
omitting the water term where irrigation is unavailable. The objective text is shared, but prompts stay simulator-native: WOFOST exposes storage-organ and development state with discrete N/water actions, DSSAT exposes crop–soil variables with bounded N/irrigation actions, and Cycles exposes soil-nitrogen/crop-growth state with nitrogen management only. Each specialist is evaluated on all three targets, forming the transfer matrix whose diagonal is the within-simulator reference and whose off-diagonal cells are zero-shot cross-simulator transfer.
T3.2 Unified prompt-conditioned policy. A single policy is trained jointly on eight schema tuples spanning three simulators, three action menus, and four objectives (400 rows per tuple, 3200 total), following a marginal-coverage design with exact-combination holdout: every held-out simulator, menu, and objective appears in some training tuple, but the deployment tuple itself does not, which separates memorizing whole task cards from recombining schema factors. The four held-out validation tuples (WOFOST lnw/profit, WOFOST lnpkw/nutrient, DSSAT profit, Cycles profit) combine the Tier 2 action or reward axes with the Tier 3 simulator axis; five seen-control tuples provide an in-distribution reference for the same trained policy. All validation sets use 128 rows. The WOFOST tuples keep the submitted T3.2 calibration, a fixed reference yield kg/ha, so their scores are on a different scale from the same objectives in T2.3.
What changes in each cross-simulator transfer. Every T3.1 transfer keeps the crop (maize), the prompt template, and the form of the profit objective, and changes the transition dynamics together with several schema and scenario factors (Table 4). The three simulators differ as follows. WOFOST (lnw menu) offers nitrogen or irrigation at four discrete levels each, over 24 decisions at 10-day intervals, on maize scenarios drawn from the maize weather pool (3,840 site-years at 3,838 locations between 39 and 49 °N and 10 °W and 30 °E, weather years 1984–2019, NASA POWER daily weather); its observation lists development stage, storage-organ mass, soil nutrient and moisture state, cumulative inputs, and daily weather. DSSAT offers free amounts of nitrogen (below 30 kg/ha) and irrigation (below 40 mm) per decision, alone or together, over 24 decisions at 10-day intervals, with scenarios that differ by generator seed at a single site (climate file UFGA, the gym-DSSAT maize default) and a fixed soil profile; its observation lists days after planting, growth stage, grain and aboveground biomass, leaf area index, nitrogen and water stress, nitrogen uptake, daily weather, and cumulative inputs. Cycles offers nitrogen only, at eleven levels from 0 to 150 kg/ha, over 26 decisions at 10-day intervals from 1 January, at a single site (Rock Springs) where a scenario is fixed by its weather year; its observation lists 27 fields: three site constants (latitude, altitude, screening height), the day’s weather (precipitation, maximum and minimum temperature, solar radiation, maximum and minimum relative humidity, wind), crop stage and thermal time, cumulative, aboveground and root biomass, fraction of intercepted radiation, total, aboveground and root nitrogen, aboveground nitrogen concentration, nitrogen fixation, nitrogen added, nitrogen and water stress, potential transpiration, day of year, and cumulative applied nitrogen. Grain yield is not among them. Where irrigation is unavailable (Cycles) the objective drops its water term, and each target is normalized by its own scripted reference. Transfer scores are therefore compared only within a target.
| Transfer | Action menu | Objective terms | Site and weather | Decisions |
| WOFOST → DSSAT | discrete levels → free amounts; N and water may combine | unchanged | weather pool → one DSSAT site | 24 → 24 |
| WOFOST → Cycles | water removed; N levels 4 → 11 | water term dropped | weather pool → Rock Springs years | 24 → 26 |
| DSSAT → WOFOST | free amounts → discrete levels; one input per decision | unchanged | one DSSAT site → weather pool | 24 → 24 |
| DSSAT → Cycles | water removed; free amounts → 11 N levels | water term dropped | one DSSAT site → Rock Springs years | 24 → 26 |
| Cycles → WOFOST | water added; N levels 11 → 4 | water term added | Rock Springs years → weather pool | 26 → 24 |
| Cycles → DSSAT | water added; 11 N levels → free amounts | water term added | Rock Springs years → one DSSAT site | 26 → 24 |
Table 4. What changes in each T3.1 transfer, source → target. Every transfer also changes the transition dynamics and the observation fields (simulator-native names, units, and grouping), and keeps the crop (maize) and the profit form .
Prompt templates
This appendix gives the prompt contract used by the LLM policies and identifies which blocks change across benchmark settings. The user prompt is rebuilt at each decision step around three schema-carrying blocks, one per axis of .
Schema-carrying user prompt

Figure 5. Abridged user prompt from a chickpea episode. The three boxed blocks carry the reward, observation, and action axes of defined in § 2.1; the full prompt also includes system instructions, episode context, interaction history, and the response-format contract. Prompts expose field names, units, action arguments, and the objective formula, but not hidden simulator state, future weather, or transition parameters.
System prompt and response-format variants
All LLM environments use a short role-setting system prompt that keeps the task semantics out of the system message (they are supplied by the episode-level user prompt, so schema changes are controlled through dataset fields):
You are an agricultural management expert. Optimize the management objective
specified in the user message. Use only the available actions and respond in
the required format.
We evaluate two response contracts. In the think variant, the user prompt asks the model to reason briefly before acting and to answer in a fixed format (abridged; the full wording is in the listings of Appendix § 9.§ 3):
Please reason briefly before answering, then respond using the exact format:
<tool_call> brief reasoning </tool_call> <answer> final action </answer>
In the no-think variant the same state and schema are shown, but the contract removes the reasoning block:
Respond using the exact format: <answer> ... </answer> with no extra text.
The parser executes only the action inside the <answer> block. The environment adapter maps malformed responses and actions outside the declared menu to a fallback action, and the prompt stays unchanged (Appendix § 12.§ 4 reports how often this happens).
Complete prompts for the two task families
Each benchmark setting is a schema delta on one of two task families (Table 5): a within-season crop-growth task that sets fertilization and irrigation at every step, and a multi-year crop-planning task that picks the crop and planting week once per year. Both families are multi-turn episodes: a season or rotation runs for many decision steps, and the policy is queried once per step with the current state and the interaction history so far. The two families differ in system role, observation fields, action format, and decision horizon. Each listing below is a single such turn, from the system message to the model response, exactly as the policy receives and emits it; the turn index in the === USER === header gives its position within the episode. The === dividers are not part of the model input.
| Setting | Changed block | Delta relative to the template above |
| T1.1 weather-regime | None | Same WOFOST crop-growth schema; only latent weather regime changes. |
| T1.2 cross-crop traits | Context and observation | Crop name and trait descriptor change; profit objective and action menu stay fixed. |
| T1.3 price-regime | Task and objective context | Cycles planning prompt replaces the crop-growth prompt; gross-revenue objective uses ID/high-corn/high-soybean prices. |
| T2.1 observation schema | Observation | Observation fields are dropped, renamed, anonymized, or extended; objective and actions stay fixed. |
| T2.2 action menu | Action | Menu switches among lnpkw, lnpk, lnw, ln, and lw; unavailable action families are stated explicitly. |
| T2.3 reward formulation | Objective | Objective block switches among yield, profit, water-stewardship, and nutrient-stewardship definitions. |
| T3.1 cross-simulator | Observation and action | DSSAT and Cycles use native state fields and action units while preserving objective-first ordering. |
| T3.2 unified policy | Full schema tuple | Training and test mix tuples of simulator, action menu, and objective. |
Table 5. Per-setting prompt deltas, the compact substitute for printing every full prompt.
Crop-growth task (WOFOST). Potato season, profit objective, think variant, full N/P/K/water menu.
=== SYSTEM ===
You are an agricultural management expert. Optimize the management objective specified in the user message. Use only the available actions and respond in the required format.
=== USER (turn 14) ===
We are growing potato from sow to maturity. The planned growing window spans 180 days, and actions are taken every 10 days. Today is day 140 of the season, corresponding to May 20.
<management objective id="profit_max">
Goal: maximize terminal WSO-equivalent profit, not raw yield.
Score at the end of the season:
profit_wso_kg_ha =
final_WSO_kg_ha
- 3.5 * total_N_kg_ha
- 5.5 * total_P_kg_ha
- 2.25 * total_K_kg_ha
- 0.5 * total_irrig_cm
Input unit costs:
- Nitrogen: 1 kg/ha N costs 3.5 kg/ha WSO-equivalent.
- Phosphorus: 1 kg/ha P costs 5.5 kg/ha WSO-equivalent.
- Potassium: 1 kg/ha K costs 2.25 kg/ha WSO-equivalent.
- Irrigation: 1 cm water costs 0.5 kg/ha WSO-equivalent.
Successful crop seasons usually produce final yield on the order of thousands of kg/ha.
Decision rule: apply an input only if that input is expected to increase final WSO by more than its WSO-equivalent cost.
</management objective>
Below is the current observation for this step.
<current observation>
[Crop status]
- Finish flag (1 means the season has ended): 0
- Development stage index: 1.136 (DVS=1 indicates flowering; DVS=2 indicates maturity)
- Storage organ dry matter (kg/ha; harvestable yield biomass proxy): 27.17
[Soil nutrients]
- Available soil nitrogen (kg/ha): 8.307
- Available soil phosphorus (kg/ha): 30.83
- Available soil potassium (kg/ha): 0.011
[Soil & water]
- Root-zone soil moisture (fraction): 0.3302
[Cumulative actions]
- Cumulative nitrogen applied so far (kg/ha): 40
- Cumulative phosphorus applied so far (kg/ha): 40
- Cumulative potassium applied so far (kg/ha): 0
- Cumulative irrigation depth applied so far (cm): 0
[Weather]
- Daily solar radiation (J/m²/day): 1.629e+07
- Mean air temperature (°C): 17.03
- Daily rainfall (cm): 0.216
</current observation>
Available actions (pick exactly one):
- Do nothing.
- Apply nitrogen fertilizer (20.0, 40.0, 60.0, or 80.0 kg/ha).
Apply phosphorus fertilizer (20.0, 40.0, 60.0, or 80.0 kg/ha).
Apply potassium fertilizer (20.0, 40.0, 60.0, or 80.0 kg/ha).
Irrigate with 5.0, 10.0, 15.0, or 20.0 cm of water.
Please reason briefly before action about:
State grounding: describe the current agronomic state and the main limiting factor based on the current observations
Decision: choose the action that best balances final-yield gains against input costs at this step
Keep the reasoning concise and decision-focused. Do not restate the full input.
Respond using the exact format: <tool_call> ... </tool_call> <answer> ... </answer> with no extra text.
Example: <tool_call>[reasoning content]</tool_call> <answer>Apply 20.0 kg/ha nitrogen fertilizer.`</answer>
=== ASSISTANT (turn 14) === <tool_call>[State grounding: The crop is at DVS 1.136, indicating it is in the flowering stage, with a high storage organ dry matter (27.17 kg/ha), suggesting strong yield potential. Soil nitrogen (8.307 kg/ha) and phosphorus (30.83 kg/ha) are already adequate, and potassium is critically low (0.011 kg/ha), which is essential for tuber development and dry matter accumulation. Root-zone moisture (33.02%) is below optimal, indicating a water stress concern. However, the primary limiting factor is potassium, as its deficiency directly impacts tuber quality and dry matter retention. Nitrogen and phosphorus have been heavily applied (40 kg/ha each), raising input costs without clear yield gains. Irrigation is not currently justified given the moderate moisture and high solar radiation. Decision: Apply 40.0 kg/ha potassium fertilizer, as it is the most likely to boost dry matter and yield without excessive cost, aligning with the objective of maximizing WSO-equivalent profit.]</tool_call> <answer>Apply 40.0 kg/ha potassium fertilizer.</answer>
Crop-planning task (Cycles). Maize–soybean rotation, gross-revenue objective, with the crop-traits block enabled. Note the task-specific system prompt, the multi-year trajectory context, and the two-integer (crop, planting-week) action format.
=== SYSTEM === You are an agricultural planning expert. Your goal is to maximize long-run gross revenue over a multi-year crop rotation by choosing the crop and planting timing for each year. Use the current soil nitrogen state to make a decision that balances immediate returns with future rotation effects. Gross revenue is yield multiplied by the crop price; there are no production costs in this task. Always emit a valid final action. Keep the reasoning to one short sentence and always close the <tool_call> block before the <answer> block. Use crop traits as prior agronomic knowledge. Combine them with the current soil nitrogen condition and the long-run rotation objective when deciding which crop to plant next.
=== USER (turn 5) === We are making one crop-planning decision for the current year in a multi-year rotation. At each decision, choose the crop to plant and its planting timing. The objective is to maximize cumulative gross revenue across the full rotation horizon, not just this year. You must also choose a planting-week index from 0 to 13, representing the allowable planting window in spring.
Current rotation context:
current_year: 1993
years_remaining: 15 Current crop prices in dollars per tonne:
CornRM.100: 262.91
SoybeanMG.3: 300.43 Past trajectory summary: 4 years completed; crop counts: CornRM.100=2, SoybeanMG.3=2; cumulative gross revenue: 4645.07. Recent trajectory (last 3 years):
year: 1990, crop: SoybeanMG.3, planting_week: 4, yield_tonnes: 3.397, gross_revenue: 1020.59
year: 1991, crop: CornRM.100, planting_week: 5, yield_tonnes: 6.054, gross_revenue: 1591.78
year: 1992, crop: SoybeanMG.3, planting_week: 4, yield_tonnes: 3.256, gross_revenue: 978.30
<crop traits>
CornRM.100
- Crop type: cereal grain crop (non-legume, C4).
- Nitrogen role: does not fix nitrogen and generally benefits from a strong soil nitrogen
supply.
- Rooting and water: deep-rooted (max root depth about 2.0 m) with relatively high water
demand and uptake capacity.
- Temperature and maturity: warm-adapted (optimum development temperature about 28 C) and
relatively long-season (maturity thermal time about 2050).
- Rotation role: often a high-demand, high-reward crop that can benefit from following a
legume or a higher-nitrogen soil state.
SoybeanMG.3
- Crop type: legume grain crop (C3).
- Nitrogen role: fixes nitrogen, so it is usually less dependent on external soil nitrogen
than corn or wheat and can improve rotation value for following cereals.
- Rooting and water: shallower-rooted than corn (max root depth about 0.9 m) with moderate
water demand.
- Temperature and maturity: warm-adapted (optimum development temperature about 28 C) and
shorter-season than CornRM.100 (maturity thermal time about 1350).
- Rotation role: often a useful nitrogen-building break crop that can support future cereal
performance rather than only current-year returns.
</crop traits>
<current observation>
Current soil-state observation:
[Soil nitrogen pool]
- Organic soil nitrogen: 8829
- Profile soil nitrate: 78.85
- Profile soil ammonium: 12.78
[Nitrogen transformations]
- Mineralization: 0.09357
- Immobilization: -0.007777
- Net mineralization: 0.08579
- Ammonium nitrification: 0.1287
[Nitrogen losses]
- N2O from nitrification: 0.000323
- Ammonia volatilization: 0.02389
- Nitrate denitrification: 0.003876
- N2O from denitrification: 0.000331
</current observation>
Available actions (pick exactly one):
Crop index options:
0: CornRM.100
1: SoybeanMG.3
DOY index options: 0 to 13
Decision guidance:
1. Identify the current crop-price regime and soil nitrogen condition.
2. Consider how the crop choice affects both this year's gross revenue and future years in
the rotation.
3. Avoid blindly choosing the highest-price crop if it creates poor long-run rotation
consequences.
4. Choose the crop and planting or management settings most likely to maximize cumulative
gross revenue.
Reason in one short sentence before answering about:
1. The current price regime, soil nitrogen condition, and main agronomic constraint.
2. The likely short-term gross revenue and future-rotation consequences of candidate crop
choices.
3. Why the selected action is the best long-run gross-revenue decision.
Keep the reasoning concise and decision-focused. Use at most 35 words. Do not restate the
full input. If uncertain, still produce a valid <answer> block.
Respond using the exact format: <tool_call> ... </tool_call> <answer>crop_index,
doy_index</answer> with no extra text.
Example: <tool_call>Soybeans likely improve rotation value under the current nitrogen
state.</tool_call> <answer>1, 4</answer>
Output integers only inside the answer tag.
=== ASSISTANT (turn 5) ===
<tool_call>Current soil nitrogen is high, favoring corn's yield potential; soybeans would fix nitrogen but reduce short-term revenue. Corn maximizes immediate gross revenue and leverages abundant nitrogen for long-run rotation efficiency. </tool_call> <answer>0, 5</answer>
Per-setting prompt deltas
Each benchmark setting is a delta on the same template: one (or, in Tier 3, several) of the three schema blocks change while the rest of the contract stays fixed (Table 5).
Reproducibility: training and evaluation
LLM-RL. Every LLM-RL run of the main experiments trains Qwen/Qwen3-4B-Instruct-2507 [Yang et al., 2025] with GRPO [27] on VeRL [28]. Think and no-think variants share every setting and differ only in the response-format contract (§ 2.3), which the dataset env_config writes into each prompt, so the same training script applies to both. The exploratory backbone and optimizer comparisons of Appendix § 12.8 are the only exceptions.
NN-PPO. The fixed-interface baseline trains Stable-Baselines3 PPO on the simulator’s native numeric observation with one gradient pass per batch (n1), the update schedule of the LLM arms; an eight-pass variant (n8) makes eight gradient passes over each collected PPO batch and appears only in Appendix § 12.§ 2. On Tier 1 both arms have a planned budget of 12,800 training episodes per 1,600-scenario run: LLM-RL trains two epochs with four rollouts per scenario, and every neural baseline makes eight passes over the scenarios (sixteen for the target-trained action-menu PPO, which has 800 scenarios per menu). LLM-RL runs that the rollout filter stops early (Table 17) complete fewer episodes. n1 matches the number of gradient passes over each collected batch; the total number of optimizer steps follows each architecture’s batch sizes and is not matched. NN-PPO applies to the Tier 1 settings (§ 2.1); Appendix § 11.6 describes the additional neural baselines. T2.3 runs a fixed 400 steps of 16 prompts over its training rows (1,600 for multi-objective training; 1,602 materialized rows for yield-only training, its 534-scenario file repeated three times), and T3.2 runs 800 steps of 16 prompts over 3,200 rows; all other LLM-RL runs plan 200 steps of 16 scenarios each.
| Cell | Think | No-think |
| T1.1 chickpea | 200 / 200 / 200 | 18 / 60 / 124 |
| T1.1 potato | 200 / 200 / 200 | 14 / 17 / 27 |
| T1.2 4ID | 200 / 200 / 200 | 18 / 33 / 13 |
| T1.2 8ID | 200 / 200 / 200 | 13 / 13 / 134 |
| T1.2 16ID | 200 / 200 / 200 | 21 / 160 / 19 |
| T1.3 (seeds r1 / r2 / r3) | 141 / 154 / 191 | 54 / 43 / 110 |
| T2.1 | 200 / 200 / 200 | 116 / 88 / 92 |
| T2.2 Family A | 200 / 200 / 200 | 200 / 200 / 200 |
| T2.2 Family B | 200 / 200 / 200 | 66 / 149 / 187 |
| T3.1 WOFOST source | 200 / 200 / 200 | 200 / 180 / 200 |
| T3.1 DSSAT source | 200 / 200 / 200 | 114 / 76 / 78 |
| T3.1 Cycles source (think r2 / r3 / r5) | 200 / 200 / 200 | 75 / 92 / 65 |
Table 17. Final training step of each scored run (seeds r2 / r3 / r4 unless noted), out of 200 planned steps. The checkpoint at this step is the one scored on the test suite.
Seeds. Each arm trains three independent seeds; one integer sets both the data-shuffling and the data-loader seed, and the think and no-think arms of a cell share it. The scored seeds are replicates r2–r4 of each cell, with two exceptions: T1.3 was trained afresh as r1–r3, and the Cycles-source think arm of T3.1 uses r2, r3 and r5, because r4 never produced a checkpoint (it aborted on a FlashAttention-3 kernel fault) and r5 was trained with FlashAttention-2. The single runs of the submitted version are not among the scored seeds. Neural baselines train seeds 1–3, except PPO n8 on T1.1 (one seed). The Llama-3.2-3B-Instruct pair [13] and the optimizer and backbone comparisons of Appendix § 12.8 (Qwen2.5-3B-Instruct [25], Qwen3-8B [Yang et al., 2025]) have one seed per arm and are exploratory.
Evaluation. Each run is scored at its terminal checkpoint on the frozen test suite (Appendix § 8.§ 1) under deterministic decoding (temperature 0), one repeat per episode, with no checkpoint selection on validation; a run that the top- rollout filter stops early is scored at its stop step (Table 17). The exploratory Tier 3 training curves (Figure 4c–Figure 4e) also score intermediate checkpoints (Appendix § 8.§ 1). Scripted policies (no-action and the scripted agronomic reference) are rolled out on the same scenarios. Think and no-think are paired by seed and scenario; independently trained arms are compared by the difference of their seed means over the propagated SD , where and are the two arms’ seed SDs. Three seeds give the direction and spread of an effect and are too few for formal significance tests.
GPU dependence of decoding. Greedy decoding is not bit-reproducible across GPUs: where two tokens are nearly tied, a different GPU model or driver can flip the choice, and the episode then diverges. Scoring used A100, A40 and H200 GPUs. All WOFOST and DSSAT terminal-checkpoint cells of the headline tables come from one scoring pass; the rebuilt Cycles suites and the intermediate checkpoints of the Tier 3 training curves were scored later on H200 and A100 GPUs, and the Tier 1 per-crop and per-regime breakdowns use a later re-scoring of the same terminal checkpoints (Appendix § 12.§ 3). Re-scoring the same checkpoints on the WOFOST and DSSAT targets in that later pass left 68 of 159 trained Qwen no-think seed means bit-identical; on the reward-scored targets, trained seed means moved by at most 0.16 (no-think) and 0.29 (think), at most 1.7 scenario-level standard errors, and the untrained model’s by up to 0.62 (3.1 standard errors). Two H200 machines with different drivers differed on 6 of 128 WOFOST episodes of one checkpoint. The released re-scoring records list the GPU of each re-scored run.
Compute. LLM-RL runs use two H200 GPUs (four for T3.2); Appendix § 13.§ 2 gives the wall-clock cost of a Tier 1 run against the CPU-only neural baseline. Test-suite scoring of one checkpoint takes about 3 to 30 minutes on one GPU, depending on the number of suites. We count GPU-hours as the runtime that W&B logged for a run times its number of training GPUs. The 90 runs behind the confirmatory tables (30 arms, three seeds each) used 1,054 GPU-hours on H200 GPUs, and the exploratory backbone and optimizer runs of Appendix § 12.8, with the earlier legs of resumed runs, used 1,080 GPU-hours. The neural baselines behind the reported tables trained on CPU nodes without GPUs for 532 hours of W&B-recorded run time (57 runs, every leg of a resumed run included): 103 hours on T1.1, 112 on T1.2, 265 on T1.3 and 52 on T2.2. Over the whole project, including preliminary, failed, and replaced runs, the runs logged to W&B used 7,721 GPU-hours, 7,109 of them on H200 GPUs (88 on the NVL variant) and 605 on A100 GPUs. These totals leave out test-suite scoring and any work not logged to W&B.
Released assets and licenses. The code is released at https://github.com/AgriManager-Framework/AgriManager under the Apache-2.0 license, with the framework, the training and evaluation scripts, the scripted reference policies, the test-suite generation configurations and seeds, the disjointness audits, and the per-run scoring manifest and per-seed result tables behind every reported table. The Hugging Face organization https://huggingface.co/AgriManager-Framework hosts the datasets under CC BY 4.0, namely the weather pools, the held-out test suite (AgriManager-Framework/agrimanager-test-suite) with its manifests and audit records, and the per-run result records, together with the trained checkpoints. Checkpoints are released under Apache-2.0, except those fine-tuned from Llama-3.2-3B-Instruct, which keep the Llama 3.2 Community License, and the two fine-tuned from Qwen2.5-3B-Instruct, which keep the Qwen Research License. The simulators and their Gym wrappers are not redistributed: the installer fetches each at a pinned commit, and each keeps its own license (Table 7). The Cycles binary is licensed CC BY-NC-ND 4.0, so its non-commercial terms apply to the Cycles environments. The WOFOST weather data were obtained from the NASA Langley Research Center POWER project, funded through the NASA Earth Science Division.
Table 7: Existing assets used in this paper, with the version used and the license. Commits are abbreviated; the release documentation (THIRD_PARTY_NOTICES.md) gives full hashes. Model licenses are those of the Hugging Face model cards, read on 2026-10-25.
| Asset | Use | Version | License |
| DSSAT-CSM [15] | crop simulator | dssat-pdi 4.8.0.24_2, data v4.8.0.28 | BSD-3-Clause |
| gym-DSSAT [11] | Gym wrapper for DSSAT | gym_dssat_pdi 63f2c52 (gym-dssat 0.0.8) | BSD-3-Clause |
| WOFOST / PCSE [7] | crop simulator | modified PCSE 5.5.6 inside WOFOSTGym | EUPL 1.1 or later |
| WOFOSTGym [31] | Gym wrapper for WOFOST | upstream 281f0af plus our patch (fork 253cf54) | MIT |
| Cycles [20] | crop simulator | v0.12.9-alpha release binary | CC BY-NC-ND 4.0 |
| CyclesGym [35] | Gym wrapper for Cycles | upstream 44e7dbc plus our patch (fork 2eb8758) | BSD-3-Clause |
| NASA POWER | WOFOST daily weather | daily data via the PCSE provider | attribution per POWER guide |
| Qwen3-4B-Instruct-2507 [Yang et al., 2025] | backbone of all confirmatory runs | Hugging Face, Qwen org. | Apache-2.0 |
| Qwen3-8B [Yang et al., 2025] | exploratory backbone | Hugging Face, Qwen org. | Apache-2.0 |
| Qwen2.5-3B-Instruct [25] | exploratory backbone | Hugging Face, Qwen org. | Qwen Research License |
| Llama-3.2-3B-Instruct [13] | exploratory backbone | Hugging Face, meta-llama org. | Llama 3.2 Community License |
| VeRL [28] | LLM-RL training | 7522bef (v0.7.0 plus one commit) | Apache-2.0 |
| vLLM | rollout generation | 0.11.0 | Apache-2.0 |
| Stable-Baselines3 [26] | neural baselines | 2.6.0a1 (copy in WOFOSTGym) | MIT |
Table 7.
Baseline and reference policies
This appendix specifies the baseline and reference policies of § 3.2: the per-simulator scripted agronomic references that anchor the normalized return, the no-action policy, and the neural baselines.
Normalization references and raw returns
The normalized return of § 3.2 is anchored per target by two scripted policies, both evaluated on the same test scenarios as the policy under test and reused across all policies. No-action, the zero-action control (Appendix § 11.§ 5), sits at ; it is well defined under every in the benchmark. The scripted agronomic reference (per-simulator implementations below) sits at , since divides by the absolute gap . We use the gap as a denominator where the reference clears no-action by at least a tenth of the largest gain over no-action that a think arm reaches on that target; on every such target the reference lies above no-action. Weather-regime meets this condition on none of its ten crop–split targets: its gap ranges from −0.148 to +0.017 profit-equivalent t/ha and is negative on eight, so T1.1 cannot be normalized and reports the gain over no-action, . Since the gap differs across targets, compares policies within a target only.
The reference marks codified practice and is uncalibrated against experts or optimal control. On WOFOST it is a conservative schedule: the untrained think model already scores above it on every Tier 2 target (normalized 1.4 to 5.7), so a normalized score of 5 means five times the gap between no-action and that schedule.
Tables 8 and 9 list, for every headline target, the raw return of each trained arm (mean ± SD over three training seeds), the untrained model under both response formats, both reference returns and the gap; normalized scores follow from Eq. (2). Invalid-output rates of the trained policies are at most 0.006 on every Tier 1 and Tier 2 seed and target, except two cells of the T2.3 yield-only no-think arm (0.046 and 0.012). The untrained think model is less reliable (up to 0.44 on the anonymized T2.1 variant S5 and 0.15 on T2.3 yield); Appendix § 12.§ 4 lists the rates of every setting, and Tier 3 rates appear in Appendix § 12.7.
WOFOST scripted agronomic reference
The WOFOST scripted agronomic reference (used on T1.1, T1.2, T2.1, T2.2, T2.3, the WOFOST target of T3.1 and the WOFOST tuples of T3.2) is a crop-specific rule set. It assigns each crop a set of seasonal input caps and uses crop stage and soil observations to select an action. It is the version behind the submitted figures, re-run on the test suite.
Agronomic sources. We designed the nutrient-management rules using the 4R framework and soil-test-based extension recommendations [3, 9]. The crop-specific rules draw on recommendations for inoculated pulse legumes [12, 10], potato nutrient management [8], and irrigated maize [6]. The irrigation rules use soil moisture and crop stage following FAO-56 and CROPWAT [2, 30], with a tighter potato trigger during tuber initiation and bulking [36]. These references guide the rule structure and qualitative constraints; Table 10 and the decision rule below specify the exact policy configuration used in our experiments.
| Crop | Irrig. | Trigger | |||
| default | 60 | 20 | 20 | 80 | 0.31 |
| barley | 90 | 20 | 20 | 80 | 0.31 |
| cotton | 80 | 20 | 40 | 120 | 0.31 |
| maize | 120 | 20 | 20 | 100 | 0.31 |
| millet | 60 | 20 | 20 | 60 | 0.31 |
| potato | 120 | 40 | 80 | 180 | 0.37 |
| rapeseed | 120 | 20 | 40 | 80 | 0.31 |
| rice | 100 | 20 | 20 | 160 | 0.31 |
| sorghum | 70 | 20 | 20 | 70 | 0.31 |
| sugarbeet | 100 | 20 | 60 | 120 | 0.31 |
| sunflower | 60 | 20 | 20 | 80 | 0.31 |
| sweetpotato | 40 | 20 | 40 | 80 | 0.31 |
| wheat | 100 | 20 | 20 | 80 | 0.31 |
| pulse legume | 0 | 20 | 20 | 60 | 0.29 |
| chickpea | 0 | 20 | 0 | 50 | 0.28 |
Table 10. Seasonal caps of the WOFOST scripted agronomic reference. N/P/K are in kg ha and irrigation is in mm. Rows not listed use the default. The seven pulse legumes (chickpea, cowpea, faba bean, groundnut, mung bean, pigeon pea, and soybean) use with a zero starter allowance.
Per-crop records. Each crop resolves to a record of seasonal caps; crops absent from the table use the default row. All seven pulse legumes have both their seasonal N cap and starter-N allowance set to zero.
The default P and K soil thresholds are both 5, and the default minimum temperature for fertilizer application is 4 °C. Pulse legumes use a minimum temperature of 6 °C. Potato instead uses P and K thresholds of 7 and 8, respectively, and a minimum temperature of 5 °C.
Objective adjustment. The active objective scales the selected crop record. Under yield_max, all caps are multiplied by 1.15 and the irrigation trigger is raised by 0.02. Under nutrient_stewardship, the N/P/K caps are multiplied by 0.70. Under water_stewardship, the irrigation cap is multiplied by 0.60 and the trigger is lowered by 0.03. profit_max uses the record unchanged.
Decision rule. Let DVS denote crop development stage, SM soil moisture, and TOTN, TOTP, TOTK, and TOTIRRIG the cumulative applied amounts. Nitrogen is staged as a fraction of the crop’s cap: 0.40N for , 0.80N for , and the full cap only under yield_max for . At each decision turn, the policy takes the first applicable rule:
If rainfall is low, irrigation is exposed, , the seasonal water cap is not spent, and SM is more than 0.04 below the trigger, irrigate. Acute water stress preempts nutrients because the action menu permits only one action per turn.
Otherwise, if temperature is above the crop’s minimum for fertilizer application and , apply P if the available P pool is below the crop’s soil-test threshold and TOTP is below cap; otherwise apply K under the same condition.
Otherwise, if nitrogen is exposed and , apply only the starter allowance to a pulse legume, and only while DVS < 0.35. For any other crop, apply nitrogen up to the stage target, unless the available soil-N pool exceeds 25 kg ha.
Otherwise, irrigate if rainfall is low and SM is below the trigger.
Otherwise, emit the no-op action.
The selected symbolic action is then projected into the current action menu: if the chosen action family exists, the adapter takes the largest available discrete level that does not exceed the remaining cap; if the family is absent, it emits no-op. This projection lets the same policy operate under both full and restricted WOFOST action schemas.
Cycles scripted references
Crop planning (T1.3). The action is the annual crop choice from {CornRM.100, SoybeanMG.3} together with a planting-week index from 0 to 13. The scripted agronomic reference is a price-led alternation: each year it plants the crop with the higher price in the episode’s price vector, unless that crop was planted the year before, in which case it plants the other (soybean when the repeat would be corn). With two crops this plants the higher-priced crop in the first year and alternates every year after; it ignores soil state. It plants at the middle week index (7) in the first year and repeats that week every year. The code also defines three diagnostic crop-choice scripts for price responsiveness and rotation sensitivity, which are not scored on the test suite: price-greedy plants the higher-priced crop each year; rotation-aware plants the higher-priced crop but switches after a repeat when the price dominance ratio is below a crop-specific threshold (1.35 for corn, 1.45 for soybean) and forces a soybean year after two corn years under high-corn prices; soil-aware adds a switch to soybean after corn whenever soil-profile NO is below 25 kg ha.
Crop growth (T3.1 and T3.2). The Cycles maize task exposes nitrogen only, at eleven levels from 0 to 150 kg/ha. Its reference is the first implementation of our generic scripted policy, which splits nitrogen by season progress (the fraction of the episode’s decision turns elapsed): 40 kg/ha between 15% and 35% of the season while cumulative N is below 40 kg/ha, 60 kg/ha between 35% and 65% while it is below 110 kg/ha, and, under the yield objective only, 30 kg/ha between 65% and 80% while it is below 160 kg/ha, each rounded to the nearest available level. This implementation reproduces the submitted reference exactly (10.83 profit-equivalent t/ha on the submitted T3.1 validation scenarios). The current version of the same module has no nitrogen rule on this task; it returns the zero action and scores exactly as no-action, so it is not used.
DSSAT scripted schedule
The DSSAT reference is a fixed schedule applied on exact days after planting (DAP) inside the daily DSSAT loop, so scheduled events are not skipped by the agent’s decision interval. It applies nitrogen at DAP 40 (27 kg/ha), DAP 45 (35 kg/ha), and DAP 80 (54 kg/ha), and irrigation at DAPs 6, 20, 37, 50, 54, 65, 69, 72, 75, 77, 80, 84, 91, 101, 104, 105, for a total of 264 mm. It is the DSSAT scripted agronomic reference for the DSSAT target of T3.1 and the DSSAT tuples of T3.2.
Provenance of the DSSAT reference. The DSSAT reference values in the submitted version were set by hand. The first implementation matched schedule days exactly and, at the agent’s decision interval, applied no input, so it scored as no-action; the submitted figures replaced its values with a manual correction for which no run or code survives. Every DSSAT number in this version uses a reconstruction of the schedule above from code. It reproduces the submitted input totals (116 kg/ha N, 264 mm irrigation) and returns 7.17 profit-equivalent t/ha on the submitted validation scenarios, against the hand-set 7.47; on the test suite it returns 7.36.
No-action policy
The no-action policy emits action = 0 for discrete action spaces and the zero vector for continuous spaces; in WOFOST, DSSAT and Cycles crop growth this applies no fertilizer and no irrigation. On T1.3 crop planning the zero action is crop index 0 at planting-week index 0, so no-action there plants corn in the earliest week every year, which still earns gross revenue. The random-action control of the submitted figures is not scored on the test suite.
NN-PPO architecture
The fixed-interface NN baseline is Stable-Baselines3 PPO [26] with the stock MlpPolicy: two hidden layers of 64 units with tanh activations and separate actor and critic towers that read the same numeric observation, the simulator’s native state vector exposed by the env’s nn_adapter (Appendix § 7); no learned encoder is added. The action head is a categorical distribution over the discrete action menu, matching the cardinality declared in . Vectorized environments ments use 32 parallel workers with 72-step rollouts; full optimization hyperparameters are in Table 6. The fixed-interface PPO applies to the Tier 1 settings, whose observation layout and action set match training (§ 2.1); the main text reports one gradient pass per batch (n1), and Table 14 adds the eight-pass variant (n8; three seeds on T1.2 and one seed on T1.1, the latter exploratory).
Table 6: Essential hyperparameters; settings not listed follow the released VeRL and Stable-Baselines3 configs. The reward-variance rollout filter follows Wang et al. [2026] and is disabled for the T2.3 and T3.2 runs.
| LLM-RL (GRPO on VeRL) | NN-PPO (Stable-Baselines3) | ||
| backbone | Qwen3-4B-Instruct-2507 | policy | MlpPolicy, , tanh |
| precision | bfloat16, FSDP 1 | learning rate | |
| optimizer | AdamW, lr | discount | ; GAE |
| advantage | GRPO, per-group std norm | PPO clip | 0.2 |
| PPO clip | 0.2; inner epochs 1 | coefficients | entropy 0.01; value 0.5 |
| mini-batch | 128; entropy 0; KL off | grad clip | 0.5 |
| rollout | vLLM, 16 prompts 4, temp 1.0 | inner epochs | (8 for n8) |
| max prompt/resp. | 1024 / 512 tokens | envs | 32 subproc 72 steps |
| reward | per-turn sum; top-p filter 0.9 | minibatches | 4 |
| trainer | 2 epochs (4 on T2.3, T3.2) | dataset epochs | 8 |
| hardware | H200 (4 GPUs on T3.2) |
Table 6.
| Target | Think | PPO n1 | PPO n8 | A2C | DQN |
| T1.1 weather-regime | |||||
| chickpea id | – | – | |||
| chickpea drought | – | – | |||
| chickpea wet | – | – | |||
| chickpea hot | – | – | |||
| chickpea cold | – | – | |||
| potato id | |||||
| potato drought | |||||
| potato wet | |||||
| potato hot | |||||
| potato cold | |||||
| T1.2 crop-variety | |||||
| 4ID seen | – | – | |||
| 4ID held-out | – | – | |||
| 8ID seen | – | – | |||
| 8ID held-out | – | – | |||
| 16ID seen | – | – | |||
| 16ID held-out | – | – | |||
| T1.3 price-regime | |||||
| all regimes | – | – | – |
Table 14. Tier 1 test-suite returns of think and the neural baselines (mean ± SD over three training seeds; profit-equivalent t/ha on T1.1 and T1.2, gross revenue on T1.3). PPO n8 on T1.1 is a single seed (exploratory). DQN and A2C train on potato only.
| Family A (lnpkw, lnpk) | Family B (lnpk, lw) | ||||
| Test menu | Think | Masked PPO | Think | Masked PPO | Target-trained PPO |
| lnpkw | 5.67 ± 0.20 | 3.18 ± 0.13 | 4.05 ± 1.82 | 2.24 ± 0.01 | 3.16 ± 0.16 |
| lnw | 5.76 ± 0.30 | 3.57 ± 0.21 | 4.25 ± 1.66 | 4.08 ± 0.14 | 5.28 ± 0.10 |
| ln | 5.71 ± 0.19 | 5.03 ± 0.11 | 5.15 ± 1.31 | 4.77 ± 0.07 | 5.45 ± 0.18 |
| lw | 7.08 ± 0.12 | 5.08 ± 0.08 | 7.01 ± 0.25 | 6.91 ± 0.08 | 7.09 ± 0.08 |
Table 11. T2.2 action menu: think policies against the schema-capable neural baselines, raw test-suite profit_max return divided by the per-scenario reference yield (mean ± SD over three training seeds). Masked PPO trains on its family’s two training menus; the target-trained PPO trains on the test menu itself. References for each menu are in Table 9.
Additional neural baselines. On potato weather-regime, Stable-Baselines3 DQN and A2C train on the same observation, action menu and 12,800-episode budget; A2C keeps the settings it shares with PPO and its own default learning rate ( with RMSprop). On the action menu, MaskablePPO (sb3-contrib) acts over a canonical 17-action vocabulary (no-op plus four levels each of N, P, K and water) with a legal-action mask from each native menu, trained per family on that family’s training menus; a target-trained PPO trains on each test menu alone (800 scenarios, sixteen passes) as a reachable learned reference for that menu. On the test suite, the Family A think policy scores above masked PPO on every menu (3.1 to 14.4 propagated SD) and above the target-trained PPO on lnpkw (9.7) and lnw (1.6), within one SD of it on ln (1.0) and lw (−0.08); the Family B think policy stays within one propagated SD of both baselines on every menu.
Additional results
This appendix gives the per-seed results behind the main-text statements, the neural baselines on Tier 1, invalid-output rates, the early-stopping record, the training curves, and Tier 3 details. Raw returns and both reference returns for every headline target are in Table 8 and Table 9.
| Target | Think | No-think | Untrained (think / no-think) | No-action | Reference | Gap |
| T1.1 weather-regime (profit-equivalent t/ha; not normalized) | ||||||
| chickpea id | 2.060 ± 0.123 | 0.025 ± 0.021 | −0.084 / −0.430 | 0.010 | −0.002 | −0.012 |
| chickpea drought | 1.855 ± 0.362 | 0.087 ± 0.127 | −0.106 / −0.251 | 0.008 | 0.000 | −0.007 |
| chickpea wet | 1.567 ± 0.079 | 0.029 ± 0.011 | −0.360 / −0.349 | 0.034 | 0.026 | −0.007 |
| chickpea hot | 1.486 ± 0.250 | 0.040 ± 0.047 | −0.280 / −0.461 | 0.010 | −0.019 | −0.029 |
| chickpea cold | 0.738 ± 0.319 | 0.033 ± 0.029 | −0.513 / 0.019 | 0.020 | 0.021 | 0.001 |
| potato id | 8.551 ± 0.315 | 0.096 ± 0.000 | 6.183 / −0.398 | 0.096 | 0.029 | −0.067 |
| potato drought | 6.832 ± 0.580 | 0.091 ± 0.001 | 4.540 / −0.345 | 0.090 | 0.022 | −0.068 |
| potato wet | 9.623 ± 0.086 | 0.111 ± 0.000 | 7.931 / −0.613 | 0.111 | 0.128 | 0.017 |
| potato hot | 10.772 ± 0.386 | 0.140 ± 0.000 | 9.020 / −1.333 | 0.140 | 0.064 | −0.075 |
| potato cold | 7.861 ± 0.286 | 0.096 ± 0.000 | 6.074 / −0.014 | 0.096 | −0.052 | −0.148 |
| T1.2 crop-variety (profit-equivalent t/ha) | ||||||
| 4ID seen | 2.03 ± 0.06 | 0.72 ± 0.00 | 0.79 / 0.43 | 0.72 | 1.15 | 0.43 |
| 4ID held-out | 1.63 ± 0.10 | 0.42 ± 0.00 | 0.89 / 0.39 | 0.42 | 0.57 | 0.14 |
| 8ID seen | 1.81 ± 0.05 | 0.76 ± 0.08 | 0.79 / 0.43 | 0.72 | 1.15 | 0.43 |
| 8ID held-out | 1.73 ± 0.18 | 0.42 ± 0.01 | 0.89 / 0.39 | 0.42 | 0.57 | 0.14 |
| 16ID seen | 1.96 ± 0.04 | 0.71 ± 0.02 | 0.79 / 0.43 | 0.72 | 1.15 | 0.43 |
| 16ID held-out | 1.83 ± 0.27 | 0.40 ± 0.04 | 0.89 / 0.39 | 0.42 | 0.57 | 0.14 |
| T1.3 price-regime (gross revenue) | ||||||
| all regimes | 29,826 ± 257 | 29,834 ± 1,064 | 13,752 / 20,451 | 10,891 | 28,555 | 17,664 |
Table 8. Raw test-suite returns, Tier 1. Think and no-think: mean ± SD over three training seeds. Untrained: the backbone before RL under the think / no-think response format (one run). Reference: the scripted agronomic reference; Gap: reference minus no-action. Units: profit-equivalent t/ha on T1.1 and T1.2; gross revenue on T1.3 (Cycles crop planning; no input-cost term). T1.2 coverage settings share one suite, so their references coincide.
| Target | Think | No-think | Untrained (think / no-think) | No-action | Reference | Gap |
| T2.1 observation schema | ||||||
| S1 | 5.74 ± 0.19 | 1.16 ± 0.07 | 3.43 / −0.22 | 0.40 | 1.39 | 0.98 |
| S2a | 5.46 ± 0.23 | 0.95 ± 0.23 | 3.25 / −0.80 | 0.40 | 1.39 | 0.98 |
| S2b | 1.33 ± 1.38 | 0.62 ± 0.29 | 1.78 / −0.27 | 0.40 | 1.39 | 0.98 |
| S2c | 4.69 ± 1.15 | 0.96 ± 0.38 | 2.42 / 0.42 | 0.40 | 1.39 | 0.98 |
| S2d | 5.67 ± 0.09 | 1.16 ± 0.07 | 3.92 / −0.29 | 0.40 | 1.39 | 0.98 |
| S3 | 5.22 ± 0.30 | 0.95 ± 0.29 | 3.04 / −0.41 | 0.40 | 1.39 | 0.98 |
| S4 | 4.99 ± 0.10 | 1.11 ± 0.09 | 2.63 / −1.06 | 0.40 | 1.39 | 0.98 |
| S5 | 5.35 ± 0.08 | 0.81 ± 0.26 | 2.54 / 0.40 | 0.40 | 1.39 | 0.98 |
| T2.2 action menu (Family A / B) | ||||||
| A ln | 5.71 ± 0.19 | 1.00 ± 1.47 | 5.17 / 3.57 | 0.15 | 1.04 | 0.89 |
| A lnpkw | 5.67 ± 0.20 | 1.15 ± 0.04 | 3.46 / −0.22 | 0.40 | 1.39 | 0.98 |
| A lnw | 5.76 ± 0.30 | 1.31 ± 1.13 | 5.17 / 1.46 | 0.12 | 2.22 | 2.10 |
| A lw | 7.08 ± 0.12 | 4.03 ± 2.19 | 5.43 / 2.24 | 2.77 | 4.07 | 1.30 |
| B ln | 5.15 ± 1.31 | 1.08 ± 1.04 | 5.17 / 3.57 | 0.15 | 1.04 | 0.89 |
| B lnpkw | 4.05 ± 1.82 | 0.63 ± 0.02 | 3.46 / −0.22 | 0.40 | 1.39 | 0.98 |
| B lnw | 4.25 ± 1.66 | 0.14 ± 0.00 | 5.17 / 1.46 | 0.12 | 2.22 | 2.10 |
| B lw | 7.01 ± 0.25 | 7.08 ± 0.28 | 5.43 / 2.24 | 2.77 | 4.07 | 1.30 |
| T2.3 reward formulation (multi-objective / yield-only training) | ||||||
| multi nutrient | 0.73 ± 0.11 | −2.40 ± 0.77 | −1.01 / −2.40 | −2.87 | −2.17 | 0.70 |
| multi profit | 0.68 ± 0.04 | 0.05 ± 0.00 | 0.40 / −0.02 | 0.05 | 0.16 | 0.12 |
| multi water | 0.67 ± 0.12 | −1.38 ± 1.47 | 0.14 / −2.15 | −2.23 | −1.76 | 0.46 |
| multi yield | 0.87 ± 0.02 | 0.24 ± 0.30 | 0.51 / 0.04 | 0.05 | 0.26 | 0.21 |
| yield-only nutrient | 0.34 ± 0.63 | −0.07 ± 0.60 | −1.01 / −2.40 | −2.87 | −2.17 | 0.70 |
| yield-only profit | 0.60 ± 0.13 | 0.51 ± 0.06 | 0.40 / −0.02 | 0.05 | 0.16 | 0.12 |
| yield-only water | 0.41 ± 0.27 | 0.67 ± 0.10 | 0.14 / −2.15 | −2.23 | −1.76 | 0.46 |
| yield-only yield | 0.91 ± 0.01 | 0.87 ± 0.03 | 0.51 / 0.04 | 0.05 | 0.26 | 0.21 |
| T3.1 cross-simulator, source → target (profit-equivalent t/ha) | ||||||
| Cycles → Cycles | 11.35 ± 0.01 | 11.39 ± 0.09 | 10.71 / 10.31 | 4.27 | 10.83 | 6.55 |
| Cycles → DSSAT | 3.05 ± 1.35 | 1.54 ± 0.07 | 1.07 / 1.76 | 1.07 | 7.36 | 6.28 |
| Cycles → WOFOST | 4.21 ± 0.69 | 2.89 ± 0.77 | 5.03 / 1.46 | 0.12 | 2.22 | 2.10 |
| DSSAT → Cycles | 9.87 ± 0.44 | 8.54 ± 0.37 | 10.71 / 10.31 | 4.27 | 10.83 | 6.55 |
| DSSAT → DSSAT | 6.97 ± 0.68 | 7.78 ± 0.25 | 1.07 / 1.76 | 1.07 | 7.36 | 6.28 |
| DSSAT → WOFOST | 4.60 ± 0.21 | 0.68 ± 0.45 | 5.03 / 1.46 | 0.12 | 2.22 | 2.10 |
| WOFOST → Cycles | 10.11 ± 0.43 | 9.95 ± 1.92 | 10.71 / 10.31 | 4.27 | 10.83 | 6.55 |
| WOFOST → DSSAT | 3.91 ± 1.65 | 1.38 ± 0.33 | 1.07 / 1.76 | 1.07 | 7.36 | 6.28 |
| WOFOST → WOFOST | 6.41 ± 0.07 | 6.05 ± 0.02 | 5.03 / 1.46 | 0.12 | 2.22 | 2.10 |
| T3.2 unified policy (held-out: WOFOST lnpw profit, lnpkw nutrient, DSSAT and Cycles profit) | ||||||
| Cycles profit | 10.55 ± 0.30 | 5.89 ± 3.56 | 10.68 / 10.31 | 4.27 | 10.83 | 6.55 |
| Cycles yield | 12,235 ± 0 | 12,235 ± 0 | 12,235 / 12,235 | 4,272 | 11,403 | 7,131 |
| DSSAT profit | 6.16 ± 0.85 | 4.87 ± 3.37 | 1.07 / 1.74 | 1.07 | 7.36 | 6.28 |
| DSSAT yield | 8,783 ± 1,646 | 7,564 ± 844 | 1,796 / 5,925 | 1,074 | 7,778 | 6,704 |
| WOFOST lnpk profit | 0.63 ± 0.04 | 0.52 ± 0.39 | 0.55 / −0.06 | 0.07 | 0.14 | 0.07 |
| WOFOST lnpkw nutrient | −0.10 ± 0.95 | −1.20 ± 2.45 | −1.02 / −2.41 | −2.87 | −2.17 | 0.70 |
| WOFOST lnpkw profit | 0.59 ± 0.12 | 0.24 ± 0.22 | 0.39 / −0.03 | 0.05 | 0.16 | 0.12 |
| WOFOST lnw profit | 0.53 ± 0.25 | 0.18 ± 0.12 | 0.60 / 0.17 | 0.01 | 0.26 | 0.25 |
| WOFOST lnw yield | 0.78 ± 0.07 | 0.69 ± 0.16 | 0.57 / 0.31 | 0.01 | 0.44 | 0.43 |
Table 9. Raw test-suite returns, Tiers 2 and 3, laid out as Table 8. WOFOST Tier 2 and T3.2 objectives are divided by a reference yield (per scenario in T2.1–T2.3, fixed at 8,500 kg/ha in T3.2), so the same objective has different scales across the two settings. DSSAT and Cycles profit are in profit-equivalent t/ha; DSSAT and Cycles yield in kg/ha. Cycles rows use the rebuilt Cycles suites (Appendix B.1).
Per-seed results
Table 12 and Table 13 give every trained seed’s test-suite score next to the untrained model. They carry the main-text seed counts: on T2.1 the resource-state variant S2b is the lowest variant in every think seed, and RL leaves think 0.45 below the untrained model there (mean 0.94 against 1.39; one of three seeds above it), while every other variant gains in every seed. On T2.2, Family A gains over the untrained model on all four menus in every seed; Family B gains in every seed only on lw. On T2.3, two of the three multi-objective no-think seeds end at or near no-action on every objective.
| Target | Think (per seed) | No-think (per seed) | Untrained (think / no-think) |
| T1.1 weather-regime (gain over no-action, profit-equivalent t/ha) | |||
| chickpea id | 2.11/2.13/1.91 | 0.00/0.04/0.01 | −0.09 / −0.44 |
| chickpea drought | 2.13/1.97/1.44 | 0.00/0.23/0.01 | −0.11 / −0.26 |
| chickpea wet | 1.62/1.47/1.51 | 0.00/0.00/−0.02 | −0.39 / −0.38 |
| chickpea hot | 1.73/1.46/1.24 | 0.00/0.08/0.01 | −0.29 / −0.47 |
| chickpea cold | 1.01/0.38/0.76 | 0.00/0.05/−0.01 | −0.53 / 0.00 |
| potato id | 8.78/8.14/8.44 | 0.00/0.00/0.00 | 6.09 / −0.49 |
| potato drought | 7.41/6.39/6.43 | 0.00/0.00/0.00 | 4.45 / −0.43 |
| potato wet | 9.50/9.43/9.60 | 0.00/0.00/0.00 | 7.82 / −0.72 |
| potato hot | 10.87/10.84/10.19 | 0.00/0.00/0.00 | 8.88 / −1.47 |
| potato cold | 8.07/7.51/7.71 | 0.00/0.00/0.00 | 5.98 / −0.11 |
| T1.2 crop-variety | |||
| 4ID seen | 3.04/3.19/2.93 | 0.00/0.00/0.00 | 0.18 / −0.66 |
| 4ID held-out | 7.50/8.84/8.59 | 0.00/0.00/0.00 | 3.21 / −0.21 |
| 8ID seen | 2.68/2.45/2.49 | 0.00/0.00/0.31 | 0.18 / −0.66 |
| 8ID held-out | 10.05/7.64/9.43 | 0.00/0.00/−0.09 | 3.21 / −0.21 |
| 16ID seen | 2.94/2.96/2.78 | 0.00/−0.06/0.00 | 0.18 / −0.66 |
| 16ID held-out | 9.61/11.63/7.85 | 0.00/−0.52/0.00 | 3.21 / −0.21 |
| T1.3 price-regime (seeds r1–r3) | |||
| all regimes | 1.06/1.09/1.07 | 1.04/1.04/1.14 | 0.16 / 0.54 |
Table 12. Per-seed test-suite scores, Tier 1: normalized return (Eq. (2)) on T1.2 and T1.3, gain over no-action on T1.1. Seeds are listed in training-seed order (r2 / r3 / r4 unless noted). Untrained: one run under the think / no-think response format.
| Target | Think (per seed) | No-think (per seed) | Untrained (think / no-think) |
| T2.1 observation schema | |||
| S1 | 5.64/5.28/5.34 | 0.69/0.76/0.83 | 3.07/−0.64 |
| S2a | 5.31/5.23/4.87 | 0.60/0.30/0.76 | 2.89/−1.22 |
| S2b | 0.67/2.46/−0.30 | 0.00/0.56/0.09 | 1.39/−0.68 |
| S2c | 3.02/4.83/5.21 | 0.12/0.78/0.80 | 2.05/0.01 |
| S2d | 5.42/5.25/5.38 | 0.69/0.78/0.83 | 3.57/−0.70 |
| S3 | 4.54/5.06/5.08 | 0.68/0.22/0.77 | 2.68/−0.83 |
| S4 | 4.72/4.54/4.70 | 0.67/0.66/0.82 | 2.26/−1.48 |
| S5 | 4.99/5.12/4.95 | 0.10/0.60/0.53 | 2.17/0.00 |
| T2.2 action menu (Family A / B) | |||
| A ln | 6.49/6.20/6.09 | 0.00/2.87/0.00 | 5.65/3.86 |
| A lnpkw | 5.12/5.41/5.52 | 0.71/0.79/0.79 | 3.10/−0.63 |
| A lnw | 2.85/2.60/2.61 | 0.26/1.19/0.24 | 2.40/0.64 |
| A lw | 3.38/3.37/3.22 | 0.00/2.92/0.00 | 2.05/−0.40 |
| B ln | 6.56/3.94/6.41 | 0.84/2.30/0.00 | 5.65/3.86 |
| B lnpkw | 5.51/1.81/3.79 | 0.25/0.23/0.21 | 3.10/−0.63 |
| B lnw | 2.77/1.20/1.92 | 0.01/0.01/0.01 | 2.40/0.64 |
| B lw | 3.23/3.10/3.48 | 3.08/3.39/3.49 | 2.05/−0.40 |
| T2.3 reward formulation (multi-objective / yield-only training) | |||
| multi nutrient | 5.21/5.23/4.95 | 0.00/0.07/1.94 | 2.66/0.67 |
| multi profit | 5.75/5.52/5.02 | 0.00/0.00/0.00 | 3.03/−0.62 |
| multi water | 5.96/6.46/6.28 | 0.00/0.00/5.48 | 5.09/0.17 |
| multi yield | 3.93/4.04/3.87 | 0.00/0.21/2.60 | 2.21/−0.01 |
| yield-only nutrient | 3.54/5.19/4.99 | 4.75/4.18/3.06 | 2.66/0.67 |
| yield-only profit | 5.45/5.40/3.43 | 4.57/3.84/3.48 | 3.03/−0.62 |
| yield-only water | 5.54/6.32/5.20 | 6.01/6.42/6.26 | 5.09/0.17 |
| yield-only yield | 4.13/4.15/4.06 | 4.00/4.01/3.79 | 2.21/−0.01 |
| T3.1 cross-simulator, source → target (Cycles-source think seeds r2, r3, r5) | |||
| Cycles → Cycles | 1.08/1.08/1.08 | 1.09/1.07/1.09 | 0.98/0.92 |
| Cycles → DSSAT | 0.30/0.11/0.54 | 0.08/0.08/0.06 | 0.00/0.11 |
| Cycles → WOFOST | 2.19/2.08/1.57 | 1.66/1.36/0.93 | 2.33/0.64 |
| DSSAT → Cycles | 0.78/0.92/0.86 | 0.68/0.69/0.59 | 0.98/0.92 |
| DSSAT → DSSAT | 0.88/0.88/1.06 | 1.10/1.02/1.08 | 0.00/0.11 |
| DSSAT → WOFOST | 2.04/2.24/2.11 | 0.51/0.12/0.16 | 2.33/0.64 |
| WOFOST → Cycles | 0.88/0.83/0.96 | 1.04/1.03/0.53 | 0.98/0.92 |
| WOFOST → DSSAT | 0.57/0.64/0.15 | 0.02/0.11/0.01 | 0.00/0.11 |
| WOFOST → WOFOST | 2.95/3.02/3.01 | 2.82/2.83/2.82 | 2.33/0.64 |
| T3.2 unified policy | |||
| Cycles profit | 0.95/0.92/1.01 | 0.87/0.00/−0.13 | 0.98/0.92 |
| Cycles yield | 1.12/1.12/1.12 | 1.12/1.12/1.12 | 1.12/1.12 |
| DSSAT profit | 0.77/0.70/0.96 | 1.05/0.01/0.75 | 0.00/0.11 |
| DSSAT yield | 1.28/0.87/1.31 | 1.10/0.95/0.85 | 0.11/0.72 |
| WOFOST lnpk profit | 8.76/7.72/8.08 | 8.74/0.00/10.86 | 6.91/−1.97 |
| WOFOST lnpkw nutrient | 4.60/2.40/4.86 | 5.12/−1.54/3.58 | 2.63/0.66 |
| WOFOST lnpkw profit | 5.67/3.60/4.86 | 3.77/0.00/1.19 | 2.96/−0.63 |
| WOFOST lnw profit | 2.72/0.93/2.65 | 0.53/0.24/1.22 | 2.35/0.63 |
| WOFOST lnw yield | 1.84/1.59/1.92 | 1.76/1.15/1.84 | 1.29/0.70 |
Table 13. Per-seed normalized test-suite scores, Tiers 2 and 3, laid out as Table 12. Cycles rows use the rebuilt Cycles suites.
Tier 1 against neural baselines
Table 14 lists the Tier 1 neural baselines. Against PPO with matched updates (n1), the main-text comparison, think leads on every split: by 3.6 to 15.5 propagated SD on weather-regime, 5.6 to 32 on crop-variety and 4.7 on price-regime, with every think seed above every PPO seed. On potato weather-regime it leads A2C, the strongest n1 baseline there, by 4.5 to 7.3 propagated SD and DQN by 5.9 to 10.4. PPO with eight passes per batch (n8) makes eight gradient passes over each collected PPO batch. On crop-variety (three seeds) it is ahead of think at 4ID and 8ID (−0.14 to −0.27 profit-equivalent t/ha, −0.7 to −3.6 propagated SD) and behind it at 16ID (+0.08 and +0.19). On weather-regime it was trained with one seed, so its cells are exploratory; that single seed scores above the think mean on nine of the ten crop–split targets, all except potato hot.
Lower tail (exploratory). The later re-scoring of the terminal checkpoints (Appendix § 10) kept per-episode records for every Tier 1 seed, so we report the mean return of the worst decile of test episodes (CVaR-10), averaged over three seeds. On potato weather-regime, think’s CVaR-10 is 2.8 (drought) to 5.4 (hot, wet) profit-equivalent t/ha and 2 of 1,920 episodes fall below zero; PPO with matched updates (n1) has −1.1 to 2.0 and 3.7%. On chickpea, think has −0.81 (cold) to 0.66 and 7.9% below zero, PPO −2.4 to −1.2 and 43%. On crop-variety, think’s worst decile is negative in every cell (−0.56 to −0.37, against about 0 for no-action and −2.3 to −1.8 for PPO), and 17% of seen-crop and 33% of held-out-crop episodes end below no-action on the same scenario. On price-regime no trained policy ends below no-action on any scenario.
Tier 1 per-crop breakdown (exploratory)
The crop-variety test suite reports the four seen and the four held-out crops as two groups; Table 15 splits it by crop (128 test scenarios per crop, three training seeds per coverage setting). Per-crop splits are not prespecified targets, so the table is exploratory. It gives raw returns of the profit_max objective in profit-equivalent t/ha (storage-organ yield minus input costs, in grain-equivalent kg/ha, divided by 1,000), with no-action and the scripted agronomic reference scored on the same scenarios. Per-crop normalization is not used: the reference gap is unusable on five of the eight crops (below no-action on cotton, millet, groundnut and pigeonpea; 4% of the largest think gain on seed onion). Per-episode records exist for the later scoring pass of the same terminal checkpoints (Appendix D), which also supplies the per-regime bars of Figure 2(c) (pooled over regimes, within of the main-text T1.3 values). Its T1.2 seen and held-out means differ from those of Table 8 and 14 by at most 0.06 t/ha for think, 0.07 for the untrained model and 0.0012 for no-think, and match exactly for PPO and both references.
| Policy | Seen crops | Held-out crops | ||||||
| Policy | cotton | millet | rapeseed | rice | barley | groundnut | pigeonpea | seed onion |
| No-action | 0.05 | 0.06 | 0.49 | 2.26 | 0.58 | 0.05 | 0.20 | 0.87 |
| Reference | 1.24 | 3.53 | 1.13 | 0.16 | 1.01 | |||
| Untrained think | 1.07 | 2.95 | 1.44 | 3.74 | ||||
| Untrained no-think | 0.06 | 0.49 | 1.33 | 0.58 | 0.00 | 0.19 | 0.78 | |
| Think 4ID | ||||||||
| Think 8ID | ||||||||
| Think 16ID | ||||||||
| No-think 4ID | ||||||||
| No-think 8ID | ||||||||
| No-think 16ID | ||||||||
| PPO n1 4ID | ||||||||
| PPO n1 8ID | ||||||||
| PPO n1 16ID |
Table 15. T1.2 crop-variety raw test-suite returns per crop (exploratory), in profit-equivalent . Think and no-think (seeds r2–r4) and PPO with matched updates (n1, seeds s1–s3): mean SD over three training seeds. Untrained model: one run per response format. No-action and Reference (the scripted agronomic reference): one run, on the same 128 scenarios per crop.
Think scores above both references on every crop at every coverage except groundnut, where its three means ( to 0.16 t/ha) lie on both sides of the two references ( and 0.05). The untrained think model scores 3.74 on seed onion, inside the range of the trained think means (3.42 to 4.21), and below no-action on cotton, millet, groundnut and pigeonpea, where PPO also scores below no-action at every coverage. No-think reproduces no-action exactly at 4ID and stays within 0.20 t/ha of it on every crop at 8ID and 16ID.
Invalid-output rates
Table 16 gives the fraction of decisions whose output the parser cannot map to a legal action, for every setting. A failed decision falls back to the do-nothing action (on T1.3 crop planning, to a scripted crop choice; no T1.3 policy produced an invalid output). The untrained model is scored per target, so its T3.1 entry covers both in-domain and transfer cells.
| Setting | Trained | Trained | Untrained | Untrained |
| think | no-think | think | no-think | |
| T1.1 weather-regime | 0.000 (0.000) | 0.000 (0.000) | 0.003 (0.005) | 0.000 (0.000) |
| T1.2 crop-variety | 0.001 (0.006) | 0.000 (0.000) | 0.000 (0.000) | 0.000 (0.000) |
| T1.3 price-regime | 0.000 (0.000) | 0.000 (0.000) | 0.000 (0.000) | 0.000 (0.000) |
| T2.1 observation | 0.000 (0.001) | 0.000 (0.000) | 0.077 (0.438) | 0.000 (0.000) |
| T2.2 action menu | 0.000 (0.000) | 0.000 (0.000) | 0.003 (0.006) | 0.000 (0.000) |
| T2.3 reward | 0.000 (0.000) | 0.002 (0.046) | 0.048 (0.150) | 0.000 (0.000) |
| T3.1 in-domain | 0.000 (0.001) | 0.000 (0.000) | 0.446 (1.000) | 0.000 (0.000) |
| T3.1 transfers | 0.113 (0.914) | 0.000 (0.000) | – | – |
| T3.2 unified | 0.000 (0.003) | 0.000 (0.003) | 0.305 (1.000) | 0.000 (0.000) |
Table 16. Invalid-output rate on the test suite, mean (max) over seeds and targets of each setting. Trained arms: three seeds per arm. T3.1 separates in-domain cells (source = target) from the six transfers.
Training curves (exploratory)
The training curves below come from the W&B logs of the submitted runs, one seed per setting, and are exploratory. They plot the typed environment training signal where available: profit for WOFOST profit-maximization settings, objective reward for schema and reward-shift settings, and normalized gross revenue for Cycles price-regime training. Curve lengths differ across runs: crops and simulators have different season lengths and episode horizons, and the rollout filter stops some LLM-RL runs early (Appendix F.6).

Figure 6. Tier 1 LLM training curves for weather-regime, cross-crop, and price-regime shifts (submitted runs, one seed; exploratory). Each panel uses the typed training metric for that experiment: grain-equivalent profit on WOFOST and normalized gross revenue on Cycles.

Figure 7. Tier 1 NN-PPO training curves for the same settings (submitted runs, one seed; exploratory).

Figure 8. Tier 2 training curves for observation-schema, action-menu, and reward-formulation shifts (submitted runs, one seed; exploratory). The T2.1 panel includes both think and no-think runs; the T2.3 panel includes the multi-objective runs and the yield-only ablation.

Figure 9. Tier 3 training curves for cross-simulator maize transfer and unified-policy training (submitted runs, one seed; exploratory).
Early stopping under the rollout filter
Training stops early when the top- rollout filter discards every prompt in a batch for five consecutive steps; a stopped run is scored at its last checkpoint. The filter is on for T1.1, T1.2, T1.3, T2.1, T2.2 and T3.1 and off for T2.3 and T3.2, whose runs all reach their planned 400 and 800 steps. Table 17 lists the final step of every scored run. Every think run reaches its planned step except the three T1.3 runs; every no-think run on the two WOFOST Tier 1 settings stops within the first 160 steps, most within 35.
Filter mechanism. We follow the top- rollout filter of Wang et al. [2026]. For each prompt the trainer samples rollouts, ranks prompts by in-group reward standard deviation, and keeps the top fraction. When all four rollouts of a prompt return identical rewards (zero in-group standard deviation), the prompt carries no signal for GRPO’s advantage estimate and is discarded; when every prompt in a batch hits zero variance, the whole batch is filtered.
Reward landscape. WOFOST profit_max subtracts the unit-cost-weighted sum over four inputs (N, P, K, water) from terminal yield, with , , , (per cm). No-action receives a small but stable positive reward, while any non-zero input is penalized below zero before its yield gain offsets the cost. No-action is therefore a stable basin: once all four rollouts of a prompt converge onto it, the in-group reward variance is zero and the filter removes the prompt.
Diagnostics from the submitted runs. Figure 10 plots four rollout-level diagnostics from the submitted potato weather-regime runs (one seed per arm; exploratory). By step 13 the no-think run’s in-group reward standard deviation has fallen to the range, filter_kept_ratio is at zero, filter_zero_count is at 16/16, consecutive_all_filtered_steps reaches five, and the run terminates at step 16. The think run holds in-group reward standard deviation above 0.5 for all 200 steps, keeps filter_kept_ratio near 0.6 on average, and lifts the in-group reward mean to about 10.1, roughly four times the no-action baseline. The submitted chickpea no-think run shows the same pattern, and the three replicated potato no-think runs stop at steps 14, 17 and 27 (Table 17).
Figure 10. Rollout-level diagnostics across the submitted potato weather-regime training runs (one seed per arm; exploratory). (a) in-group reward standard deviation (log scale); (b) fraction of prompts kept by the top- filter; (c) number of zero-variance prompts per batch (out of 16); (d) mean in-group reward, with the no-action baseline marked. The no-think run (orange) stops at step 16; the think run (blue) trains for 200 steps.
A possible reason think keeps training. This is an observed correlation, and we have not isolated a mechanism. The think variant emits a reasoning trace before the action, so each rollout’s token path is longer and its sampling space larger; under the same prompt the four rollouts spread their final actions more widely and the in-group reward standard deviation stays above zero. The no-think variant emits the action directly, so once the policy drifts toward no-action all four rollouts tend to land there together. Under GRPO with a top- filter the reasoning trace may thus act as a form of exploration. The T1.3 think runs, which also stop early, and the Llama-3.2-3B pair (Appendix § 12.8) show that the effect is not universal.
Tier 3 details
Unified policy against the target-trained specialist. Each T3.1 think specialist is also scored on the T3.2 held-out suite of its own simulator, so Table 18 compares the two policies on identical scenarios under the same reward definition, three training seeds each. On the three profit tuples the specialist trains on the evaluated tuple itself, an in-distribution reference, while the unified policy never trains on that tuple and recombines schema components seen in other tuples (zero-shot recombination). On DSSAT profit the unified policy recovers about 86% of the specialist’s gain over the untrained model, with overlapping seeds. On WOFOST lnw profit and Cycles profit every specialist seed scores above every unified seed, and on both the unified mean sits below the untrained model (raw differences and , with two and one of three seeds above it). On the held-out nutrient tuple, scored against the WOFOST specialist trained on profit, the unified policy is ahead by 0.87 propagated SD.
| Held-out tuple | Unified think | Unified no-think | Specialist think | Untrained think | Unified − specialist |
| WOFOST lnw profit | |||||
| DSSAT profit | |||||
| Cycles profit | |||||
| WOFOST lnpkw nutrient |
Table 18. T3.2 unified policy, never trained on these tuples, against the T3.1 specialist trained on the profit tuple itself (on the nutrient row, the WOFOST profit specialist), on the held-out tuples, in normalized return (mean SD over three training seeds; the untrained model is a single run). The last column is the raw-return difference, unified think minus specialist, and that difference in propagated SD. The first three rows are the callback targets of Figure 4(c–Figure 4e).
Untrained model and format failures. The untrained think model fails the output format on every DSSAT decision of the profit targets (invalid-output rate 1.00), so it scores as no-action there, and the gains of trained policies over the untrained model on DSSAT profit are gains over no-action. On the DSSAT yield tuple it fails on 93% of decisions and scores 0.11 in normalized return (1,796 against 1,074 kg/ha for no-action). On the Cycles targets it fails on about a third of decisions (0.33 to 0.37) and still reaches 0.98 on profit. Trained transfers also lose part of their score to format failures: across the 18 seeds of the six T3.1 transfers, the invalid-output rate is 0.10 to 0.25 in six seeds and 0.91 in one CyclesDSSAT seed, against at most 0.001 in the three in-domain cells.
Saturated Cycles yield. On the Cycles yield tuple every Qwen policy (think and no-think unified policies in every seed, and the untrained model under both response formats) and both trained Llama-3.2-3B arms reach the same mean yield, 12,235 kg/ha against 4,272 for no-action. This tuple cannot separate competent policies and adds a constant to any seen-control average, one of the cross-simulator confounds of Appendix § 8.§ 4.
No-think instability. Without thinking, the unified Qwen policy ends below think on all four held-out tuples in mean, with think ahead in 10 of 12 seed pairs. Seed r3 of the no-think arm ends near or below no-action on every held-out tuple (normalized 0.01 on DSSAT profit, 0.24 on WOFOST lnw profit, on nutrient, and exactly no-action on Cycles profit), and seed r4 ends below no-action on Cycles profit ().
Backbone dependence of the reasoning result
The reading of thinking as a training stabilizer rests on the Qwen backbones. In the author-response period we compared four think and no-think pairs on the T3.2 validation set, one training seed per run: Qwen3-4B-Instruct under GRPO, DrGRPO, and PPO, and Qwen2.5-3B-Instruct [25] under GRPO (Table 19). For each run we take the validation reward averaged over the nine seen and held-out tuples at each of its 80 evaluations, find the step where it peaks, and report how much of that peak is lost by the end of training. In all four pairs the think arm peaks late and keeps nearly all of its peak, and the no-think arm peaks early and gives part of it back. These comparisons are exploratory: they use the validation set, one seed per run, and checkpoints chosen by the validation curve itself.
| Backbone | Optimizer | Think peak step | Think loss | No-think peak step | No-think loss |
| Qwen3-4B-Instruct | GRPO | 800 | 0.00 | 200 | 1.32 |
| Qwen3-4B-Instruct | DrGRPO | 800 | 0.00 | 410 | 0.33 |
| Qwen3-4B-Instruct | PPO | 500 | 0.02 | 50 | 0.31 |
| Qwen2.5-3B-Instruct | GRPO | 740 | 0.02 | 360 | 1.53 |
Table 19. Retention of the T3.2 validation reward, think and no-think pairs, one training seed per run (exploratory; validation set, 80 evaluations per run, mean over the nine seen and held-out tuples). “Loss” is the peak value minus the final value. All runs keep an invalid-output rate of 0.01 or below.
A Meta-Llama-3.2-3B-Instruct ([13]) pair trained under the same protocol (one seed per arm) reverses the ordering. On the test suite its no-think arm leads on four of the five WOFOST tuples (raw think minus no-think on lnpk profit, on lnpkw profit, on lnw profit, on lnpkw nutrient), think leads only on lnw yield (+0.37), and the two arms are level on DSSAT profit () and Cycles profit (identical). On DSSAT profit both Llama arms score above the Qwen unified think policy: 1.10 (think) and 1.11 (no-think) in normalized return, from their single seed, against . We therefore state the reasoning result for the Qwen backbones evaluated.
Qwen3-8B (exploratory). In the author-response period we also trained a think and no-think pair of the hybrid-reasoning Qwen3-8B release [Yang et al., 2025] on T3.2, one seed per arm. In training, the no-think arm had persistent format failures: its training invalid-output rate started at 1.00 and averaged 0.83, and the run stopped after 493 of its 800 planned steps. The think arm completed all 800 steps, with its training invalid-output rate falling from 0.30 to 0.09. Only the think arm was scored on the test suite, at its terminal checkpoint: it returns 0.40 on the held-out WOFOST lnpkw nutrient tuple and 0.31 on WOFOST lnw profit in raw objective return (no-action: −2.87 and 0.01), and on both Cycles tuples, scored on the first-build Cycles suites (Appendix § 8.§ 1), its invalid-output rate is 1.00: it never learned their action format. The pair does not isolate reasoning from format compliance.
Discussion details
Cross-tier summary
Table 20 collects, setting by setting, what the three-seed test-suite results support. It restates § 4.1–§ 4.3, which give the numbers.
| Tier | Setting | Supported finding |
| 1 | weather-regime | Think is above the untrained model in every seed and split and above PPO at matched updates, A2C and DQN (a single-seed PPO with eight gradient passes is higher on nine of ten targets; Appendix § 12.§ 2); no-think stays near no-action. |
| 1 | crop-variety | Think is above the untrained model and PPO n1 on every coverage and split (PPO with eight gradient passes, three seeds, is ahead at 4ID and 8ID; Appendix § 12.§ 2); no-think stays near no-action. |
| 1 | price-regime | Think and no-think have similar means (no observed advantage for reasoning), both above PPO n1 and the untrained model. |
| 2 | observation-schema | Transfer holds under renamed, anonymized, added, or dropped secondary fields; without the resource state, RL training leaves think below the untrained model on average (one of three seeds above it) in this ablation and training setup. |
| 2 | action-menu | Family A gains over the untrained model on every test menu in every seed, Family B only on its own training menu 1w; consistent with joint action coverage. |
| 2 | reward-formulation | A think policy trained on yield alone transfers to three unseen objectives, and multi-objective training adds a modest margin; multi-objective no-think training is unstable. |
| 3 | cross-simulator | Four of six single-source transfers (both into WOFOST, both into Cycles) score below the untrained model in every seed; the two into DSSAT gain only over an untrained model that fails the output format there; DSSAT is the hardest target. Dynamics limit is one possible explanation, which these runs do not isolate. |
| 3 | unified policy | Trained only on other tuples, the unified think policy learns DSSAT and reaches about 86% of the gain of the specialist trained on that tuple; the specialists stay ahead on WOFOST lnw profit and Cycles profit, where the unified mean also ends below the untrained model; no-think is unstable across seeds. |
Table 20. When prompt-conditioned LLM-RL generalizes: what the frozen test suite supports at three training seeds per arm, per setting. “Think” is the Qwen3-4B-Instruct policy trained with explicit reasoning; “untrained” is the same backbone before RL.
Results outside this table are exploratory: the training curves (Appendix § 12.§ 5) and the backbone comparisons of Appendix § 12.8, which use the validation set or a single training seed, and the crop-variety per-crop breakdown (Appendix § 12.§ 3), which splits the test suite below its prespecified targets. The association of thinking with stable training holds for the Qwen backbones we evaluated; a single-seed Llama-3.2-3B pair reverses it, and in the Qwen3-8B pair the no-think arm has persistent format failures (Appendix § 12.8).
Operational costs
LLM-RL costs more to train than the neural baseline. A single Tier 1 LLM-RL run trains the 4B policy on two H200 GPUs for about eight hours, while PPO on weather-regime with the same interaction budget finishes in about five (chickpea) to nine (potato) hours on a CPU node without a GPU, and the 19-year price-regime rotation takes about 88 hours per seed (W&B-recorded run time; Appendix § 10). Explicit reasoning is the main cost driver on the LLM side, at roughly 215 to 245 generated tokens per decision. Text-to-action generation also adds a failure mode that a numerical policy does not have: an output the environment cannot parse into a legal action (Appendix § 12.7 reports these rates for Tier 3).
Limitations in detail
Simulation only. DSSAT, WOFOST, and Cycles are mechanistic crop simulators without real sensor noise, actuator latency, or farmer-in-the-loop delays. Our results describe generalization across simulated scenarios and policy-facing schemas, and we make no claim about transfer to real farms; that claim would need field validation.
Seeds and exploratory results. Each arm trains three seeds, and differences between independently trained arms are stated in propagated SD (Appendix § 10). Three seeds establish the direction and spread of an effect and are too few for formal significance tests. Confirmatory results are the three-seed test-suite results at the terminal checkpoint; results that rest on the validation set or on one training seed are exploratory (Appendix § 13.§ 1). All main results use one backbone, Qwen3-4B-Instruct.
Reading the normalized return. The scripted agronomic reference is a conservative rule set, uncalibrated against experts or optimal control, so measures distance from codified practice. On 23 of the 24 normalizable WOFOST targets the untrained think model already scores above 1; a score of 5 means five times the gap between no action and that rule set. Weather-regime cannot be normalized and reports the gain over no-action, and scores are compared only within a target (Appendix § 11.§ 1).
Cross-simulator confounding. Each T3.1 transfer changes the transition dynamics together with the observation fields, the action menu and its units, the objective terms, and the site and weather source (Table 4), so Tier 3 attributes no transfer result to a single factor; the reading in terms of transition dynamics is one plausible explanation. A Cycles scenario is fixed by its weather year at a single site, so each Cycles target rests on 13 physical scenarios (weather years 2004–2016; Appendix § 8.§ 1). The Cycles yield tuple of T3.2 is saturated, and the untrained think model fails the output format on the DSSAT profit targets and scores as no-action there (Appendix § 12.7).
Evaluation assets. The test suite was built after submission (Appendix § 8.§ 1). Its first build of the three Cycles crop-growth suites reused the eight validation years and was rebuilt from unused years. The DSSAT reference values in the submitted version were set by hand and are replaced here by a reconstruction from code (Appendix § 11.§ 4). The Cycles crop-growth reference is the first implementation of our generic scripted policy, since the current implementation has no nitrogen rule on that task and scores exactly as no-action (Appendix § 11.§ 3).
Extended related work
This appendix gives the per-thread discussion summarized by the comparison in Table 1 of § 1.
Agricultural RL and crop-management simulators
Agricultural RL has been built on single-simulator gym environments, each binding one crop-growth model to a fixed observation, action, and reward interface. gym-DSSAT Gautron et al. [ [11] runs on DSSAT, WOFOSTGym Solow et al. [ [31] on WOFOST for annual and perennial crop management, CyclesGym Turchetta et al. [ [35] on Cycles for long-horizon multi-crop nitrogen scheduling, and CropGym Overweg et al. [ [24] on PCSE for nitrogen management. Each binds its own interface to its platform.
Recent work brings language models into agricultural decision-making. Wu et al. [2024a] convert state variables into natural-language text and let a language model encode them for a downstream DQN, and CROPS Wu et al. [2024b] trains a language model as a DQN agent on partially masked states, both on DSSAT alone; Kaushik et al. [ [19] compare zero-shot LLM agents, without RL training, against RL agents on agricultural tasks under shifted weather; Chen and Huang [ [4] survey integrations of RL and LLMs in crop management. None of these trains an LLM policy with RL across multiple simulators, and none evaluates structural variation. The AgriManager framework places a prompt-based schema layer over three otherwise incompatible simulators (WOFOST, DSSAT, Cycles), and the benchmark treats structural variation, formalized as schema shift, as an evaluation axis (§ 2 and § 3).
RL generalization and cross-task transfer
Generalization in reinforcement learning has been studied along several lines, most under the assumption that the policy interface remains fixed between training and deployment. Contextual MDPs and procedural-content benchmarks [14, 5] hold the interface fixed and vary a latent context such as a random seed, task identifier, or parameter vector. The survey of Kirk et al. [ [21] catalogs this zero-shot literature, in which the observation, action and reward schema remain invariant. Sim-to-real transfer and domain randomization [34] (Zhao et al. 2020) vary the dynamics and observation-rendering parameters to close the reality gap between simulated and physical platforms; the interface shape stays fixed.
Transfer RL has also studied changes in parts of the interface. Zhu et al. [2023] survey transfer across differences in MDP components, including the state, action and reward spaces. Sun et al. [ [32] transfer across observation feature spaces with the action and reward schema fixed, and Sivakumar et al. [ [29] transfer across heterogeneous action spaces through subgoal mapping. For LLM agents, Xi et al. [2026] study whether RL improves generalization to environments with different observation spaces and action interfaces, OpenAgent Wu et al. [2026] varies the query, action, observation and domain of tool-use agents, and Liu et al. [ [22] show that tool-use performance depends on how a tool’s schema is written. These works vary one or two interface components, or study tool-calling agents. Schema shift (§ 2.1) varies the observation, action, and reward schema of sequential control tasks, separately and jointly, and the AgriManager benchmark evaluates each axis and their composition in one ladder.
Prompt-conditioned LLM policies and agent benchmarks
Prompt-conditioned LLM policies and LLM-agent benchmarks make interface variation expressible at deployment, yet their evaluations do not target multi-turn RL across heterogeneous decision schemas. LLaRP Szot et al. [ [33] adapts a frozen LLM into an embodied policy by training its input and action modules with RL; SayCan Ahn et al. [ [1] couples LLM reasoning with affordance value functions for grounded robot control; ReAct Yao et al. [2023] interleaves reasoning traces and actions in the model’s generated output. All three demonstrate that the policy can read its task specification from a natural-language prompt, but evaluation stays within a single decision schema.
Two LLM-agent benchmarks span heterogeneous tasks: AgentBoard Ma et al. [ [23] covers nine task domains, and WebArena Zhou et al. [2024] provides 812 long-horizon web tasks; both evaluate prompted agents without RL training. Their variation is in tool use and web navigation; the decision schema within each task remains fixed. Among RL-trained LLM agents, Xi et al. [2026] vary observation spaces and action interfaces across environments; we know of no benchmark that also varies the objective and evaluates these axes separately and jointly in agricultural decision-making, the regime the AgriManager benchmark targets.
References
- [1]Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Chuyuan Fu, Keerthana Gopalakrishnan, Karol Hausman, et al. Do as I can, not as I say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691, 2022. SayCan.arxiv.org/abs/2204.01691
- [2]Richard G. Allen, Luis S. Pereira, Dirk Raes, and Martin Smith. Crop evapotranspiration: Guidelines for computing crop water requirements. FAO Irrigation and Drainage Paper 56, Food and Agriculture Organization of the United Nations, Rome, Italy, 1998.
- [3]Thomas W. Bruulsema, Paul E. Fixen, and Gavin D. Sulewski, editors. 4R Plant Nutrition: A Manual for Improving the Management of Plant Nutrition. International Plant Nutrition Institute (IPNI), Norcross, GA, USA, 2012.
- [4]Dong Chen and Yanbo Huang. Integrating reinforcement learning and large language models for crop production process management optimization and control through a new knowledge-based deep learning paradigm. Computers and Electronics in Agriculture, 232:110028, 2025. doi: 10.1016/j.compag.2025.110028.DOI
- [5]Karl Cobbe, Chris Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. In Proceedings of the 37th International Conference on Machine Learning (ICML), volume 119 of Proceedings of Machine Learning Research, pages 2048–2056, 2020. arXiv:1912.01588.arxiv.org/abs/1912.01588
- [6]Jessica Davis, A. J. Brown, and Leo Deiss. Fertilizing irrigated corn. Colorado State University Extension, 1996. URL https://extension.colostate.edu/resource/fertilizing-irrigated-corn/. Reviewed September 2025; accessed September 14, 2026.
- [7]Allard de Wit, Hendrik Boogaard, Davide Fumagalli, Sander Janssen, Rob Knapen, Daniel van Kraalingen, Iwan Supit, Raymond van der Wijngaart, and Kees van Diepen. 25 years of the WOFOST cropping systems model. Agricultural Systems, 168:154–167, 2019. doi: 10.1016/j.agsy.2018.06.018.DOI
- [8]David Franzen, Andrew Robinson, and Carl Rosen. Fertilizing potato in North Dakota. Extension Publication SF715, North Dakota State University Extension, 2021. URL https://www.ndsu.edu/sites/default/files/fileadmin/snrs/Files/Fertilizing_Potato_in_ND_SF715.pdf.
- [9]David W. Franzen. North Dakota fertilizer recommendation tables and equations. Extension Publication SF882 (Revised October 2023), North Dakota State University Extension, Fargo, ND, USA, 2023a. URL https://www.ndsu.edu/agriculture/extension/publications/north-dakota-fertilizer-recommendation-tables-and-equations.
- [10]David W. Franzen. Soil fertility recommendations for field pea, lentil and chickpea in North Dakota. Extension Publication SF725, North Dakota State University Extension, 2023b. URL https://www.ndsu.edu/agriculture/sites/default/files/2023-02/sf725.pdf.
- [11]Romain Gautron, Emilio J. Padrón, Philippe Preux, Julien Bigot, Odalric-Ambrym Maillard, and David Emukpere. gym-DSSAT: a crop model turned into a reinforcement learning environment. arXiv preprint arXiv:2207.03270, 2022.arxiv.org/abs/2207.03270
- [12]Government of Saskatchewan. Chickpea: Fertilizer considerations. Government of Saskatchewan, 2026. URL https://www.saskatchewan.ca/business/agriculture-natural-resources-and-industry/agribusiness-farmers-and-ranchers/crops-and-irrigation/field-crops/pulse-crop-bean-chickpea-faba-bean-lentils/chickpea/fertilizer-considerations. Accessed September 14, 2026.
- [13]Aaron Grattafori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
- [14]Assaf Hallak, Dotan Di Castro, and Shie Mannor. Contextual Markov decision processes. arXiv preprint arXiv:1502.02259, 2015.arxiv.org/abs/1502.02259
- [15]J. W. Jones, G. Hoogenboom, C. H. Porter, K. J. Boote, W. D. Batchelor, L. A. Hunt, P. W. Wilkens, U. Singh, A. J. Gijsman, and J. T. Ritchie. The DSSAT cropping system model. European Journal of Agronomy, 18(3–4):235–265, 2003. doi: 10.1016/S1161-0301(02)00107-7.DOI
- [16]James W. Jones, John M. Antle, Bruno Basso, Kenneth J. Boote, Richard T. Conant, Ian Foster, H. Charles J. Godfray, Mario Herrero, Richard E. Howitt, Sander Janssen, Brian A. Keating, Rafael Munoz-Carpena, Cheryl H. Porter, Cynthia Rosenzweig, and Tim R. Wheeler. Brief history of agricultural systems modeling. Agricultural Systems, 155:240–254, 2017. doi: 10.1016/j.agsy.2016.05.014.DOI
- [17]Leslie Pack Kaelbling, Michael L. Littman, and Anthony R. Cassandra. Planning and acting in partially observable stochastic domains. Artificial Intelligence, 101(1–2):99–134, 1998.
- [18]Andreas Kamilari[s] and Francesco X. Prenafeta-Boldú. Deep learning in agriculture: A survey. Computers and Electronics in Agriculture, 147:70–90, 2018. doi: 10.1016/j.compag.2018.02.016. arXiv:1807.11809.
- [19]Varun Kaushik, Yayun Tan, and Xiaofan Yu. Toward self-adaptive physical AI: Can LLM agents manage long-horizon physical tasks? arXiv preprint arXiv:2609.13436, 2026.arxiv.org/abs/2609.13436
- [20]Armen R. Kemanian, Yuning Shi, Charles M. White, Felipe Montes, Claudio O. Stöckle, David R. Huggins, Maria Laura Cangiano, Giovani Stefani-Faé, and Rachel K. Nydegger Rozum. The Cycles agroecosystem model: Fundamentals, testing, and applications. Computers and Electronics in Agriculture, 227:109510, 2024. doi: 10.1016/j.compag.2024.109510.
- [21]Robert Kirk, Amy Zhang, Edward Grefenstette, and Tim Rocktäschel. A survey of zero-shot generalisation in deep reinforcement learning. Journal of Artificial Intelligence Research, 76:201–264, 2023. arXiv:2111.09794.DOI
- [22]Yinhong Liu, Zhili Tan, Zilin Wang, and Zhiqiang Guo. Action-space shaping for LLM agents: Measuring and mitigating tool-schema bias. arXiv preprint arXiv:2609.34971, 2026.arxiv.org/abs/2609.34971
- [23]Chang Ma, Junlei Zhang, Zhihao Zhu, Cheng Yang, Yujiu Yang, Yaohui Jin, Zhenzhong Lan, Lingpeng Kong, and Junxian He. AgentBoard: An analytical evaluation board of multi-turn LLM agents. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, volume 37, pages 74325–74362, 2024. arXiv:2401.13178.arxiv.org/abs/2401.13178
- [24]Hiske Overweg, Herman N. C. Berghuijs, and Ioannis N. Athanasiadis. CropGym: a reinforcement learning environment for crop management. arXiv preprint arXiv:2104.04326, 2021.arxiv.org/abs/2104.04326
- [25]Qwen, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024.
- [26]Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dorman. Stable-Baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 22(268):1–8, 2021.
- [27]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. Introduces GRPO.arxiv.org/abs/2402.03300
- [28]Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. HybridFlow: A flexible and efficient RLHF framework. In Proceedings of the Twentieth European Conference on Computer Systems (EuroSys), pages 1279–1297, 2025. doi: 10.1145/3689031.3696075. arXiv:2409.19256. Open-sourced as VeRL: https://github.com/volcengine/verl.DOI
- [29]Kavinayan P. Sivakumar, Yan Zhang, Zachary Bell, Scott Nivison, and Michael M. Zavlanos. Transfer reinforcement learning in heterogeneous action spaces using subgoal mapping. arXiv preprint arXiv:2410.14484, 2024.arxiv.org/abs/2410.14484
- [30]Martin Smith. CROPWAT: A computer program for irrigation planning and management. FAO Irrigation and Drainage Paper 46, Food and Agriculture Organization of the United Nations, Rome, Italy, 1992.
- [31]William Solow, Sandhya Saisubramanian, and Alan Fern. WOFOSTGym: A crop simulator for learning annual and perennial crop management strategies. Reinforcement Learning Journal, 6: 671–689, 2025.arxiv.org/abs/2502.19308
- [32]Yanchao Sun, Ruijie Zheng, Xiyao Wang, Andrew Cohen, and Furong Huang. Transfer RL across observation feature spaces via model-based regularization. In Proceedings of the International Conference on Learning Representations (ICLR), 2022. arXiv:2201.00248.arxiv.org/abs/2201.00248
- [33]Andrew Szot, Max Schwarzer, Harsh Agrawal, Bogdan Mazoure, Rin Metcalf, Walter Talbott, Natalie Mackraz, R Devon Hjelm, and Alexander T. Toshev. Large language models as generalizable policies for embodied tasks. In Proceedings of the International Conference on Learning Representations (ICLR), 2024. LLaRP. arXiv:2310.17722.arxiv.org/abs/2310.17722
- [34]Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, and Pieter Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 23–30, 2017. doi: 10.1109/IROS.2017.8202133. arXiv:1703.06907.DOI
- [35]Matteo Turchetta, Luca Corinzia, Scott Sussex, Amanda Burton, Juan Herrera, Ioannis Athanasiadis, Joachim M. Buhmann, and Andreas Krause. Learning long-term crop management strategies with CyclesGym. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, volume 35, pages 11396–11409, 2022.DOI
- [36]Utah State University Extension. Potato irrigation. Utah Vegetable Production Guide, 2026. URL https://extension.usu.edu/vegetableguide/potato/irrigation. Accessed September 14, 2026.
- [37]Thomas van Klompenburg, Ayalew Kassahun, and Catagay Catal. Crop yield prediction using machine learning: A systematic literature review. Computers and Electronics in Agriculture, 177: 105709, 2020. doi: 10.1016/j.compag.2020.105709.DOI



