Information Theoretic Structured Generative Modeling

Bo Hu, Shujian Yu, José C. PríncipearXiv 2021

Information Theoretic Learning (ITL) has long relied on Shannon’s entropy and the Kullback–Leibler (KL) divergence to guide machine learning models. However, these "gold standard" measures come with significant baggage: they are notoriously difficult to estimate from data, often lead to high-variance gradients, and require strict mathematical conditions—such as absolute continuity—that are frequently violated during model training.

In this work, researchers propose a new framework—the Structured Generative Model (SGM)—that sidesteps these issues by pivoting to Rényi’s second-order information. By parameterizing an infinite Gaussian mixture model (IMoG) with a neural network, SGM provides closed-form solutions for information-theoretic costs, offering a more stable and data-efficient alternative to traditional generative models.

The Limitations of Shannon-Based ITL

Most generative models, including GANs and VAEs, attempt to minimize the distance between a model distribution and the true data distribution using Shannon-based measures. These measures present three primary challenges:

  1. Absolute Continuity: They require the model to "overlap" perfectly with the data distribution. If the model assigns zero probability to a real data point, the cost explodes to infinity.
  2. Estimation Difficulty: Estimating nonlinear terms like $\log q(x)$ is data-inefficient and often necessitates complex reparameterization tricks or Expectation-Maximization (EM) algorithms.
  3. High Variance: Gradient-based optimization is frequently unstable, leading to issues like exploding gradients or mode collapse.

The Structured Generative Model (SGM)

The core innovation of SGM is replacing the standard generator with a neural network that outputs the parameters (weights, means, and variances) of an Infinite Gaussian Mixture Model (IMoG). This approach leverages several key technical advantages:

  • Rényi’s Second-Order Entropy: Unlike Shannon’s entropy, Rényi’s second-order entropy places the logarithm outside the integral. This allows for a closed-form solution when dealing with Gaussian mixtures, making the mathematics significantly more tractable.
  • Scanning Vectors: To capture local structures, the network is driven by "scanning vectors"—a combination of orthonormal inputs and white noise that helps the model span the sample space effectively.
  • Variational Cost Functions: The authors introduce scale-invariant cost functions ($J_p$, $J_{p,q}$, and $J_{Y|X}$) that act as upper bounds for Rényi’s entropy and divergence, helping to stabilize training.

Experimental Results and Stability

The authors evaluated SGM across synthetic and real-world datasets, focusing on mutual information (MI) estimation and generative performance.

Sample Efficiency and Stability

A major highlight of SGM is its stability compared to Shannon-based estimators like MINE (Mutual Information Neural Estimator). In MI estimation tasks, MINE often fails (producing "NAN") with small sample sizes. In contrast, SGM remains stable and matches ground-truth MI values with as few as 5,000 samples, scaling gracefully up to 1,000 dimensions.

SGM demonstrates superior stability and sample efficiency compared to MINE, which often diverges at low sample counts.

Generative Modeling and OOD Detection

When applied to image generation, the SGM-based GAN variant demonstrates high-quality results. Furthermore, the discriminator in this framework naturally learns a probability ratio, which serves as a powerful tool for Out-of-Distribution (OOD) detection. When trained on Fashion MNIST, the model achieved an AUROC of 0.997 for detecting MNIST samples as OOD, significantly outperforming baselines like Mahalanobis distance.

Qualitative results on Fashion MNIST alongside probability ratio distributions for in-distribution and OOD data.

Conclusion and Future Directions

The Structured Generative Model offers a robust path forward for density estimation by prioritizing mathematical stability over traditional Shannon-based metrics. While SGM scales better than many existing methods, future work will look to approximate these functions in even higher-dimensional spaces and explore extending the framework to Rényi $\alpha$ values closer to 1 to more directly approximate Shannon information. By modeling local density explicitly via the IMoG, SGM proves particularly adept at capturing the "tails" of distributions, a common failure point for standard mixture models.

Summary updated

Abstract

Rényi's information provides a theoretical foundation for tractable and data-efficient non-parametric density estimation, based on pair-wise evaluations in a reproducing kernel Hilbert space (RKHS). This paper extends this framework to parametric probabilistic modeling, motivated by the fact that Rényi's information can be estimated in closed-form for Gaussian mixtures. Based on this special connection, a novel generative model framework called the structured generative model (SGM) is proposed that makes straightforward optimization possible, because costs are scale-invariant, avoiding high gradient variance while imposing less restrictions on absolute continuity, which is a huge advantage in parametric information theoretic optimization. The implementation employs a single neural network driven by an orthonormal input appended to a single white noise source adapted to learn an infinite Gaussian mixture model (IMoG), which provides an empirically tractable model distribution in low dimensions. To train SGM, we provide three novel variational cost functions, based on Rényi's second-order entropy and divergence, to implement minimization of cross-entropy, minimization of variational representations of $f$-divergence, and maximization of the evidence lower bound (conditional probability). We test the framework for estimation of mutual information and compare the results with the mutual information neural estimation (MINE), for density estimation, for conditional probability estimation in Markov models as well as for training adversarial networks. Our preliminary results show that SGM significantly improves MINE estimation in terms of data efficiency and variance, conventional and variational Gaussian mixture models, as well as the performance of generative adversarial networks.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
2D density estimation, EXP #1SGMCE6.64+0.24 vs baselinesamples=200k · experiment=EXP #1
Source quote
L303: SGM │ 6.64 │ 18.02 │ 13.80 │ 7.76 │ 9.69
FashionMNIST · Fashion-MNIST vs. MNIST OOD detectionDensity ratio (ours; proposed divergence-cost discriminator)AUROC0.997split: test · ood-dataset=MNIST · in-distribution=Fashion-MNIST
Source quote
L257: Density ratio (ours) │ 0.997 │ 0.997 │ 0.004
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
2D density estimation, EXP #1GMM baselineCE6.40samples=200k · experiment=EXP #1
Source quote
L300: 6.40 │ 17.31 │ 13.36 │ 7.14 │ 8.06
FashionMNIST · Fashion-MNIST vs. MNIST OOD detectionLikelihood ratio baselineAUROC0.994split: test · ood-dataset=MNIST · in-distribution=Fashion-MNIST
Source quote
L261: Likelihood ratio │ 0.994 │ 0.993 │ 0.001
FashionMNIST · Fashion-MNIST vs. MNIST OOD detectionLikelihood ratio baselineAUPRC0.993split: test · ood-dataset=MNIST · in-distribution=Fashion-MNIST
Source quote
L261: Likelihood ratio │ 0.994 │ 0.993 │ 0.001
BibTeX
@misc{hu2021information,
  author = {Bo Hu and Shujian Yu and José C. Príncipe},
  title = {{Information Theoretic Structured Generative Modeling}},
  year = {2021},
  eprint = {2110.05794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.05794},
}
Figure