A Video is Worth 256 Bases: Spatial-Temporal Expectation-Maximization Inversion for Zero-Shot Video Editing

Maomao Li, Yu Li, Tianyu Yang, Yunfei Liu, Dongxu Yue +2 more
12/1/2023
18 citations
diffusion-flow

Official code: STEM-Inv/STEM-Inv (96 stars, Python, last commit 2024-06-18).

Abstract

This paper presents a video inversion approach for zero-shot video editing, which models the input video with low-rank representation during the inversion process. The existing video editing methods usually apply the typical 2D DDIM inversion or naï ve spatial-temporal DDIM inversion before editing, which leverages time-varying representation for each frame to derive noisy latent.

Show full abstract

Unlike most existing approaches, we propose a Spatial-Temporal Expectation-Maximization (STEM) inversion, which formulates the dense video feature under an expectation-maximization manner and iteratively estimates a more compact basis set to represent the whole video. Each frame applies the fixed and global representation for inversion, which is more friendly for temporal consistency during reconstruction and editing. Extensive qualitative and quantitative experiments demonstrate that our STEM inversion can achieve consistent improvement on two state-of-the-art video editing methods. Project page: https://steminv.github.io/page/.

View on arXivView PDF

Code Implementations(1)

STEM-Inv/STEM-InvOfficial100%

[CVPR24] Official Implementation of 'A Video is Worth 256 Bases: Spatial-Temporal Expectation-Maximization Inversion for Zero-Shot Video Editing'

969Python, ShellDec 10, 20232 years ago

Similar Papers

Cite this paper

@article{li2023video,
  title  = {A Video is Worth 256 Bases: Spatial-Temporal Expectation-Maximization Inversion for Zero-Shot Video Editing},
  author = {Maomao Li and Yu Li and Tianyu Yang and Yunfei Liu and Dongxu Yue and Zhihui Lin and Dong Xu},
  year   = {2023},
  eprint = {2312.05856},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.05856},
  journal = {CVPR 2024 2024}
}

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/2312.05856.svg)](https://codeofpaper.com/paper/2312.05856)

Discussion