Research · November 10, 2026
Transformers Provably Implement In-Context Reinforcement Learning with Policy Improvement
Reported by arXiv cs.AI + cs.CL
In short
The paper shows that a linear self-attention transformer block can provably implement policy-improvement algorithms like semi-gradient SARSA and actor-critic, using explicit parameter constructions. It also gives the first convergence guarantee for in-context RL training, with gradient flow converging locally and exponentially to the right parameters, and experiments on random tabular MDPs back this up.
Why it matters
It gives theoretical grounding for how transformers can learn and run reinforcement learning algorithms purely from context, without weight updates.
Terms used in this story
Read the original reporting
arXiv cs.AI + cs.CL (opens in a new tab)AI Download summarizes and links to the news. We do not republish full articles.