atlas

Research map / Reinforcement learning / Visual and representation RL

In-Context Reinforcement Learning for Variable Action Spaces

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

Proposes Headless-AD, a transformer in-context RL agent that drops the output linear head and predicts action embeddings with random orthonormal action encodings and a contrastive loss, enabling generalization to unseen discrete action spaces of different size and order without retraining.

Problem

Algorithm Distillation and similar in-context RL transformers have a fixed output head tied to a predefined action set size and semantics, so new action spaces require data re-collection and retraining.

Approach

Remove the linear output head, encode each action with a random orthonormal embedding resampled every training step, feed the full action set as a prompt, predict the next action embedding, and train with InfoNCE contrastive loss so action choice is a similarity-based distribution over the action set.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Headless-AD instead of AD without retraining for new action-set sizesAD · Bernoulli Bandit, 20-50 armsregretHelped
Use Headless-AD instead of AD on contextual bandits with varying arm countsAD · Contextual BanditregretHelped
Use Headless-AD instead of AD across changed action setsAD · Darkroomsuccess rateHelped
Train AD on permuted action setsAD · Darkroom, Permuted Train Actionssuccess rateHurt
Remove the action-set prompt (ablation)Headless-AD · Bernoulli BanditperformanceHurt
Remove the action-set prompt (ablation)Headless-AD · DarkroomperformanceHurt
Replace contrastive loss with MSE loss (ablation)Headless-AD · Bernoulli BanditregretMixed
Replace contrastive loss with MSE loss (ablation)Headless-AD · DarkroomperformanceHurt
Replace orthonormal action embeddings with standard-normal embeddings (ablation)Headless-AD · Bernoulli BanditperformanceHurt
Replace orthonormal action embeddings with standard-normal embeddings (ablation)Headless-AD · DarkroomperformanceHurt
Use distinct, non-overlapping action splits by movement distanceHeadless-AD · Darkroom, unseen test actionsperformanceHurt
Evaluate Headless-AD on visual observations rather than coordinate observationsHeadless-AD · Visual Darkroomsuccess rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: Bernoulli bandit trajectories from Thompson Sampling contextual bandit trajectories from LinUCB Darkroom trajectories from Q-learning

Benchmarks: Bernoulli bandit (4-50 arms) contextual bandit Darkroom gridworld with five action set variants visual Darkroom Darkroom alternative split

Metrics: regret success rate normalized return number of unique actions attempted

Baselines: Algorithm Distillation Thompson Sampling LinUCB Q-learning Random

Builds on: Algorithm Distillation Headless-LLM Wolpertinger InfoNCE Decision Pretrained 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