atlas

Research map / Video / Video generation

Video-P2P: Video Editing with Cross-attention Control

CVPR 2024 · Video › Video generation · approach: Diffusion-based video editing · 123 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Video-P2P adapts a pre-trained image diffusion model (Stable Diffusion v1-5), inflated into a text-to-set model, to perform cross-attention-controlled text-driven video editing using shared unconditional embedding optimization and decoupled guidance.

Problem

Text-driven local video editing with attention control is unavailable because no large-scale pre-trained video generation models are publicly available, and frame-by-frame image editing lacks cross-frame semantic consistency.

Approach

Inflate a pre-trained image diffusion model into a text-to-set (T2S) model with frame-attention, fine-tune it on the input video for an approximate inversion, optimize a single shared unconditional embedding for accurate video inversion, and use decoupled guidance (optimized embedding for source prompt, initialized embedding for target prompt) with attention-map injection.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
decoupled-guidance attention control (optimized embedding for source, initialized embedding for target) (ablation)Video-P2P · DAVIS-based test set (45 samples)Masked PSNR: 18.97 -> 20.65Helped
decoupled-guidance attention control (ablation)Video-P2P · DAVIS-based test set (45 samples)LPIPS: 0.3866 -> 0.3213Helped
decoupled-guidance attention control (ablation)Video-P2P · DAVIS-based test set (45 samples)OSV (lower is better): 68.75 -> 47.38Helped
shared unconditional embedding optimization (ablation)Video-P2P · DAVIS-based test set (45 samples)Temp (temporal consistency): 0.9665 -> 0.9725Helped
shared unconditional embedding optimization (ablation)Video-P2P · DAVIS-based test set (45 samples)OSV (lower is better): 48.78 -> 47.38Helped
shared unconditional embedding optimization (ablation)Video-P2P · DAVIS-based test set (45 samples)Masked PSNR: 20.64 -> 20.65No clear effect
model initialization (fine-tuning T2S model on the input video) (ablation)Video-P2P · DAVIS-based test set (45 samples)OSV (lower is better): 50.27 -> 47.38Helped
model initialization (fine-tuning T2S model on the input video) (ablation)Video-P2P · DAVIS-based test set (45 samples)Masked PSNR: 20.62 -> 20.65Helped
shared unconditional embedding vs per-frame multiple unconditional embeddings (ablation)Video inversion reconstruction · Video reconstruction (PSNR)PSNR (dB): 22.97 (multi) vs 22.75 (shared)No clear effect
shared unconditional embedding optimization instead of TAV+DDIM inversion (ablation)Video reconstruction · Video reconstruction (PSNR)PSNR (dB): 15.43 -> 22.75Helped
Video-P2P framework vs Image-P2P/TAV+DDIM baselinesVideo editing on DAVIS-based test set · DAVIS-based test set (45 samples)OSV and Temp consistency: OSV 47.38 vs 55.67 (TAV+DDIM); Temp 0.9725 vs 0.9697Helped
Video-P2P vs TAV+DDIM on masked region preservationVideo editing on DAVIS-based test set · DAVIS-based test set (45 samples)Masked PSNR and LPIPS: Masked PSNR 20.65 vs 17.37; LPIPS 0.3213 vs 0.4651Helped

Surprising findings

Limitations

Experimental setup

Datasets: DAVIS

Benchmarks: DAVIS-based test set of 45 samples

Metrics: CLIP score Masked PSNR LPIPS Object Semantic Variance (OSV) Temp (CLIP frame similarity) user study ranking and preference rate PSNR reconstruction

Baselines: Tune-A-Video (TAV+DDIM) Image-P2P Dreamix Text2Live Gen-1

Builds on: Prompt-to-Prompt Null-Text Inversion Tune-A-Video Stable Diffusion DDIM inversion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy