arXiv:2505.18098cs.CLcs.AI2025-05NeurIPS被引 11

用离线目标条件价值函数提升大模型的复杂任务规划能力

Planning without Search: Refining Frontier LLMs with Offline Goal-Conditioned RL

  • 用目标条件价值函数替代传统强化学习,指导大模型多轮推理
  • 在工具使用、社交推理等任务上超越提示和强化学习方法
  • 适用于无法直接训练的大模型API,高效且可扩展

大型语言模型(LLMs)在问答和对话等任务中表现优异,但在需要交互的复杂任务(如谈判和说服)中仍需长程推理与规划。强化学习(RL)微调理论上可实现此类规划,但存在高内存与计算开销,尤其当将大模型作为策略时更为严重。此外,最大规模的LLMs通常不提供训练所需API接口。因此,当前提升模型推理能力的方法主要依赖复杂提示机制,而非强化学习微调。为此,我们提出一种新方法:利用目标条件价值函数引导LLM代理的推理过程,即使对大型API模型也具备可扩展性。该价值函数能预测给定动作下任务的演化路径,使模型可评估多种可能结果以实现有效规划。同时,这些价值函数基于推理步骤而非完整动作进行训练,使其成为轻量级模块,便于多轮交互中的决策。我们在需交互的任务(包括工具使用、社交推理和对话)上验证了该方法,在性能上优于传统强化学习与提示方法,同时保持高效与可扩展性。

原文摘要 · Abstract (English)

Large language models (LLMs) excel in tasks like question answering and dialogue, but complex tasks requiring interaction, such as negotiation and persuasion, require additional long-horizon reasoning and planning. Reinforcement learning (RL) fine-tuning can enable such planning in principle, but suffers from drawbacks that hinder scalability. In particular, multi-turn RL training incurs high memory and computational costs, which are exacerbated when training LLMs as policies. Furthermore, the largest LLMs do not expose the APIs necessary to be trained in such manner. As a result, modern methods to improve the reasoning of LLMs rely on sophisticated prompting mechanisms rather than RL fine-tuning. To remedy this, we propose a novel approach that uses goal-conditioned value functions to guide the reasoning of LLM agents, that scales even to large API-based models. These value functions predict how a task will unfold given an action, allowing the LLM agent to evaluate multiple possible outcomes, both positive and negative, to plan effectively. In addition, these value functions are trained over reasoning steps rather than full actions, to be a concise and light-weight module that facilitates decision-making in multi-turn interactions. We validate our method on tasks requiring interaction, including tool use, social deduction, and dialogue, demonstrating superior performance over both RL fine-tuning and prompting methods while maintaining efficiency and scalability.

强化学习大模型规划推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。