atlas

Research map / Image generation / Editing and style transfer

Stable Flow: Vital Layers for Training-Free Image Editing

CVPR 2025 · Image generation › Editing and style transfer · approach: Inversion-based diffusion editing · 21 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-driven image editing in FLUX by injecting attention features from a source image into automatically identified "vital" DiT layers, plus latent nudging for real-image inversion.

Problem

Text-driven image editing with DiT-based flow models, where the layer structure (unlike UNets) is unclear, making it hard to know which layers to inject features into for stable edits of real images.

Approach

Measure each DiT layer's vitality by bypassing it and computing perceptual (DINOv2) change in generations; inject attention features from the source trajectory only into the vital layers, leveraging the reduced diversity of flow models for stable edits; and add latent nudging (scaling z0 by 1.15) to improve Euler inversion of real images.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use vital-layer attention injection rather than injecting in all layers (ablation)Stable Flow · COCO evaluation datasetCLIPtxt: 0.17 -> 0.23Helped
Use vital-layer attention injection rather than injecting in all layers (ablation)Stable Flow · COCO evaluation datasetCLIPdir: 0.00 -> 0.14Helped
Use vital-layer attention injection rather than injecting in non-vital layers (ablation)Stable Flow · COCO evaluation datasetCLIPimg: 0.72 -> 0.92Helped
Use vital-layer attention injection rather than extending attention in all layers (ablation)Stable Flow · COCO evaluation datasetCLIPtxt: 0.18 -> 0.23Helped
Use vital-layer attention injection rather than extending attention in all layers (ablation)Stable Flow · COCO evaluation datasetCLIPdir: 0.01 -> 0.14Helped
Add latent nudging (ablation)Stable Flow · COCO evaluation datasetCLIPimg: 0.62 -> 0.92Helped
Add latent nudging (ablation)Stable Flow · COCO evaluation datasetCLIPdir: 0.05 -> 0.14Helped
Use Stable Flow instead of MagicBrushImage editing · COCO evaluation datasetCLIPimg: 0.88 -> 0.92Helped
Use Stable Flow instead of MagicBrushImage editing · COCO evaluation datasetCLIPdir: 0.11 -> 0.14Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO

Benchmarks: COCO-based editing benchmark (3,200 samples)

Metrics: CLIPtxt CLIPimg CLIPdir user study win rate

Baselines: SDEdit P2P+NTI Instruct-P2P MagicBrush MasaCTRL

Builds on: FLUX MasaCTRL Prompt-to-Prompt SDEdit DINOv2

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