Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond Autoregressive RTG: Conditioning via Injection Outside Sequential Modeling in Decision Transformer

About

Decision Transformer (DT) formulates offline reinforcement learning as autoregressive sequence modeling, achieving promising results by predicting actions from a sequence of Return-to-Go (RTG), state, and action tokens. However, RTG is a scalar that summarizes future rewards, containing far less information than typical state or action vectors, yet it consumes the same computational budget per token. Worse, the self-attention cost of Transformers grows quadratically with sequence length, so including RTG as a separate token adds unnecessary overhead. We propose SlimDT, which removes RTG from the autoregressive sequence. Instead, we inject RTG information into the state representations before the sequential modeling step, allowing the Transformer to process only a compact (state, action) sequence. This reduces the sequence length by one-third, directly improving inference efficiency. On the D4RL benchmark, SlimDT surpasses standard DT across various tasks and achieves performance comparable to existing state-of-the-art methods. Decoupling a sparse conditioning signal from an information-rich sequence thus yields both computational gains and higher task performance.

Yongyi Wang, Hanyu Liu, Lingfeng Li, Bozhou Chen, Ang Li, Qirui Zheng, Xionghui Yang, Chucai Wang, Wenxin Li• 2026

Related benchmarks

TaskDatasetResultRank
LocomotionD4RL MuJoCo Tasks
Average D4RL Locomotion Score (v2)82.6
29
Dexterous ManipulationD4RL Adroit human cloned v2
Performance (Human Expert)94.4
10
Showing 2 of 2 rows

Other info

Follow for update