Motion-Conditioned Diffusion Model for Controllable Video Synthesis

Tsai-Shien Chen, Chieh Hubert Lin, Hung-Yu Tseng, Tsung-Yi Lin, Ming-Hsuan YangarXiv 2023

Abstract

Recent advancements in diffusion models have greatly improved the quality and diversity of synthesized content. To harness the expressive power of diffusion models, researchers have explored various controllable mechanisms that allow users to intuitively guide the content synthesis process. Although the latest efforts have primarily focused on video synthesis, there has been a lack of effective methods for controlling and describing desired content and motion. In response to this gap, we introduce MCDiff, a conditional diffusion model that generates a video from a starting image frame and a set of strokes, which allow users to specify the intended content and dynamics for synthesis. To tackle the ambiguity of sparse motion inputs and achieve better synthesis quality, MCDiff first utilizes a flow completion model to predict the dense video motion based on the semantic understanding of the video frame and the sparse motion control. Then, the diffusion model synthesizes high-quality future frames to form the output video. We qualitatively and quantitatively show that MCDiff achieves the state-the-of-art visual quality in stroke-guided controllable video synthesis. Additional experiments on MPII Human Pose further exhibit the capability of our model on diverse content and motion synthesis.

Introduction

While AI-driven video generation has made massive leaps recently, "steering" the output remains a significant challenge. Most current models rely on text prompts or coarse category labels, which are often too vague for professional editing or animation. For instance, a prompt like "a person swinging a golf club" doesn't allow a user to specify the exact arc of the swing or the camera's zoom level.

MCDiff synthesizes video sequences from a single start frame and user-provided motion strokes.

Previous attempts at "stroke-guided" synthesis—where a user draws arrows to indicate motion—often struggled with two primary issues: ambiguity and visual quality. A single stroke on a character's hand should ideally move the entire arm, but models often fail to understand these semantic relationships from sparse input. Furthermore, older methods often relied on pixel warping, which creates distortions, or manipulated latent spaces in ways that led to blurry, unrealistic results.

Methods

The researchers introduce MCDiff, which breaks the synthesis problem down into two manageable sub-tasks: Flow Completion and Future-Frame Prediction.

The two-stage architecture of MCDiff, featuring Flow Completion and Future-Frame Prediction modules.

Stage 1: Flow Completion

Instead of trying to jump straight from a stroke to a video frame, the model first predicts a dense optical flow map. It takes the sparse user strokes and the starting image to "fill in the blanks," predicting how every single pixel in the scene should move based on its semantic context. For example, if a user moves a finger, the model understands that the rest of the hand and arm must follow to maintain physical coherence.

Stage 2: Future-Frame Prediction

This stage uses a Conditional Latent Diffusion Model (LDM). It takes the current frame and the dense flow map from Stage 1 to synthesize the next frame. Because it is a diffusion model, it can "dream up" realistic textures and details that simple warping would destroy. The entire pipeline is autoregressive, meaning it generates the video frame-by-frame, using its own previous outputs to maintain temporal consistency.

Results and Discussion

The researchers evaluated MCDiff on three major benchmarks: TaiChi-HD (single subjects), Human3.6M (actors in controlled environments), and MPII Human Pose (challenging "in-the-wild" activities with significant camera movement).

Key Insights

  • Dense Flow as a Bridge: Using dense flow as an intermediate representation acts as a universal language that translates a user's abstract intent (the stroke) into concrete physical instructions for the diffusion model.
  • Semantic Awareness: The model naturally learns to distinguish between object motion and camera motion. Strokes on a person are interpreted as foreground movement, while strokes on the scenery are interpreted as camera adjustments like zooming or shifting the viewpoint.
  • Overcoming Sparsity: By training the flow completion model in a self-supervised way (masking out parts of real video flow), the model learns the "physics" of different objects, allowing it to expand a single arrow into a coherent movement for an entire body.

Quantitative Performance

MCDiff significantly outperforms previous state-of-the-art models like iPOKE and II2V. On the TaiChi-HD dataset, MCDiff achieved a Fréchet Video Distance (FVD) of 113.12, compared to iPOKE’s 175.48. Additionally, the model showed superior controllability, measured by Average Displacement Error (ADE), consistently staying closer to the user's intended path as the number of input strokes increased.

Conclusion and Limitations

MCDiff demonstrates state-of-the-art visual quality and precise motion control. However, it still faces hurdles, such as struggling with "impossible" requests that fall outside its training data distribution. Furthermore, in scenes with very little texture (like a blank wall), optical flow extraction can fail, limiting the model's ability to learn those specific dynamics. Future work will focus on moving toward more generalist models capable of handling novel object compositions.

Summary updated

BibTeX
@misc{chen2023motion,
  author = {Tsai-Shien Chen and Chieh Hubert Lin and Hung-Yu Tseng and Tsung-Yi Lin and Ming-Hsuan Yang},
  title = {{Motion-Conditioned Diffusion Model for Controllable Video Synthesis}},
  year = {2023},
  eprint = {2304.14404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.14404},
}
Figure