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

解决粒度不匹配问题:用于长周期LLM代理的层次化偏好学习

Solving the Granularity Mismatch: Hierarchical Preference Learning for Long-Horizon LLM Agents

Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(人工智能与数字经济广东实验室);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Baidu Inc.(百度公司)

Heyang Gao, Zexu Sun, Erxue Min, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Xu Chen

AI总结:

本文提出层次化偏好学习方法,通过双层课程引导解决LLM代理长周期任务中的粒度不匹配问题,提升多粒度偏好优化能力。

摘要:

大型语言模型(LLM)作为自主代理,越来越多地被要求解决复杂且长周期的问题。通过基于偏好的离线方法如直接偏好优化(DPO)来对齐这些代理是一个有前途的方向,但面临一个关键的粒度不匹配问题。轨迹级DPO提供了一个信号,对于精确的信用分配来说过于粗略,而步骤级DPO通常过于短视,无法捕捉多步骤行为的价值。为了解决这一挑战,我们引入了层次化偏好学习(HPL),一种层次化的框架,通过利用多个协同的粒度层次上的偏好信号来优化LLM代理。虽然HPL结合了轨迹级和步骤级DPO以实现全局和局部策略的稳定性,但其核心创新在于由双层课程引导的群体级偏好优化。我们的方法首先将专家轨迹分解为语义上连贯的动作群体,然后生成对比的次优群体,以在细粒度的子任务级别上实现偏好学习。然后,与将所有偏好对等对待不同,HPL引入了一个课程调度器,将学习过程从简单到复杂组织起来。该课程沿两个轴线构建:群体长度,代表子任务复杂性,以及样本难度,由优选与非优选动作群体之间的奖励差距定义。在三个具有挑战性的代理基准测试中,HPL优于现有最先进的方法。我们的分析表明,层次化DPO损失有效整合了多个粒度层次上的偏好信号,而双层课程对于使代理能够解决从简单行为到复杂多步骤序列的广泛任务至关重要。

英文摘要:

Large Language Models (LLMs) as autonomous agents are increasingly tasked with solving complex, long-horizon problems. Aligning these agents via preference-based offline methods like Direct Preference Optimization (DPO) is a promising direction, yet it faces a critical granularity mismatch. Trajectory-level DPO provides a signal that is too coarse for precise credit assignment, while step-level DPO is often too myopic to capture the value of multi-step behaviors. To resolve this challenge, we introduce Hierarchical Preference Learning (HPL), a hierarchical framework that optimizes LLM agents by leveraging preference signals at multiple, synergistic granularities. While HPL incorporates trajectory- and step-level DPO for global and local policy stability, its core innovation lies in group-level preference optimization guided by a dual-layer curriculum. Our approach first decomposes expert trajectories into semantically coherent action groups and then generates contrasting suboptimal groups to enable preference learning at a fine-grained, sub-task level. Then, instead of treating all preference pairs equally, HPL introduces a curriculum scheduler that organizes the learning process from simple to complex. This curriculum is structured along two axes: the group length, representing sub-task complexity, and the sample difficulty, defined by the reward gap between preferred and dispreferred action groups. Experiments on three challenging agent benchmarks show that HPL outperforms existing state-of-the-art methods. Our analyses demonstrate that the hierarchical DPO loss effectively integrates preference signals across multiple granularities, while the dual-layer curriculum is crucial for enabling the agent to solve a wide range of tasks, from simple behaviors to complex multi-step sequences.

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

↑