NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Translating Flow to Policy via Hindsight Online Imitation

Yitian Zheng, Zhangchen Ye, Weijun Dong, Shengjie Wang, Yuyang Liu, Chongjie Zhang, Chuan Wen, Yang Gao

Introduction

In modern robotics, hierarchical systems have become a highly popular paradigm. These systems split complex tasks into two distinct parts: a high-level planner that observes the scene and proposes a visual plan (e.g., "move the gripper here, then move the cup there"), and a low-level policy that translates that visual plan into actual motor torques and joint angles.

The primary advantage of this setup is that the high-level planner can be trained on massive datasets of internet videos without needing any action labels. However, grounding those visual plans into executable low-level actions remains a major bottleneck. Traditional approaches either require complex analytical controllers—which struggle with messy real-world physics—or huge datasets of action-labeled robot data, which are expensive and tedious to collect.

To bridge this gap, this paper introduces HinFlow, a framework that allows robots to practice in their environment and learn from their own imperfect rollouts using hindsight relabeling. By treating the achieved visual trajectories as the intended goals, the robot rapidly learns a robust low-level control policy with minimal human demonstrations.

Methods: Hindsight Flow-Conditioned Online Imitation

The authors propose Hindsight Flow-conditioned Online Imitation (HinFlow) to tackle the data bottleneck in low-level policy training. The architecture consists of three main components:

  1. High-Level Planner: A model trained on action-free videos to predict future 2D point flows. These flows represent the visual trajectories of task-relevant points, such as the robot's gripper and the target object.
  2. Low-Level Policy: A Transformer-based model that takes the current observation and the predicted point flow as input, outputting chunked motor actions. Crucially, it is pre-trained on an extremely small set of demonstrations (e.g., just 1 to 5 examples).
  3. Hindsight Online Imitation: This is the core novelty of the paper. The robot explores the environment using its weak initial policy. Naturally, it makes mistakes and frequently fails the task. Instead of discarding this failed data, an off-the-shelf video tracker extracts the actual 2D point flows the robot achieved during the rollout. The system then applies hindsight relabeling, effectively telling the policy: "If this achieved flow was actually your intended goal, then the actions you just took were perfectly correct."
HinFlow Architecture

By continuously updating the policy using these self-generated, hindsight-relabeled examples, the robot learns a highly accurate mapping from visual flows to motor actions without needing external reward signals or human intervention.

Experimental Setup

The framework was rigorously evaluated across both simulated and physical environments:

  • Simulation: Evaluated on 7 manipulation tasks across two benchmarks: LIBERO (Place Butter, Place Book, Hide Chocolate, Close Microwave) and ManiSkill3 (Place Sphere, Pull Cube Tool, Poke Cube).
  • Real-World: A custom pick-and-place task using a physical Franka Emika Panda arm.
  • Training Data: The high-level planner leverages large collections of action-free videos, while the low-level policy is initialized with only 1 to 5 action-labeled demonstrations per task.

Key Insights and Results

HinFlow demonstrates that self-imitation can effectively solve the data bottleneck. By reframing failures as successes for a different goal (the achieved flow), the robot generates its own dense supervision, bypassing the notoriously difficult sparse reward problem found in standard Reinforcement Learning. Furthermore, using 2D point flows as the "language" between the planner and the controller filters out irrelevant visual details, making the policy incredibly robust to visual distractors.

Simulation Success Rates

Performance Highlights: * High Sample Efficiency: In simulation, HinFlow achieved an average success rate of 84.0% across all 7 tasks in just 80K environment steps (about 300-400 episodes). This outperformed the strongest baseline by 1.45x and improved the base policy's performance by more than 2x. * Real-World Reliability: In physical robot experiments, HinFlow improved the robot's success rate from an initial 40% to 95% after just 86 online episodes (roughly 1 hour of real-world practice). * Zero-Shot Generalization: When tested with heavy visual distractors or entirely unseen target objects, HinFlow maintained a >90% success rate, whereas standard Behavior Cloning collapsed to under 10%. * Cross-Embodiment Gains: Because the high-level planner only cares about the visual movement of points, it can be trained on videos of one robot and successfully guide a completely different robot. Leveraging action-free videos from a different robot arm boosted the target robot's success rates by over 40 percentage points.

Limitations and Future Work

While highly effective, HinFlow currently relies on a "warm-start" dependency. To ensure the robot collects meaningful data during early exploration, the low-level policy still requires a small number of in-domain, action-labeled demonstrations to initialize. Future work could explore using open-world Vision-Language-Action (VLA) models to provide this initial spark, potentially removing the need for human demos entirely. Additionally, the method relies on 2D point flows, which can be ambiguous for complex 3D spatial motions (like rotating an object in hand). Extending this framework to utilize 3D motion fields represents a promising direction for future research.

Summary updated

BibTeX
@inproceedings{zheng2026translating,
  author = {Yitian Zheng and Zhangchen Ye and Weijun Dong and Shengjie Wang and Yuyang Liu and Chongjie Zhang and Chuan Wen and Yang Gao},
  title = {{Translating Flow to Policy via Hindsight Online Imitation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=dQ6d5bgXtM},
}
Figure