Generalised Scale-Space Properties for Probabilistic Diffusion Models

Pascal Peter · DOI

Abstract

Probabilistic diffusion models have emerged as a dominant paradigm in generative modeling, yet their theoretical foundations are often discussed in isolation from classical image processing. This paper establishes a formal mathematical bridge between diffusion models and Scale-Space theory. By analyzing the forward process through the lens of drift-diffusion and osmosis filters, we demonstrate that diffusion models satisfy the fundamental axioms of a generalized scale-space, where image simplification is achieved through the progression toward maximum entropy rather than spatial uniformity.

Introduction

In the evolution of computer vision, two distinct eras are often viewed as separate: the classical era of Scale-Space and variational methods, and the modern era of deep generative AI. Scale-Space theory provides a framework for representing images at multiple levels of detail, ensuring that no new information is created as one moves from fine to coarse scales. Probabilistic Diffusion Models (PDMs), which power state-of-the-art tools like Stable Diffusion, operate by gradually transforming data into noise. This paper, presented at the 2023 Scale Space and Variational Methods in Computer Vision (SSVM) conference, proves that the forward process of PDMs is not merely a noise-injection technique but a mathematically rigorous generalized scale-space.

The Problem: Bridging Classical Axioms and Modern Generative Models

While diffusion models are empirically successful, they are frequently treated as sophisticated denoising autoencoders. The theoretical connection to classical physics and image analysis is often overlooked. Specifically, a true scale-space must satisfy several formal axioms:

  1. The Semigroup Property: The ability to reach a coarse scale either in a single large step or through a sequence of smaller, consistent steps.
  2. Simplification: The requirement that information is lost, never gained, as the scale parameter increases.

This research addresses whether modern diffusion models adhere to these classical requirements, providing a formal justification for their behavior as multi-scale representations.

Methodology

The analysis focuses on the forward process of PDMs—the phase where an image is systematically degraded into Gaussian noise. The author, Pascal Peter, employs four primary mathematical frameworks:

  1. Markov Process Analysis: The noise-adding steps are modeled as a Markov chain, allowing for the derivation of marginal densities at any given time step.
  2. Lyapunov Sequences: To quantify "simplification," the author utilizes differential and conditional entropy. These serve as Lyapunov functions to prove that the distribution becomes increasingly random over time.
  3. PDE Formulation: The discrete transitions of the diffusion model are mapped to the Fokker-Planck equation. This partial differential equation (PDE) describes the evolution of probability distributions under the influence of drift and diffusion.
  4. Osmosis Filtering Comparison: The study compares the diffusion PDE to deterministic Osmosis Filters—a classical technique used for tasks like shadow removal and seamless cloning—to highlight how diffusion models manipulate probability densities in a manner analogous to how osmosis manipulates pixel values.

Key Insights

Simplification via Chaos

Traditional scale-spaces, such as Gaussian blurring, simplify images by driving them toward uniformity (a flat, featureless image). In contrast, diffusion models simplify images by driving them toward chaos (pure white noise). The paper demonstrates that both trajectories are mathematically valid forms of simplification under a generalized scale-space framework.

The Stochastic Osmosis Connection

A significant finding is that probabilistic diffusion acts as a stochastic version of an osmosis filter. While standard osmosis moves pixel values according to a drift vector to achieve a target gradient, diffusion models move probability densities toward a target distribution (the standard normal distribution).

Entropy as a Measure of Scale

The author proves that as the diffusion process progresses, the differential entropy increases, provided certain conditions on the noise schedule ((\beta)) are met. This allows entropy to serve as a formal "ruler" for measuring scale within the model.

Edge Preservation

Qualitatively, diffusion models differ from Gaussian scale-spaces in their treatment of boundaries. Because noise is added to pixels independently in the co-domain, the structural "edges" of an object remain statistically detectable through the noise for a longer duration than they would under spatial blurring, which tends to smear edges immediately.

Formal Results: The Five Properties

The paper successfully establishes five "Generalised Scale-Space Properties" for diffusion models:

  1. Initial State: The process is shown to correctly originate at the training data distribution.
  2. Semigroup Property: Proved via the recursive definition of the probability density, ensuring consistency across scales.
  3. Lyapunov Sequences: Demonstrated that both differential and conditional entropy increase monotonically, satisfying the formal requirement for simplification.
  4. Permutation Invariance: Proved that the statistical evolution of the model is independent of the spatial layout of pixels.
  5. Steady State: Formally proved that the process converges to a standard normal distribution, representing the state of least information.

Discussion and Future Work

This research primarily focuses on the forward (noise-adding) process, where scale-space axioms are most naturally applied. While the reverse (generative) process is the ultimate goal of these models, understanding the forward process as a scale-space opens new avenues for research.

Current limitations include the assumption of independent pixel-wise Brownian motion. Future investigations could extend this framework to latent diffusion models, where the "pixels" are abstract features, or explore structured noise patterns. Furthermore, recognizing these models as scale-spaces suggests that intermediate steps—the "middle scales"—could be leveraged for sophisticated image editing and manipulation tasks, rather than focusing solely on the final denoised output.

Reference: Peter, P. (2023). Generalised Scale-Space Properties for Probabilistic Diffusion Models. In Scale Space and Variational Methods in Computer Vision. SSVM 2023. Lecture Notes in Computer Science, vol 14009. Springer.

Summary updated

BibTeX
@inproceedings{peter2023generalised,
  author = {Pascal Peter},
  title = {{Generalised Scale-Space Properties for Probabilistic Diffusion Models}},
  booktitle = {SSVM},
  year = {2023},
  doi = {10.1007/978-3-031-31975-4\_46},
}
Figure