cs.ROMar 8, 2026

ICLR: In-Context Imitation Learning with Visual Reasoning

Authors: Toan Nguyen, Weiduo Yuan, Songlin Wei, Hui Li, Daniel Seita, Yue Wang

Organizations: University of Southern California · Autodesk Research

Abstract

In-context imitation learning enables robots to adapt to new tasks from a small number of demonstrations without additional training. However, existing approaches typically condition only on state-action trajectories and lack explicit representations of task intent. This limitation hinders performance in complex and ambiguous task settings where the same actions may be consistent with different objectives. To address this, we present In-Context Imitation Learning with Visual Reasoning (ICLR), a novel framework that augments demonstration prompts with structured visual reasoning traces representing anticipated future robot trajectories in image space. ICLR also jointly learns to generate reasoning traces and low-level actions within a unified autoregressive transformer, enabling the model to mimic not only action prediction but also the reasoning process that leads to those actions. We extensively evaluate ICLR in both simulation and real-world manipulation tasks and demonstrate consistent improvements in success rates and generalization to unseen tasks and novel object configurations compared to other in-context imitation learning methods. These results suggest that incorporating embodied visual reasoning represents a promising direction for enhancing the robustness and generalization of robotic in-context learning systems.

Figures & tables

Explore similar work

CardsList
  1. In-context Robot Learning Made Simple: A Democratized Recipe for Manipulation Tasks

    Sep 29, 2026Minxing Li, Minghao Han, Weizhi Zhao +10ICL for RoboticsRobotic Manipulation

  2. ContextFlow: In-Context Flow Matching for Robot Manipulation

    Sep 6, 2026Jian Ding, Xianjie Dai, Roei Herzig +5ICL for RoboticsRobot Imitation Learning

  3. In-Context Robot Learning with VLM Agents

    Sep 16, 2026Dongzhou Cheng, Taoran Yi, Ye Fang +12Robot Policy LearningICL for Robotics