TL;DR
SCP-Diff introduces a training-free "noise prior" for diffusion-based semantic image synthesis (SIS) that significantly reduces hallucinations and structural artifacts. By replacing standard Gaussian noise at inference with a joint spatial-categorical prior derived from real data, the method achieves a new state-of-the-art FID of 10.5 on the Cityscapes dataset.
The Distribution Mismatch Problem
Semantic Image Synthesis (SIS) aims to generate photorealistic images from label maps. While Latent Diffusion Models (LDMs) like Stable Diffusion provide high-quality outputs, they often struggle with precise structural control when guided by external conditions like ControlNet. Common failure modes include structural artifacts (fragmented objects) and content misalignment (hallucinating objects in incorrect semantic regions).
The authors argue these issues stem from a distribution mismatch. During training, the model learns to denoise real images that have been progressively corrupted. At inference, however, standard practice starts from pure "white" Gaussian noise ($N(0, I)$). This starting point is statistically distant from the distribution seen during training, leading the model to produce unrealistic structures as it attempts to bridge the gap.
Proposed Method: Inference-time Noise Priors
Instead of starting from pure random noise, SCP-Diff proposes using Inference-time Noise Priors. The method involves pre-computing Gaussian statistics (mean and variance) from the latent representations of real images in the training set.
The authors explore three hierarchical priors:
- Spatial Prior: Statistics are averaged across the dataset at each pixel location, capturing global layout and typical camera perspectives.
- Categorical Prior: Statistics are aggregated based on semantic classes, helping the model align textures with specific labels (e.g., "tree" vs. "road").
- Spatial-Categorical Joint Prior (SCP): The core contribution. This prior calculates statistics for every (pixel location, semantic class) tuple, combining global structural guidance with local semantic accuracy.
The workflow is entirely training-free. During inference, a custom noise map is constructed for a given semantic mask using the stored statistics. The diffusion process then starts at a slightly later timestep ($\mu T$, where $\mu < 1$) using this informed prior instead of pure noise.
Experimental Results
SCP-Diff was evaluated on Cityscapes, ADE20K, and COCO-Stuff. It significantly outperforms existing GAN-based and diffusion-based methods. On Cityscapes, it achieved an FID of 10.5, a substantial improvement over standard ControlNet (23.4) and the previous state-of-the-art GAN, ECGAN (44.5).
Key insights from the results include:
- Structural Integrity: The Spatial Prior provides a broader receptive field, ensuring scene cohesiveness and preventing the "crop-and-paste" look common in standard diffusion SIS.
- Semantic Alignment: The Categorical Prior allows the model to "know" general color and texture distributions before denoising begins, preventing confusion in the control branch.
- Efficiency: As a sampling-time modification, it requires no additional training of heavy diffusion backbones, making it highly practical for deployment.
Conclusion
SCP-Diff demonstrates that the primary bottleneck in diffusion-based SIS is the inference-time noise distribution. By grounding the starting point of the reverse diffusion process in real-world data statistics, the method eliminates common hallucinations and artifacts without the need for costly retraining. Future work may involve modeling correlations between neighboring pixels to further enhance structural integrity.
Summary updated