atlas

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

HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Models

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 4 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.

Training-free text-guided image inpainting method (HD-Painter) that adds prompt-aware self-attention (PAIntA) and reweighted attention-score guidance (RASG) to Stable Inpainting, plus an inpainting-specific super-resolution step reaching 2K images.

Problem

Text-guided image inpainting models suffer from prompt neglect (background dominance and nearby object dominance), and existing methods struggle to scale to high resolution while staying prompt-faithful.

Approach

Replace self-attention with a prompt-aware variant that down-weights known-region tokens unrelated to the prompt (using cross-attention scores), and guide sampling with a cross-attention BCE objective via a reweighted gradient inserted into the general DDIM form so latents stay in-distribution; a known-region-blended super-resolution then upscales results to 2K.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add RASG without PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationCLIP score: 25.62 -> 25.82Helped
Add RASG without PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAccuracy: 59.02 % -> 62.67 %Helped
Add RASG without PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAesthetic score: 4.96 -> 4.97Helped
Add PAIntA without RASG (ablation)DreamShaper Inpainting · MSCOCO 2017 validationCLIP score: 25.62 -> 26.06Helped
Add PAIntA without RASG (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAccuracy: 59.02 % -> 64.17 %Helped
Add PAIntA without RASG (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAesthetic score: 4.96 -> 4.99Helped
Add RASG and PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationCLIP score: 25.62 -> 26.25Helped
Add RASG and PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAccuracy: 59.02 % -> 67.59 %Helped
Add RASG and PAIntA (ablation)DreamShaper Inpainting · MSCOCO 2017 validationAesthetic score: 4.96 -> 5.00Helped

Surprising findings

Limitations

Experimental setup

Datasets: MSCOCO 2017 validation set Simulacra Aesthetic Captions (aesthetic predictor training, external)

Benchmarks: MSCOCO 2017 validation

Metrics: CLIP score generation class accuracy LAION aesthetic score PickScore

Baselines: GLIDE Blended Latent Diffusion (BLD) SDXL Inpainting Stable 2.0 Inpainting DreamShaper Inpainting DreamShaper-ControlNet Inpainting SmartBrush (reproduced)

Builds on: Stable Inpainting DDIM Attend-and-Excite (generative semantic nursing) Stable Super-Resolution Blended Latent Diffusion

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