Abstract
Sampling from the space of $n \times n$ positive semi-definite (PSD) matrices with a fixed rank $p$ is a fundamental challenge in computational statistics and machine learning. This paper introduces two novel Riemannian Langevin Monte Carlo (RLMC) schemes designed to sample from Gibbs distributions on the manifold $\mathcal{S}_+^{n,p}$. By incorporating intrinsic geometric "curvature correction" terms, these algorithms provide a robust, easy-to-implement alternative to standard Euclidean methods, effectively bridging the gap between classical low-rank optimization and stochastic sampling.
Introduction
The space of $n \times n$ symmetric positive semi-definite matrices with a specific rank $p$, denoted as $\mathcal{S}_+^{n,p}$, is not a flat Euclidean space but a curved Riemannian manifold. This geometric structure poses significant difficulties for traditional sampling techniques. Standard Langevin dynamics, which rely on gradient steps and additive noise, often "drift" off the manifold or produce biased samples because they fail to account for the underlying curvature. This problem is particularly acute in fields such as semidefinite programming (SDP), quantum information, and kernel-based machine learning, where researchers must sample from Gibbs distributions that concentrate around the global minima of complex energy functions.
Methodology
The authors propose two distinct sampling schemes based on the Riemannian Langevin Equation (RLE). The primary innovation is the derivation of the Itô-Stratonovich correction term, which accounts for the deterministic "push" exerted by the manifold's curvature during random movement.
1. Scheme E: Embedded Geometry
This scheme treats $\mathcal{S}_+^{n,p}$ as a submanifold embedded within the larger Euclidean space of matrices. To maintain the rank constraint, the algorithm utilizes a projection step. Crucially, it incorporates a correction term based on the mean curvature of the embedding. This term acts as a repulsive force that prevents iterates from approaching the manifold's boundary, thereby ensuring the samples remain rank-consistent and unbiased.
2. Scheme BW: Bures-Wasserstein / Quotient Geometry
Scheme BW leverages the low-rank factorization $X = YY^T$, where $Y$ is an $n \times p$ matrix. This approach is the stochastic counterpart to the Burer-Monteiro method used in optimization. The correction term in this scheme relates to the volume of the "group orbit"—the set of all $Y$ matrices that represent the same $X$. This term functions as a form of entropy, correctly weighting the distribution to account for the redundancy in the factorized representation.
Both schemes utilize a simple Euler-Maruyama discretization, ensuring that they are as computationally accessible as standard gradient descent methods.
Numerical Validation and Results
As a theoretical advancement, the schemes were validated using three synthetic energy functions where analytical ground truths are available:
- Example I: A quadratic energy function based on the Frobenius norm.
- Example II: An energy function derived from von Neumann entropy ($\text{Tr}(X \log X)$).
- Example III: A distance-based quadratic function ($||X - A||^2$).
Key Findings
- High Precision: Using the Kolmogorov-Smirnov (KS) test, the authors demonstrated that the samples generated are nearly indistinguishable from the theoretical distributions. For instance, Scheme BW achieved a KS statistic as low as 0.0023.
- Convergence and Efficiency: The Bures-Wasserstein (BW) metric proved particularly efficient. By operating on the factorized form $Y$, it significantly reduces computational overhead for large $n$ and small $p$. Numerical tests showed that Scheme BW reaches equilibrium faster than the Embedded scheme.
- Robust Integration: The MCMC integration error followed the theoretical $O(1/\sqrt{m})$ decay rate, confirming the robustness of these schemes for numerical integration on curved manifolds.
Discussion and Insights
The research highlights that curvature in Riemannian manifolds is not merely a mathematical abstraction but a physical force that must be accounted for in stochastic dynamics. The "correction terms" derived in this paper are essential for maintaining the integrity of the target distribution. Furthermore, the paper establishes a unified framework for optimization and sampling: as the "temperature" of the system approaches zero, these RLMC schemes reduce to well-known Riemannian gradient descent algorithms. This allows researchers to not only find optimal matrices but also to explore the uncertainty and landscape surrounding those optima.
Limitations and Future Directions
While effective, the performance of these schemes depends on the manual tuning of the step size ($\Delta t$) and inverse temperature ($\beta$). Additionally, while Scheme BW is efficient for low-rank matrices, Scheme E may face bottlenecks due to the computational cost of Singular Value Decompositions (SVD) as the rank $p$ approaches $n$. Future work may involve extending these methods to complex Hermitian matrices, which would require a distinct geometric treatment to accommodate the complexities of quantum mechanical states.
Summary updated