Adjusting the Output of Decision Transformer with Action Gradient

Rui Lin, Yiwen Zhang, Zhicheng Peng, Minghao Lyu
10/6/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Decision Transformer (DT), which integrates reinforcement learning (RL) with the transformer model, introduces a novel approach to offline RL. Unlike classical algorithms that take maximizing cumulative discounted rewards as objective, DT instead maximizes the likelihood of actions. This paradigm shift, however, presents two key challenges: stitching trajectories and extrapolation of action. Existing methods, such as substituting specific tokens with predictive values and integrating the Policy Gradient (PG) method, address these challenges individually but fail to improve performance stably when combined due to inherent instability. To address this, we propose Action Gradient (AG), an innovative methodology that directly adjusts actions to fulfill a function analogous to that of PG, while also facilitating efficient integration with token prediction techniques. AG utilizes the gradient of the Q-value with respect to the action to optimize the action. The empirical results demonstrate that our method can significantly enhance the performance of DT-based algorithms, with some results achieving state-of-the-art levels.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2025adjusting,
  title  = {Adjusting the Output of Decision Transformer with Action Gradient},
  author = {Rui Lin and Yiwen Zhang and Zhicheng Peng and Minghao Lyu},
  year   = {2025},
  eprint = {2510.05285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.05285v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.05285.svg)](https://codeofpaper.com/paper/2510.05285)

Discussion