atlas

Research map / Image generation / Text-to-image diffusion

Compositional Inversion for Stable Diffusion Models

AAAI 2024 · Image generation › Text-to-image diffusion · approach: Multi-concept composition · 11 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 compositional inversion, a post-training add-on to Textual Inversion, DreamBooth, and Custom Diffusion that adds a semantic anchor-attraction loss and a spatial attention-regularization loss so inverted concepts compose with other concepts without dominating the image.

Problem

Inversion methods such as Textual Inversion overfit: inverted concepts dominate generation and other requested concepts go missing when composed in prompts, because reconstruction loss also encodes irrelevant background semantics, pushing embeddings out of distribution.

Approach

Semantic inversion adds a sparse anchor-attraction loss pulling the pseudo-embedding toward embeddings of general COCO-style concepts (the core distribution), and spatial inversion uses an MLP-predicted bounding box per token to add an attention-mask loss that limits dominance of inverted tokens in cross-attention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add semantic and spatial inversion to Textual InversionTextual Inversion · Composition with pretrained conceptsCoI likelihood: 0.032 -> 0.284Helped
Add semantic and spatial inversion to Textual InversionTextual Inversion · Composition with pretrained conceptsImage alignment: 0.784 -> 0.732Hurt
Add semantic and spatial inversion to Custom DiffusionCustom Diffusion · Composition with pretrained conceptsCoI likelihood: 0.226 -> 0.459Helped
Add semantic and spatial inversion to DreamBoothDreamBooth · Composition with pretrained conceptsText alignment: 0.716 -> 0.753Helped
Add semantic and spatial inversion to DreamBoothDreamBooth · Composition with inverted conceptsImage alignment: 0.695 -> 0.616Hurt
Add semantic inversion only (ablation)Textual Inversion · Composition with pretrained conceptsCoI likelihood: 0.032 -> 0.121Helped
Add spatial inversion only (ablation)Textual Inversion · Composition with pretrained conceptsCoI likelihood: 0.032 -> 0.116Helped
Add semantic inversion only (ablation)Custom Diffusion · Composition with pretrained conceptsCoI likelihood: 0.226 -> 0.352Helped
Add spatial inversion only (ablation)Custom Diffusion · Composition with pretrained conceptsCoI likelihood: 0.226 -> 0.425Helped
Add semantic inversion only (ablation)DreamBooth · Composition with pretrained conceptsCoI likelihood: 0.431 -> 0.436Helped
Add spatial inversion only (ablation)DreamBooth · Composition with pretrained conceptsCoI likelihood: 0.431 -> 0.534Helped
Add semantic inversion only (ablation)Textual Inversion · Composition with pretrained conceptsImage alignment: 0.784 -> 0.762Hurt

Surprising findings

Limitations

Experimental setup

Datasets: COCO LAION

Benchmarks: COCO-based composition prompts (1600 prompts, 16000 images)

Metrics: Text-alignment (CLIP similarity) CoI Likelihood (DETR detection) Image-alignment (CLIP image similarity) user study ratings

Baselines: Textual Inversion Custom Diffusion DreamBooth

Builds on: Textual Inversion DreamBooth Custom Diffusion Prompt-to-prompt

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