Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

VidToMe: Video Token Merging for Zero-Shot Video Editing

About

Diffusion models have made significant advances in generating high-quality images, but their application to video generation has remained challenging due to the complexity of temporal motion. Zero-shot video editing offers a solution by utilizing pre-trained image diffusion models to translate source videos into new ones. Nevertheless, existing methods struggle to maintain strict temporal consistency and efficient memory consumption. In this work, we propose a novel approach to enhance temporal consistency in generated videos by merging self-attention tokens across frames. By aligning and compressing temporally redundant tokens across frames, our method improves temporal coherence and reduces memory consumption in self-attention computations. The merging strategy matches and aligns tokens according to the temporal correspondence between frames, facilitating natural temporal consistency in generated video frames. To manage the complexity of video processing, we divide videos into chunks and develop intra-chunk local token merging and inter-chunk global token merging, ensuring both short-term video continuity and long-term content consistency. Our video editing approach seamlessly extends the advancements in image editing to video editing, rendering favorable results in temporal consistency over state-of-the-art methods.

Xirui Li, Chao Ma, Xiaokang Yang, Ming-Hsuan Yang• 2023

Related benchmarks

TaskDatasetResultRank
Video Super-ResolutionZeroDay (test)
PSNR26.85
22
Video EditingNRVBench V1 (full)
Distortion (x10^3)364.5
14
Instructional Video EditingFiVE (test)
FiVE YN20.03
9
Video EditingSenorita (test)
DVS Score0.37
8
Video EditingNRVBench V0 (pilot)
Distortion (x1000)231.8
7
Video EditingDataset 15 × 3 × 150 frames V0
Distance (Scaled by 1e3)231.8
7
Video EditingV0
Sphy67
6
Video EditingNRVBench
S_phy70.56
6
Video EditingV1
Sphy70.56
6
Showing 9 of 9 rows

Other info

Code

Follow for update