ContextFlow: In-Context Flow Matching for Robot Manipulation
On the map: Diffusion models → Diffusion and flow policies for robotics
Abstract (arXiv)
Although highly effective in vision and language domains, applying in-context learning to robotics remains challenging. Existing autoregressive in-context imitation methods discretize continuous actions and exacerbate the accumulation of early prediction errors through next-token prediction, limiting their generalization on unseen task configurations. Meanwhile, flow-matching policies have been explored for continuous robot control and can help mitigate compounding errors; however, in-context imitation learning within a flow-matching framework remains underexplored. To address these limitations, we introduce ContextFlow, a conditional flow-matching model that learns continuous action distributions for in-context imitation learning. ContextFlow conditions flow-based action prediction on demonstrations and observations, enabling robust generation from noisy action distributions. To better encode multimodal in-context demonstrations, we adapt perceiver-style multimodal context compressors that distill visual, proprioceptive, and action sequences into compact, task-relevant latent representations. On LIBERO, ContextFlow outperforms ICRT by 35 percentage points in average success rate on unseen task configurations, while matching the performance of the task-specific fine-tuned VLA model π0 without any fine-tuning on unseen tasks. On real robots, it generalizes to unseen configurations of both single-arm and bimanual tasks, achieving 40% success on a new pen-uncapping configuration. Project Page: https://dingjiansw101.github.io/contextflow-page/.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Diffusion and flow policies for robotics, one of 14 directions in Diffusion models. Builds on 42 of its 44 references that are in the map. First posted on arXiv 6 Sep 2026.
Builds on
42 of 44 references.
Closest ancestors · 1
Same direction, newest first
Other references · 41
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2023Qwen Technical Reportcited by 3,344
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 2023RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Controlcited by 3,080
- 2024OpenVLA: An Open-Source Vision-Language-Action Modelcited by 2,887
- 2024π0: A Vision-Language-Action Flow Model for General Robot Controlcited by 2,407
29 more
- 2022RT-1: Robotics Transformer for Real-World Control at Scalecited by 2,061
- 2025π0.5: a Vision-Language-Action Model with Open-World Generalizationcited by 1,761
- 2023Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardwarecited by 1,568
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2023LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learningcited by 1,410
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2025Fine-Tuning Vision-Language-Action Models: Optimizing Speed and Successcited by 883
- 2024PaliGemma: A versatile 3B VLM for transfercited by 696
- 2025FAST: Efficient Action Tokenization for Vision-Language-Action Modelscited by 665
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 629
- 2018An Algorithmic Perspective on Imitation Learningcited by 459
- 2022VIMA: General Robot Manipulation with Multimodal Promptscited by 407
- 2024TinyVLA: Towards Fast, Data-Efficient Vision-Language-Action Models for Robotic Manipulationcited by 339
- 2024Flow Matching Guide and Codecited by 301
- 2022Rectified Flow: A Marginal Preserving Approach to Optimal Transportcited by 283
- 2017One-Shot Imitation Learningcited by 233
- 2022Prompting Decision Transformer for Few-Shot Policy Generalizationcited by 146
- 2024Keypoint Action Tokens Enable In-Context Imitation Learning in Roboticscited by 74
- 2024In-Context Imitation Learning via Next-Token Predictioncited by 70
- 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
- 2024Instant Policy: In-Context Imitation Learning via Graph Diffusioncited by 39
- 2024In-Context Learning Enables Robot Action Prediction in LLMscited by 27
- 2025RICL: Adding In-Context Adaptability to Pre-Trained Vision-Language-Action Modelscited by 22
- 2025MimicDroid: In-Context Learning for Humanoid Robot Manipulation from Human Play Videoscited by 20
- 2024One-Shot Imitation Learning with Invariance Matching for Robotic Manipulationcited by 18
- 2025Action Tokenizer Matters in In-Context Imitation Learningcited by 14
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026In-Context Learning for Robots: Methods and Applicationscited by 1
- 2026In-Context Learning for Robots: Methods and Applications28 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2025ManiFlow: A General Robot Manipulation Policy via Consistency Flow Training
- 2026CoLA-Flow Policy: Temporally Coherent Imitation Learning via Continuous Latent Action Flow Matching for Robotic Manipulation
- 2026Flow-Enabled Generalization to Human Demonstrations in Few-Shot Imitation Learning
- 2026Flowing With Purpose: Latent Action Guided Flow Matching Policies For Robotic Manipulation
- 2026ICLR: In-Context Imitation Learning with Visual Reasoning
- 2026NarrativeFlow: Flow-Based Vision-Language-Action Model Using Robot Velocity Fields
- 2024FlowPolicy: Enabling Fast and Robust 3D Flow-based Policy via Consistency Flow Matching for Robot Manipulation
- 2026SynthICL: Scalable In-context Imitation Learning with Synthetic Data