ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning

Abstract

Decision Transformer (DT), which employs expressive sequence modeling techniques to perform action generation, has emerged as a promising approach to offline policy optimization. However, DT generates actions conditioned on a desired future return, which is known to bear some weaknesses such as the susceptibility to environmental stochasticity. To overcome DT's weaknesses, we propose to empower DT with dynamic programming. Our method comprises three steps. First, we employ in-sample value iteration to obtain approximated value functions, which involves dynamic programming over the MDP structure. Second, we evaluate action quality in context with estimated advantages. We introduce two types of advantage estimators, IAE and GAE, which are suitable for different tasks. Third, we train an Advantage-Conditioned Transformer (ACT) to generate actions conditioned on the estimated advantages. Finally, during testing, ACT generates actions conditioned on a desired advantage. Our evaluation results validate that, by leveraging the power of dynamic programming, ACT demonstrates effective trajectory stitching and robust action generation in spite of the environmental stochasticity, outperforming baseline methods across various benchmarks. Additionally, we conduct an in-depth analysis of ACT's various design choices through ablation studies. Our code is available at https://github.com/LAMDA-RL/ACT.

Cite

Text

Gao et al. "ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I11.29101

Markdown

[Gao et al. "ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/gao2024aaai-act/) doi:10.1609/AAAI.V38I11.29101

BibTeX

@inproceedings{gao2024aaai-act,
  title     = {{ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning}},
  author    = {Gao, Chenxiao and Wu, Chenyang and Cao, Mingjun and Kong, Rui and Zhang, Zongzhang and Yu, Yang},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {12127-12135},
  doi       = {10.1609/AAAI.V38I11.29101},
  url       = {https://mlanthology.org/aaai/2024/gao2024aaai-act/}
}