arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.04601cs.LGcs.CL
收藏

自然语言行为-批评者:在语言空间中可扩展的非策略学习

Natural Language Actor-Critic: Scalable Off-Policy Learning in Language Space

University of California, Berkeley(加州大学伯克利分校)

Joey Hong, Kang Liu, Zhan Ling, Jiecao Chen, Sergey Levine

AI总结:

本文提出NLAC算法,利用生成式LLM批评者生成自然语言反馈,实现更高效稳定的LLM智能体训练。

摘要:

大型语言模型(LLM)智能体——即能够动态与环境长期交互的LLM——已成为研究的重要领域,使复杂任务的自动化成为可能,包括工具使用、网络浏览和与人对话。在没有专家示范的情况下,训练LLM智能体依赖于基于策略梯度的方法,这些方法通过优化LLM策略相对于(通常稀疏)奖励函数进行优化。然而,在长周期任务中,稀疏奖励的学习可能具有噪声,导致训练不稳定且样本复杂度高。此外,策略改进依赖于通过探索发现更好的动作,而在自然语言空间中,这可能很困难。在本文中,我们提出了自然语言行为-批评者(NLAC),一种新颖的行为-批评者算法,该算法使用生成LLM批评者来生成自然语言而非标量值来训练LLM策略。这种方法利用了LLM的内在优势,提供更丰富和可操作的训练信号;特别是在具有大、开放动作空间的任务中,自然语言解释为何某个动作不是最优的对LLM策略来说非常有用,无需依赖随机探索。此外,我们的方法可以非策略训练,提供比现有策略方法更数据高效和稳定的替代方案。我们展示了在混合推理、网络浏览和对话任务中的结果,证明NLAC在超越现有训练方法方面具有潜力,并为LLM智能体提供了一种更可扩展和稳定的训练范式。

英文摘要:

Large language model (LLM) agents -- LLMs that dynamically interact with an environment over long horizons -- have become an increasingly important area of research, enabling automation in complex tasks involving tool-use, web browsing, and dialogue with people. In the absence of expert demonstrations, training LLM agents has relied on policy gradient methods that optimize LLM policies with respect to an (often sparse) reward function. However, in long-horizon tasks with sparse rewards, learning from trajectory-level rewards can be noisy, leading to training that is unstable and has high sample complexity. Furthermore, policy improvement hinges on discovering better actions through exploration, which can be difficult when actions lie in natural language space. In this paper, we propose Natural Language Actor-Critic (NLAC), a novel actor-critic algorithm that trains LLM policies using a generative LLM critic that produces natural language rather than scalar values. This approach leverages the inherent strengths of LLMs to provide a richer and more actionable training signal; particularly, in tasks with large, open-ended action spaces, natural language explanations for why an action is suboptimal can be immensely useful for LLM policies to reason how to improve their actions, without relying on random exploration. Furthermore, our approach can be trained off-policy without policy gradients, offering a more data-efficient and stable alternative to existing on-policy methods. We present results on a mixture of reasoning, web browsing, and tool-use with dialogue tasks, demonstrating that NLAC shows promise in outperforming existing training approaches and offers a more scalable and stable training paradigm for LLM agents.

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

↑