atlas

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

One Stone with Two Birds: A Null-Text-Null Frequency-Aware Diffusion Models for Text-Guided Image Inpainting

NeurIPS 2025 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 1 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 NTN-Diff, a training-free null-text-null frequency-aware diffusion scheme that swaps DCT low/mid frequency bands across null-text and text-guided denoising branches to achieve text-guided inpainting with both unmasked preservation and masked/unmasked semantic consistency.

Problem

Text-guided image inpainting struggles to jointly preserve unmasked regions and keep semantics consistent between unmasked and inpainted masked regions; prior diffusion methods fix one at the expense of the other.

Approach

Decompose semantic consistency into per-frequency-band consistency: run null-text and text-guided denoising branches in the early stage, substituting DCT low-frequency and mid-frequency bands across branches (mid-frequency is stable under text prompts), then a final text-guided late stage with unmasked-region substitution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use NTN-Diff instead of the strongest reported baseline for each BrushBench inside-inpainting metricText-guided inpainting with Stable Diffusion v1.5 · BrushBench inside inpaintingIR, HPS v2, PSNR, MSE, LPIPS, and CLIP Score: 12.36 -> 12.45 IR; 27.40 -> 27.57 HPS v2; 22.61 -> 23.51 PSNR; 9.31 -> 6.50 MSE; 43.50 -> 40.79 LPIPS; 26.48 -> 26.54 CLHelped
Use NTN-Diff instead of BrushNetText-guided inpainting with Stable Diffusion v1.5 · BrushBench outside inpaintingIR, HPS v2, PSNR, MSE, LPIPS, and CLIP Score: 10.82 -> 11.54 IR; 28.02 -> 28.22 HPS v2; 18.06 -> 18.47 PSNR; 22.86 -> 20.44 MSE; 15.08 -> 14.46 LPIPS; 27.33 -> 27.54 Helped
Add BrushNet blending operation to NTN-DiffNTN-Diff · EditBench inpaintingPSNR, MSE, LPIPS, SSIM, and CLIP Score: 33.66 -> 36.83 PSNR; 0.63 -> 0.28 MSE; 10.12 -> 5.39 LPIPS; 98.13 -> 99.46 SSIM; 28.87 -> 29.72 CLIP ScoreHelped
Remove masked self-attention from the first null-text process (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.41; PSNR 22.65 -> 22.36; LPIPS 24.21 -> 26.60; CLIP Score 28.95 -> 28.62; BrushBench IR 11.12 -> Hurt
Remove both early null-text and text-guided denoising processes (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 1.24; PSNR 22.65 -> 22.39; LPIPS 24.21 -> 24.82; CLIP Score 28.95 -> 28.53; BrushBench IR 11.12 -> Hurt
Remove the early null-text denoising process (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.14; PSNR 22.65 -> 22.53; LPIPS 24.21 -> 25.24; CLIP Score 28.95 -> 28.60; BrushBench IR 11.12 -> Hurt
Set λ to 0.9 instead of 0.6 (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.41; PSNR 22.65 -> 22.03; LPIPS 24.21 -> 30.10; CLIP Score 28.95 -> 28.89; BrushBench IR 11.12 -> Mixed
Set λ to 0.8 instead of 0.6 (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.67; PSNR 22.65 -> 22.19; LPIPS 24.21 -> 29.28; CLIP Score 28.95 -> 28.76; BrushBench IR 11.12 -> Mixed
Set λ to 0.7 instead of 0.6 (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.78; PSNR 22.65 -> 22.44; LPIPS 24.21 -> 26.95; CLIP Score 28.95 -> 29.20; BrushBench IR 11.12 -> Mixed
Set λ to 0.5 instead of 0.6 (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 1.10; PSNR 22.65 -> 22.63; LPIPS 24.21 -> 23.16; CLIP Score 28.95 -> 28.81; BrushBench IR 11.12 -> Mixed
Replace the first null-text process with text-guided denoising (TTN-Diff) (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 1.57; PSNR 22.65 -> 22.57; LPIPS 24.21 -> 25.12; CLIP Score 28.95 -> 28.87; BrushBench IR 11.12 -> Hurt
Replace the last null-text process with text-guided denoising (NTT-Diff) (ablation)NTN-Diff · EditBench and BrushBenchIR, PSNR, LPIPS, and CLIP Score: EditBench IR 3.10 -> 2.12; PSNR 22.65 -> 22.58; LPIPS 24.21 -> 24.99; CLIP Score 28.95 -> 28.89; BrushBench IR 11.12 -> Hurt

Surprising findings

Limitations

Experimental setup

Datasets: BrushBench EditBench

Benchmarks: BrushBench EditBench

Metrics: Image Reward HPS v2 PSNR MSE LPIPS CLIP Score SSIM

Baselines: BLD CNI PP BrushNet HDP SDI BrushEdit

Builds on: Stable Diffusion BLD BrushNet DDPM

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