Variational Representations and Neural Network Estimation of Rényi Divergences

Jeremiah Birrell, Paul Dupuis, Markos A. Katsoulakis, Luc Rey-Bellet, Jie Wang

TL;DR

This paper introduces a novel variational formula for Rényi divergences, a generalization of the well-known KL-divergence. This new formula allows for the development of consistent statistical estimators, particularly effective in high-dimensional settings, by leveraging neural networks.

What Problem Does This Paper Address?

Estimating divergences between probability distributions is crucial in many machine learning tasks, including generative modeling (GANs), independence testing, and information theory. Traditional methods often struggle in high-dimensional spaces, becoming computationally intractable or suffering from instability. While variational approaches have shown promise for KL-divergence, extending these to the broader family of Rényi divergences, which offer more flexibility in capturing tail behavior and robustness, has been a significant challenge. This paper aims to bridge this gap by providing a general variational framework for Rényi divergences and demonstrating its utility for neural network-based estimation in high dimensions.

Methods

The core contribution is a new variational formula for Rényi divergences, $R_\alpha(Q||P)$, which generalizes the classical Donsker-Varadhan formula for KL-divergence. This formula is expressed as a supremum over a function space $\Gamma$:

$R_\alpha(Q||P) = \sup_{\phi \in \Gamma} \left\{ \frac{1}{\alpha} \log \int e^{(\alpha-1)\phi} dQ - \frac{1}{\alpha-1} \log \int e^{\phi} dP \right\}$

A key innovation is the flexibility in choosing the function space $\Gamma$. By allowing $\Gamma$ to include unbounded functions, the authors enable the use of neural networks with unbounded activation functions (like ReLU) for estimation. They then develop a general theory for proving the consistency of estimators derived from this variational formula, particularly for neural network families. This theory relies on strengthened versions of the universal approximation property for neural networks and introduces the concept of $\Psi$-bounded approximation properties to handle non-compact supports and unbounded functions.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and numerical experiments using synthetic data generated from specified distributions.

Key Insights and Ideas

  • Generalization of Donsker-Varadhan: The paper successfully extends the powerful Donsker-Varadhan variational formula to the entire family of Rényi divergences, opening up new avenues for their analysis and estimation.
  • Flexibility in Function Space: The ability to choose the function space $\Gamma$ is critical. Allowing unbounded functions is essential for using modern neural network architectures with unbounded activations, which are often more expressive.
  • Neural Networks as Estimators: The paper demonstrates that neural networks, when properly constrained and trained, can serve as consistent estimators for Rényi divergences, even in high dimensions. This is a significant step beyond traditional density-estimation methods.
  • High-Dimensional Efficacy: The proposed method is shown to be effective in high-dimensional settings (up to 5000 dimensions), outperforming traditional methods that struggle with the curse of dimensionality.
  • Robustness of Rényi Divergences: The paper highlights that Rényi divergences can be more stable for estimation than KL-divergence, especially in scenarios involving heavy-tailed distributions or rare events.

Key Results

  • A new variational formula for Rényi divergences is derived, generalizing the Donsker-Varadhan formula.
  • A general framework for proving the consistency of Rényi divergence estimators based on this formula is established.
  • The paper proves that neural network estimators are consistent under certain strengthened universal approximation properties, even for networks with unbounded activation functions and non-compact support.
  • Numerical experiments demonstrate the effectiveness of the proposed estimator in high-dimensional settings (up to 5000 dimensions) for estimating Rényi divergences and Rényi-based mutual information. For example, in Figure 1, the relative error decays as $N^{-1.4}$ with the number of samples, showing good scaling.
  • The exponential family estimator is shown to outperform neural network estimators in a moderate-dimensional setting when the partition function is easily computable.

Limitations and Future Work

  • Computational Cost: While effective, neural network estimation can still be computationally intensive, especially for very large networks or complex distributions. The paper notes that for exponential families, a specialized estimator can be more efficient.
  • Open Questions on Network Architectures: The paper raises open questions about whether the $\Psi$-bounded approximation properties hold for neural networks with only one or two hidden layers, which would simplify network architectures.
  • Parameter Tuning: Like most neural network-based methods, the performance can be sensitive to hyperparameter tuning (e.g., learning rate, network architecture).
  • Future Work: The authors suggest that their theoretical framework can be extended to other divergence families and that further exploration of specific neural network architectures and their approximation properties is warranted. The paper also hints at applications in areas like generative adversarial networks (GANs) and uncertainty quantification.

Summary updated

BibTeX
@article{birrell2020variational,
  author = {Jeremiah Birrell and Paul Dupuis and Markos A. Katsoulakis and Luc Rey-Bellet and Jie Wang},
  title = {{Variational Representations and Neural Network Estimation of Rényi Divergences}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2020},
}
Figure