Optical Flow as a Unified Action Model: How FlowWAM Turns Pixel Motion Into Robot Commands

Optical Flow as a Unified Action Model: How FlowWAM Turns Pixel Motion Into Robot Commands

Yixiang Chen, Peiyan Li, Yuan Xu, Qisen Ma, Jiabing Yang +11 more

8 min readJul 15, 2026

Researchers have developed FlowWAM, a world action model that uses optical flow—dense pixel-level motion between frames—as a single representation for both planning actions and predicting future video. By encoding robot commands as flow videos, FlowWAM bridges the gap between low-level control and video generation, enabling the same model to decode actions, condition video prediction, and learn from unlabeled human video data.

What the Researchers Built

FlowWAM is a 5-billion-parameter world action model (WAM) built on top of Wan2.2-TI2V, a pretrained video-generation transformer. The core innovation is representing robot actions as dense optical-flow videos—essentially, a series of images where each pixel’s color encodes the motion direction and speed between consecutive frames. This flow video serves three purposes simultaneously:

  • Decodability for control: The model can read the flow video and decode it into precise robot joint commands, allowing it to act directly in the real world.
  • Scalability via unlabeled video pretraining: Optical flow can be extracted from any video—including egocentric human demonstrations that contain no robot action labels—and used to pretrain the motion priors.
  • Reliability for world modeling: The dense flow field provides per-pixel guidance to the video generator, ensuring the predicted future frames follow the intended action trajectory.

The model uses a dual-stream architecture: one stream processes RGB frames, the other processes flow frames (encoded in HSV color space), and both streams share transformer blocks via joint self-attention. A two-stage training pipeline first learns general motion representations from robot and human videos, then finetunes an action expert to decode flow latents into executable actions.

Key Results

FlowWAM was evaluated on two benchmarks: RoboTwin 2.0 for manipulation policy and WorldArena for action-conditioned world modeling.

Manipulation Policy (RoboTwin 2.0): FlowWAM achieved state-of-the-art success rates across 50 bimanual tasks, outperforming strong baselines including vision-language-action models (π₀), Motus, X-VLA, and GigaWorld-Policy. On the Clean setting with 50 demonstrations, FlowWAM matched or exceeded the best prior methods; on the Random setting with 500 demonstrations and heavy variation in object pose, lighting, and distractors, it maintained robust performance while other methods degraded significantly.

Bar chart comparing success rates of FlowWAM against baselines on RoboTwin tasks

Action-Conditioned World Modeling (WorldArena): On the WorldArena benchmark—which jointly scores video quality and action consistency over 121-frame rollouts—FlowWAM achieved the highest overall EWMScore across 16 metrics. It outperformed both generic video generators (CogVideoX, Veo 3.1) and physics-aware models (Cosmos-Predict 2.5, ABot-PhysWorld). Notably, FlowWAM scored significantly higher on metrics that measure action alignment (JEPA similarity and tracking consistency), confirming that dense flow conditioning tightly steers video generation to follow the requested action trajectory.

Real-World Transfer: The researchers tested FlowWAM on seven real-world manipulation tasks using two robot platforms (Franka Research 3 and ARX 5 bimanual). Across stack bowls, place in drawer, fold towel, and clean plate tasks, FlowWAM succeeded where open-loop baselines failed, particularly in contact-rich and bimanual coordination tasks.

How It Works

FlowWAM operates in two stages: training and inference. The architecture builds on a 5-billion-parameter video diffusion transformer (DiT) with a causal VAE and UMT5-XXL text encoder.

Stage 1 – Motion Representation Learning: The dual-stream generator learns to produce both RGB and flow videos from an initial frame and language instruction. The flow pathway uses a separate patch embedding and output head, both initialized from corresponding RGB weights, plus a learnable flow-token embedding to maintain stream identity. Training uses a flow-matching objective on two data sources: robot demonstration videos (with known action labels) and large-scale egocentric human videos from which optical flow is extracted—no action labels required.

Stage 2 – Action Expert Training: A lightweight action expert network reads hidden states from the frozen VAE encoder. During training, it sees clean visual latents; during inference, it reads from latents generated by the dual-stream model (which may contain residual noise). To align these distributions, noise is mixed into the video generator's input on a fraction of training steps, and the noise level is passed to the action expert as an auxiliary embedding. This simple technique prevents distribution shift and stabilizes action decoding.

