arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.17682cs.CL
收藏

从受训者到训练者:用于多智能体推理的LLM设计的强化学习训练环境

From Trainee to Trainer: LLM-Designed Training Environment for RL with Multi-Agent Reasoning

LARK, HKUST (GZ)(香港科技大学(广州)LARK实验室);University of Cambridge(剑桥大学);HKUST(香港科技大学)

Chao Chen, Chengzu Li, Zhiwei Li, Yinhong Liu, Zhijiang Guo

AI总结:

提出LLM-as-Environment-Engineer框架,让策略模型自动分析失败轨迹并修改训练环境配置,在MAPF-FrozenLake测试平台上用Qwen3-4B实现最优性能。

摘要:

用于大语言模型(LLM)训练的强化学习流程通常依赖于阶段之间手动重新设计的环境,要求从业者启发式地推断哪种配置最能改进当前策略。为了自动化这一过程,我们提出了LLM-as-Environment-Engineer框架,其中当前策略模型分析失败轨迹及上下文信息,并提出对下一阶段训练环境配置的修改。我们还引入了MAPF-FrozenLake,一个可控的测试平台,其生成器暴露多维环境配置,适合研究和基准测试环境重新设计。在该测试平台上,我们将环境工程师的条件建立在策略行为、失败案例和环境统计的结构化摘要上,从而生成下一训练阶段的配置。以Qwen3-4B为骨干,我们的框架在基准测试中取得了最强的综合性能,优于更大的专有LLM(如GPT、Gemini)和固定环境训练基线。我们进一步分析了哪种形式的上下文最有效,发现成功的环境更新依赖于失败证据并保留已生效的配置。有趣的是,当前的RL检查点比原始基础模型更适合作为环境工程师,这表明策略学习提高了模型诊断其剩余弱点的能力。

英文摘要:

Reinforcement learning pipelines for Large Language Model (LLM) training often rely on manually redesigned environments between stages, requiring practitioners to heuristically infer which configuration will best improve the current policy. To automate this process, we propose the LLM-as-Environment-Engineer framework in which the current policy model analyzes failure trajectories together with contextual information and proposes modifications to the next-stage training environment configuration. We also introduce MAPF-FrozenLake, a controllable testbed whose generator exposes multi-dimensional environment configurations, making it suitable for studying and benchmarking environment redesign. On this testbed, we condition the environment engineer on structured summaries of policy behavior, failure cases, and environment statistics, from which it produces the configuration for the next training stage. With Qwen3-4B as the backbone, our framework achieves the strongest aggregate performance on our benchmarks, outperforming larger proprietary LLMs (e.g., GPT, Gemini) and fixed-environment training baselines. We further analyze which forms of context are most effective, finding that successful environment updates rely on failure evidence and preserve configurations that already work. Interestingly, the current RL checkpoint serves as a better environment engineer than the original base model, suggesting that policy learning improves the model's ability to diagnose its remaining weaknesses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