Future-conditioned Unsupervised Pretraining for Decision Transformer

Zhihui Xie, Zichuan Lin, Deheng Ye, Qiang Fu, Wei Yang +1 more
5/1/2023
42 citations
transformer-attentionrl

No official code found. Best implementation: zhxieml/PDT (29 stars, Python, MIT, last commit 2023-07-25).

Abstract

Recent research in offline reinforcement learning (RL) has demonstrated that return-conditioned supervised learning is a powerful paradigm for decision-making problems. While promising, return conditioning is limited to training data labeled with rewards and therefore faces challenges in learning from unsupervised data.

Show full abstract

In this work, we aim to utilize generalized future conditioning to enable efficient unsupervised pretraining from reward-free and sub-optimal offline data. We propose Pretrained Decision Transformer (PDT), a conceptually simple approach for unsupervised RL pretraining. PDT leverages future trajectory information as a privileged context to predict actions during training. The ability to make decisions based on both present and future factors enhances PDT's capability for generalization. Besides, this feature can be easily incorporated into a return-conditioned framework for online finetuning, by assigning return values to possible futures and sampling future embeddings based on their respective values. Empirically, PDT outperforms or performs on par with its supervised pretraining counterpart, especially when dealing with sub-optimal data. Further analysis reveals that PDT can extract diverse behaviors from offline data and controllably sample high-return behaviors by online finetuning. Code is available at here.

View on arXivView PDF

Code Implementations(1)

zhxieml/PDTCommunity62%
MIT

Implementation of ICML 2023 paper: Future-conditioned Unsupervised Pretraining for Decision Transformer

293PythonMay 28, 20233 years agoMIT

Similar Papers

Cite this paper

@article{xie2023futureconditioned,
  title  = {Future-conditioned Unsupervised Pretraining for Decision Transformer},
  author = {Zhihui Xie and Zichuan Lin and Deheng Ye and Qiang Fu and Wei Yang and Shuai Li},
  year   = {2023},
  eprint = {2305.16683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.16683},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.16683.svg)](https://codeofpaper.com/paper/2305.16683)

Discussion