atlas

Research map / Reinforcement learning / Offline RL

Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretraining

ICLR 2024 · Reinforcement learning › Offline RL · approach: Decision Transformer sequence models · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Provides a theoretical framework for supervised pretraining of transformers for in-context RL (algorithm distillation and DPT), proving imitation and regret guarantees via ReLU-attention constructions of LinUCB, Thompson sampling, and UCB-VI.

Problem

Theoretical understanding of which RL algorithms supervised-pretrained transformers can implement in context, how well they perform online (regret), and how offline data distribution mismatch affects learned algorithms.

Approach

Frames algorithm distillation and decision-pretrained transformers as supervised imitation of a posterior-averaged expert; proves imitation error bounds scaling with covering number and a distribution ratio, and constructs ReLU-attention transformers that approximate soft LinUCB, Thompson sampling (via Pade matrix square roots), and soft UCB-VI with near-optimal regret.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
pretrain by distilling LinUCB actionsGPT-2 transformer · stochastic linear bandits (d=5, A=10)regretMixed
pretrain on optimal-action labels with a context policy mixing uniform policy and Thompson samplingGPT-2 transformer · multi-armed Bernoulli bandits (d=5)regretMixed
increase the distribution ratio between the offline context algorithm and the expertDPT-pretrained transformer · Bernoulli bandits (d=5)regretHurt
use a uniform policy as the context algorithm instead of a policy closer to Thompson samplingDPT-pretrained transformer · Bernoulli bandits (d=5), early stages (Time≤30)regretNo clear effect
pretrain by distilling UCBtransformer · Bernoulli bandits (A=5)regretNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic stochastic linear bandit trajectories synthetic Bernoulli bandit trajectories

Benchmarks: synthetic stochastic linear bandits (d=5, A=10) synthetic Bernoulli bandits (d=5)

Metrics: cumulative regret suboptimality

Baselines: LinUCB Thompson sampling empirical average UCB

Builds on: Algorithm Distillation Decision-Pretrained Transformers GPT-2 UCB-VI LinUCB

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy