Density Estimation in Infinite Dimensional Exponential Families

Bharath K. Sriperumbudur, Kenji Fukumizu, Arthur Gretton, Aapo Hyvärinen, Revant Kumar · DOI

Abstract

This paper addresses the challenge of estimating probability densities within infinite-dimensional exponential families. While these families are rich enough to approximate a wide class of densities in Kullback-Leibler (KL) divergence, standard Maximum Likelihood Estimation (MLE) is computationally intractable due to the difficulty of calculating the log-partition function. We propose an alternative estimator based on minimizing the Fisher divergence (Score Matching), which transforms the estimation problem into a solvable finite-dimensional linear system. We establish consistency and provide convergence rates for both well-specified and misspecified cases. Numerical simulations demonstrate that our approach consistently outperforms traditional Kernel Density Estimation (KDE), particularly as the dimensionality of the data increases.

Introduction

In statistics and machine learning, estimating an unknown probability density $p_0$ from a set of observations is a foundational task. Exponential families are frequently employed for this purpose due to their desirable mathematical properties. However, finite-dimensional parametric families are often too restrictive to capture the complexity of real-world data.

To overcome this, researchers have turned to infinite-dimensional exponential families, where the parameters are functions residing in a Reproducing Kernel Hilbert Space (RKHS). While these models are incredibly flexible and "dense"—meaning they can approximate almost any density—they introduce a significant computational hurdle: the normalization constant, or log-partition function. In an infinite-dimensional setting, calculating this constant requires performing complex numerical integration over the entire domain at every optimization step, rendering standard MLE practically unusable.

Methodology: Bypassing the Integration Nightmare

The core contribution of this work is the shift from minimizing KL divergence (as in MLE) to minimizing the Fisher divergence, $J(p_0 \Vert p)$. This approach, often referred to as "Score Matching," focuses on the gradient of the log-density (the score function) rather than the density itself.

Because the normalization constant does not depend on the input $x$, its gradient is zero. Consequently, the intractable integral simply vanishes from the objective function. The authors demonstrate that for an RKHS-based exponential family, minimizing the Fisher divergence with Tikhonov regularization reduces to solving a simple finite-dimensional linear system. This makes the estimation of complex, infinite-dimensional models computationally feasible.

Theoretical Guarantees

The paper provides a rigorous theoretical foundation for the proposed estimator, $\hat{p}_n$:

  1. Consistency: The estimator is shown to be consistent, meaning it converges to the true density as the sample size $n$ increases. This holds even in the misspecified case where $p_0$ does not belong to the chosen exponential family $\mathcal{P}$.
  2. Convergence Rates: Under the smoothness assumption that $\log p_0 \in \mathcal{R}(C^\beta)$ (the image of a specific Hilbert-Schmidt operator), the authors derive a convergence rate of $n^{-\min\left\{\frac{2}{3},\frac{2\beta+1}{2\beta+2}\right\}}$ in Fisher divergence.
  3. Saturation: The analysis reveals a saturation effect where increasing the smoothness of the true density beyond a certain point does not further improve the convergence rate without adjusting the regularization strategy.

Experimental Results

The authors evaluated the score-matching estimator against the standard non-parametric baseline, Kernel Density Estimation (KDE), using synthetic datasets including Multivariate Normal distributions and Mixtures of Gaussians.

Key findings from the simulations include:

  • Dimensionality Advantage: The proposed method scales significantly better than KDE. While KDE often suffers from the "curse of dimensionality," the advantage of the score-matching estimator actually grows as the dimension $d$ increases (tested up to $d=20$).
  • Accuracy: The estimator consistently achieved lower error and higher correlation with the true density compared to KDE across various test cases.
  • Practicality: The method is easily implemented by solving a linear system of size $(nd \times nd)$, where $n$ is the number of samples and $d$ is the dimension.

Limitations and Future Directions

While the proposed method offers a major step forward, some challenges remain:

  • Computational Complexity: Solving the linear system requires $O(n^3 d^3)$ operations. While more efficient than numerical integration, this still poses a challenge for very large datasets, suggesting a need for future work in Nyström approximations or other sparsification techniques.
  • Normalization: The resulting estimate is an unnormalized density. If an application requires exact probability values (rather than just the shape or modes of the distribution), a final integration step is still necessary.
  • Hyperparameter Tuning: The performance relies on the selection of the regularization parameter $\lambda$ and the kernel bandwidth. While cross-validation is effective, more automated or adaptive selection methods would be beneficial.

Summary updated

BibTeX
@article{sriperumbudur2017density,
  author = {Bharath K. Sriperumbudur and Kenji Fukumizu and Arthur Gretton and Aapo Hyvärinen and Revant Kumar},
  title = {{Density Estimation in Infinite Dimensional Exponential Families}},
  journal = {J. Mach. Learn. Res.},
  year = {2017},
  url = {https://openreview.net/forum?id=HhzwpUrFoxc},
}
Figure