atlas

Research map / Video / Video generation

FLATTEN: optical FLow-guided ATTENtion for consistent text-to-video editing

ICLR 2024 · Video › Video generation · approach: Diffusion-based video editing · 10 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.

Training-free text-to-video editing that adds optical-flow-guided attention (FLATTEN) over patch trajectories inside a T2I diffusion U-Net to improve cross-frame consistency.

Problem

Text-to-video editing with image diffusion models suffers from visual inconsistency across frames because dense spatio-temporal attention aggregates irrelevant patches.

Approach

Use RAFT optical flow to sample patch trajectories in latent space and restrict attention so each patch attends only to patches on the same flow path across frames, applied on top of dense spatio-temporal attention without new parameters or training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add flow-guided attention to ControlVideoControlVideo · TGVE-DS_edit: 40.70 to 56.42Helped
Add dense spatio-temporal attention (ablation)Base · TGVE-DS_edit: 21.16 -> 42.06Helped
Add flow-guided attention (ablation)Base · TGVE-DS_edit: 21.16 -> 44.69Helped
Add DSTA and FLATTEN, recomputing FLATTEN queries, keys, and values with linear projections (ablation)Base · TGVE-DS_edit: 21.16 -> 49.93Helped
Use DSTA output directly as FLATTEN queries, keys, and values (ablation)Base + DSTA + FLATTEN · TGVE-DS_edit: 49.93 -> 57.01Helped
Use DSTA output directly rather than recomputing FLATTEN queries, keys, and values with linear projections (ablation)Base + DSTA + FLATTEN · TGVE-DCLIP-T: 27.96 -> 28.05No clear effect
Use FLATTEN during DDIM inversionFLATTEN reconstruction · Source video reconstructionPSNR: 32.74dB -> 33.89dBHelped
Use FLATTEN during DDIM inversionFLATTEN reconstruction · Source video reconstructionSSIM: 0.8974 -> 0.9159Helped
Use flow estimated by GMA instead of RAFTFLATTEN · Video editingvisual output differenceNo clear effect
Add random Gaussian noise to the pre-computed optical flowFLATTEN · Video editingediting qualityHurt
Use optical-flow guidance instead of the baseline without optical flowFLATTEN · Video editingediting qualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: LOVEU-TGVE DAVIS Videvo

Benchmarks: LOVEU-TGVE (TGVE-D and TGVE-V subsets)

Metrics: CLIP-F PickScore CLIP-T E_warp S_edit user preference

Baselines: Tune-A-Video Text2Video-Zero ControlVideo FateZero TokenFlow

Builds on: DDIM inversion Tune-A-Video RAFT Prompt-to-Prompt PnP-Diffusion

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