Skip to main content
QUICK REVIEW

[Paper Review] Q-Transformer: Scalable Offline Reinforcement Learning via Autoregressive Q-Functions

Yevgen Chebotar, Quan Vuong|arXiv (Cornell University)|Sep 18, 2023
Reinforcement Learning in RoboticsComputer Science16 citations
TL;DR

Q-Transformer uses per-dimension discretization and autoregressive Transformer-based Q-learning to scale offline RL for large, real-world robotic multi-task data, outperforming prior offline RL methods and imitation learning.

ABSTRACT

In this work, we present a scalable reinforcement learning method for training multi-task policies from large offline datasets that can leverage both human demonstrations and autonomously collected data. Our method uses a Transformer to provide a scalable representation for Q-functions trained via offline temporal difference backups. We therefore refer to the method as Q-Transformer. By discretizing each action dimension and representing the Q-value of each action dimension as separate tokens, we can apply effective high-capacity sequence modeling techniques for Q-learning. We present several design decisions that enable good performance with offline RL training, and show that Q-Transformer outperforms prior offline RL algorithms and imitation learning techniques on a large diverse real-world robotic manipulation task suite. The project's website and videos can be found at https://qtransformer.github.io

Motivation & Objective

  • Motivate and enable scalable, high-capacity policy learning from large offline robotic datasets that mix human demonstrations with autonomously collected data.
  • Develop a Transformer-based Q-function representation that can handle discrete action tokens per dimension.
  • Introduce a conservative regularizer suited for offline data to mitigate distributional shift and overestimation.
  • Enhance learning efficiency with Monte Carlo returns and n-step TD updates to accelerate training on real-world tasks.

Proposed method

  • Represent Q-values as tokens by discretizing each action dimension separately and using a Transformer to model Q-learning as autoregressive sequence modeling.
  • Apply per-dimension Bellman updates to compute Q-values for each action bin within a time-step, treating action dimensions as time steps.
  • Introduce a tailored conservative Q-learning objective that regularizes out-of-distribution actions toward the minimal cumulative reward (0 in their setting).
  • Augment TD-learning with Monte Carlo return-to-go and n-step returns to speed up training on mixed-quality data.
  • Use a hybrid update combining MC returns with TD backups to improve learning efficiency on large Transformer models.

Experimental results

Research questions

  • RQ1Can Q-Transformer learn effective policies from a mixture of demonstrations and sub-optimal offline data?
  • RQ2How does Q-Transformer compare to existing offline RL and imitation learning methods on large-scale real-world robotic tasks?
  • RQ3How do design choices (conservative regularization, MC/n-step returns, per-dimension discretization) impact performance and stability?
  • RQ4Can Q-Transformer scale to very large offline datasets and multi-task real-world robotics problems?

Key findings

  • Q-Transformer achieves higher average success than prior methods on real-world language-conditioned robotic manipulation tasks (average success 56% vs 33% DT and 27% IQL and 25% RT-1).
  • On 72 real-world tasks, Q-Transformer outperformed baselines across task categories including drawer manipulation and near-target placement.
  • Ablations show that conservatism and Monte Carlo returns are crucial for performance; removing them degrades or collapses results.
  • Scaling experiments indicate Q-Transformer continues to outperform imitation learning and Decision Transformer even with substantially larger datasets (~300k trials).
  • The per-dimension discretization with autoregressive Q-learning enables effective TD-learning with Transformers in offline settings, including mixed demonstration and autonomous data.

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.