cs.CVSep 15, 2025

IS-Diff: Improving Diffusion-Based Inpainting with Better Initial Seed

Authors: Yongzhe Lyu, Yu Wu, Yutian Lin, Bo Du

Organizations: School of Computer Science, Wuhan University, Wuhan 430072, China

Abstract

Diffusion models have shown promising results in free-form inpainting. Recent studies based on refined diffusion samplers or novel architectural designs led to realistic results and high data consistency. However, random initialization seed (noise) adopted in vanilla diffusion process may introduce mismatched semantic information in masked regions, leading to biased inpainting results, e.g., low consistency and low coherence with the other unmasked area. To address this issue, we propose the Initial Seed refined Diffusion Model (IS-Diff), a completely training-free approach incorporating distributional harmonious seeds to produce harmonious results. Specifically, IS-Diff employs initial seeds sampled from unmasked areas to imitate the masked data distribution, thereby setting a promising direction for the diffusion procedure. Moreover, a dynamic selective refinement mechanism is proposed to detect severe unharmonious inpaintings in intermediate latent and adjust the strength of our initialization prior dynamically. We validate our method on both standard and large-mask inpainting tasks using the CelebA-HQ, ImageNet, and Places2 datasets, demonstrating its effectiveness across all metrics compared to state-of-the-art inpainting methods.

Figures & tables

Explore similar work

CardsList
  1. Image AID via continuous-time reinforcement learning

    May 13, 2026Yilie Huang, Xun Yu ZhouDiffusion Model GuidanceMasked Diffusion Models

  2. InverFill: One-Step Inversion for Enhanced Few-Step Diffusion Inpainting

    Mar 24, 2026Duc Vu, Kien Nguyen, Ngan Nguyen +5Image InpaintingT2I Diffusion Models

  3. When Diffusion Models Forget Who You Are: Identity Preservation in Face Inpainting under Large Occlusions

    Aug 5, 2026Feng Ding, Shuhuai Xie, Yue Zhou +3Diffusion Model GuidanceImage Inpainting