arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.15047cs.LGcs.CL
收藏

为什么LLM智能体在探索新环境时会失败?一个世界建模视角

Why Do LLM Agents Fail in Exploring New Environments? A World-Modeling Perspective

City University of Hong Kong(香港城市大学);Northwestern University(西北大学);The Hong Kong University of Science and Technology(香港科学与技术大学);Oxford University(牛津大学);Allen Institute for AI (AI2)(人工智能研究所);University of Washington(华盛顿大学);National University of Singapore(新加坡国立大学);The Hong Kong Polytechnic University(香港理工大学)

Shiqi Chen, Tongyao Zhu, Zian Wang, Jinghan Zhang, Kangrui Wang, Ruochen Zhou, Siyang Gao, Teng Xiao, Yee Whye Teh, Junxian He, Manling Li

AI总结:

本研究从世界建模视角揭示LLM智能体在新环境中因探索崩溃而失败,提出SPA方法,通过自经验监督微调建立世界模型作为RL初始化,显著提升性能,使小模型超越大模型。

摘要:

大型语言模型(LLMs)作为智能体,在新环境中常常无法改进。我们识别并刻画了一种我们称之为“探索崩溃”的失败模式:在强化学习(RL)下,当环境状态对策略不熟悉时,Pass@k(即k个采样轨迹中至少一个成功的概率)在训练过程中显著下降,即使Pass@1略有上升,这揭示了探索变得越来越脆弱;而更接近预训练分布的环境则没有表现出这种下降。我们将这种崩溃归因于对环境状态和动态的薄弱基础,并研究了一个简单的补救措施:在优化奖励之前,明确教智能体估计当前状态并预测其转移。我们将其实例化为SPA,一种先探索后利用的方案,该方案通过一个自经验监督微调(SFT)阶段冷启动策略,收集模型自身的交互轨迹并监督状态和下一状态预测,然后运行标准的RL。由此产生的世界模型作为RL的基于基础的初始化,而非推理时的规划器。在未见过的环境中,SPA持续且显著地优于普通RL:例如,在Qwen2.5-1.5B-Instruct上,它将Sokoban成功率从25.6%提高到59.8%,使小于3B的模型在这些任务上超过20B的基线。对照研究表明,这些收益与四个因素相关:基于基础的状态表示、显式的转移建模、来自足够强探索策略的自经验轨迹,以及转移数据的充分覆盖。

英文摘要:

Large Language Models (LLMs) as agents often fail to improve in new environments. We identify and characterize a failure mode we call exploration collapse: under reinforcement learning (RL) in environments whose states are unfamiliar to the policy, Pass@k, the probability that at least one of k sampled trajectories succeeds, drops markedly over training even as Pass@1 edges up, revealing increasingly brittle exploration; environments closer to the pretraining distribution show no such decline. We trace this collapse to weak grounding in environment states and dynamics, and study a simple remedy: explicitly teaching the agent to estimate the current state and predict its transitions before optimizing for reward. We instantiate it as SPA, an explore-then-exploit recipe that cold-starts the policy with a Self-Experience supervised finetuning (SFT) stage, collecting the model's own interaction trajectories and supervising state and next-state prediction, and then runs standard RL. The resulting world model serves as a grounded initialization for RL rather than an inference-time planner. Across unseen environments, SPA consistently and substantially improves over vanilla RL: for example, it raises the Sokoban success rate from 25.6% to 59.8% on Qwen2.5-1.5B-Instruct, letting sub-3B models surpass a 20B baseline on these tasks. Controlled studies indicate that the gains track four factors: grounded state representations, explicit transition modeling, self-experience trajectories from a sufficiently strong exploration policy, and adequate coverage of transition data.

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

↑