atlas

Research map / Video / Video generation

FreeMask: Rethinking the Importance of Attention Masks for Zero-Shot Video Editing

AAAI 2025 · Video › Video generation · approach: Diffusion-based video editing · 1 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.

Proposes FreeMask, which selects cross-attention masks per model layer and denoising timestep using a Mask Matching Cost (MMC) against DAVIS ground truth, then applies masked blending across temporal, cross, and self-attention for zero-shot video editing.

Problem

Naively using cross-attention masks for zero-shot video editing causes blurring and flickering, because mask precision varies across U-Net layers, denoising timesteps, and T2V models.

Approach

Quantify mask precision with a MIoU-based Mask Matching Cost (LMMC across layers, TMMC across timesteps), select time-agnostic or time-aware masks adaptively by whether the edit changes the object word, and blend masks into temporal, cross, and self-attention features to decouple unedited regions without tuning blend ratios.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add TMMC-based time-aware mask selection for shape editing (ablation)FreeMask · Jeep-to-Porsche shape editingEditing qualityHelped
Add LMMC-based layer selection (ablation)FreeMask · Jeep-to-Porsche shape editingStructural detail preservationHelped
Use a time-agnostic mask instead of a time-aware mask (ablation)FreeMask · StylizationBackground structure preservationHelped
Add masked latent blending to masked attention blending (ablation)FreeMask · StylizationDetail coherenceHelped
Use excessive latent blending (ablation)FreeMask · Video editingEditabilityHurt
Add masked self-attention blending to self-attention blending (ablation)FreeMask · Jeep-to-Porsche shape editingStructural detail preservationHelped
Add masked temporal-attention blending (ablation)FreeMask · Video editingTemporal detail preservationHelped
Add masked cross-attention blending (ablation)FreeMask · Video editingBoundary preservationHelped
Add MMC-selected masks to FateZeroFateZero · Video editingTemporal consistencyHelped
Add MMC-selected masks to FateZeroFateZero · Video editingImage editing qualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: DAVIS

Benchmarks: DAVIS Pexels internet videos

Metrics: Temp (CLIP frame consistency) CLIP score Masked PSNR LPIPS user study (Edit, Image, Quality)

Baselines: FateZero TokenFlow ControlVideo AnyV2V Tune-A-Video Video-P2P Text2Video-Zero Pix2Video

Builds on: Prompt-to-Prompt DDIM inversion FateZero Tune-A-Video

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