Beyond the Known: Decision Making with Counterfactual Reasoning Decision Transformer
Abstract
Decision Transformer (DT) plays a crucial role in modern reinforcement learning, leveraging offline datasets to achieve impressive results across various domains. However, DT requires high-quality, comprehensive data to perform optimally. In real-world applications, such ideal data is often lacking, with the underrepresentation of optimal behaviours posing a significant challenge. This limitation highlights the difficulty of relying on offline datasets for training, as suboptimal data can hinder performance. To address this, we propose the Counterfactual Reasoning Decision Transformer (CRDT), a novel framework inspired by counterfactual reasoning. CRDT enhances DT’s ability to reason beyond known data by generating and utilizing counterfactual experiences, enabling improved decision-making in out-of-distribution scenarios. Extensive experiments across continuous and discrete action spaces, including environments with limited data, demonstrate that CRDT consistently outperforms conventional DT approaches. Additionally, reasoning counterfactually allows the DT agent to obtain stitching ability, allowing it to combine suboptimal trajectories. These results highlight the potential of counterfactual reasoning to enhance RL agents' performance and generalization capabilities.
BibTeX
@misc{nguyen2025beyond,
author = {Minh Hoang Nguyen and Linh Le Pham Van and Thommen Karimpanal George and Sunil Gupta and Hung Le},
title = {{Beyond the Known: Decision Making with Counterfactual Reasoning Decision Transformer}},
year = {2025},
eprint = {2505.09114},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2505.09114},
}Ask Althea to put this paper to the test.