Manuscript Offprint

arXiv:2610.23002

Robotic Spatiotemporal Editing: A Unified Interface for Controllable Action Generation via Masked Action Reconstruction

Yanbang Li, Bu He, Yi Tian, Yu-Chiao Huang, Chenyu Zhang, Ruoqu Chen, Yuanzhe Liu, Yuxiang Gao, Mengdi Xu

ABSTRACT

Generative policies can synthesize robot behaviors, yet controlling and editing them through diverse spatiotemporal references remains challenging. Real-world manipulation requires robots to satisfy user-specified 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 introduce the MAP (Masked Action Space) interface to unify these action references and formulate controllable manipulation as an action inpainting problem. Our Inpainting Policy (IP) reconstructs missing action dimensions of the end-effector, combining progress-guided alignment with multi-mask training to support unseen action constraint combinations. We further adopt a training-free RePaint variant that iteratively inpaints the action during denoising to reduce control error. On ManiSkill and LIBERO-10, our policy achieves average task success rates of 92.67% and 64.67%, respectively. Real-world experiments demonstrate spatiotemporal control with average positional and rotational errors of 44.3 mm and 7.8°, respectively. Project page: https://robotic-spatiotemporal-editing.github.io/rose.github.io/.

1 INTRODUCTION

Generative models have recently demonstrated remarkable progress in robotic manipulation, enabling policies to synthesize complex robot behaviors from visual observations and task descriptions (Chi et al., 2025; Black et al., 2026; Brohan et al., 2023). However, generating plausible behaviors alone is insufficient for deploying robots in the physical world. Real-world tasks require robots not only to decide what to do but also to satisfy constraints on where, when, and how to execute an action (Rempe et al., 2026). Moreover, humans and intelligent systems often need to refine, modify, and compose robot behaviors by adding spatiotemporal constraints. For example, when tidying a table, a user may use a hand gesture or a sketch instruction (Li et al., 2025b) to specify where an object should be placed, rather than merely asking the robot to tidy the table. While generative models can create robot behaviors, the next challenge is enabling humans and intelligent systems to control and edit them.

Meanwhile, robotics is gaining access to diverse spatiotemporal references from world models, 3D/4D videos, advanced agents, grasp models, and human demonstrations (Jang et al., 2025; Gao et al., 2026; Chen et al., 2026b; Murali et al., 2025; Fan et al., 2025b), including keypoints (Huang et al., 2024), flow (Xu et al., 2024), keyposes (Yu et al., 2024), and grasp proposals (Fang et al., 2023; Hao et al., 2025) (see Figure 1(A)). These representations are physically grounded and low-dimensional, but they only provide partial information on future robot motion rather than complete executable actions. Existing approaches typically address this gap with signal-specific policies or conditioning mechanisms. This motivates the need for a unified action interface that can transform diverse spatiotemporal references into controllable robot behaviors.

Figure

Figure 1: Unified spatiotemporal control via action inpainting. Top: The Masked Action Space (MAP) interface unifies heterogeneous references from upstream models and human inputs as partial specifications of temporal Cartesian actions. We use progress values instead of raw timesteps. Bottom: Our Inpainting Policy (IP) completes these partial specifications through action inpainting, supporting potentially unlimited spatiotemporal reference types and unseen combinations.

Our key insight is that heterogeneous spatiotemporal control are not different control problems, but partial action tokens of the same underlying Temporal Cartesian Action Space. We design Masked Action Space (MAP) as a shared interface that represents these references through partially specified action tokens and a binary mask (see Figure 1(B,C)). We formulate controllable action generation as a masked action inpainting problem, and we propose Inpainting Policy (IP) to reconstruct masked components in MAP and turn them into a complete executable trajectory (see Section 3.3).

To enable this formulation, we design three components. (1) A progress-guided sliding window aligns control references with the current task stage using estimated progress value (Chen et al., 2026a) rather than raw execution timesteps (Section 3.2). (2) A two-stage joint-training strategy uses random masks in the first stage and structured masks in the second stage to learn robust control over diverse and unseen control references (Section 3.4). (3) As a training-free alternative, we also adopt a RePaint-style inpainting strategy that can be applied during the inference-time denoising process of an off-the-shelf policy. We conduct experiments on 15 tasks across the ManiSkill, LIBERO-10, and real-world environments, covering six standard control references and randomly structured references. In sum, our method demonstrates several capabilities:

• Versatile controllability. Inpainting Policy supports diverse spatiotemporal references, including keypoints, flows, orientations, poses, and combinations of these reference types. In real-world experiments, it attains mean position and rotation errors of 44.3 mm and 7.8°, respectively. Meanwhile, our method improves the success rate on LIBERO-10 by 4.67 percentage points compared with the baseline. This proves that our policy enables arbitrary spatiotemporal controllability without compromising task completion.

• Interpretability. MAP (Masked Action Space) provides a human-readable and editable interface that bridges multi-dimensional spatiotemporal information from the physical world with robotic manipulation actions via the masked temporal Cartesian space. It explicitly indicates which timesteps and action dimensions are constrained.

• Practicality. Our method can be directly applied to diffusion- or flow matching-based policies in simulated or real-world environments. Built on a lightweight 49M-parameter DiT model, it achieves a 92.67% success rate and a control error of 0.023 (Table 1) in ManiSkill experiments. In real-world experiments, a 118M-parameter diffusion model achieves a success rate above 90%.

References (40)