atlas

Research map / Image generation / Editing and style transfer

Spin: Diffusion-based Semantic Image Painting Through Independent Information Injection

AAAI 2025 · Image generation › Editing and style transfer · approach: Texture and sketch synthesis · 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.

Proposes Spin, a diffusion-based semantic image painting framework that uses a saliency focus loss for textual-inversion embeddings, attention-based region guidance for mask-confined semantic injection, and style guidance to align masked and background style.

Problem

Semantic image painting (filling masked regions conditioned on a text or reference image) suffers from semantic inconsistency, unnatural boundary transitions, and style inconsistency with the background, especially with image conditions.

Approach

Decouple salient from non-salient reference content via a saliency-focused textual inversion loss, confine semantic cross-attention to the masked region through attention-based region guidance (keeping original self-attention for background information), and steer denoising with a pixel-space style loss computed against the background image.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Spin instead of the strongest listed baseline, BlendedText-conditioned SIP · Text-conditioned SIPCLIPT: 28.87 -> 29.13Helped
Use Spin instead of UniText-conditioned SIP · Text-conditioned SIPNIAM: 4.88 -> 5.03Helped
Use Spin instead of UniText-conditioned SIP · Text-conditioned SIPLPIPSBG: 0.08 -> 0.06No clear effect
Use Spin instead of TFImage-conditioned SIP · Image-conditioned SIPCLIPI: 82.86 -> 83.70Helped
Use Spin instead of TFImage-conditioned SIP · Image-conditioned SIPCLIPT: 28.11 -> 28.80Helped
Use Spin instead of TFImage-conditioned SIP · Image-conditioned SIPSUser: 7.18 -> 7.27Helped
Add background preservation to saliency-focused embedding extraction (ablation)Spin · Image-conditioned SIPLPIPSBG: 0.63 -> 0.08Helped
Add Attention-based Region Guidance (ARG) to the background-preserved variant (ablation)Spin · Image-conditioned SIPCLIPI: 77.14 -> 82.66Helped
Add ARG to the background-preserved variant (ablation)Spin · Image-conditioned SIPNIMA: 4.79 -> 5.03Helped
Add style guidance to saliency-focused embedding extraction (ablation)Spin · Image-conditioned SIPNIMA: 4.87 -> 4.88No clear effect
Combine background preservation, ARG, and style guidance (ablation)Spin · Image-conditioned SIPNIMA: 5.03 -> 5.07Helped

Limitations

Experimental setup

Datasets: TF dataset (332 sets, four domains)

Benchmarks: TF dataset real-domain test set Internet-collected non-real-domain images

Metrics: LPIPS_BG CLIP-I CLIP-T NIMA User Score

Baselines: Textual Inversion Multi-token TI DreamArtist VCT Blended Diffusion BLD SD-inpaint PPt Uni DIB Any Paint

Builds on: textual inversion DDIM inversion Stable Diffusion RePaint

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