English

Tackling Data Corruption in Offline Reinforcement Learning via Sequence Modeling

Machine Learning 2025-03-04 v4 Artificial Intelligence

Abstract

Learning policy from offline datasets through offline reinforcement learning (RL) holds promise for scaling data-driven decision-making while avoiding unsafe and costly online interactions. However, real-world data collected from sensors or humans often contains noise and errors, posing a significant challenge for existing offline RL methods, particularly when the real-world data is limited. Our study reveals that prior research focusing on adapting predominant offline RL methods based on temporal difference learning still falls short under data corruption when the dataset is limited. In contrast, we discover that vanilla sequence modeling methods, such as Decision Transformer, exhibit robustness against data corruption, even without specialized modifications. To unlock the full potential of sequence modeling, we propose Robust Decision Rransformer (RDT) by incorporating three simple yet effective robust techniques: embedding dropout to improve the model's robustness against erroneous inputs, Gaussian weighted learning to mitigate the effects of corrupted labels, and iterative data correction to eliminate corrupted data from the source. Extensive experiments on MuJoCo, Kitchen, and Adroit tasks demonstrate RDT's superior performance under various data corruption scenarios compared to prior methods. Furthermore, RDT exhibits remarkable robustness in a more challenging setting that combines training-time data corruption with test-time observation perturbations. These results highlight the potential of sequence modeling for learning from noisy or corrupted offline datasets, thereby promoting the reliable application of offline RL in real-world scenarios. Our code is available at https://github.com/jiawei415/RobustDecisionTransformer.

Keywords

Cite

@article{arxiv.2407.04285,
  title  = {Tackling Data Corruption in Offline Reinforcement Learning via Sequence Modeling},
  author = {Jiawei Xu and Rui Yang and Shuang Qiu and Feng Luo and Meng Fang and Baoxiang Wang and Lei Han},
  journal= {arXiv preprint arXiv:2407.04285},
  year   = {2025}
}

Comments

Accepted by ICLR2025

R2 v1 2026-06-28T17:29:49.767Z