Estimating Differential Entropy under Gaussian Convolutions

Ziv Goldfeld, Kristjan Greenewald, Yury PolyanskiyarXiv 2018 · DOI · arXiv

TL;DR

This paper tackles the challenge of estimating differential entropy for a signal $S$ corrupted by Gaussian noise ($S+Z$), where $S$'s distribution is unknown. They introduce a novel, specialized estimator that significantly outperforms general-purpose methods, especially in high dimensions, and demonstrate its utility in estimating information flow within deep neural networks.

What Problem Does This Paper Address?

Estimating differential entropy, a fundamental measure of uncertainty in continuous random variables, is crucial in many fields, including information theory and machine learning. A key challenge arises when dealing with high-dimensional data and when the underlying distribution is unknown. This paper focuses on a specific, yet important, scenario: estimating the differential entropy of a signal $S$ that has been convolved with a known Gaussian distribution $Z$. This problem is directly motivated by the need to estimate mutual information in deep neural networks (DNNs), where hidden layer activations can be modeled as such Gaussian convolutions. Existing general-purpose entropy estimators (like KDE or kNN) struggle in high dimensions and with distributions that aren't "well-behaved" (e.g., not bounded away from zero), which is precisely the case for $S+Z$. The authors ask: can we do better by leveraging the known structure of the Gaussian convolution and by having access to "clean" samples of $S$ in addition to noisy samples of $S+Z$?

Methods

The paper introduces a specialized "plugin" estimator, denoted $\hat{h}_{n,\sigma}$, which leverages the known Gaussian noise distribution $\phi_\sigma$ and samples of the underlying signal $S$. Instead of directly estimating the density of $S+Z$ and then its entropy, their approach estimates the differential entropy of a Gaussian mixture whose components are centered at the observed samples of $S$ and convolved with $\phi_\sigma$. This method is "ad hoc" in the sense that it's tailored to the specific problem structure.

To analyze the performance of this estimator, they derive theoretical bounds on its absolute-error risk. A key finding is that, despite the regularizing effect of the Gaussian noise, the sample complexity required to achieve a certain accuracy still grows exponentially with the dimension $d$. This is proven using a random-coding argument related to channel coding. However, for a fixed dimension and a sufficiently large number of samples, their proposed plugin estimator achieves a significantly faster convergence rate ($O((\log n)^{d/4}/\sqrt{n})$) compared to general-purpose estimators ($O(n^{-1/d})$).

For practical implementation, they propose an efficient Monte Carlo (MC) integration method to compute the differential entropy of the Gaussian mixture. They also provide theoretical bounds on the Mean Squared Error (MSE) of this MC estimator.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and simulations using synthetic data generated from specific distributions (mixtures of Gaussians).

Key Insights and Ideas

  • The Power of Structure: The paper demonstrates that exploiting the known structure of a Gaussian convolution, rather than treating the problem as a generic entropy estimation task, leads to significantly improved performance, especially in high dimensions.
  • Exponential Sample Complexity is Unavoidable (in the worst case): Even with the smoothing effect of Gaussian noise, achieving good estimation accuracy in high dimensions fundamentally requires an exponential number of samples in the worst-case scenario.
  • A Specialized Estimator Outperforms Generalists: The proposed plugin estimator, tailored to the Gaussian convolution problem, achieves much faster convergence rates than standard KDE or kNN methods, particularly in high dimensions.
  • DNNs as a Motivation: The work is directly motivated by the challenge of estimating mutual information in deep neural networks, where hidden layer activations often exhibit Gaussian convolution-like behavior. The developed entropy estimation techniques are directly applicable to this problem.
  • Practicality Matters: The authors not only provide theoretical guarantees but also propose an efficient MC method for computing their estimator, making it practically viable.

Key Results

  • Lower Bound: The sample complexity for estimating $h(S+Z)$ grows exponentially with dimension $d$, even with Gaussian noise.
  • Upper Bound (Plugin Estimator): The proposed plugin estimator $\hat{h}_{n,\sigma}$ achieves an absolute-error risk of $O\left((\log n)^{d/4}/\sqrt{n}\right)$ for distributions with bounded support and $O\left((\log n)^{d/4}/\sqrt{n}\right)$ for sub-Gaussian distributions. This is a significant improvement over general-purpose estimators which achieve $O(n^{-1/d})$.
  • Monte Carlo Integration: An efficient MC method for computing the estimator is proposed, with MSE bounds that scale favorably with dimension.
  • Empirical Validation: Simulations show that the proposed estimator converges faster and is more stable than kNN and KDE estimators, especially in higher dimensions and for larger noise variances. This advantage is also demonstrated in estimating information flow in a noisy deep neural network.

Limitations and Future Work

  • Exponential Sample Complexity: While the paper shows the exponential dependence on $d$ is unavoidable in the worst case, they suggest exploring if this can be extended to any $d$ and $\sigma$ using generalized methods.
  • Convergence Rate Improvement: The authors aim to improve the convergence rate of their estimator from $O((\log n)^{d/4}/\sqrt{n})$ to potentially $O(1/\sqrt{n})$ or even parametric rates, which would require a different proof technique.
  • Sub-Gaussian Assumption: The proof techniques rely on sub-Gaussianity. They suggest exploring if this can be relaxed to a constraint on the Euclidean norm's moments.
  • Alternative Noise Models: The approach might be extendable to other noise distributions beyond Gaussian.
  • Practical DNN Applications: Further exploration of additional ad hoc estimation setups for DNNs is suggested to potentially achieve improved estimation results.

Summary updated

Abstract

This paper studies the problem of estimating the differential entropy $h(S+Z)$, where $S$ and $Z$ are independent $d$-dimensional random variables with $Z\sim\mathcal{N}(0,σ^2 \mathrm{I}_d)$. The distribution of $S$ is unknown, but $n$ independently and identically distributed (i.i.d) samples from it are available. The question is whether having access to samples of $S$ as opposed to samples of $S+Z$ can improve estimation performance. We show that the answer is positive. More concretely, we first show that despite the regularizing effect of noise, the number of required samples still needs to scale exponentially in $d$. This result is proven via a random-coding argument that reduces the question to estimating the Shannon entropy on a $2^{O(d)}$-sized alphabet. Next, for a fixed $d$ and $n$ large enough, it is shown that a simple plugin estimator, given by the differential entropy of the empirical distribution from $S$ convolved with the Gaussian density, achieves the loss of $O\left((\log n)^{d/4}/\sqrt{n}\right)$. Note that the plugin estimator amounts here to the differential entropy of a $d$-dimensional Gaussian mixture, for which we propose an efficient Monte Carlo computation algorithm. At the same time, estimating $h(S+Z)$ via popular differential entropy estimators (based on kernel density estimation (KDE) or k nearest neighbors (kNN) techniques) applied to samples from $S+Z$ would only attain much slower rates of order $O(n^{-1/d})$, despite the smoothness of $P_{S+Z}$. As an application, which was in fact our original motivation for the problem, we estimate information flows in deep neural networks and discuss Tishby's Information Bottleneck and the compression conjecture, among others.
BibTeX
@misc{goldfeld2018estimating,
  author = {Ziv Goldfeld and Kristjan Greenewald and Yury Polyanskiy},
  title = {{Estimating Differential Entropy under Gaussian Convolutions}},
  year = {2018},
  eprint = {1810.11589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.11589},
}
Figure