通过分步估算Q值,提升语言代理在复杂任务中的推理效率与准确性。
QLASS: Boosting Language Agent Inference via Q-Guided Stepwise Search
- 分步构建推理树,用Q值自动标注中间步骤,生成过程奖励信号。
- 仅需一半标注数据即可保持强性能,显著降低对人工标注依赖。
- 适合需要高效决策的复杂交互任务,尤其适用于资源受限场景。
语言代理已成为解决复杂交互任务的有力方案。其成功关键在于对代理工作流轨迹的奖励模型,可为训练或推理提供有效指导。然而,由于缺乏中间交互的标注,现有方法多采用结果奖励模型优化整个轨迹策略,可能导致次优策略并影响整体性能。为此,我们提出QLASS(Q-guided Language Agent Stepwise Search),通过分步估计Q值,自动为开放语言代理生成标注。引入推理树并进行过程奖励建模,为每一步提供有效中间引导。结合分步引导,提出一种Q引导生成策略,使语言代理能更好地适应长期价值,显著提升复杂交互任务中的推理表现。值得注意的是,即使仅有约一半标注数据,QLASS仍保持强劲性能,展现出对有限监督的高效处理能力。我们还通过定性分析证明了其在决策有效性上的优势。代码与数据将公开发布。
原文摘要 · Abstract (English)
Language agents have become a promising solution to complex interactive tasks. One of the key ingredients to the success of language agents is the reward model on the trajectory of the agentic workflow, which provides valuable guidance during training or inference. However, due to the lack of annotations of intermediate interactions, most existing works use an outcome reward model to optimize policies across entire trajectories. This may lead to sub-optimal policies and hinder the overall performance. To address this, we propose QLASS (Q-guided Language Agent Stepwise Search), to automatically generate annotations by estimating Q-values in a stepwise manner for open language agents. By introducing a reasoning tree and performing process reward modeling, QLASS provides effective intermediate guidance for each step. With the stepwise guidance, we propose a Q-guided generation strategy to enable language agents to better adapt to long-term value, resulting in significant performance improvement during model inference on complex interactive agent tasks. Notably, even with almost half the annotated data, QLASS retains strong performance, demonstrating its efficiency in handling limited supervision. We also empirically demonstrate that QLASS can lead to more effective decision making through qualitative analysis. We will release our code and data.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。