Introduction
Offline Reinforcement Learning (RL) enables policy learning from fixed historical datasets without environment interaction. However, real-world datasets are frequently "dirty," suffering from sensor noise (state errors), human mistakes (action errors), or logging failures (reward corruption). Traditional offline RL algorithms typically rely on Temporal Difference (TD) learning, which estimates action values by bootstrapping from future estimates. In low-data regimes with corrupted logs, these errors compound through the Q-function, leading to catastrophic policy failure.
The Robust Decision Transformer (RDT) addresses this by reframing RL as a sequence modeling task. By avoiding the bootstrapping inherent in TD-learning, RDT provides a more stable foundation for learning from imperfect data.
The Robust Decision Transformer Architecture
RDT builds upon the Transformer architecture, introducing three primary mechanisms to enhance robustness against data corruption.
1. Embedding Dropout
Standard dropout on raw input features can be counterproductive in low-data settings where every bit of clean signal is vital. RDT instead applies dropout to the latent embeddings. This regularizes the model by preventing over-reliance on specific feature-space dimensions that might be heavily influenced by corrupted inputs, preserving the limited information available in the raw data.
2. Gaussian Weighted Learning (GWL)
To mitigate the impact of outliers, RDT employs a "soft" down-weighting strategy. During training, the model calculates prediction errors for each sample. Samples with high errors—likely indicating corruption—receive an exponentially decaying weight via GWL, reducing their influence on the gradient updates and preventing the model from fitting to noise.
3. Iterative Data Correction (IDC)
RDT proactively cleans the training data. By tracking the mean and variance of prediction errors, the algorithm identifies data points with significant deviations (using a z-score threshold). These suspected corrupted values are then replaced with the model's own predictions, creating a virtuous cycle where the model iteratively refines its training set.
Unlike the standard Decision Transformer, RDT is trained to predict both actions and rewards, providing richer supervision and helping the model distinguish high-quality behavior even in noisy environments.
Experimental Evaluation
The researchers evaluated RDT across three diverse benchmarks in low-data regimes:
- MuJoCo (10% subset): Locomotion tasks including HalfCheetah, Hopper, and Walker2d.
- Kitchen: Multi-step robotic manipulation tasks.
- Adroit (1% subset): High-dimensional hand manipulation tasks (Door, Hammer, Relocate).
The models were tested against both Random Corruption (Gaussian noise) and Adversarial Corruption (Projected Gradient Descent-based noise targeting states and actions).
Results and Discussion
RDT demonstrated significant performance gains over both vanilla Decision Transformers (DT) and state-of-the-art TD-learning methods.
Key Findings:
- Performance Boost: RDT achieved a 29% overall improvement over vanilla DT. In specific adversarial action corruption scenarios, the improvement reached 105%.
- TD-Learning Fragility: Robust TD-learning baselines like RIQL often struggled, sometimes performing worse than simple Behavior Cloning when data was both scarce and corrupted. This highlights the inherent instability of Q-learning under these conditions.
- Generalization: Models trained with RDT remained robust to perturbations during deployment (test-time), suggesting that the learned representations are fundamentally more resilient.
- Efficiency: The additional robustness components do not significantly increase computational overhead; training time per epoch remains comparable to standard DT.
Conclusion
The Robust Decision Transformer demonstrates that sequence modeling is a powerful paradigm for offline RL, particularly when dealing with the imperfections of real-world data. By combining latent-space regularization with intelligent data weighting and iterative correction, RDT overcomes the compounding error issues that plague traditional TD-learning methods. Future research will explore scaling these techniques to larger foundation models and improving state-space correction in high-dimensional environments.
Summary updated