Abstract
Behavior Cloning (BC) has become a cornerstone of robotic manipulation, yet it often fails to generalize to out-of-distribution (OOD) scenarios due to a lack of underlying physical understanding. This paper introduces the Dynamics-Aligned Flow Matching Policy (DAP), a framework that integrates an explicit, action-conditioned dynamics model directly into the action-generation process. By employing iterative flow matching and mutual corrective feedback, DAP allows the policy to "foresee" the consequences of its actions and adjust them in real-time. Experimental results on a UR5 robot demonstrate that DAP achieves a 75% average success rate across diverse tasks, significantly outperforming standard diffusion-based policies, particularly in challenging OOD environments.
Introduction
The current standard for robotic manipulation, Behavior Cloning, relies on mimicking expert demonstrations. While effective in controlled settings, this approach suffers from "narrow vision"—the robot learns specific trajectories without grasping the causal physics of its environment. Consequently, when faced with novel lighting, distracting objects, or unfamiliar geometries, these policies often fail as they cannot recover from small errors or unexpected states.
Previous research has attempted to mitigate this by using video prediction to "imagine" future states. However, these models are frequently action-agnostic or decouple prediction from action generation. This lack of alignment prevents the robot from using its predicted future to refine its current plan.
The DAP Framework
The core innovation of this work is the Dynamics-Aligned Flow Matching Policy (DAP). Unlike traditional Diffusion Policies that generate actions in isolation, DAP treats action generation and future state prediction as a coupled process.
The framework consists of two primary components:
- Dynamics Model ($f_\theta$): Predicts the next observation $o_{t+1}$ based on the current state and a proposed action.
- Policy Model ($\pi_\theta$): Generates the action $a_t$ conditioned on the current observation and the predicted future observation.
By aligning these two models, the system creates a feedback loop where the predicted future corrects the action, and the updated action further refines the predicted future.
Architecture and Inference
DAP moves away from standard diffusion toward a Flow Matching architecture, which allows for more efficient and stable iterative refinement.
Iterative Parallel Generation
During inference, the robot initializes both the action and the future observation as pure noise. Through $K$ iterative steps, the model refines both variables in parallel. A critical feature is Flow Extrapolation: at each step, the model "peeks ahead" to the predicted final clean state. This extrapolated future provides a high-quality conditioning signal for the action generation, avoiding the difficulties associated with conditioning on noisy, intermediate samples.
Mixed-Data Training
To ensure the dynamics model understands the "rules of the world" beyond perfect expert trajectories, DAP is trained on a combination of expert demonstrations and random exploration data. This exposure to failure states and non-optimal transitions is vital for the robot's ability to recover from errors during deployment.
Experimental Evaluation
The researchers evaluated DAP using a UR5 robotic arm across four manipulation tasks: Closing a drawer, Pick and Place, Towel Folding, and a high-precision Cup Arrangement task. To test generalization, three Out-of-Distribution (OOD) scenarios were introduced:
- Novel Objects: Unseen items like a banana.
- Random Lighting: Dynamic, colored lighting from a disco ball.
- Visual Distractors: Irrelevant objects placed near the target.
Key Results and Discussion
DAP demonstrated superior performance across the board, achieving an average success rate of 75%, compared to 62.5% for standard Diffusion Policies.
The framework's strength was most evident in the Cup Arrangement task. This task requires precise reasoning about post-grasp stability; while all baseline models failed completely (0% success), DAP achieved a 30% success rate. Furthermore, in the presence of visual distractors, DAP maintained its performance while baselines dropped to zero, showing a 10% overall improvement in OOD robustness.
The results suggest that mutual correction is key: by generating action and observation together, the policy can foresee if a planned trajectory leads to a failure state and adjust accordingly before execution.
Conclusion
The Dynamics-Aligned Flow Matching Policy represents a significant step toward generalist robotic agents. By grounding action generation in a learned understanding of environment dynamics, DAP achieves higher robustness and better generalization than traditional imitation learning methods. Future work will focus on scaling this approach to massive, multi-robot datasets and testing "Level 3" generalization involving entirely novel motion primitives.
Summary updated