NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient and Training-Free Single-Image Diffusion Models

Haojun Qiu, Kiriakos N. Kutulakos, David B. Lindell

TL;DR

Single-image diffusion models typically require hours of neural network training to capture the internal structure of a specific image. This paper introduces a training-free alternative that computes the optimal patch denoiser analytically in closed form. The result is a highly versatile generative model that delivers state-of-the-art image synthesis, editing, and gigapixel-scale generation in seconds or minutes instead of hours.

What Problem Does This Problem Address?

Generative models trained on a single image (like SinGAN or SinDDM) are powerful tools for understanding and replicating the "internal structure" of an image—its unique textures, patterns, and patch distributions across multiple scales. They enable applications like unconditional image generation, retargeting, and text-guided editing.

However, these models suffer from a massive bottleneck: they require training a neural network from scratch for every single image, costing hours of optimization time. While classical patch-matching algorithms are fast and training-free, they lack the explicit probabilistic framework of diffusion models, making it difficult to incorporate downstream constraints like text guidance or structural symmetry. The authors bridge this gap by creating a single-image diffusion model that requires absolutely zero training.

Figure 1. We introduce an efficient, training-free diffusion model that generates images based on the internal structure of a single input image. Our approach uses a closed-form solution for the optimal denoiser derived for noisy patches of the input image. As such, no training is required, and generated images achieve similar or better quality (based on single-image Fr´echet Inception Distance [58]) relative to state- of-the-art single-image diffusion models such as SinDDM [38], which require hours of training time. Our approach is also compatible with text-based guidance from pre-trained vision–language models [52] and enables controllable generation, e.g., of symmetric images.

Methods

The core insight of this paper is that because a single image contains a finite, relatively small dataset of patches, you don't need a neural network to approximate the diffusion score function. Instead, the optimal minimum mean squared error (MMSE) denoiser can be solved mathematically in closed form.

The proposed pipeline consists of:

  1. Closed-Form Patch Denoiser: For a noisy patch, the exact denoised patch is calculated as a weighted average of all clean patches from the reference image, where the weights depend on Gaussian similarity. This formulation draws a direct mathematical link to classical non-local means image denoising.
  2. Coarse-to-Fine Image Sampling: To maintain global coherence rather than just generating a soup of textures, the model operates across an image pyramid. It starts by generating a low-resolution image and progressively upsamples and refines it using a two-scale Laplacian pyramid blending technique.
  3. Acceleration Suite: To make the method practical for high resolutions, the authors introduce three complementary speedups:
  4. Fused Attention Kernels: Re-formulating the patch denoiser as scaled-dot-product attention to leverage highly optimized hardware kernels (FlashAttention).
  5. Latent Space Diffusion: Performing the denoising steps inside a compressed latent space using a pre-trained Variational Autoencoder (VAE).
  6. Approximate Nearest Neighbors (ANN): Using clustering-based indexing to reduce the patch-search complexity from $O(N^2)$ to $O(N^{3/2})$.
Figure 2. Method overview. Our approach takes a single image as input, extracts patches, and uses the patches to generate new images using denoising diffusion. (top) We illustrate a single step of the reverse diffusion process: (blue) patches from the noisy image are denoised and used to reconstruct an image; (green) the denoised image is blended with the output of the reverse diffusion process at a coarser scale (xs+1,t); (red) the noisy image at the previous diffusion timestep (xs,t−1) is sampled. (bottom) All steps of reverse diffusion process for single-scale image sampling (omits coarse-to-fine guidance (green)) and coarse-to-fine image sampling are shown.

Datasets

The authors evaluated their approach using a standard benchmark of 15 diverse natural images commonly utilized in prior single-image generation literature (such as the pyramids, mountains, and hot-air balloons from SinGAN and SinDDM).

Key Insights and Ideas

  • The Power of Finiteness: Neural networks are typically essential in deep learning because real-world data distributions are continuous and infinitely complex. However, the internal patch distribution of a single image is finite, turning an intractable optimization problem into a clean, exact analytical solution.
  • Unifying Classical and Modern Vision: The paper elegantly unifies classical non-parametric patch methods (like non-local means and patch-based GMMs) with modern score-based diffusion probabilistic frameworks.
  • Prioritizing Diversity: Unlike some nearest-neighbor patch methods that tend to verbatim copy large chunks of the source image, this diffusion framework introduces controlled stochasticity, yielding significantly higher sample diversity while maintaining structural fidelity.

Key Results

  • Zero Training Time: The method completely eliminates the training phase, dropping optimization time from 8 hours (SinDDM) or 2 hours (SinGAN) to 0 seconds.
  • Unprecedented Speed: While a naive implementation takes a few seconds for a low-resolution image, the accelerated version generates a megapixel image in 1 second and a gigapixel image in under 14 minutes on a single GPU.
  • State-of-the-Art Quality: Quantitatively, the model outperforms trained single-image diffusion models on Single-Image Fréchet Inception Distance (SIFID) and achieves the highest diversity scores (via LPIPS) among all baselines.
  • Downstream Flexibility: Because it is a true diffusion model, it seamlessly adapts to complex tasks like text-guided style transfer (via CLIP guidance), image retargeting, and seamless image symmetrization/tiling.
Figure 4. Unconditional single-image generation results. Our training-free, coarse-to-fine image sampling procedure based on closed-form denoising diffusion (right) produces results of the same quality as other state-of-the-art methods that require hours of training time.

Limitations and Future Work

Despite its strengths, the method exhibits sensitivity to hyperparameters; the choice of patch size (optimally 15×15) and the patch-reassembly blending factor ($\rho$) heavily dictate the visual quality. Additionally, balancing the sampling noise parameter ($\eta$) is a trade-off: higher values improve structural alignment but can occasionally degrade sample diversity.

For future work, the authors propose optimizing the pipeline for real-time generation, adapting the closed-form denoiser as an off-the-shelf prior for solving inverse problems (like deblurring or inpainting), and extending the framework to handle patch distributions from multiple reference images simultaneously.

Summary updated

BibTeX
@inproceedings{qiu2026efficient,
  author = {Haojun Qiu and Kiriakos N. Kutulakos and David B. Lindell},
  title = {{Efficient and Training-Free Single-Image Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Ucq3OmQiuD},
}
Figure