Motion Inversion for Video Customization

Luozhou Wang, Guibao Shen, Yixun Liang, Xin Tao, Pengfei Wan, Di Zhang, Yijun Li, Yingcong Chen · DOI

TL;DR

This paper introduces "Motion Embeddings," a novel technique for customizing the motion in generated videos. By learning explicit, temporally coherent representations of motion from a source video, these embeddings can be seamlessly integrated into existing video diffusion models to control motion dynamics without altering appearance, addressing a key limitation in current video generation.

What Problem Does This Paper Address?

Generating videos with customized motion has been a significant challenge. While text-to-image and text-to-video models have made strides in appearance customization, accurately controlling and transferring motion remains difficult. Existing methods often struggle to disentangle motion from appearance, leading to limited flexibility or requiring complex, computationally expensive inference. This paper tackles the gap in motion representation within video generative models, aiming to provide a method that can effectively capture and manipulate temporal motion dynamics for diverse customization tasks.

Methods

The core of this work is the introduction of Motion Embeddings, which are derived from a source video and designed to integrate with the temporal transformer modules of video diffusion models. These embeddings modulate the self-attention computations across frames, influencing how frames relate to each other over time.

The authors propose two types of motion embeddings:

  • Motion Query-Key Embedding (MQK): This is a 1D embedding that captures global temporal relationships by influencing the temporal attention map. It's designed to exclude spatial dimensions (height and width) to avoid capturing appearance information.
  • Motion Value Embedding (MV): This is a 2D embedding that captures spatially varying movements across frames by modulating the attention values. To prevent it from capturing static appearance information, a differencing operation is applied during inference. This operation, inspired by optical flow, isolates dynamic motion by subtracting the embedding of the previous frame from the current one.

During training, the motion embeddings are learned by backpropagating the loss through the temporal transformer. The model is trained to reconstruct the original video with the learned motion embeddings.

During inference, the learned motion embeddings are used to guide the generation process. The differencing operation is applied to the MV embedding to ensure it primarily represents motion.

Datasets

The paper mentions using source videos from the DAVIS dataset (Perazzi et al., 2016), WebVID (Bain et al., 2021), and "various online resources" for evaluation. No new datasets were introduced.

Key Insights and Ideas

  • Explicit Motion Embeddings are Key: The paper highlights that explicitly learning and representing motion as temporally coherent embeddings is crucial for effective motion customization.
  • Disentangling Motion from Appearance: The design of the MQK embedding (1D, no spatial dimensions) and the differencing operation for MV are clever ways to isolate motion information and prevent appearance leakage.
  • Temporal Attention is the Right Place: Integrating motion embeddings directly into the temporal attention mechanism of diffusion models is shown to be an effective way to influence inter-frame dynamics.
  • Inference Strategy Matters: The proposed differencing operation for MV during inference significantly improves the focus on motion dynamics and generalization.

Key Results

  • Qualitative Improvements: The method demonstrates strong qualitative results, preserving original video motion trajectories and object poses while generating visual features that align with text descriptions. Figure 5 shows compelling examples where the model successfully transfers motion to different objects.
  • Quantitative Performance:
    • The proposed method achieved the highest User Preference score (39.35%) among the evaluated baselines (DMT, VMC, Motion Director).
  • It also achieved high Text Similarity and Motion Fidelity scores, outperforming Motion Director in the latter.
  • While slightly lagging in Temporal Consistency compared to VMC, it significantly outperformed VMC in individual frame quality.
  • Flexibility: The method seamlessly integrates with existing T2V models like ZeroScope and AnimateDiff, showcasing its adaptability.

Limitations and Future Work

  • Reliance on T2V Priors: The performance is dependent on the generative priors of the underlying T2V model. This can lead to challenges when the target object's motion falls outside the model's training distribution.
  • Interfering Motions: The method may struggle with input videos containing multiple objects with interfering motions, as it learns overall motion rather than instance-specific motion.
  • Future Work: The authors suggest future work could focus on isolating instance-level motion to address the limitations with complex scenes and multiple objects.

Summary updated

BibTeX
@inproceedings{wang2025motion,
  author = {Luozhou Wang and Guibao Shen and Yixun Liang and Xin Tao and Pengfei Wan and Di Zhang and Yijun Li and Yingcong Chen},
  title = {{Motion Inversion for Video Customization}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2025},
  doi = {10.1145/3721238.3730735},
}
Figure