GenEnv: Difficulty-Aligned Co-Evolution Between LLM Agents and Environment Simulators
Jiacheng Guo ⋅ Ling Yang ⋅ Peter Chen ⋅ Qixin Xiao ⋅ Yinjie Wang ⋅ Xinzhe Juan ⋅ Ke Shen ⋅ Mengdi Wang
Abstract
The bottleneck in training capable LLM agents is not data volume but data adaptivity: a pre-collected trajectory cannot follow an agent as the agent improves. We propose GenEnv, a two-player curriculum game: an environment LLM $\pi_{\text{env}}$ generates tasks for an agent LLM $\pi_{\text{agent}}$, and a single $\alpha$-Curriculum Reward—peaking when the agent's empirical success rate equals $\alpha=0.5$—trains $\pi_{\text{env}}$ to target the agent's zone of proximal development. The agent updates with GRPO; the simulator updates with reward-weighted regression. Across five agent benchmarks (API-Bank, ALFWorld, BFCL, Bamboogle, TravelPlanner), a 7B GenEnv agent matches or surpasses open models from 14B to 72B, lifts the 7B base by $+40.3$ pp on ALFWorld and $+17.5$ pp on API-Bank, and beats Gemini 2.5 Pro offline augmentation with $3.3\times$ fewer synthetic samples. Against the stronger control of an online Gemini 2.5 Pro simulator that adapts to live agent feedback, GenEnv reaches $79.1\%$ on API-Bank versus $79.5\%$ with $\sim 3.5\times$ fewer tasks—fully open-source, with no proprietary teacher in the loop. Difficulty-aligned adaptive simulation beats static augmentation at matched compute: how data is generated matters more than who generates it.
Successful Page Load