atlas

Research map / Image generation / Editing and style transfer

Latent Space Editing in Transformer-Based Flow Matching

AAAI 2024 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 14 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.

Explores image editing in transformer-based (U-ViT) flow matching by identifying a semantic latent "u-space" for vector-arithmetic edits, enabling adaptive-step ODE solvers via direction interpolation, and proposing self-attention prompt reweighting for local text-driven edits.

Problem

Latent structure and editing ability of transformer-based flow matching models (U-ViT backbone) are unknown, and prior semantic editing methods rely on fixed-step solvers and UNet-specific cross-attention.

Approach

Defines a semantic editing space (u-space) at the beginning of U-ViT, computes attribute directions from real image latents across time, interpolates these directions to support adaptive step-size ODE solvers, and performs local prompt editing by scaling attention between prompt tokens and image tokens inside the full self-attention of U-ViT.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Inject semantic guidance during the first 30–50 of 100 sampling steps instead of only the first 5–10 steps (ablation)u-space semantic editing · CelebA-HQ 256×256, male attributeedit effectivenessHelped
Inject guidance through all 100 sampling steps instead of limiting it to early steps (ablation)u-space semantic editing · CelebA-HQ 256×256, male attributesource-image preservationHurt
Distribute guidance evenly throughout 100 steps instead of applying it in early steps (ablation)u-space semantic editing · CelebA-HQ 256×256, male attributesemantic edit effectivenessHurt
Use the intermediate U-ViT layer for semantic manipulation instead of the beginning of U-ViT (ablation)u-space semantic editing · CelebA-HQ 256×256semantic edit qualityHurt
Use interpolated semantic directions with adaptive-step ODE solvers instead of fixed-step Euler (ablation)u-space semantic editing · CelebA-HQ, male attributevisual similarity of edited resultsNo clear effect
Use nearest-neighbor direction lookup instead of semantic-direction interpolation (ablation)u-space semantic editing · CelebA-HQ, male attributerelative edit errorMixed
Increase the number of direction-collection time steps (ablation)u-space semantic editing · CelebA-HQ, male attributerelative edit errorHelped
Reweight prompt-token attention in U-ViT instead of using prompt-to-promptlocal-prompt editing · MM-CelebA-HQLPIPS perceptual distance to unedited imageHelped
Remove an uninformative prompt such as “he has”local-prompt editing · text-conditioned image editingimage changeNo clear effect
Increase the attention rescaling factor excessively (ablation)local-prompt editing · text-conditioned image editingsource-image preservationHurt
Edit along PCA directions in u-space instead of using supervised semantic directions (ablation)u-space editing · CelebA-HQ samplesconsistency of semantic editsHurt
Apply semantic edits in different prompt orders (ablation)sequential u-space editing · CelebA-HQfinal edit result consistencyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CelebA-HQ MultiModal-CelebA-HQ MS-COCO

Benchmarks: CelebA-HQ MultiModal-CelebA-HQ MS-COCO

Metrics: LPIPS relative edit error

Baselines: Prompt-to-Prompt

Builds on: U-ViT Flow Matching Prompt-to-Prompt Diffusion h-space editing

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