Inference Pipeline: 1. The user provides an initial observation image and a language instruction. 2. The dual-stream generator denoises a flow video conditioned on the instruction, producing a dense motion plan. 3. Simultaneously, the RGB stream generates the corresponding future video frames. 4. The action expert reads the flow latents and decodes them into a sequence of robot joint actions (position, velocity, or torque commands). 5. The robot executes the actions; the predicted video can be used for verification or model-predictive control.

Data Efficiency: Because flow is a natural representation of motion found in any video, FlowWAM can be pretrained on action-unlabeled human video data (e.g., egocentric cooking, assembly). This significantly reduces the number of robot demonstrations needed for downstream tasks—a critical advantage for real-world deployment.

Visualization of action-conditioned world model predictions: initial frame, predicted RGB frames, and corresponding optical flow fields

Why This Matters for Robotics

FlowWAM addresses one of the hardest open problems in robot learning: how to unify action representation across control, prediction, and unlabeled data. Most current systems use separate representations for policy (joint vectors, end-effector poses) and prediction (video pixels, depth maps). This mismatch forces robots to choose between data efficiency (video pretraining) and precise control (low-level commands). FlowWAM eliminates that tradeoff.

Practical implications for robot deployment: - Reduced data collection costs: Robot owners can leverage existing video datasets (YouTube cooking tutorials, factory line footage) to bootstrap motion priors without expensive teleoperation. - Better sim-to-real transfer: The same flow representation works in simulation and reality, simplifying the sim-to-real pipeline. - More predictable robot behavior: Because FlowWAM generates a visible motion plan before acting, operators can preview and validate robot actions before execution—critical for safety in shared human-robot workspaces. - Cross-embodiment transfer: FlowWAM’s action expert was shown to work on two different robot platforms (Franka single-arm and ARX bimanual) with minimal retuning.

For companies evaluating automation, this means more flexible robot cells that can learn from existing video data rather than requiring thousands of manually collected demos. Check out used industrial robots on Robot Overflow to see platforms that could benefit from such learning approaches, or browse humanoid robots if you’re exploring general-purpose platforms.

Limitations and Open Questions

FlowWAM has several current limitations. First, the 5-billion-parameter model requires significant GPU memory (multiple A100s), making deployment on edge compute or small robots impractical. Second, while flow decoding is effective, it introduces an extra inference step compared to direct action prediction, adding latency—the authors report that Fast-WAM (which skips explicit video generation) is faster, though less accurate. Third, the current work only evaluates on tabletop manipulation; contact-rich tasks involving deformation (e.g., rope, cloth) remain challenging because optical flow struggles with non-rigid motion. Fourth, the model’s temporal horizon is limited to 5 seconds at 24 fps—long-horizon planning over minutes would require hierarchical extensions. Finally, the reliance on pretrained video generators (Wan family) means performance is tied to those base models’ weaknesses, such as object permanence and physics consistency in long rollouts.

Frequently Asked Questions

What makes optical flow a better action representation than joint angles or end-effector positions? Optical flow lives in image space, which is the same domain as video data. This allows the same neural network to learn motion patterns from unlabeled videos and apply them to robot control, without needing to convert between different coordinate systems.

Can FlowWAM work with any robot, not just the two arms tested? In principle, yes. The flow representation is hardware-agnostic—it only cares about pixel motion. The action expert must be finetuned on the target robot’s kinematics, but the motion priors from Stage 1 transfer across embodiments.

How much unlabeled video data is needed to see improvement? The paper shows that adding egocentric human video (300 hours of data) improves policy success rates by 5–15% compared to training only on robot demonstrations, depending on task complexity.

Is the model safe enough for unsupervised operation? Not yet. The generated flow plan can be visually inspected before execution, which adds a layer of safety, but the action expert may still produce unexpected actions if the input is out of distribution. Robust monitoring and error recovery are needed for real-world deployment.

Conclusion

FlowWAM establishes optical flow as a powerful unified action representation that bridges control, world modeling, and unlabeled video pretraining. By encoding robot motion as dense pixel flow, the same model can decode actions, predict future video, and learn from human demonstrations—without the representation gaps that plague current approaches. The results on RoboTwin and WorldArena benchmarks show that this unified approach significantly outperforms methods using separate or less expressive action encodings.

🍪 Cookie preferences

We use cookies to measure performance. Privacy Policy