FlexWAM: Learning Flexible Visual Routing for World Action Models

1Zhejiang University · 2Shanghai Jiao Tong University · 3Noematrix · 4University of Minnesota · 5EndlessAI
*Equal contribution · †Corresponding author

Overview

Research overview Precision insertion · Bimanual manipulation · Dynamic sorting

Randomized precision tests

Randomized target placements test FlexWAM’s robustness in peg-in-hole and cable insertion.

Flexiv · Consecutive successes

Ethernet Cable Insertion

  • High precision
  • Tight pose tolerances
±0.1 mm Position
≤1° Orientation

Approximate alignment tolerance

Task success rate

Cable insertion · 20 randomized trials per method

FlexWAM (LingBot) 75 %
π0.5 35 %
+40 pp over π0.5

Flexiv · Consecutive successes

L-shaped Peg-in-Hole

  • High precision
  • Fine alignment
ManipulationNet ↗
0.02 mm Peg–hole clearance
Task success rate

L-shaped peg · 20 randomized trials per method

FlexWAM (LingBot) 95 %
π0.5 50 %
+45 pp over π0.5

Visual routing

Different views.
Changing priorities.

FlexWAM rollouts show three camera views and their dynamic routing weights.

Pencil case packing

  • Deformable objects
  • Bimanual manipulation

Coordinate two arms to place the pens inside a deformable pencil case and close the zipper.

FlexWAM (Wan)

PiPER

FlexWAM (LingBot)

PiPER

The motivation

View importance varies
across manipulation stages.

Different stages require different visual cues—from locating the target to fine alignment and contact.

An occluded placement scene motivates preserving local camera detail and learning each view’s contribution to action prediction.
Independent view encoding preserves detail; counterfactual credit calibrates each camera’s contribution to action prediction.

Preserve detail. Learn where to look.

Tiling camera images can sacrifice fine detail. FlexWAM encodes each view separately, alternates within-view and cross-view attention, and routes visual information according to the current observation.

How it works

Counterfactual credit.
Flexible visual routing.

FlexWAM encodes each view independently and alternates within-view and cross-view attention. Counterfactual (CF) view credit measures action-loss changes under view masking, while a critic learns normalized credit to calibrate the router. View-Routed Action Attention uses observation-dependent camera weights to adapt each view’s contribution to action generation.

FlexWAM framework: view-aware world modeling, counterfactual view credit, and the view-routed action expert.
The critic supervises routing during training; observation-dependent view weights guide action generation through View-Routed Action Attention.
Pencil case packing · Pen placement CF view credit · Illustrative values

All views. One reference.

Set every view gate to one and evaluate the reference action loss.

One observation · three viewsFixed model & action noise
Action expertMask at action-to-view attention
Reference lossℓall
All views availableℓall
ReferenceNo branch removed
Loss increase when maskedΔℓ
— Global z —
— Left wrist z —
— Right wrist z —

Δℓm = ℓ−m − ℓall

zm = (Δℓm − μ) / (s + ε)

Compare each masked pass with the same all-view reference.

Images illustrate branch masking, not pixel removal. CF evaluation is training-only; loss and importance values are illustrative.

Training and inference details

For the reference pass, all gates equal 1. Each intervention sets one gate to 0 while holding model parameters, the action-noise level, and the sampled Gaussian noise fixed. Standardization retains the sign of the loss changes.

The critic learns expected normalized CF credit from detached visual features. Its predictions produce a detached soft target: rteach = softmax(ẑ / τ). KL(rteach ∥ r) calibrates the router alongside the action loss.

For illustration, the critic fits the displayed credit values with τ = 1, and the learned router matches its soft target. The bar-chart transition summarizes this training relationship; it does not imply that raw loss changes directly become inference weights. At inference, the router predicts r(o) once per observation. The action-attention gates are w = 3r, and log w biases the visual attention logits.

Reference pass. All three view gates are one.

Real-world experiments

Precision insertion.
Deformable & dynamic tasks.

Five real-world tasks test fine alignment, deformable-object manipulation, and moving-object handling on the single-arm Flexiv and dual-arm PiPER.

Stronger performance across two backbones

Mean success rate across five tasks

π₀.₅

55.6%

FlexWAM (Wan)

77.2%

+21.6 percentage points

π₀.₅

55.6%

FlexWAM (LingBot)

83.8%

+28.2 percentage points

Fast-WAM OpenWAM LaWAM π₀.₅ FlexWAM (Wan) FlexWAM (LingBot)

Flexiv · Single-arm

Success rate (%)

PiPER · Dual-arm

Success rate (%)
View numerical results
Real-world task success rates, in percent. Pens placement is excluded from the five-task mean.
MethodCable insertionPeg-in-hole (L)Peg-in-hole (round)Pens placementPencil case overallConveyor sortingMean (5 tasks)
Fast-WAM 55.060.055.060.040.080.0 58.0
OpenWAM 40.070.050.067.555.089.0 60.8
LaWAM 5.05.020.067.540.067.0 27.4
π₀.₅ 35.050.050.062.555.088.0 55.6
FlexWAM (Wan) 60.095.080.080.065.086.0 77.2
FlexWAM (LingBot) 75.095.0100.072.560.089.0 83.8

All evaluation cases

Compare both FlexWAM backbones with four baselines across five tasks. Each video shows a representative rollout and outcomes for every evaluation scene.

Cable insertion

  • High precision
  • Tight pose tolerances

Insert an Ethernet connector under tight positional and angular tolerances.

FlexWAM (Wan)

Flexiv · 20 trials

Ours

FlexWAM (LingBot)

Flexiv · 20 trials

Ours

π₀.₅

Flexiv · 20 trials

Fast-WAM

Flexiv · 20 trials

OpenWAM

Flexiv · 20 trials

LaWAM

Flexiv · 20 trials

Choose a task below the videos; scroll or use the arrows to compare all six methods. Open fullscreen to inspect individual trials. Playback speeds are marked in each video.

Robot setups and evaluation protocol

Demonstrations are collected at 30 Hz. Flexiv uses two fixed cameras and one wrist camera; PiPER uses one global camera and two wrist cameras. Static tasks use the same 20 randomized initial positions across methods. Conveyor sorting uses 100 blocks across 10 scenes under an identical placement protocol.

Five real-world tasks and camera configurations on Flexiv and PiPER.

Citation

BibTeX

@misc{mei2026flexwam,
title={FlexWAM: Learning Flexible Visual Routing for World Action Models},
author={Mingyu Mei and Haojie Xu and Zibo Dai and Hongjie Fang and Shirun Tang and Zhengrui Lv and Yang Liu and Guang Chen and Xingyue Zhao and Huiliang Shen and Zaixing He},
year={2026},
eprint={2611.30024},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2611.30024}
}