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
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
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
FlexICS: A Flexible Visual Prompting Framework for Training-Free In-Context Segmentation with DINOv3
Shared title terminologycs.CVDuc T. Nguyen, Tien-Dat Tran, Huy-Hieu Pham et al.
CohereWorld: Reinforcing Spatial and Long-Horizon Consistency in Interactive World Models
Shared title terminologycs.CVJunyuan Xiao, Yawen Shao, Siyu Ren et al.
Unified Multi-view Reconstruction and View Synthesis for Scalable Visual Geometry Learning
Shared title terminologycs.CVHanzhe Hu, Shubham Tulsiani
Resolving Set-Valued 3D Visual Grounding in 2D with One Vision-Language Model Call
Shared title terminologycs.CVYatharth Agarwal, Vijay Raghunathan
Controlled Attribution for Selective Visual Reinspection in Multimodal LLMs
Shared title terminologycs.CVChenghao Yue, Yu Luo, Yuanlong Zhang
Ocula: Active Sparse Perception Makes Better Visual Encoders
Shared title terminologycs.CVBixing Wu, Chenghan Yang, Lihe Yang et al.