Skip to main content
QUICK REVIEW

[Paper Review] Bootstrapped Transformer for Offline Reinforcement Learning

Kerong Wang, Hanye Zhao|arXiv (Cornell University)|Jun 17, 2022
Reinforcement Learning in RoboticsComputer Science13 citations
TL;DR

This paper proposes Bootstrapped Transformer (BooT), a novel offline reinforcement learning method that leverages a pre-trained Transformer to self-generate high-confidence synthetic trajectories, which are then used to fine-tune the model in a bootstrapping loop. The approach significantly improves performance on D4RL benchmarks by enhancing data coverage and distributional consistency, outperforming strong baselines without requiring additional conservatism or environment modeling.

ABSTRACT

Offline reinforcement learning (RL) aims at learning policies from previously collected static trajectory data without interacting with the real environment. Recent works provide a novel perspective by viewing offline RL as a generic sequence generation problem, adopting sequence models such as Transformer architecture to model distributions over trajectories, and repurposing beam search as a planning algorithm. However, the training datasets utilized in general offline RL tasks are quite limited and often suffer from insufficient distribution coverage, which could be harmful to training sequence generation models yet has not drawn enough attention in the previous works. In this paper, we propose a novel algorithm named Bootstrapped Transformer, which incorporates the idea of bootstrapping and leverages the learned model to self-generate more offline data to further boost the sequence model training. We conduct extensive experiments on two offline RL benchmarks and demonstrate that our model can largely remedy the existing offline RL training limitations and beat other strong baseline methods. We also analyze the generated pseudo data and the revealed characteristics may shed some light on offline RL training. The codes are available at https://seqml.github.io/bootorl.

Motivation & Objective

  • To address data coverage and limited dataset size issues in offline reinforcement learning, which hinder effective training of sequence models.
  • To develop a method that enhances distributional coverage and model generalization without relying on external data augmentation or environment dynamics modeling.
  • To explore whether self-generated trajectories from a trained sequence model can effectively improve policy performance through iterative bootstrapping.
  • To evaluate the impact of different generation and bootstrapping strategies on model performance and training stability.

Proposed method

  • The method uses a pre-trained Transformer to model the joint distribution of state-action-reward sequences in offline trajectories, treating them as autoregressive token sequences.
  • It generates new trajectories using two schemes: autoregressive generation and teacher-forcing-based generation, both conditioned on the learned model.
  • High-confidence generated trajectories are selected based on sequence likelihood and used to re-train the model in a bootstrapping loop.
  • Two bootstrapping strategies are evaluated: one-time fine-tuning on generated data and repeated use of generated data across multiple training cycles.
  • The approach avoids external data augmentation or dynamics modeling by leveraging the model’s own learned distribution to generate consistent, plausible trajectories.
  • Hyperparameters such as the bootstrapping start threshold, generation percentage, and sequence length are ablated to optimize performance.

Experimental results

Research questions

  • RQ1Can self-generated trajectories from a pre-trained sequence model effectively improve offline RL performance in data-scarce settings?
  • RQ2How do different generation strategies (autoregressive vs. teacher-forcing) affect the quality and utility of generated trajectories?
  • RQ3What is the optimal timing and scale of bootstrapping in terms of training epoch and data ratio?
  • RQ4Does using high-confidence generated data reduce distributional shift and improve generalization compared to random or noisy augmentation?

Key findings

  • BooT achieves state-of-the-art performance on the D4RL offline RL benchmark, significantly outperforming strong baselines such as TD3+BC and SAC.
  • The method demonstrates robustness across multiple environments, with notable improvements in the Gym domain, where it achieves performance close to online RL baselines.
  • Ablation studies show that starting bootstrapping too early or too late degrades performance, with an optimal threshold around 20% of training epochs.
  • Generation percentage (η%) has a non-monotonic effect on performance, peaking at moderate values, indicating a trade-off between data quantity and quality.
  • Using sequence length T′ = 1 for generation yields the best results, suggesting that short, high-confidence sequences are most effective for bootstrapping.
  • Loss-weighted retraining on generated data improves performance over random retraining, but BooT still outperforms even these enhanced baselines, confirming the superiority of its bootstrapping mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.