Latent Dynamics · 2026-12-02
Visual In-Context Reinforcement Learning with General-Purpose Pretrained Regressors
Heng-Zhuang Li, Zhen Xu, Hao-Run Cai, Si-Yang Liu, Jun-Peng Jiang, Han-Jia Ye
AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.
TL;DR
The authors introduce Visual In-context Monte Carlo (VIMC), a minimalist in-context RL method that labels executed visual state-action rows once with realized Monte Carlo returns and trains a frozen general-purpose regressor by conditioning on a bounded FIFO context. They show FIFO can crowd out rare states and propose VIMC-Pro to curate diverse, informative context via visual-similarity grouping and prediction-bias-based slot allocation, improving sparse-reward performance.
Why it matters
This work shows that high-dimensional visual control can be addressed by in-context regression using realized Monte Carlo returns, without per-task training or costly fitted-Q relabeling. The paper also identifies a concrete failure mode of FIFO context (crowding out rare informative transitions) and provides a low-overhead context curation strategy to improve within-budget adaptation and generalization.
Method
- VIMC: condition a frozen general-purpose pretrained regressor on a bounded FIFO context of feature-return pairs; each executed row is labeled once with its realized Monte Carlo return.
- Analyze FIFO prediction bias: repeated homogeneous visual experiences can fill the FIFO buffer and crowd out rare experiences, leading to prediction errors.
- VIMC-Pro: maintain a larger experience store, group transitions by visual similarity, and allocate limited context slots using group prediction bias with balanced sampling within groups.
Abstract (from arXiv)
Interactive visual environments such as games and embodied control require decisions over high-dimensional visual observations and long decision horizons, making policies costly to train and tune for each new task. In-context reinforcement learning avoids per-task training by conditioning a pretrained model on past interactions. Several methods rely on domain-specific pretraining or label historical interactions using repeated value updates or a trained teacher. We show that neither is necessary for high-dimensional visual tasks and introduce Visual In-context Monte Carlo (VIMC) reinforcement learning, a simple baseline that utilizes Monte Carlo returns from completed episodes as labels. Starting with an empty first-in, first-out (FIFO) buffer, VIMC learns competitive visual policies by conditioning a general-purpose pretrained regressor on these examples as they accumulate. Analyzing the FIFO mechanism reveals that repetitive visual observations can fill the buffer and crowd out rare informative examples. We therefore propose VIMC-Pro, a prioritized context curation strategy which preserves diverse and informative historical transitions at negligible overhead from lengthy visual interactions, via grouping experiences by visual similarity and allocating context slots according to each group's prediction bias. Our methods outperform competitive baselines across diverse visual tasks. Further analysis shows their strong generalizability and potential for scalability. Code is available at https://github.com/Fir-lat/VIMC
Related papers
- One Phase Is Enough: Sim-to-Real Transfer with Direct Visual Reinforcement Learning
- Scaling to Adapt: Amortized In-Context Dynamics Adaptation in Visual World Models
- Game-Enhanced Embodied Learning with Event and Foresight Pretraining
- MAC-v2: Long-horizon model-based value expansion from pixels
- ContextWorld: Benchmarking In-Context Dynamics Adaptation in Latent World Models
Publication record
Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.
First announced by arXiv: 2026-12-02 · Indexed by Pub-AI: 2026-12-02 UTC
Visual In-Context Reinforcement Learning with General-Purpose Pretrained Regressors
First announced by arXiv: 2026-12-02 · Original record ↗
- arxiv
- 2612.01153
Explicit source versions (1)
- v1 · Date not supplied
- Preprint available
Source date: 2026-12-02 · First detected: 2026-12-02 UTC · Historical baseline
Source evidence (1)
- Official evidence ↗ · RSS guid=oai:arXiv.org:2612.01153v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv
Interactive visual environments such as games and embodied control require decisions over high-dimensional visual observations and long decision horizons, making policies costly to train and tune for each new task. In-context reinforcement learning avoids per-task training by conditioning a pretrained model on past interactions. Several methods rely on domain-specific pretraining or label historical interactions using repeated value updates or a trained teacher. We show that neither is necessary for high-dimensional visual tasks and introduce Visual In-context Monte Carlo (VIMC) reinforcement learning, a simple baseline that utilizes Monte Carlo returns from completed episodes as labels. Starting with an empty first-in, first-out (FIFO) buffer, VIMC learns competitive visual policies by conditioning a general-purpose pretrained regressor on these examples as they accumulate. Analyzing the FIFO mechanism reveals that repetitive visual observations can fill the buffer and crowd out rare informative examples. We therefore propose VIMC-Pro, a prioritized context curation strategy which preserves diverse and informative historical transitions at negligible overhead from lengthy visual interactions, via grouping experiences by visual similarity and allocating context slots according to each group's prediction bias. Our methods outperform competitive baselines across diverse visual tasks. Further analysis shows their strong generalizability and potential for scalability. Code is available at https://github.com/Fir-lat/VIMC
