atlas

Research map / Image generation / Editing and style transfer

Difference Inversion: Interpolate and Isolate the Difference with Token Consistency for Image Analogy Generation

CVPR 2025 · Image generation › Editing and style transfer · approach: Inversion-based diffusion editing · 0 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.

Difference Inversion learns special "DIFF" tokens that capture the A-to-A' difference (via Slerp-interpolated CLIP image/text deltas, a token consistency loss, and zero initialization) and applies them to B within general Stable Diffusion models for image analogy generation.

Problem

Image analogy generation: produce B' satisfying A:A'::B:B' from an image triplet without text instructions, while prior methods are tied to specific models (InstructPix2Pix, inpainting models) and leak residual information from A and A'.

Approach

Extract only the bidirectional difference between A and A' as optimized discrete-prompt "DIFF" tokens, using an interpolated CLIP delta (Slerp of image and caption-text deltas), a cycle-style token consistency loss, and zero-initialized embeddings, so the tokens plug into any Stable Diffusion prompt.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Difference Inversion instead of the image-only baselinesImage analogy generation · Image analogy generationDINO-v2 directional score: 0.5114 (Analogist), 0.5414 (VISII) -> 0.5732Helped
Use Difference Inversion instead of the image-only baselinesImage analogy generation · Image analogy generationhuman preference: 4%, 15%, 9% -> 72%Helped
Use Difference Inversion instead of DIAImage analogy generation · Image analogy generation vs DIAVLM win rate: 90%, 92%, 72%Helped
Add Delta Interpolation combining image and text deltas (ablation)Difference Inversion · Image analogy generationdifference captureHelped
Add Token Consistency Loss (ablation)Difference Inversion · Image analogy generationconsistency with the query imageHelped
Zero-initialize Difference Token embeddings instead of random initialization (ablation)Difference Inversion · Image analogy generationdifference reflectionHelped
Add CLIP loss (ablation)Difference Inversion · Image analogy generationdifference captureHelped
Use 5 Difference Tokens (ablation)Difference Inversion · Image analogy generationdifference captureHelped
Set the interpolation ratio alpha to 0.8 (ablation)Difference Inversion · Image analogy generationdifference captureHelped

Surprising findings

Limitations

Experimental setup

Datasets: InstructPix2Pix dataset

Benchmarks: InstructPix2Pix dataset subset (300 samples)

Metrics: CLIP directional score DINO-v2 directional score human preference VLM pairwise win rate

Baselines: SDEdit InstructPix2Pix DIA Analogist VISII

Builds on: Textual Inversion VISII DIA PEZ Slerp ControlNet

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