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

Nanjing University

Published December 1, 2026 · on the feed December 2, 2026 · ▲ 17 · arXiv 2612.01153

LLM training & RLVision & multimodalRobotics & embodied Full code arXiv ↗Hugging Face ↗

The abstract

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

The Brief

2:34

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Visual In-Context Reinforcement Learning with General-Purpose Pretrained Regressors. By Heng-Zhuang Li and five others, from Nanjing University. Published on the first of December.

Games and embodied control are interactive visual environments. Decisions have to be made from high-dimensional visual observations, over long horizons, and that makes policies costly to train and tune for every new task. In-context reinforcement learning sidesteps per-task training: a pretrained model is conditioned on past interactions instead. But several existing methods lean on extra machinery. Some depend on domain-specific pretraining. Others label historical interactions using repeated value updates, or a trained teacher. Each of those brings back some of the cost that in-context learning was meant to remove.

The paper argues that neither is necessary for high-dimensional visual tasks. Its baseline, Visual In-context Monte Carlo reinforcement learning, or VIMC, is deliberately simple. The labels are Monte Carlo returns from completed episodes, and the model is a general-purpose pretrained regressor. A Monte Carlo return is simply what actually happened after a given moment once the episode played out, so no value updates and no teacher are needed to produce it. The regressor, likewise, is not pretrained for any particular domain.

VIMC starts with an empty first-in, first-out buffer. As episodes complete, examples accumulate there, and the regressor is conditioned on them, which is enough to learn competitive visual policies. Analysing the buffer exposed a weakness, though. Visual observations are often repetitive, and repetitive ones can fill the buffer and crowd out the rare examples that are actually informative.

VIMC-Pro answers that with prioritized context curation. Experiences are grouped by visual similarity, and context slots are allocated according to each group's prediction bias. The aim is to preserve diverse and informative historical transitions out of lengthy visual interactions, and the overhead of doing so is described as negligible. Rather than letting age alone decide what leaves the context, as a first-in, first-out buffer does, the curation makes room for the kinds of experience that would otherwise be pushed out.

Across diverse visual tasks, both methods outperform competitive baselines. Further analysis, according to the authors, shows strong generalizability and potential for scalability. The abstract does not give the specific tasks or figures.

The contribution is partly subtractive. Domain-specific pretraining and elaborate labelling turn out to be optional, and a plain recipe of Monte Carlo returns plus an off-the-shelf regressor does the job. The one place the paper adds complexity is where its own analysis found a failure: deciding what deserves to stay in a limited context.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.