通过策略引导探索扩展LLM代理边界
Expanding LLM Agent Boundaries with Strategy-Guided Exploration
AI总结:
SGE通过引导策略探索提升LLM代理的学习效率和性能,使其能解决基础模型无法处理的任务。
摘要:
强化学习(RL)在训练后使大型语言模型(LLMs)成为执行计算机使用、工具调用和编程等任务的代理方面展现了显著的成功。然而,在RL中,探索仍然是一个核心挑战,尤其是在LLM代理在具有复杂观察和稀疏结果奖励的语言-动作空间中运行时。在本工作中,我们通过利用LLM在语言层面规划和推理的能力,将探索从低层次动作转移到高层次的语言策略,从而解决LLM代理的探索问题。因此,我们提出了策略引导探索(SGE)。SGE首先生成一个简洁的自然语言策略,描述如何朝着目标前进,然后根据该策略生成环境动作。通过在策略空间而非动作空间中进行探索,SGE诱导出结构化且多样的探索,以针对不同的环境结果。为了增加RL中的策略多样性,SGE引入了混合温度采样,该方法并行探索多样化的策略,同时引入策略反思过程,使策略生成基于先前策略在环境中的结果。在用户界面交互、工具调用、编程和具身代理环境中,SGE始终优于以探索为导向的RL基线,提高了学习效率和最终性能。我们展示SGE使代理能够学习解决对基础模型来说过于困难的任务。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。