Geodesic Lagrangian Monte Carlo over the space of positive definite\n matrices: with application to Bayesian spectral density estimation

Andrew J. Holbrook, Shiwei Lan, Alexander Vandenberg‐Rodes, Babak Shahbaba · DOI

Introduction

Positive definite (PD) matrices are fundamental to multivariate statistics, serving as the essential building blocks for covariance structures and spectral densities. Despite their ubiquity, Bayesian inference over the space of PD matrices remains computationally and theoretically challenging. Traditional methods often rely on the Inverse-Wishart distribution due to its conjugacy, but this convenience comes at a significant cost: the Inverse-Wishart lacks flexibility and can impose unintended structures on the resulting estimates, particularly regarding eigenvalue spread.

The Geometric Challenge

The primary difficulty in sampling PD matrices stems from the fact that their space is a "manifold with a boundary." Standard Markov Chain Monte Carlo (MCMC) samplers, such as traditional Hamiltonian Monte Carlo (HMC), move along straight Euclidean lines. In the context of PD matrices, these straight-line trajectories frequently "fall off" the manifold into invalid territory—proposing matrices that are no longer positive definite. To circumvent this, researchers typically resort to complex re-parameterizations, such as Cholesky decompositions or matrix logarithms, which can be difficult to tune and may obscure the natural geometry of the problem.

Methodology: Leveraging the Cartan Metric

This paper introduces PDHMC (Positive Definite Hamiltonian Monte Carlo), a method that treats the positive-definite requirement as an intrinsic geometric property rather than a constraint to be enforced. The authors utilize Geodesic Lagrangian Monte Carlo (gLMC), where the sampler travels along geodesics—the shortest paths on a curved surface—rather than straight lines.

Key technical components include:

  • The Cartan Metric: By adopting this century-old canonical metric from differential geometry, the space of PD matrices becomes "geodesically complete." Mathematically, this ensures that a sampler moving along a geodesic can never leave the space of PD matrices, regardless of the step size.
  • Closed-Form Geodesics: Unlike many manifold-based methods that require expensive numerical integration to solve for the path, the geodesics under the Cartan metric are available in closed-form using matrix exponentials. This makes the PDHMC algorithm computationally efficient and feasible for practical applications.
  • Algorithmic Versatility: The framework supports both symmetric (real-valued) and Hermitian (complex-valued) matrices, allowing for broad application across different statistical domains.

Prior Liberation and Spectral Density Estimation

One of the most significant advantages of PDHMC is that it "liberates" the researcher from the constraints of conjugate priors. Because the sampler can navigate the manifold effectively regardless of the target distribution's shape, it enables the use of non-conjugate priors like the complex reference prior. This prior is particularly valued for its superior "eigenvalue shrinkage" properties, which handle the spread of eigenvalues more accurately than the Inverse-Wishart distribution.

The authors apply this flexibility to Bayesian spectral density estimation. In this context, spectral density matrices must remain Hermitian and positive definite across all frequency bands. PDHMC provides a principled way to perform this estimation while maintaining the necessary matrix properties.

Experimental Validation

The authors evaluated PDHMC across three distinct scenarios:

  1. Validation against Conjugacy: As a sanity check, the sampler was tested against the Inverse-Wishart model. PDHMC produced empirical distributions that perfectly matched exact theoretical quantiles, confirming the sampler's accuracy.
  2. Simulated VAR1 Series: In 4-dimensional Vector Autoregressive simulations, the model using the reference prior (enabled by PDHMC) consistently outperformed the standard Inverse-Wishart approach, staying significantly closer to the "ground truth" spectral density.
  3. Rat Hippocampus LFP Data: The method was applied to real-world Local Field Potential (LFP) signals from a rat hippocampus. PDHMC successfully recovered spatial coherence profiles, showing that brain regions in closer physical proximity exhibited higher coherence in specific frequency bands (20-40 Hz and 40-160 Hz).

Conclusion and Future Directions

PDHMC offers a robust, geometrically principled framework for Bayesian inference on positive definite matrices. By moving along the intrinsic curves of the manifold, the algorithm avoids the pitfalls of Euclidean samplers and opens the door to more sophisticated, non-conjugate modeling. Future work will focus on scaling the method to higher-dimensional matrices using automated tuning parameters and exploring the deeper intersections between Information Geometry and Riemannian Symmetric Spaces.

Summary updated

BibTeX
@article{holbrook2017geodesic,
  author = {Andrew J. Holbrook and Shiwei Lan and Alexander Vandenberg‐Rodes and Babak Shahbaba},
  title = {{Geodesic Lagrangian Monte Carlo over the space of positive definite\textbackslash\{\}n matrices: with application to Bayesian spectral density estimation}},
  journal = {Journal of Statistical Computation and Simulation},
  year = {2017},
  doi = {10.1080/00949655.2017.1416470},
}

Loading related content...

Figure