Skip to main content
QUICK REVIEW

[论文解读] Paying Less Generalization Tax: A Cross-Domain Generalization Study of RL Training for LLM Agents

Zhihan Liu, Lin Guan|arXiv (Cornell University)|Jan 26, 2026
Reinforcement Learning in RoboticsComputer Science被引用 0
一句话总结

论文将状态信息丰富性和规划复杂性识别为驱动强化学习训练的大语言模型代理跨领域泛化的关键因素,并提出一种轻量级的状态扩充方法以改善OOD鲁棒性。

ABSTRACT

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.

研究动机与目标

  • 研究RL训练域的环境属性中,哪些最能保持代理型LLM的跨域泛化。
  • 量化状态信息丰富性和规划复杂性与离域性能之间的相关性。
  • 评估简单干预(状态扩充)和建模选择(中期训练、逐步推理)对泛化的影响。
  • 在部署域未知时,为设计训练域提供实际可行的指南。

提出的方法

  • 在四个代理环境(WebShop、Sokoban、ALFWorld、SciWorld)中训练基于 Llama-3.1-8B-Instruct 的代理,并评估对其他三个域的跨域泛化。
  • 定义并度量两个环境轴:状态信息丰富性(平均状态字符数)和规划复杂性(平均轨迹长度)。
  • 在观察中注入与目标无关的内容(状态信息扩充),以在不改变任务动力学的情况下增加状态丰富性,并评估对OOD性能的影响。
  • 考察建模选择:SFT预热/中期训练对泛化的影响以及显式逐步思考在保持泛化中的作用。
  • 使用基于排名的OOD鲁棒性指标(领域内排名之和)在三个OOD评估域中比较训练域。

实验结果

研究问题

  • RQ1哪些RL训练环境属性与LLM代理的跨域泛化最强相关?
  • RQ2单独增加状态信息丰富性是否可以在不改变任务动力学的情况下提高跨域鲁棒性?
  • RQ3中期训练、SFT预热和显式逐步推理如何影响在域内性能和对未见域的泛化?
  • RQ4在部署域未知时,可以应用哪些实际策略来提升泛化?

主要发现

  • 两个环境轴与跨域鲁棒性相关:状态信息丰富性和规划复杂性。
  • Sokoban(高丰富性和高规划复杂性)在跨域泛化上表现强劲,在某些条件下ODD排名第一。
  • SciWorld(高规划复杂性)也显示出较强的OOD性能,排名第三或更高,视设置而定。
  • WebShop和ALFWorld对OOD漂移的鲁棒性较差,与观察设置中的较低规划复杂性或信息丰富性有关。
  • 状态信息扩充(在观察中添加与目标无关的内容)稳定地提升跨域鲁棒性,而不改变任务目标。
  • 中期训练能够稳健地保留中期训练混合中的域的知识,但可能降低对未见域的泛化。
  • 启用逐步思考有助于保持泛化,即使不总是提升域内分数。
  • 增加状态丰富性有利于OOD性能,但需要对扩充幅度进行细致调整,以避免损害ID性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。