atlas

Research map / Bandits and online learning / Online convex optimization and games

Optimal Dynamic Regret by Transformers for Non-Stationary Reinforcement Learning

NeurIPS 2025 · Bandits and online learning › Online convex optimization and games · approach: Online linear-quadratic control regret · 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 theoretically that transformers trained by supervised in-context learning can approximate MASTER-style non-stationary RL algorithms (window scheduler plus restarts), achieving near-optimal dynamic regret for bandits, and validates with linear bandit experiments against LinUCB/TS and MASTER variants.

Problem

Whether transformers trained in an in-context learning setup can adapt to non-stationary reinforcement learning environments and achieve near-optimal dynamic regret.

Approach

Constructs a (non-continuous) transformer that approximates the MASTER algorithm's multi-scale window scheduler and restart/stationarity tests, shows that supervised pretraining on base-algorithm trajectories yields a policy whose regret matches the minimax dynamic regret rate up to an approximation and generalization error.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the in-context transformer instead of the expert algorithms and their MASTER variantsLinear bandit, low non-stationarity · Low Non-Stationaritycumulative regretMixed
Use the in-context transformer instead of the expert algorithms and their MASTER variantsLinear bandit, high non-stationarity with b=0.018 · High Non-Stationarity (b=0.018)suboptimalityHelped
Evaluate the transformer at b=0.025 rather than within the better-generalized regimeTransformer trained on non-stationarity levels b in {0.005, 0.01, 0.015, 0.02} · High Non-Stationarity (b=0.025)cumulative regretHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic linear bandit trajectories

Benchmarks: synthetic linear bandit (d=32, A=10), low and high non-stationarity

Metrics: cumulative regret suboptimality

Baselines: LinUCB Thompson Sampling MASTER+LinUCB MASTER+TS

Builds on: MASTER LinUCB Thompson Sampling Lin et al. 2024 offline-to-online generalization theory Transformers learn in-context RL (Lee et al.)

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