Instant Policy: In-Context Imitation Learning via Graph Diffusion
Vitalis Vosylius, Edward Johns
Abstract
Following the impressive capabilities of in-context learning with large transformers, In-Context Imitation Learning (ICIL) is a promising opportunity for robotics. We introduce Instant Policy, which learns new tasks instantly (without further training) from just one or two demonstrations, achieving ICIL through two key components. First, we introduce inductive biases through a graph representation and model ICIL as a graph generation problem with a learned diffusion process, enabling structured reasoning over demonstrations, observations, and actions. Second, we show that such a model can be trained using pseudo-demonstrations -arbitrary trajectories generated in simulation -as a virtually infinite pool of training data. Simulated and real experiments show that Instant Policy enables rapid learning of various everyday robot tasks. We also show how it can serve as a foundation for cross-embodiment and zero-shot transfer to language-defined tasks. Code and videos are available at https://www.robot-learning.uk/instant-policy. Figure 1: Instant Policy acquires skills instantly after providing demos at test time. We model incontext imitation learning as a graph-based diffusion process, trained using pseudo-demonstrations.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Generalizable Insights for Graph Transformers in Theory and Practice cites Language Models are Few-Shot Learners
- Segment Anything cites Zero-Shot Text-to-Image Generation
- Segment Anything cites Language Models are Few-Shot Learners
- MaNGO - Adaptable Graph Network Simulators via Meta-Learning cites Language Models are Few-Shot Learners
- MP1: MeanFlow Tames Policy Learning in 1-step for Robotic Manipulation cites Denoising Diffusion Probabilistic Models
- Exploring the Limits of Vision-Language-Action Manipulation in Cross-task Generalization cites Segment Anything
- Exploring the Limits of Vision-Language-Action Manipulation in Cross-task Generalization cites Language Models are Few-Shot Learners
- Directly Denoising Diffusion Models cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers10
- Exploring the Limits of Vision-Language-Action Manipulation in Cross-task GeneralizationJiaming Zhou, Ke Ye, Jiayi Liu, Teli Ma et al.NeurIPS 2025 · 43 citations
- MP1: MeanFlow Tames Policy Learning in 1-step for Robotic ManipulationJuyi Sheng, Ziyi Wang, Peiming Li, Mengyuan LiuAAAI 2026 · 18 citations
- MaNGO - Adaptable Graph Network Simulators via Meta-LearningPhilipp Dahlinger, Tai Hoang, Denis Blessing, Niklas Freymuth et al.NeurIPS 2025 · 4 citations
- Generalizable Insights for Graph Transformers in Theory and PracticeTimo Stoll, Luis Müller, Christopher MorrisNeurIPS 2025 · 2 citations
- SIR: Structured Image Representations for Explainable Robot LearningPaul Mattes, Jan Schwab, Jens Bosch, Maximilian Xiling Li et al.CVPR 2026 · 1 citation
Builds on9
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 citations
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
Related papers
- Quantization-Free Autoregressive Action TransformerZiyad Sheebaelhamd, Michael Tschannen, Michael Muehlebach, Claire VernadeNeurIPS 2025 · 4 citations
- From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context LearningZihan Chen, Song Wang, Xingbo Fu, Chengshuai Shi et al.EMNLP Findings 2025
- NIL: No-data Imitation LearningMert Albaba, Chenhao Li, Markos Diomataris, Omid Taheri et al.CVPR 2026
- Chain-of-Thought Predictive ControlZhiwei Jia, Vineet Thumuluri, Fangchen Liu, Linghao Chen et al.ICML 2024 · 24 citations
- LLM-based Skill Diffusion for Zero-shot Policy AdaptationWoo Kyung Kim, Youngseok Lee, Jooyoung Kim, Honguk WooNeurIPS 2024 · 7 citations
