arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04089cs.AIcs.CLcs.LG

通过跨回合元强化学习提升大语言模型的上下文在线学习能力

Scaling In-Context Online Learning Capability of LLMs via Cross-Episode Meta-RL

Boston University(波士顿大学);LinkedIn(领英)

Xiaofeng Lin, Sirou Zhu, Yilei Chen, Mingyu Chen, Hejian Sang, Ioannis Paschalidis, Zhipeng Wang, Aldo Pacchiano, Xuezhou Zhang

AI总结:

ORBIT通过元强化学习框架提升LLMs在动态环境中的上下文在线学习能力,使开源模型在未见环境中性能超越传统RL微调。

摘要:

大型语言模型(LLMs)在所有任务相关信息提前可用时表现优异,如静态预测和指令遵循问题。然而,许多现实世界决策任务本质上是在线的:关键信息必须通过交互获取,反馈延迟,有效行为需要在时间上平衡信息收集与利用。尽管上下文学习使模型能够在不更新权重的情况下进行适应,但现有LLMs在这样的设置中往往难以可靠地利用上下文交互经验。在本工作中,我们表明这一限制可通过训练解决。我们引入了ORBIT,一种多任务、多回合元强化学习框架,用于训练LLMs从上下文交互中学习。经过元训练后,一个相对较小的开源模型(Qwen3-14B)在完全未见过的环境中表现出显著提升的上下文在线学习能力,性能可与GPT-5.2相媲美,并在很大程度上超越标准RL微调。扩展实验进一步揭示了模型规模与性能的正相关性,表明在推理时学习的决策代理仍有巨大提升空间。论文中结果的代码可在https://github.com/XiaofengLin7/ORBIT上找到。

英文摘要:

Large language models (LLMs) achieve strong performance when all task-relevant information is available upfront, as in static prediction and instruction-following problems. However, many real-world decision-making tasks are inherently online: crucial information must be acquired through interaction, feedback is delayed, and effective behavior requires balancing information collection and exploitation over time. While in-context learning enables adaptation without weight updates, existing LLMs often struggle to reliably leverage in-context interaction experience in such settings. In this work, we show that this limitation can be addressed through training. We introduce ORBIT, a multi-task, multi-episode meta-reinforcement learning framework that trains LLMs to learn from interaction in context. After meta-training, a relatively small open-source model (Qwen3-14B) demonstrates substantially improved in-context online learning on entirely unseen environments, matching the performance of GPT-5.2 and outperforming standard RL fine-tuning by a large margin. Scaling experiments further reveal consistent gains with model size, suggesting significant headroom for learn-at-inference-time decision-making agents. Code reproducing the results in the paper can be found at https://github.com/XiaofengLin7/ORBIT.

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

↑