Online Finetuning Decision Transformers with Pure RL Gradients
Junkai Luo, Yinglun Zhu
NeurIPS page · Open on the map
Category: Reinforcement Learning & Games › Spectral and Structural Reinforcement Learning · Type: new method · Keywords: online finetuning, Decision Transformers, reinforcement learning, GRPO, sub-trajectory optimization
Areas: RL for LLMs & Agents › Language Model Reinforcement Learning › Exploration in Reinforcement Learning
Summary
The paper introduces algorithms that enable online finetuning of Decision Transformers using pure reinforcement learning gradients, improving stability and performance over existing online DT methods.
Explained to a 5-year-old
We have a robot brain that learns to make decisions step by step. Usually it learns by copying examples, but that doesn't work well when it needs to try things on its own. This paper creates a new way for the brain to learn only by trying actions and seeing results, like a child learning by trial and error. It helps the brain learn faster and do better than before. The new method also explores new ideas safely.
Explained to a 5-year-old, longer
Imagine a robot that needs to learn how to do things like a person learning to ride a bike. It looks at lots of past examples to copy, but that only works when there are many examples. In real life, we often learn by trying something and seeing what happens. This paper makes a robot brain that learns only by trying actions and watching the results, like a child playing with blocks. It stops using the old way of copying because that can cause problems when the robot tries to learn new things. The new learning method uses a special way to compare different actions, like guessing which move is best. It also looks at small pieces of the robot's experience to understand which actions were good. To make sure it doesn't get stuck, the robot asks questions where it is unsure and tries those first. This helps the robot explore new possibilities without making mistakes too often. The robot learns faster and performs better than before on many tasks. The idea is simple: learn by doing, not just by copying. It opens the door for robots to learn more like people do.
For a technical reader
The paper addresses the challenge of updating Decision Transformers in an online setting using pure reinforcement learning signals instead of supervised learning. Existing methods rely on hindsight return relabeling, which conflicts with importance-sampling RL algorithms and leads to unstable training. The authors adapt the GRPO algorithm to Decision Transformers, adding sub-trajectory optimization for better credit assignment and sequence-level objectives for stability. They also introduce active sampling to explore uncertain regions, which improves performance across multiple benchmarks. Experiments show the new approach consistently beats prior online DT baselines and reaches state-of-the-art results.
Problem
Extending Decision Transformers to online reinforcement learning settings that rely solely on RL gradients is challenging because current online finetuning methods depend on supervised objectives and use hindsight return relabeling, which conflicts with importance-sampling RL algorithms.
Method
The authors adapt GRPO to Decision Transformers, introduce sub-trajectory optimization for better credit assignment, add sequence-level likelihood objectives for stability, and employ active sampling to encourage exploration in uncertain regions.
Results
The approach outperforms existing online DT baselines and achieves state-of-the-art performance across multiple benchmarks.
Contributions
The paper provides algorithms for online finetuning of Decision Transformers using pure RL gradients, introduces key modifications for stability and exploration, and demonstrates superior performance on benchmarks.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction