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 · DOI

Introduction

Modern robotics faces a significant divide between high-level visual planning and low-level motor execution. While high-level planners can now be trained on vast, action-free video datasets (such as YouTube) to predict object trajectories, grounding these plans into precise motor commands remains a bottleneck. Traditional hierarchical approaches often require extensive, high-quality robot demonstrations to teach a controller how to follow a plan. This reliance on expert data is expensive and difficult to scale, especially when the robot must navigate visual occlusions, complex dynamics, or environmental variations.

This paper introduces HinFlow (Hindsight Flow-conditioned Online Imitation), a framework designed to bridge this gap. By utilizing 2D point flows as a "universal language" for tasks and refining control through an online self-practice loop with hindsight relabeling, HinFlow achieves high success rates on complex manipulation tasks with minimal expert intervention.

The HinFlow Framework

HinFlow treats low-level control as a self-improving system composed of three primary stages: high-level planning, flow-conditioned policy execution, and iterative refinement via hindsight.

1. High-Level Planning (Flow Prediction)

The system utilizes a "Track Transformer" trained on action-free videos. Given an initial image, the planner predicts future 2D trajectories—or point flows—of task-relevant objects, such as the handle of a microwave or a specific block. These flows serve as an abstraction that is invariant to lighting and appearance while explicitly encoding physical dynamics.

2. Flow-Conditioned Policy

A transformer-based policy ($\pi$) receives the current robot state (proprioception) and the predicted flow to generate motor actions. This policy acts as the bridge, translating the visual "what to do" into the physical "how to do it."

3. Hindsight Online Imitation

The core innovation of HinFlow is its self-improvement loop. During online interaction, the robot may fail to achieve the planner's exact goal. Rather than discarding these attempts, HinFlow uses a video tracker to observe the robot's actual movement. It then relabels the experience: the actual flow achieved is paired with the actions taken, effectively telling the model, "I didn't do what was asked, but I successfully executed this specific trajectory." This turns every interaction—even failures—into valuable training data.

The HinFlow architecture illustrates the flow prediction, the flow-conditioned policy, and the hindsight relabeling loop that enables continuous self-improvement.

Experimental Evaluation

The researchers evaluated HinFlow across several challenging benchmarks to test its efficiency and generalization capabilities:

  • LIBERO: Four long-horizon tasks including Hide Chocolate and Close Microwave.
  • ManiSkill3: Complex interaction tasks such as Pull Cube Tool and Poke Cube.
  • Cross-Embodiment: The planner was trained on Franka robot videos and tested on Kinova and xArm robots to evaluate embodiment-agnostic planning.
  • Real-World Deployment: A physical Franka Emika Panda arm was tasked with a mouse-placement activity to verify the system's practical utility.

Results and Discussion

HinFlow demonstrated superior performance and sample efficiency compared to existing baselines. Across seven manipulation tasks, the system achieved an average success rate of 84.0%, outperforming the strong ATM baseline by 1.45x.

Success rate comparisons on LIBERO and ManiSkill3 benchmarks show HinFlow (Ours) significantly outperforming BC, ATM, and Online VPT baselines over 80k environment steps.

Key Findings:

  • Sample Efficiency: Unlike standard Reinforcement Learning (RL) which requires millions of steps, HinFlow showed significant gains in just 80,000 steps (roughly 300-400 episodes).
  • Real-World Adaptation: In physical experiments, the robot's success rate improved from 40% to 95% after only one hour of online practice (10,000 steps).
  • Cross-Embodiment Transfer: The framework successfully transferred knowledge between different robot arms, showing a 40% gain in success rate when using cross-embodiment data compared to single-robot training.
  • Robustness: The system generalized "zero-shot" to novel objects and visual distractors, proving that flow-based abstractions effectively filter out non-essential visual noise.

Conclusion and Future Work

HinFlow demonstrates that 2D point flows are a powerful medium for robot learning, enabling models to learn from both expert demonstrations and their own "clumsy" interactions. While the system currently requires a small number of expert demos (1-5) to initialize the policy, future work may leverage large-scale Vision-Language-Action (VLA) models to remove this "cold start" requirement. Additionally, transitioning from 2D flows to 3D motion fields could further enhance the system's ability to handle complex 3D rotations and depth-heavy tasks.

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