Skip to main content
QUICK REVIEW

[Paper Review] GenVideo: One-shot Target-image and Shape Aware Video Editing using T2I Diffusion Models

Sai Sree Harsha, Ambareesh Revanur|arXiv (Cornell University)|Apr 18, 2024
Generative Adversarial Networks and Image SynthesisComputer Science6 citations
TL;DR

GenVideo edits videos using a target image and shape-aware InvEdit masks with latent correction to ensure temporally consistent edits even when target shapes differ from the source.

ABSTRACT

Video editing methods based on diffusion models that rely solely on a text prompt for the edit are hindered by the limited expressive power of text prompts. Thus, incorporating a reference target image as a visual guide becomes desirable for precise control over edit. Also, most existing methods struggle to accurately edit a video when the shape and size of the object in the target image differ from the source object. To address these challenges, we propose "GenVideo" for editing videos leveraging target-image aware T2I models. Our approach handles edits with target objects of varying shapes and sizes while maintaining the temporal consistency of the edit using our novel target and shape aware InvEdit masks. Further, we propose a novel target-image aware latent noise correction strategy during inference to improve the temporal consistency of the edits. Experimental analyses indicate that GenVideo can effectively handle edits with objects of varying shapes, where existing approaches fail.

Motivation & Objective

  • Motivate precise video edits when text alone is insufficient by leveraging a target image as a visual guide.
  • Enable edits where the target object’s shape and size differ from the source object.
  • Maintain temporal consistency across frames during edits.
  • Provide a mask-guided inference framework adaptable to image-conditioned diffusion models.

Proposed method

  • Fine-tune an inflated SD-unCLIP model on the source video to accept target-image and text conditioning.
  • Generate target-image and shape aware InvEdit masks by comparing source and target denoising noises across DDIM steps.
  • Inject target-image embeddings into masked regions during UNet inference using a latent fusion scheme.
  • Apply a latent noise correction strategy during inference to improve inter-frame temporal consistency.
  • Preserve background or selectively modify it by guiding latent blending with InvEdit masks.
Figure 2 : Overview of GenVideo . Inflated attention layers are finetuned during source video finetuning. During inference, InvEdit predicts a region to edit and latent correction uses that mask to improve the inter-frame temporal consistency. $\mathcal{M}_{\phi}$ - “no mask”.
Figure 2 : Overview of GenVideo . Inflated attention layers are finetuned during source video finetuning. During inference, InvEdit predicts a region to edit and latent correction uses that mask to improve the inter-frame temporal consistency. $\mathcal{M}_{\phi}$ - “no mask”.

Experimental results

Research questions

  • RQ1Can target-image guidance enable accurate edits when the target object differs in shape/size from the source object?
  • RQ2Does InvEdit provide reliable mask localization that is shape-aware for video edits?
  • RQ3Can a latent correction strategy improve temporal consistency across frames with shape-changing edits?

Key findings

  • GenVideo outperforms state-of-the-art baselines on target text and target image alignment in user studies.
  • InvEdit masks enable precise, shape-aware localization for edits, preserving background where appropriate.
  • Latent correction improves inter-frame temporal consistency by blending latents using inter-frame feature correspondences.
  • GenVideo demonstrates zero-shot image editing for shape-changing targets, e.g., car to bus, with maintained coherence.
  • Quantitative metrics show GenVideo achieves higher CLIP-T and DINO scores, and lower user-rank totals for text and image alignment compared to baselines.
Figure 3 : InvEdit approach - the mask is generated by first iteratively computing noise differences across multiple timesteps for the source denoising branch and target denoising branch. Then, these differences are averaged and binarized to obtain the InvEdit mask.
Figure 3 : InvEdit approach - the mask is generated by first iteratively computing noise differences across multiple timesteps for the source denoising branch and target denoising branch. Then, these differences are averaged and binarized to obtain the InvEdit mask.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.