NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Edit Temporal-Consistent Videos with Image Diffusion Model

Yuanzhi Wang, Yong Li, Xin Liu, Anbo Dai, Antoni Chan, Zhen Cui

TL;DR

This paper introduces Temporal-Consistent Video Editing (TCVE), a novel method that leverages pretrained text-to-image diffusion models to edit videos while preserving temporal consistency. TCVE achieves state-of-the-art results by introducing a dedicated temporal Unet and a spatial-temporal modeling unit to effectively capture and maintain temporal coherence, overcoming limitations of previous frame-by-frame editing approaches.

What Problem Does This Paper Address?

Text-guided video editing, which aims to modify video content based on textual prompts, has seen significant progress thanks to the power of text-to-image (T2I) diffusion models. However, directly extending T2I editing techniques to videos faces two major hurdles: the scarcity of large-scale pretrained text-to-video (T2V) models and the immense computational cost of training them. Consequently, researchers have turned to leveraging existing T2I models. While methods like Tune-A-Video flatten videos and edit them frame-by-frame, they often struggle with temporal inconsistencies and flickering artifacts because they don't adequately model the temporal dynamics of video. This paper addresses this gap by proposing a method that effectively models temporal coherence within the T2I editing framework.

Methods

TCVE builds upon the foundation of Latent Diffusion Models (LDMs), specifically using a pretrained T2I diffusion model (Stable Diffusion) as its backbone. The core innovation lies in its architecture, which comprises three key components:

  • Pretrained T2I 2D Unet: This component handles the spatial content manipulation, leveraging the powerful image generation capabilities of existing T2I models. The parameters of this Unet are kept frozen during training.
  • Temporal Unet: This is a novel, dedicated Unet architecture designed specifically for temporal modeling. It utilizes stacked temporal convolutional layers to faithfully capture the temporal coherence of the input video sequences. The input video is processed in a temporal-focused manner to ensure reliable temporal modeling.
  • Spatial-Temporal Modeling Unit (STU): This crucial unit acts as a bridge between the temporal Unet and the pretrained 2D Unet. It adaptively fuses spatial and temporal features, ensuring that temporal consistency is maintained while still allowing for effective video content manipulation according to the edited prompt. The STU incorporates a temporal attention block and a 3D convolutional block.

During training, TCVE uses the standard diffusion loss objective on the source video and prompt, training only the temporal Unet and STU. For inference, it employs a DDIM inversion and sampler process to generate the edited video based on the modified prompt.

Datasets

The paper evaluates TCVE on videos from the LOVEU-TGVE-2023 dataset, a recent benchmark for text-guided video editing. They also use video samples from a prior work [47]. The experiments cover four application scenarios: style transfer, object editing, background change, and multiple-object editing. No new datasets were introduced.

Key Insights and Ideas

  • Decoupled Temporal Modeling is Key: Instead of trying to force temporal awareness into a purely spatial model, TCVE introduces a separate, dedicated temporal Unet. This allows for a more robust and faithful capture of temporal dynamics.
  • Bridging Spatial and Temporal is Crucial: The STU is vital for harmonizing the spatial edits from the T2I model with the temporal coherence enforced by the temporal Unet. This fusion is what allows TCVE to achieve both editing capability and temporal consistency.
  • Leveraging T2I Models is Efficient: By freezing the pretrained T2I Unet, TCVE avoids the prohibitive cost of training large T2V models from scratch, making it a more practical solution.
  • Zero-Shot Editing: The method is a zero-shot video editing paradigm, meaning it doesn't require per-edit fine-tuning, making it versatile for various editing tasks.

Key Results

TCVE demonstrates state-of-the-art performance across multiple evaluation metrics:

  • Quantitative Results: TCVE achieved the highest scores in Frame Consistency (94.44) and Textual Alignment (27.58), outperforming baselines like Tune-A-Video, FateZero, and StableVideo. It also achieved a competitive PickScore (20.50).
  • Qualitative Results: Visualizations show that TCVE effectively mitigates flickering artifacts and temporal inconsistencies. It successfully performs style transfer, object editing, background changes, and multiple-object editing while maintaining temporal smoothness and object integrity, often surpassing the capabilities of existing methods which exhibit distortions or inconsistencies.

Limitations and Future Work

The authors acknowledge a limitation: TCVE might produce unsatisfactory results when simultaneously manipulating style, objects, and backgrounds. They attribute this to the CLIP text encoder, which is primarily trained on image embeddings and may not perfectly align with video content. As a future direction, they suggest exploring an additional video-based CLIP model for text embedding to potentially improve performance in complex editing scenarios.

Summary updated

BibTeX
@article{wang2023edit,
  author = {Yuanzhi Wang and Yong Li and Xin Liu and Anbo Dai and Antoni Chan and Zhen Cui},
  title = {{Edit Temporal-Consistent Videos with Image Diffusion Model}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2023},
  url = {https://openreview.net/forum?id=ShIZj83-P8t},
}
Figure