SinDDM: A Single Image Denoising Diffusion Model

Vladimir Kulikov, Shahar Yadin, Matan Kleiner, Tomer Michaeli

Abstract: Denoising diffusion models (DDMs) have led to staggering performance leaps in image generation, editing, and restoration. However, existing DDMs typically use very large datasets for training. SinDDM introduces a hierarchical denoising diffusion model trained on just one image, distilling the stability and high-quality generation of diffusion models into the single-image regime.

Introduction

In recent years, Denoising Diffusion Models (DDMs) have revolutionized image generation, powering state-of-the-art systems like DALL-E 2 and Stable Diffusion. However, these models typically require massive datasets—often millions of images—to learn visual distributions.

But what if you only have a single image? Whether it is a rare historical photograph, a unique medical scan, or a specific piece of art, "internal learning" (learning statistics from a single image) has historically been dominated by Generative Adversarial Networks (GANs) like SinGAN. While effective, GANs can be notoriously difficult to train and often struggle to maintain global structure. The authors of SinDDM set out to solve this by adapting the powerful diffusion framework to work on a single image, eliminating the need for massive datasets while preserving high-quality, diverse generation.

Methodology

SinDDM adapts the diffusion framework to operate hierarchically across multiple scales of a single image. The architecture relies on several core innovations:

  • Multi-Scale Pyramid: Rather than processing only the full-resolution image, the model constructs a pyramid of downsampled versions of the input image.
  • Blur and Noise Diffusion: Standard diffusion models degrade images into pure white noise. SinDDM introduces a "Forward Multi-Scale Diffusion" process that adds both Gaussian noise and blur. As the model progresses from a coarse (small) scale to a fine (large) scale, it learns to simultaneously "denoise" textures and "deblur" structures.
  • Fully-Convolutional Denoiser: Instead of relying on a massive U-Net architecture, SinDDM employs a lightweight, fully-convolutional network with a restricted receptive field (35x35 pixels). This prevents the model from simply memorizing the image, forcing it to learn the local statistical "DNA" of the image patches.
  • Unified Conditioning: A single model is trained to handle all noise levels and scales, making it significantly more efficient than training separate networks for every resolution.
  • Guided Generation: Because it is built on a diffusion framework, SinDDM supports inference-time guidance. The authors integrate a pre-trained CLIP model, enabling text-guided content and style manipulation.

Key Insights

The Necessity of Blur A critical finding in SinDDM is that noise alone is insufficient for hierarchical generation. Incorporating blur during training ensures that when the model upsamples a generated image to the next scale, it effectively learns how to hallucinate and fill in missing high-frequency details.

Balancing Generalization and Fidelity Unlike traditional patch-based methods that essentially "copy-paste" segments of the original image, SinDDM learns a smoother, continuous distribution. This allows it to generate novel structures—such as new mountain peaks or altered cloud formations—that remain highly realistic and coherent with the original scene.

Zero-Shot Text Guidance The integration of CLIP guidance allows users to alter the style of an image (e.g., "make it look like a Van Gogh painting") or introduce specific objects purely through text prompts during the sampling phase, requiring zero retraining on those specific styles or objects.

Results and Applications

The authors evaluated SinDDM on diverse natural scenes, textures, and famous paintings, benchmarking it against state-of-the-art single-image models like SinGAN, ConSinGAN, and GPNN.

  • Diversity and Quality: Quantitatively, SinDDM produces significantly more diverse samples than SinGAN or GPNN, evidenced by higher pixel standard deviations and LPIPS distances between generated pairs. In no-reference image quality assessments (such as NIQE and NIMA), SinDDM performs on par with or exceeds existing models.
  • Versatility: The framework excels in various downstream tasks, including:
  • Outpainting: Seamlessly extending the boundaries of an image.
  • Harmonization: Blending pasted objects into a background by matching textures.
  • Style Transfer: Applying the artistic style of one image to the structural layout of another.

Limitations and Future Directions

While SinDDM offers unprecedented flexibility, its tendency to be "less confined" to strict internal statistics can sometimes lead to the over- or under-representation of certain objects (e.g., generating too many buildings in a skyline compared to the original).

Furthermore, training is computationally intensive, taking approximately 7 hours on a high-end GPU (NVIDIA A6000) for a single 250x200 image. Although sampling is rapid (taking only seconds), the initial training bottleneck remains a challenge compared to training-free patch-search methods like GPNN. Future research may focus on optimizing this training pipeline and exploring mechanisms to enforce stricter structural fidelity when required.

Summary updated

BibTeX
@inproceedings{kulikov2023sinddm,
  author = {Vladimir Kulikov and Shahar Yadin and Matan Kleiner and Tomer Michaeli},
  title = {{SinDDM: A Single Image Denoising Diffusion Model}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=IJ70r39DzS},
}
Figure