Horizon可扩展Q学习

·

研究论文 · 2026/11/10

从离线数据集中学习准确的离策略状态-动作值函数(Q函数)随着任务视界的增长而变得更加困难。一步时序差分(TD)学习在每个转移后自举,因此每一步的小误差会沿视界累积,即使TD损失很小,早期状态也可能被严重错误估值。多步TD通过沿数据集轨迹跟随几步来缩短这个链条;然而,由于行为策略通常次优,每个跟随的动作都会增加偏差,且没有固定的步数适合整个轨迹。本文提出Horizon-Scalable Q-Learning(HQL),一种简单方法,通过自动平衡一步和多步回报,实现准确的长视界值学习。HQL仅当评论家对数据集动作的估值至少与从BC策略采样的N个动作中的最佳值一样高时,才通过该数据集动作扩展目标,否则回退到一步目标。我们证明该规则是一种有原则的离策略校正,不需要动作密度,这使得HQL与表达性流和扩散策略兼容。实验表明,HQL在跨视界的组合锁任务上避免了单步和多步TD的失败,并在长视界OGBench和OCBench任务上优于先前的视界缩减方法。

该论文提出了一种简单而有效的方法,解决了离线强化学习中长视界值估计的关键挑战,具有理论保证和实验验证,且兼容现代策略表示,对相关领域的研究者和实践者有重要参考价值。

Learning accurate off-policy state-action value functions (Q-functions) from offline datasets becomes harder as the task horizon grows. One-step temporal-difference (TD) learning bootstraps after every transition, so small per-step errors accumulate along the horizon, and early states can be badly misvalued even when the TD loss is small. Multi-step TD shortens this chain by following the dataset trajectory for several steps; however, since the behavior policy is often suboptimal, every followed action adds a bias, and no fixed number of steps suits a whole trajectory. In this paper, we propose Horizon-Scalable Q-Learning (HQL), a simple method that enables accurate long-horizon value learning by automatically balancing between one-step and multi-step returns. HQL extends a target through a dataset action only when the critic values it at least as highly as the best-of-N actions sampled from the BC policy, and otherwise falls back to a one-step target. We show that this rule is a principled off-policy correction that needs no action densities, which makes HQL compatible with expressive flow and diffusion policies. Experiments show that HQL avoids the failures of both one-step and multi-step TD on a combination-lock task across horizons, and outperforms prior horizon-reduction methods on long-horizon OGBench and OCBench tasks.

阅读原文

参与讨论