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

强化学习能否提升大语言模型代理的泛化能力?一项实证研究

Can RL Improve Generalization of LLM Agents? An Empirical Study

Zhiheng Xi, Xin Guo, Jiaqi Liu, Jiazheng Zhang, Yutao Fan, Zhihao Zhang, Shichun Liu, Mingxu Chai, Xiaowei Shi, Yitao Zhai, Xunliang Cai, Tao Gui, Qi Zhang, Xuanjing Huang

AI总结:

本文通过实证研究探讨强化学习如何提升大语言模型代理在不同环境中的泛化能力,发现顺序训练和跨环境混合训练能有效提升性能,同时减少遗忘问题。

摘要:

强化微调(RFT)已显示出训练大语言模型代理进行多轮决策的潜力,基于环境反馈。然而,大多数现有评估仍然局限于领域内:训练和测试是在相同的环境或甚至相同的任务上进行的。在现实世界部署中,代理可能在未见过的环境中操作,具有不同的背景知识、观察空间和动作接口。为了表征在这样的转变下RFT的泛化特性,我们沿着三个轴进行系统研究:(1)在相同环境内跨任务难度的泛化,(2)跨环境迁移至未见过的环境,以及(3)顺序多环境训练以量化迁移和遗忘。我们的结果表明,RFT在相同环境中跨任务难度泛化良好,但向未见过的环境迁移时表现较弱,这与语义先验和观察/动作接口的转变相关。相比之下,顺序训练产生了有希望的下游收益,同时最小化了上游遗忘,而跨环境混合训练提高了整体平衡。我们进一步提供了详细的分析和深入的见解,并希望我们的工作能帮助社区开发和部署可泛化的LLM代理。

英文摘要:

Reinforcement fine-tuning (RFT) has shown promise for training LLM agents to perform multi-turn decision-making based on environment feedback. However, most existing evaluations remain largely in-domain: training and testing are conducted in the same environment or even on the same tasks. In real-world deployment, agents may operate in unseen environments with different background knowledge, observation spaces, and action interfaces. To characterize the generalization profile of RFT under such shifts, we conduct a systematic study along three axes: (1) within-environment generalization across task difficulty, (2) cross-environment transfer to unseen environments, and (3) sequential multi-environment training to quantify transfer and forgetting. Our results show that RFT generalizes well across task difficulty within an environment, but exhibits weaker transfer to unseen environments, which correlates with shifts in both semantic priors and observation/action interfaces. In contrast, sequential training yields promising downstream gains with minimal upstream forgetting, and mixture training across environments improves the overall balance. We further provide detailed analyses and deeper insights, and hope our work helps the community develop and deploy generalizable LLM agents.

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

↑