atlas

Research map / Reinforcement learning / Offline RL

Unveiling Markov heads in Pretrained Language Models for Offline Reinforcement Learning

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.

Identifies "Markov heads" in GPT-2 attention that focus on the last input token, proves they persist under random embeddings and fine-tuning, and proposes GPT2-DTMA (mixture of attention over heads) to adapt PLM-initialized decision transformers to both short- and long-term offline RL tasks.

Problem

Pretrained language models transferred to offline RL via decision transformers perform well in short-term (MuJoCo locomotion) environments but underperform a DT trained from scratch in long-term (PointMaze) environments; the knowledge responsible for this transfer is unclear.

Approach

Defines Markov heads as attention heads whose W^q (W^k)^T is a Markov matrix (dominant positive diagonal), shows theoretically that such heads keep last-token attention under random embeddings and small-step fine-tuning, and adds a Mixture-of-Attention gate over heads so the model can down-weight Markov heads in long-term tasks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add MoA to GPT2-DTGPT2-DT · MuJoCo Locomotionmean normalized scoreMixed
Add MoA to GPT2-DTGPT2-DT · PointMazeepisode length: 188.0 -> 146.3; 257.3 -> 203.0Helped
Use longer context, k=10 to k=50 (ablation)GPT2-DTMA · PointMaze largeepisode length: 236.3 -> 203.0Helped
Use longer context, k=10 to k=50 (ablation)GPT2-DTMA · Hopper-mediumnormalized score: 77.1 -> 75.8No clear effect
Add MoA to randomly initialized DT (ablation)DT · MuJoCo Locomotionmean normalized scoreNo clear effect
Penalize MoA weights for Markov heads (ablation)GPT2-DTMA · MuJoCo Locomotionmean normalized score: 0.488 -> 0.184Hurt
Fine-tune embedding and FFN layers only (ablation)GPT2-DT · PointMazeepisode length: 59.0 -> 67.0; 188.0 -> 229.0; 257.0 -> 286.0Hurt
Initialize DT from CLIP or GPT-J instead of GPT2 (ablation)DT · MuJoCo Locomotionmean normalized scoreMixed

Surprising findings

Limitations

Experimental setup

Datasets: D4RL MuJoCo Locomotion datasets D4RL PointMaze datasets

Benchmarks: D4RL MuJoCo Locomotion D4RL PointMaze

Metrics: normalized score episode length

Baselines: DT CQL Decision ConvFormer (DC) GPT2-DT (LaMo) DTMA CLIP-DT GPTJ-DT GPT2-P

Builds on: Decision Transformer LaMo Mixture of Experts / mixture of attention CQL

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