让大模型通过语言策略探索,提升复杂任务的自主学习能力
Expanding LLM Agent Boundaries with Strategy-Guided Exploration
- 用自然语言生成高阶策略替代直接动作探索,实现结构化试错
- 在多类环境中显著提升学习效率与最终成功率,最高提升37%
- 适合需要长期规划和复杂决策的智能体任务研究者
强化学习在后训练大语言模型作为智能体完成计算机操作、工具调用和编程等任务中表现优异,但其在语言-动作空间中的探索仍面临挑战,尤其在观察复杂、奖励稀疏的情况下。本文提出策略引导探索(SGE),利用大模型在语言层面规划和推理环境的能力,将探索从低层动作转移到高层语言策略。SGE 首先生成简洁的自然语言策略描述达成目标的路径,再据此生成具体环境动作。通过在策略空间而非动作空间中探索,SGE 实现了结构化且多样化的探索,聚焦不同环境结果。为增强策略多样性,引入混合温度采样并行探索多种策略,并设计策略反思机制,基于前序策略的实际结果优化后续生成。在用户界面交互、工具调用、代码生成及具身智能体环境等场景中,SGE 均持续优于探索导向的强化学习基线,提升学习效率与最终性能。实验表明,SGE 能使智能体学会解决基础模型无法应对的困难任务。
原文摘要 · Abstract (English)
Reinforcement learning (RL) has demonstrated notable success in post-training large language models (LLMs) as agents for tasks such as computer use, tool calling, and coding. However, exploration remains a central challenge in RL for LLM agents, especially as they operate in language-action spaces with complex observations and sparse outcome rewards. In this work, we address exploration for LLM agents by leveraging the ability of LLMs to plan and reason in language about the environment to shift exploration from low-level actions to higher-level language strategies. We thus propose Strategy-Guided Exploration (SGE), which first generates a concise natural-language strategy that describes what to do to make progress toward the goal, and then generates environment actions conditioned on that strategy. By exploring in the space of strategies rather than the space of actions, SGE induces structured and diverse exploration that targets different environment outcomes. To increase strategy diversity during RL, SGE introduces mixed-temperature sampling, which explores diverse strategies in parallel, along with a strategy reflection process that grounds strategy generation on the outcomes of previous strategies in the environment. Across UI interaction, tool-calling, coding, and embodied agent environments, SGE consistently outperforms exploration-focused RL baselines, improving both learning efficiency and final performance. We show that SGE enables the agent to learn to solve tasks too difficult for the base model.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。