atlas

Research map / Reinforcement learning / Visual and representation RL

Balancing Context Length and Mixing Times for Reinforcement Learning at Scale

NeurIPS 2024 · Reinforcement learning › Visual and representation RL · approach: Inferring decision-making from behavior · 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.

Theoretically and empirically links policy context length to mixing time in partially observable RL, showing longer contexts (especially Transformers and Decision Transformers) slow reliable policy evaluation.

Problem

Longer context lengths help policies model non-Markovian dependencies but may increase mixing times, making policy evaluation and downstream learning slower; the paper asks whether and how context length limits performance benefits.

Approach

Derives a mixing time bound O(1/(β^g) log(1/ε)) based on the size of strongly connected components in the state-variable dependency graph, and shows that restricting a policy's context length shrinks/loosens this structure, tightening the bound and trading off model expressivity against evaluation time.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the Decision Transformer context length to k = 25Decision Transformer trained on Minigrid Crossing behavior-policy data · Minigrid Crossingtraining accuracyHelped
Increase context length from the behavior policy's k = 1 to Decision Transformer k = 25Decision Transformer on Minigrid Crossing · Minigrid Crossingaverage mixing time: 11.2 episodes -> 298.1 episodesHurt
Increase context lengthPolicies in partially observable environments · Partially observable environmentsmixing timeHurt
Use a Transformer instead of tabular, MLP, or LSTM policiesQ-learning agents in RGB world · RGB worldencountered mixing timeHurt
Increase model capacityMLP and LSTM policies · RGB worldencountered mixing timeNo clear effect
Increase model capacityTransformer policies · RGB worldencountered mixing timeHurt
Use unnecessarily large context lengths rather than the minimal context length that achieves 100% training accuracy (ablation)Decision Transformer · Minigrid Crossingdownstream performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: Minigrid Crossing rollouts from 1,000 random deterministic behavior policies 1,000 episodes from REINFORCE agents RGB world environment (T-maze inspired)

Benchmarks: RGB world Minigrid Crossing toy irrelevant-variables and independent-subtasks MDPs

Metrics: epsilon-return mixing time training accuracy average return

Baselines: MLP LSTM tabular Q-learning REINFORCE

Builds on: Kearns and Koller (2000) mixing time bounds Riemer et al. mixing time in continual RL Decision Transformer Kearns and Singh return mixing time

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