atlas

Research map / Reinforcement learning / Offline RL

Transformers Provably Implement In-Context Reinforcement Learning with Policy Improvement

NeurIPS 2026 · Reinforcement learning › Offline RL · approach: Decision Transformer sequence models · 0 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.

Shows a one-layer linear-attention block can implement batch semi-gradient SARSA and actor-critic updates via explicit constructions, and proves local exponential convergence of gradient flow to the optimal parameter manifold under richness assumptions, validated on random tabular MDPs.

Problem

Whether transformers can implement policy-improvement RL algorithms (SARSA, actor-critic) in context, and whether gradient training provably reaches the parameters that realize them, not just the existence of such parameters.

Approach

Extends prior policy-evaluation (TD) analysis of linear attention to policy improvement by having the block directly output updated critic (and actor) parameters, then proves a local Polyak-Lojasiewicz inequality on a tube around the scaling-symmetric optimal manifold, giving exponential convergence of gradient flow under richness assumptions on training MDPs.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: randomly generated tabular MDPs (Dirichlet transitions, uniform rewards)

Benchmarks: 100 held-out random tabular MDPs

Metrics: discounted return parameter structure recovery (learned P and V blocks) training loss decay

Baselines: analytical SARSA teacher analytical actor-critic teacher oracle greedy policy (value iteration) uniform random policy

Builds on: Adam Transformers learn in-context by gradient descent linear attention policy evaluation via TD (prior ICRL theory) Algorithm distillation

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