arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18217cs.AIcs.LG
收藏

支付更少的泛化税:RL训练对LLM代理跨域泛化能力的研究

Paying Less Generalization Tax: A Cross-Domain Generalization Study of RL Training for LLM Agents

Meta Superintelligence Labs(Meta超智能实验室);FAIR at Meta(Meta的FAIR);Northwestern University(西北大学);The Ohio State University(俄亥俄州立大学);University of Pennsylvania(宾夕法尼亚大学)

Zhihan Liu, Lin Guan, Yixin Nie, Kai Zhang, Zhuoqun Hao, Lin Chen, Asli Celikyilmaz, Zhaoran Wang, Na Zhang

AI总结:

本研究探讨了RL训练对LLM代理跨域泛化能力的影响,发现增加状态信息丰富度可提升泛化性能,同时指出建模选择对泛化能力的关键作用。

摘要:

通用型大语言模型(LLM)代理通常在狭窄的环境中进行后训练,但被部署在远更广泛的、未见过的领域中。在本工作中,我们研究了在最终测试领域未知时代理后训练的挑战。具体来说,我们分析了哪些强化学习(RL)环境的属性和建模选择对跨域性能影响最大。首先,我们识别出两个与跨域泛化强烈相关的环境轴:(i)状态信息丰富度,即代理从状态中处理的信息量;(ii)规划复杂度,通过基础策略下的目标可达性和轨迹长度来估计。值得注意的是,领域真实性和文本层面的相似性并非主要因素;例如,简单的网格世界领域Sokoban在SciWorld中的泛化能力甚至强于更现实的ALFWorld。受这些发现的启发,我们进一步表明,仅增加状态信息丰富度本身就能有效提高跨域鲁棒性。我们提出了一种随机化技术,其开销低且适用性广:向状态中添加少量与目标无关的干扰特征,使其更丰富而不改变任务。除了环境侧的属性,我们还考察了几种建模选择:(a)SFT预热或中期训练有助于在RL过程中防止灾难性遗忘,但会损害未包含在中期训练数据混合中的领域泛化;(b)在RL过程中开启逐步思考,虽然不总能提高领域内性能,但对保持泛化能力起着关键作用。

英文摘要:

Generalist LLM agents are often post-trained on a narrow set of environments but deployed across far broader, unseen domains. In this work, we investigate the challenge of agentic post-training when the eventual test domains are unknown. Specifically, we analyze which properties of reinforcement learning (RL) environments and modeling choices have the greatest influence on out-of-domain performance. First, we identify two environment axes that strongly correlate with cross-domain generalization: (i) state information richness, i.e., the amount of information for the agent to process from the state, and (ii) planning complexity, estimated via goal reachability and trajectory length under a base policy. Notably, domain realism and text-level similarity are not the primary factors; for instance, the simple grid-world domain Sokoban leads to even stronger generalization in SciWorld than the more realistic ALFWorld. Motivated by these findings, we further show that increasing state information richness alone can already effectively improve cross-domain robustness. We propose a randomization technique, which is low-overhead and broadly applicable: add small amounts of distractive goal-irrelevant features to the state to make it richer without altering the task. Beyond environment-side properties, we also examine several modeling choices: (a) SFT warmup or mid-training helps prevent catastrophic forgetting during RL but undermines generalization to domains that are not included in the mid-training datamix; and (b) turning on step-by-step thinking during RL, while not always improving in-domain performance, plays a crucial role in preserving generalization.

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

↑