Video Creation by Demonstration

Yihong Sun, Hao Zhou, Liangzhe Yuan, Jennifer J. Sun, Yandong Li, Xuhui Jia, Hartwig Adam, Bharath Hariharan, Long Zhao, Ting Liu

TL;DR

The paper introduces Video Creation by Demonstration (VCBD), a novel task where a model generates a physically plausible video by combining the action from a demonstration video with the environment of a completely separate context image. To achieve this without leaking the visual style of the demonstration, the authors develop $\delta$-Diffusion, a self-supervised approach featuring an "appearance bottleneck" that isolates pure motion latents to guide a video diffusion model.

What Problem Does This Paper Address?

Controllable video generation has traditionally relied on explicit control signals like text prompts, bounding boxes, depth maps, or keypoints. However, text often lacks the nuance required to describe complex physical interactions, while structural maps or keypoints are tedious to acquire and typically assume a strict geometric alignment between the source and target scenes.

When humans see a video of an action (e.g., a robot arm opening a top drawer), we can easily imagine what that same action would look like in a different setting (e.g., opening a bottom drawer in a different kitchen). Teaching machines this capability is highly challenging because actions in real-world videos are deeply contextualized and intertwined with the appearance of the subjects and objects involved. The authors tackle this gap by learning to extract and transfer abstract, implicit action concepts across misaligned scenes without requiring paired training data.

Methods

The proposed framework, $\delta$-Diffusion, splits the problem into a two-stage training pipeline:

  1. The Appearance Bottleneck: To prevent the generation model from simply copying the visual style of the demonstration video ($V$), the authors introduce an appearance bottleneck. They use a frozen video foundation model (VideoPrism) to extract spatiotemporal features ($z$). Simultaneously, they train a per-frame feature predictor ($\mathcal{P}$) that attempts to reconstruct these features using only individual, static frames. Because $\mathcal{P}$ lacks access to temporal context, it can only capture static scene appearance ($h$). By subtracting the appearance features from the full spatiotemporal features ($\delta_V = z - h$), they isolate the action-rich latents—essentially capturing the "temporal surprisal" or pure motion.
  2. Latent Diffusion Generation: A latent diffusion model (WALT) is then trained to predict future frames. It is conditioned natively on the target context image ($I$) and the extracted action latents ($\delta_V$).
Overview of the $\delta$-Diffusion architecture, showing how action latents are isolated via the appearance bottleneck and passed to the generation model.

To train the system without paired data, the authors use a self-supervised paradigm. During training, the context image and the demonstration video are sampled from the same video clip. To force the model to actually rely on the isolated action latents rather than cheating by copying the appearance, they apply aggressive, action-preserving data augmentations (like random spatial cropping) to the demonstration pathway.

Datasets

The model was trained and evaluated on three diverse video datasets featuring rich human-object interactions and state changes:

  • Something-Something v2 (SSv2): Labeled video clips of humans performing basic everyday actions with objects.
  • Epic Kitchens 100: An egocentric (first-person) dataset focusing on fine-grained kitchen activities.
  • Fractal: A large-scale, real-world robotics manipulation dataset.
  • Ego4D: Used additionally during the first stage to train a highly generalized appearance bottleneck feature predictor.

Key Insights and Ideas

  • Action as "Temporal Surprisal": A key conceptual breakthrough is defining action as the information left over when you subtract static frame representations from video representations. If a network can predict a feature from a single frame, that feature represents appearance; what it can't predict represents the motion.
  • Implicit vs. Explicit Control: Rather than translating a video into intermediate explicit forms (like text or pose coordinates), operating entirely within the implicit latent space of a video foundation model preserves complex, fine-grained physical dynamics that are otherwise lost.

Key Results

$\delta$-Diffusion consistently outperformed competitive baselines, including text-conditioned video generation (WALT) and video-conditioned fine-tuning methods (MotionDirector), across both machine metrics and human evaluation.

  • Quantitative Improvements: On the SSv2 dataset, $\delta$-Diffusion achieved a Fréchet Video Distance (FVD) of 38.0, significantly outperforming the baseline without a bottleneck (47.3), proving that isolating action latents drastically improves generation fidelity. It also achieved higher embedding cosine similarity and retrieval hit rates across all datasets.
  • Qualitative Superiority: Human raters strongly preferred $\delta$-Diffusion over baselines across three rubrics: Visual Quality (VQ), Action Transferability (AT), and Context Consistency (CC). For instance, against MotionDirector on the Fractal dataset, human preference for $\delta$-Diffusion reached up to 100% in action transferability.
  • Auto-Regressive Rollouts: The authors demonstrated that multiple distinct demonstration videos can be chained together sequentially. This allows $\delta$-Diffusion to simulate long, complex tasks (e.g., picking an item, closing a drawer, then opening another) auto-regressively within a single, consistent target environment.

Limitations and Future Work

  • Physical Realism: In highly complex or cluttered scenes, the model occasionally generates motions that violate strict physical laws.
  • Fast Appearance Changes: If an object in the demonstration video undergoes rapid rotation or sudden visual changes, the appearance bottleneck can struggle, leading to minor appearance leakage in the generated output.
  • Scaling: The authors note that scaling up the parameters of the underlying video generation model is a promising direction to inject stronger physical common sense into the system.

Summary updated

BibTeX
@misc{sun2024video,
  author = {Yihong Sun and Hao Zhou and Liangzhe Yuan and Jennifer J. Sun and Yandong Li and Xuhui Jia and Hartwig Adam and Bharath Hariharan and Long Zhao and Ting Liu},
  title = {{Video Creation by Demonstration}},
  year = {2024},
  eprint = {2412.09551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.09551},
}
Figure