Spread Divergence

Mingtian Zhang, Peter Hayes, Thomas Bird, Raza Habib, David Barber

The Challenge of Disjoint Supports

In machine learning, training a generative model $Q$ to match a data distribution $P$ typically involves minimizing a divergence metric, such as the Kullback-Leibler (KL) divergence, $D(P||Q)$. However, modern implicit models like Generative Adversarial Networks (GANs) often generate data on low-dimensional manifolds embedded within a higher-dimensional space.

If the model's manifold does not perfectly align with the data's manifold, their supports are disjoint. In these scenarios, standard divergences like KL become ill-defined or infinite, failing to provide a useful gradient for training.

Implicit generative models often generate data on lower-dimensional manifolds, making standard likelihood-based learning problematic.

A common workaround is to add noise exclusively to the model to give it full support. However, this approach is fundamentally flawed: it creates an inconsistent estimator. Even with infinite data, the model will converge to the wrong parameters because the global minimum shifts away from the true data distribution.

Spread Divergence: A Principled Solution

To address this, researchers introduce Spread Divergence, a method that ensures a valid and consistent comparison by applying a noise process (a "spread") to both the data distribution and the model distribution before comparing them.

The process works as follows:

  1. The Spread: Given a noise kernel $k$, spread versions of the distributions are defined as $\tilde{p} = k * p$ and $\tilde{q} = k * q$.
  2. The Divergence: A standard divergence is then computed on these spread distributions: $\tilde{D}(P||Q) = D(\tilde{p}||\tilde{q})$.
  3. Consistency: If the noise kernel is chosen correctly (e.g., its Fourier transform is non-zero), then $\tilde{D}(P||Q) = 0$ if and only if $P = Q$.

By noising both sides symmetrically, the global minimum is preserved at the true parameters, ensuring that minimizing the spread divergence actually recovers the true data distribution.

Spreading two disjoint delta distributions (a) into overlapping densities (b) allows for a well-defined KL divergence (c) that is minimized only when the original distributions match.

Maximizing Discriminatory Power

Beyond using fixed noise, the authors propose parameterizing the noise (e.g., via a covariance matrix or an injective neural network) and learning it to maximize the divergence. This adversarial-style approach forces the noise to focus on the specific directions where the model and data differ most. It prevents the training signal from being "washed out" by excessive uniform noise, effectively "training the critic" while remaining within a principled maximum-likelihood framework.

Empirical Results

The Spread Divergence framework demonstrates strong empirical performance across several domains:

  • Synthetic Linear ICA: In Independent Component Analysis (ICA), standard Expectation-Maximization (EM) algorithms often "freeze" or fail under low noise conditions. Spread Divergence EM remains stable and accurately recovers the mixing matrix.
  • Improved Image Generation: The authors tested a Variational Autoencoder variant ($\delta$-VAE) using Spread Divergence on the CelebA dataset. The learned spread significantly outperformed standard VAEs in terms of Fréchet Inception Distance (FID):
  • Standard VAE FID: 63.0
    • $\delta$-VAE (Fixed Spread) FID: 52.7
    • $\delta$-VAE (Learned Spread) FID: 46.5
  • Qualitative Sharpness: Images generated with learned spread noise (particularly Laplace noise) were notably sharper than those from standard models, as the learned noise successfully focuses the model on the fine details of the data manifold.

Limitations and Future Directions

While Spread Divergence offers a robust theoretical framework for instance noise, questions remain regarding the "optimal" family of spread noise for specific tasks. Additionally, learning the spread parameters introduces an extra optimization loop, increasing computational overhead. Future work will likely focus on scaling these techniques to higher-resolution image synthesis, complex discrete data, and further analyzing the statistical efficiency of the Spread Maximum Likelihood Estimator.

Summary updated

BibTeX
@inproceedings{zhang2020spread,
  author = {Mingtian Zhang and Peter Hayes and Thomas Bird and Raza Habib and David Barber},
  title = {{Spread Divergence}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure