Manuscript Offprint

arXiv:2610.12567

CASTER: Formalizing Zero-Shot Manipulation from Synthetic Videos as Constrained Optimization

Yinlong Dai, Homanga Bharadhwaj, Dylan P. Losey

Yinlong Dai 1^{1}, Homanga Bharadhwaj 2^{2}, and Dylan P. Losey 1^{1}

Abstract—Prior research on learning from humans often requires real human demonstrations. But advances in video generation models offer a new paradigm: we can now prompt these generators to make synthetic videos of the task. On the plus side, these synthetic videos take place in the robot's current environment, and do not require actual human teaching. However, while the generated videos appear to show plausible motions, they lack both physical consistency and robot grounding, and thus the robot cannot directly roll out the trajectory shown by the video. In this paper we seek to formalize the process of going from synthetic video generation to real-world robot trajectories for zero-shot manipulation tasks. We recognize that this problem is an instance of constrained optimization. The object trajectories extracted from the synthetic video provide an initial guess at the correct motion, and the robot must refine these trajectories (for instance, within a digital twin) while enforcing physical feasibility and semantic consistency. Our optimization-based formalism provides insights into the video generation properties necessary for success. Specifically, we show that the video generation must probabilistically seed the search within a semantic basin of attraction where the trajectory can be locally modified without losing its task alignment. Our analysis further reveals that state-of-the-art approaches can be viewed as instances of our unified formalism with key simplifications. In our experiments we remove these simplifications to more closely match the underlying optimization, leading to more robust zero-shot trajectories from synthetic videos and improving average task success by 34.1% compared to the best-performing baseline. See videos at our project website: https://collab.me.vt.edu/CASTER

I. INTRODUCTION

Collecting robot-centric data is expensive [1], [2]. Videos of humans completing tasks are widely available, but these in-the-wild videos are often unstructured, and occur in settings that are unlike the robot's context. Video generation techniques can help bridge this gap. By prompting video generators to create synthetic videos, we gather "human" data without actually requiring human demonstrations — plus, the resulting videos are set in the robot's current environment.

Consider the example in Figure 1. The user prompts the system with a desired task. Given this prompt and an initial image, recent video generation models can output a synthetic video of the task being performed by a human. Ideally, the robot would be able to directly apply this video to guide its own motion. But there are two key limitations. First, while the synthetic video may appear visually plausible, it is not necessarily physically feasible. Second, the generated video features a human doing the task, introducing kinematic and visual discrepancies between what the video shows and what the robot arm can actually do.

Our work focuses specifically on using pretrained video generation models at inference time to guide robot behavior. That is, rather than using generated videos as offline data for policy training or fine-tuning a video generator on robot-specific data, we consider a setting where a general-purpose, frozen video generator produces task demonstrations during deployment. Existing research searches for ways to address the above problems and unlock the promise of video generation models in this setting. Common approaches typically fall along a spectrum in how much they post-process the video data. At one extreme, the system simply learns to project the object's motion in the synthetic video to real-world robot trajectories [3]. At the other extreme, robots construct a digital twin to physically test and refine the proposed video behavior before applying the results in the real world [4]. We view these methods as effective ad hoc solutions, but it remains unclear how to define the underlying problem. For example: what should the robot optimize for when trying to map the synthetic video to real-world task performance? And what characteristics does the video generation model need to have in order for this zero-shot transfer to be possible?

In this paper we seek to formalize the process of converting synthetic videos to real-world robot trajectories for zero-shot manipulation tasks. Our key insight is that:

Transferring video generation is a constrained optimization problem. The synthetic video seeds the search, which should maximize trajectory feature alignment while maintaining semantic and feasibility constraints.

Building on this formalism, we introduce CASTER, Constraint-Aware Synthetic Task-feature ExtRaction, a framework that extracts task-relevant features from generated videos and optimizes robot trajectories within a digital twin. The extracted trajectories serve as initial conditions: within a digital twin, the robot then fine-tunes those trajectories to ensure that its resulting behavior performs the intended object motions without unintended collisions or physically infeasible behaviors. We find that the objective function itself is particularly important. While prior works assume that the robot should match every waypoint of the synthetic video, we generalize so that the robot's objective function assigns higher weights to task-critical waypoints or features.

Formalizing this optimization provides three fundamental benefits. First, we can unify existing approaches as instances of our optimization problem under different simplifying assumptions. Second, we can use the optimization structure

This work was supported in part by NSF Grant #2337884.

1^{1}Collab, Dept. of Mechanical Engineering, Virginia Tech, Blacksburg, VA. {yinlongdai, losey}@vt.edu

2^{2}B3, Dept. of Computer Science, Johns Hopkins University, Baltimore, MD.

Pour the content of the kettle into the blue cup.

Generated Video

Figure

Real-World Deployment

Fig. 1. Using video generation models at inference time to guide real-world robot trajectories. The generated video looks plausible, but may make mistakes that prevent directly transferring this video to the real robot's motion. We bridge the gap between generation and deployment by developing an optimization-based formalism. Under this formalism the robot uses multiple synthetic videos to seed its search and identify task-critical features. By matching these features while enforcing semantic consistency and physical feasibility, we can transfer erroneous videos to successful zero-shot trajectories.

to define the characteristics of the video generation that are necessary for success. Finally, we can develop new methods for zero-shot manipulation using video generation models by more closely approximating the underlying problem. Overall, we make the following contributions:

Defining a Unified Formalism. We define a constrained optimization problem that inputs synthetic task videos and outputs trajectories for real-world execution. This optimization must satisfy physical feasibility (i.e., the motion must be executable without accidental collisions) and semantic consistency (i.e., the motion must be aligned with the task).

Characterizing Video Generation. Building on our theoretical framework, we derive the properties and requirements for the video generation model. We show that simultaneously enforcing feasibility and semantic constraints depends on generating videos that can be locally modified without losing their semantic meaning. Intuitively, tasks with a larger basin of attraction around feasible motions (i.e., many initial guesses converge towards the same equilibrium) are more suitable for synthetic video frameworks.

Developing Approximate Solutions. We demonstrate that state-of-the-art approaches can be viewed as instances of our unified framework. We then derive a new approach that more closely matches the underlying optimization problem by weighting trajectory features instead of matching every waypoint. Our experiments show the pros and cons of these different solution methods.

References (38)