Research
Robotic Spatiotemporal Editing: A Unified Interface for Controllable Action Generation via Masked Action Reconstruction
Generative robot policies can produce plausible manipulation behavior, but they are hard to steer: users and upstream models want to say where, when, and how an action should happen, using references…

- arXiv
- 2610.23002 · Preprint · not peer-reviewed
- Published
- 2026-10-16
- Authors
- Yanbang Li, Bu He, Yi Tian, Yu-Chiao Huang, Chenyu Zhang, Ruoqu Chen, Yuanzhe Liu, Yuxiang Gao, Mengdi Xu
In plain words
Generative robot policies can produce plausible manipulation behavior, but they are hard to steer: users and upstream models want to say where, when, and how an action should happen, using references such as keypoints, flows, orientations, and keyposes.
AI summary
Overview
Research area: Robot learning / generative robot control — specifically controllable action generation and "action editing" for manipulation policies.
Technical level: Intermediate. The paper builds on diffusion policies, action chunking, and diffusion inpainting (RePaint), so readers need some familiarity with generative policy architectures, but the central idea — masking parts of an action and reconstructing the rest — is conceptually simple.
Scope: The paper proposes a unified masked-action interface (MAP) plus an Inpainting Policy (IP) that lets a single policy follow heterogeneous spatial and temporal control references, evaluated on 15 tasks across ManiSkill, LIBERO-10, and real-world Franka experiments.
What This Paper Is About
Generative robot policies can produce plausible manipulation behavior, but they are hard to steer: users and upstream models want to say where, when, and how an action should happen, using references such as keypoints, flows, orientations, and keyposes. These references are all partial descriptions of the same thing — an end-effector trajectory in Cartesian space — yet prior work builds separate policies or conditioning schemes for each signal type. The paper's goal is a single interface that treats all such references as partially specified actions and asks a policy to "fill in the blanks," so one model can compose and follow reference types it was never explicitly trained on.
Key Contributions
- Masked Action Space (MAP): a shared representation that expresses heterogeneous spatiotemporal references as a binary mask over a 7D temporal Cartesian action array (position
x, y, z, orientationθx, θy, θz, and gripper stated), turning controllable manipulation into an action inpainting problem. - Inpainting Policy (IP): a policy that reconstructs masked action dimensions conditioned on visual observations, robot state, and a local MAP window, with a weighted reconstruction loss that separately weights known and unknown regions.
- Progress-guided sliding window: alignment of references to the current task stage using estimated normalized progress
p′ ∈ [0, 1](from a SARM-based progress network) instead of raw execution timesteps, since execution speed varies across rollouts. - Multi-mask / two-stage joint training plus a training-free RePaint inference variant: training over structured (α), no-reference (β), and random token-level (γ) mask patterns to generalize to unseen constraint combinations, and an optional RePaint-style strategy that repeatedly reinserts specified tokens during denoising.
Main Findings
- Unified control without hurting task completion: IP reaches average success rates of 92.67% on ManiSkill single-task policies and 64.67% on the LIBERO-10 shared multitask policy, with control error (CE) of 0.023 and 0.045 respectively — the highest average success rates in Table 1 for both settings.
- Better than conditioning-style baselines: Spatiotemporal Conditioning (STC) falls below its base policies (e.g., 50.67% on LIBERO-10 with CE 0.060; 76.67% average on ManiSkill), suggesting that simply injecting control signals as conditioning features interferes with task success, whereas inpainting does not.
- Real-world reference following: With three or more reference points, success rates exceed 93%; cup-to-reference-point distances range from 18.2 mm to 63.7 mm with a mean of 44.3 mm, and tube-tilt error stays below 8° with a mean of 7.8°.
- Sparse late supervision is a weak spot: Providing only a single reference at the final progress point drops task completion below 30%.
- Structure matters more than raw quantity: For a structured 3D-point mask, success rises from 57.0% at a visible ratio of 0.02 to 91.7% at 0.50, while random masks reach only 71.7% at the highest ratio. With roughly matched token counts, positional and full-pose constraints give the strongest guidance and orientation-only constraints the weakest.
- Compositional generalization: On the unseen Mix0 mask (dense 2D flow + one 7D pose + three 3D points), IP achieves 80.56% without additional finetuning. STC performs well on dense 2D/3D flow (80.00%) but degrades sharply under sparse constraints.
- Training dynamics: IP's CE decreases from roughly 0.049 to 0.022 over training, while RePaint holds CE at about 0.014–0.015 across checkpoints.
- Accuracy/completion trade-off in RePaint: RePaint lowers CE by 42.2% and 39.1% relative on the two benchmarks, but reduces average success to 80.04% (ManiSkill) and 51.33% (LIBERO-10).
- Lightweight models suffice: ManiSkill experiments use a roughly 49M-parameter DiT backbone; the real-world system uses a 118M-parameter diffusion model with success above 90%.
- Two-stage training beats joint training at low data: With 500 LIBERO-10 demonstrations, two-stage training reaches Top-3 / Top-5 success of 56.00% / 54.40% versus 50.00% / 47.60% for joint training; a separate 1,000-demonstration two-stage run reaches a Top-1 of 100.00% at step 150k.
- Design ablations (PickCube): a 128-dimensional 2DConv MAP encoder (Top-3 SR 22.00%) beats 1DConv at 32 dimensions (12.00%); a forward window of 52 reference locations (Top-3 SR 70.22%, CE 0.02317) outperforms 64 and 70; the smaller STPM v3 progress module (74.00% mean SR on LIBERO-10) outperforms v5 (70.67%) and v6 (69.33%).
Methodology in Plain English
The researchers start from the observation that every useful control hint — a point in space, a motion flow, a gripper orientation, a full pose — is really just some of the numbers that describe where the robot hand should be at some point in the task. So they build a grid with seven columns (three position, three orientation, one gripper state) and rows along normalized task progress. A reference fills in specific cells of that grid; a binary mask records which cells are known and which are blank.
The policy's job is then a fill-in-the-blank task: given camera images, the robot's own state, and a local window of that partially filled grid, it predicts the complete action chunk. To make the window line up with what the robot is actually doing, a separately trained progress network estimates how far through the task it is — this is used instead of wall-clock timesteps, because rollouts run at different speeds. The window slides around the current progress estimate to give recent context and near-future references.
Training data is created for free: they take existing demonstrations, hide parts of the action trajectory according to different mask patterns (structured references, no reference at all, and random token masks), and train the model to reconstruct the hidden parts. A final training-free step borrows the RePaint idea from image inpainting: at each denoising step, the known reference values are re-noised and pasted back in, with a clean overwrite at the last step, so the output strictly respects the supplied constraints rather than merely being nudged toward them.
Evaluation covers 15 tasks on ManiSkill, LIBERO-10, and a real Franka R3 setup (RealSense D455 third-person view, ZED-M wrist view, 15 Hz absolute end-effector commands), with two metrics: task success rate and a Control Error that measures the average distance from each prescribed control signal to its nearest generated trajectory point. Baselines are Diffusion Policy, a DiT Policy, and Spatiotemporal Conditioning.
Why This Matters
Research impact. The paper reframes a fragmented problem — one policy per reference modality — as a single inpainting problem, and shows that structured masks carry more useful information than an equal number of random ones. It also demonstrates compositional generalization to an unseen mask combination without finetuning, and that the formulation is model-agnostic across DiT and U-Net backbones.
Real-world applications:
- Assistive and household manipulation: a user sketches or gestures a placement location, and the robot completes the grasp-and-place motion.
- Precision pouring and dispensing: an orientation reference sets a tube's tilt angle and thereby regulates volume, as in the paper's liquid-pouring task.
- Tabletop arrangement and tidying: keypoints and poses specify how an object is grasped and where it goes on a plate.
- Human-in-the-loop correction: an operator inserts a mid-task constraint at a specific progress value to redirect a policy that is drifting.
Industry relevance. The interface accepts references from upstream systems such as world models, grasp models, and trajectory predictors, giving system integrators a single, human-readable, editable action representation instead of a different API per signal type. That readability — explicitly indicating which timesteps and dimensions are constrained — is valuable for debugging and safety review in deployed cells.
Future Directions
- Stronger inpainting at inference: the authors note their current inpainting implementation may not be optimal and that classifier-free guidance (CFG) and ControlNet-style conditioning remain unexplored.
- Large-scale masked pretraining: they propose BERT-style random-mask pretraining for foundation action models, extending the current two-stage schedule toward a general pretraining objective.
- Broader backbone compatibility: extending the model-agnostic formulation empirically to world-action models and flow-matching vision-language-action models.
- Better sparse and unstructured editing: since a single late-stage reference drops success below 30%, and zero-shot editing under more unstructured control specifications is untested, improving how sparse and irregular constraints are handled is an open problem.
Target Audience
Robotics and imitation-learning researchers working on controllable generative policies, especially those interested in action chunking, diffusion/flow-matching policies, and conditioning interfaces. It is also relevant to practitioners building human-in-the-loop or LLM/agent-driven manipulation stacks who need a single editable action representation, and to readers interested in transferable ideas from image inpainting to robot action spaces.
Authors’ abstract
Generative policies can synthesize robot behaviors, yet controlling and editing them through diverse spatiotemporal references remains challenging. In the real world, human intent requires robot behaviors that satisfy constraints on where, when, and how actions are executed. Our key insight is that spatiotemporal control references, such as keypoints, flows, orientations, and keyposes, can be viewed as partial specifications of the same temporal Cartesian action space. We…
The full abstract on arXivRelated papers
- Rethinking Causal Action Tokenization with Conditional Annealing in Flow Matching 2026-09-28 · cs.RO · Also by Chenyu Zhang, Mengdi Xu +1
- Dex-X: Learning Visual-Tactile Dexterous Manipulation From Human Videos with Simulated Interaction 2026-09-07 · cs.RO · Also by Chenyu Zhang, Mengdi Xu +1
- BridgeWAM: Bridging Video and Action Experts via Latent Bridge Queries 2026-10-10 · cs.RO · Also by Mengdi Xu, Yuxiang Gao
- RoboCoach: World Models as Active Coaches for Compositional Robot Skills 2026-09-30 · cs.RO · Also by Mengdi Xu, Ruoqu Chen
- Democratizing Robot-Use Agents: A Unified Harness with Open Models 2026-11-01 · cs.RO · Also by Mengdi Xu, Ruoqu Chen