超越时间戳:面向长时程智能体的决策对齐同策略蒸馏
研究论文 · 2026/09/29
可验证奖励强化学习(RLVR)通常依赖稀疏的结果奖励,为长时程智能体提供粗粒度监督。同策略自蒸馏(OPSD)通过密集的特权反馈补充这一信号。然而,我们发现了决策-时间戳错位问题:特权指导可能与学生的功能性决策不一致,因为相应决策可能发生在不同的时间步,而学生的决策本身可能跨越多个时间步,而非绑定到单个时间戳。因此,时间戳局部监督可能在上下文和信用时间范围上产生错位。为解决这一错位,我们提出了AlignOPSD,遵循先对齐监督再分配信用的原则。决策对齐监督校正通过在兄弟轨迹中功能匹配的上下文里对同一学生采样响应重新评分,以校准局部教师证据。半马尔可夫分层信用分配则从对应关系变化中推导出可变时长的决策跨度,并利用校正后的证据在跨度及其组成轮次间分配基于结果的信用。我们在ALFWorld、WebShop和Search-QA上使用Qwen2.5-3B和Qwen2.5-7B对AlignOPSD与代表性基线进行了评估。在所有八个骨干-聚合指标比较中,AlignOPSD均优于GRPO和StepOPSD,相比GRPO提升5.5-8.7%,并在六项中排名第一。额外分析考察了两个对齐阶段和任务间的超参数敏感性。我们的代码可在https://github.com/mingju-c/Align-OPSD获取。
该研究解决了长时程智能体强化学习中监督信号与决策时间尺度不匹配的关键问题,提出的AlignOPSD方法在多个基准上显著优于现有方法,且代码开源,对提升长时程任务的学习效率具有重要价值。
Reinforcement learning with verifiable rewards (RLVR) often relies on sparse outcome rewards, providing coarse supervision for long-horizon agents. On-policy self-distillation (OPSD) complements this signal with dense privileged feedback. However, we identify Decision--Timestamp Mismatch: privileged guidance may be misaligned with the student's functional decision because the corresponding decision can occur at a different timestep, while the student's decision itself may span multiple timesteps rather than being tied to a single timestamp. Thus, timestamp-local supervision can misalign both the context and the temporal scope of credit. To address this mismatch, we introduce AlignOPSD, following the principle of aligning supervision before assigning credit. Decision-Aligned Supervision Rectification re-scores the same student-sampled response in functionally matched contexts across sibling rollouts to calibrate local teacher evidence. Semi-Markov Hierarchical Credit Assignment then derives variable-duration decision spans from correspondence changes and uses rectified evidence to allocate outcome-grounded credit across spans and their constituent turns. We evaluate AlignOPSD with Qwen2.5-3B and Qwen2.5-7B on ALFWorld, WebShop, and Search-QA against representative baselines. AlignOPSD outperforms both GRPO and StepOPSD across all eight backbone--aggregate-metric comparisons, improving on GRPO by 5.5--8.7 \% and ranking first in six. Additional analyzes examine the two alignment stages and hyperparameter sensitivity between tasks. Our code is avaliable at https://github.com/mingju-c/Align-OPSD