atlas

Research map / Reinforcement learning / Offline RL

In-Context Reinforcement Learning From Suboptimal Historical Data

ICML 2025 · 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.

Proposes Decision Importance Transformer (DIT), which pretrains an in-context autoregressive transformer for RL from suboptimal historical trajectories by weighting actions with exponentiated in-context advantage estimates, removing the need for optimal action labels.

Problem

In-context RL pretraining (e.g., DPT, AD) requires optimal action labels or full learning histories, which are hard to obtain; the paper targets pretraining transformers for ICRL using only suboptimal historical trajectories.

Approach

Weight the supervised pretraining loss of a causal transformer policy by exp(advantage/eta), where advantages are estimated per trajectory by in-context Q and V transformers trained with Monte Carlo regression and Bellman regularization, so that good actions in suboptimal data are emphasized and the policy improves over behavior policies.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DIT’s exponential advantage-weighted pretraining instead of unweighted behavior cloning (ablation)DIT · Miniworldepisode cumulative returnHelped
Use DIT instead of Prompt-DTIn-context continuous-control models · Meta-World and Half-Cheetahepisode cumulative returnHelped
Use DIT instead of Behavior CloningIn-context continuous-control models · Meta-World and Half-Cheetahepisode cumulative returnHelped
Use DIT instead of Algorithm DistillationIn-context continuous-control models · Meta-World and Half-Cheetahepisode cumulative returnHelped
Use DIT instead of Prompt-DTIn-context policy · Dark Roomepisode cumulative returnMixed
Use DIT instead of DPTIn-context policy · Dark Room, offline evaluation with expert and random trajectoriesepisode cumulative returnNo clear effect
Use DIT instead of Thompson Sampling and Lower Confidence BoundOffline bandit policy · Linear Bandits, random-policy contextsuboptimalityHelped
Use DIT instead of UCB and Thompson SamplingOnline bandit policy · Linear Banditscumulative regretHelped
Use DIT instead of DPTOffline bandit policy · Linear BanditssuboptimalityHurt
Use expert-policy context instead of randomly generated behavior-policy contextDIT · Linear Bandits, offline evaluationsuboptimalityHelped
Restrict DPT query states to observed pretraining states (ablation)DPT compared with DIT · Miniworldepisode cumulative returnMixed

Surprising findings

Limitations

Experimental setup

Datasets: Dark Room (synthetic, suboptimal mixture of optimal and random actions) Miniworld (synthetic) Linear bandit synthetic tasks Meta-World historical trajectories from SAC Half-Cheetah historical trajectories from SAC

Benchmarks: Linear bandits Dark Room Miniworld Meta-World reach-v2 Half-Cheetah velocity

Metrics: cumulative regret suboptimality episode cumulative return

Baselines: Empirical Mean UCB LCB Thompson Sampling SAC Algorithm Distillation DPT Prompt-DT Behavior Cloning

Builds on: Decision-Pretrained Transformer Algorithm Distillation Advantage-weighted regression Prompt-DT Decision Transformer

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