The nonparametric Fisher geometry and the chi-square process density prior

Andrew J. Holbrook, Shiwei Lan, Jeffrey Streets, Babak ShahbabaarXiv 2017 · DOI

Abstract

In statistics, the Fisher information metric induces a Riemannian geometry on parametric families of probability density functions. This paper explores the nonparametric generalization of this geometry, demonstrating that the space of square-root densities is equivalent to an infinite-dimensional sphere. By leveraging this geometric insight, we introduce the $\chi^2$-process density prior, a Bayesian nonparametric model that utilizes a restricted Gaussian process on the square-root density. This approach simplifies the constraints of non-negativity and integration, leading to a computationally efficient model that scales linearly with the number of observations. We further establish the theoretical link between spherical Hamiltonian Monte Carlo (HMC) and standard Riemannian HMC in the infinite-dimensional limit.

Introduction

Density estimation is a fundamental task in statistics, yet Bayesian nonparametric approaches often struggle with the dual constraints of ensuring that a density is non-negative and integrates to unity. Traditional methods, such as Gaussian Process Density Samplers (GPDS), frequently rely on complex transformations or expensive sampling schemes that scale cubically ($O(N^3)$) with the number of data points.

This research provides a bridge between information geometry and practical Bayesian inference. By shifting the focus from the density function $p(x)$ to the square-root density $q(x) = \sqrt{p(x)}$, the authors transform the complex, constrained space of probability distributions into the familiar geometry of an infinite-dimensional sphere. This geometric simplification allows for the development of the $\chi^2$-process density prior, a model that is both mathematically elegant and computationally performant.

The Nonparametric Fisher Geometry

The Fisher information metric is the natural way to measure distances between probability distributions. In the nonparametric setting, where the "parameter" is the density function itself, this geometry becomes difficult to navigate. However, the authors show that the nonparametric Fisher geometry is isometric to a subset of the unit sphere in $L^2$ space.

Because the integral of a density $p(x)$ must equal 1, the square-root density $q(x)$ must satisfy: $$\int q(x)^2 dx = 1$$ This is exactly the definition of a unit sphere in Hilbert space. Working on the sphere is advantageous because the shortest paths (geodesics) are simple great-circle arcs, making the geometry much more tractable than the raw space of densities.

The $\chi^2$-Process Density Prior

To perform Bayesian inference, the authors place a Gaussian Process (GP) prior on the square-root density $q(x)$, restricted to the unit sphere. Squaring this GP results in a $\chi^2$-process.

Computational Implementation

To make the model computationally viable, the authors employ the Karhunen-Loève (K-L) expansion. They represent the square-root density as a linear combination of orthonormal basis functions: $$q(x) = \sum_{i=1}^{I} w_i \phi_i(x)$$ where $\phi_i$ are the eigenfunctions of the Laplacian operator. This reduces the problem of estimating a function to estimating a finite set of coefficients $\mathbf{w}$ that lie on a unit sphere.

Spherical Hamiltonian Monte Carlo

Inference is performed using Spherical Hamiltonian Monte Carlo (HMC). Unlike standard HMC, which operates in Euclidean space, Spherical HMC respects the spherical constraint by moving along geodesics. The authors prove a significant theoretical result: in the infinite-dimensional limit, performing Spherical HMC on these coefficients is mathematically equivalent to performing Riemannian HMC using the Fisher information metric.

Crucially, this basis-function approach allows the model to scale linearly ($O(N)$) with the number of data points, a massive improvement over the $O(N^3)$ scaling of traditional GP methods.

Experimental Results

The model was tested across several scenarios to evaluate its flexibility and speed:

  • Simulated Data: The model successfully recovered various Beta distributions (including U-shaped and peaked densities) and complex multimodal mixtures of truncated Gaussians.
  • British Coal Mine Disasters (1D): Using a dataset of 191 disaster dates, the model accurately captured the historical decline in disaster frequency while providing robust uncertainty estimates.
  • Hutchings’ Bramble Canes (2D): In a spatial density estimation task involving 823 data points, the model identified high-density clusters and low-density gaps with high fidelity.

Across these tests, the $\chi^2$-process density prior demonstrated significant speed advantages, often running orders of magnitude faster than the Gaussian Process Density Sampler (GPDS).

Discussion and Limitations

While the $\chi^2$-process prior offers substantial benefits, it requires the user to specify the number of basis functions ($I$). A value that is too low results in over-smoothing, while a value that is too high may lead to overfitting or increased computational load. Future research may explore placing a prior on $I$ itself using techniques like reversible jump MCMC. Additionally, while Laplacian eigenfunctions are effective for unit intervals and squares, different domains may require specialized basis functions.

Conclusion

By reframing nonparametric density estimation as a problem of spherical geometry, the authors have developed a method that naturally satisfies statistical constraints while achieving linear scaling. The $\chi^2$-process density prior represents a powerful fusion of information geometry and Bayesian nonparametrics, offering a scalable solution for complex density estimation tasks.

Summary updated

BibTeX
@misc{holbrook2017nonparametric,
  author = {Andrew J. Holbrook and Shiwei Lan and Jeffrey Streets and Babak Shahbaba},
  title = {{The nonparametric Fisher geometry and the chi-square process density prior}},
  year = {2017},
  eprint = {1707.03117},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.03117},
}
Figure