arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.00167cs.LGcs.AI
收藏

在线使用纯强化学习梯度微调决策变压器

Online Finetuning Decision Transformers with Pure RL Gradients

University of California, Riverside(加州大学河滨分校)

Junkai Luo, Yinglun Zhu

AI总结:

本文提出通过纯强化学习梯度改进决策变压器的在线微调方法,引入子轨迹优化、序列级似然目标和主动采样,提升稳定性和探索效率,实现在多个基准上的最优性能。

摘要:

决策变压器(DTs)通过将离线强化学习(RL)视为序列建模问题,已成为序列决策制定的强大框架。然而,将DTs扩展到在线设置中并使用纯RL梯度仍鲜有探索,因为现有方法在在线微调过程中仍然严重依赖于监督序列建模目标。我们发现 hindsight return relabeling ——在线DTs中的标准组件 —— 是RL基于微调的关键障碍:虽然对监督学习有益,但本质上与基于重要性采样的RL算法如GRPO不兼容,导致训练不稳定。基于这一见解,我们提出了新的算法,使决策变压器能够使用纯强化学习梯度进行在线微调。我们适应GRPO到DTs并引入了几个关键修改,包括子轨迹优化以改进信用分配,序列级似然目标以增强稳定性和效率,以及主动采样以鼓励探索不确定区域。通过广泛的实验,我们证明我们的方法优于现有的在线DT基线,并在多个基准上实现了新的最先进性能,突显了纯RL基于在线微调对决策变压器的有效性。

英文摘要:

Decision Transformers (DTs) have emerged as a powerful framework for sequential decision making by formulating offline reinforcement learning (RL) as a sequence modeling problem. However, extending DTs to online settings with pure RL gradients remains largely unexplored, as existing approaches continue to rely heavily on supervised sequence-modeling objectives during online finetuning. We identify hindsight return relabeling -- a standard component in online DTs -- as a critical obstacle to RL-based finetuning: while beneficial for supervised learning, it is fundamentally incompatible with importance sampling-based RL algorithms such as GRPO, leading to unstable training. Building on this insight, we propose new algorithms that enable online finetuning of Decision Transformers using pure reinforcement learning gradients. We adapt GRPO to DTs and introduce several key modifications, including sub-trajectory optimization for improved credit assignment, sequence-level likelihood objectives for enhanced stability and efficiency, and active sampling to encourage exploration in uncertain regions. Through extensive experiments, we demonstrate that our methods outperform existing online DT baselines and achieve new state-of-the-art performance across multiple benchmarks, highlighting the effectiveness of pure-RL-based online finetuning for Decision Transformers.

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

↑