atlas

Research map / Image generation / Editing and style transfer

BARET: Balanced Attention Based Real Image Editing Driven by Target-Text Inversion

AAAI 2024 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 3 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 BARET, a training-free-of-diffusion-finetuning real image editing method that fine-tunes only the target text embedding (target-text inversion) and balances self- and cross-attention maps from reconstruction and transition processes to support non-rigid edits.

Problem

Text-guided real image editing with diffusion models is limited in non-rigid edits, often needs image captions, or requires costly fine-tuning of the diffusion model.

Approach

Fine-tune the target text embedding (rather than the null-text embedding) for fast reconstruction without captions, interpolate between the fine-tuned and target embeddings with a decreasing schedule to create a transition embedding, and inject the reconstruction self-attention maps and transition cross-attention maps into the editing process (Balanced Attention Module).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Target-text inversion schedule (fine-tune target text embedding) instead of null-text embedding fine-tuningreal image reconstruction inversion · reconstruction convergencesteps / time to convergence: converges at 100 steps in 16.1s vs null-text needing >400 steps and 48-66sHelped
Balanced Attention Module plus progressive transition (BARET) vs. null-text inversion with prompt2promptreal image editing · User study (100 pairs)mean user score (1-5): 3.77 vs 2.93 (Null-text+p2p)Helped
Null-text inversion (with prompt2prompt) vs. BARET on 1-LPIPSreal image editing · Objective evaluation1-LPIPS: Null-text 0.766 vs BARET 0.764 (Null-text slightly higher)Mixed
BARET vs. null-text inversion on text alignmentreal image editing · Objective evaluationCLIPScore: 0.729 vs 0.681Helped
Interpolation parameter lowered from 0.8-0.1 to 0.6-0.1 and below (editing fidelity vs. text alignment tradeoff) (ablation)progressive transition scheme · real image editingCLIPScore and 1-LPIPSMixed
Self-attention injection step increased from 0.1 to 0.2-0.3 (vs. 0.4-0.5) (ablation)Balanced Attention Module · real image editingqualitative balance of fidelity and non-rigid changeMixed
Cross-attention injection step varied between 0.4 and 0.8 (ablation)Balanced Attention Module · real image editingqualitative editing resultNo clear effect
Fine-tuning target text embedding instead of null-text (removing caption requirement)real image editing pipeline · inference timeinversion time: ~16s vs ~1m (Null-text) and ~20m (SINE)Helped

Surprising findings

Limitations

Experimental setup

Datasets: TEdBench (referenced for user study prompts)

Benchmarks: TEdBench (user study pairs)

Metrics: user score (1-5) 1-LPIPS CLIPScore inference time

Baselines: SDEdit MasaCtrl Null-text inversion SINE Imagic

Builds on: DDIM inversion null-text inversion prompt-to-prompt Imagic SINE

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