EVA: Zero-shot Accurate Attributes and Multi-Object Video Editing

Xiangpeng Yang, Linchao Zhu, Hehe Fan, Yi Yang
3/24/2024
cs.CV

No official code found. Best implementation: knightyxp/EVA_Video_Edit (30 stars, last commit 2024-03-29).

Abstract

Current diffusion-based video editing primarily focuses on local editing (\textit{e.g.,} object/background editing) or global style editing by utilizing various dense correspondences. However, these methods often fail to accurately edit the foreground and background simultaneously while preserving the original layout. We find that the crux of the issue stems from the imprecise distribution of attention weights across designated regions, including inaccurate text-to-attribute control and attention leakage. To tackle this issue, we introduce EVA, a \textbf{zero-shot} and \textbf{multi-attribute} video editing framework tailored for human-centric videos with complex motions. We incorporate a Spatial-Temporal Layout-Guided Attention mechanism that leverages the intrinsic positive and negative correspondences of cross-frame diffusion features. To avoid attention leakage, we utilize these correspondences to boost the attention scores of tokens within the same attribute across all video frames while limiting interactions between tokens of different attributes in the self-attention layer. For precise text-to-attribute manipulation, we use discrete text embeddings focused on specific layout areas within the cross-attention layer. Benefiting from the precise attention weight distribution, EVA can be easily generalized to multi-object editing scenarios and achieves accurate identity mapping. Extensive experiments demonstrate EVA achieves state-of-the-art results in real-world scenarios. Full results are provided at https://knightyxp.github.io/EVA/

View on arXivView PDF

Code Implementations(1)

EVA: Zero-shot Accurate Attributes and Multi-Object Video Editing

300Mar 23, 20242 years ago
diffusion-modelsstable-diffusiontext-driven-editingtext-to-videovideo-editing

Similar Papers

Cite this paper

@article{yang2024eva,
  title  = {EVA: Zero-shot Accurate Attributes and Multi-Object Video Editing},
  author = {Xiangpeng Yang and Linchao Zhu and Hehe Fan and Yi Yang},
  year   = {2024},
  eprint = {2403.16111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16111v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.16111.svg)](https://codeofpaper.com/paper/2403.16111)

Discussion