Kernels on Non-compact Symmetric Spaces¶
Warning
You can get by fine without reading this page for almost all use cases, just use the standard MaternGeometricKernel
, following the example notebooks on hyperbolic spaces and on the space of symmetric positive definite matrices (SPD).
This is optional material meant to explain the basic theory and based mainly on Azangulov et al. [2023].
Theory¶
The theory for non-compact symmetric spaces—like hyperbolic spaces or manifolds of symmetric positive definite matrices (endowed with the affine-invariant metric)—is quite different from the theory for discrete spectrum spaces such as compact manifolds, graphs or meshes. For the latter, kernels are given by a finite sum or an infinite series and are approximated using truncation. For the former, kernels are given by integrals and are approximated using Monte Carlo.
More specifically, for non-compact symmetric spaces, there exists an analog of the random Fourier features technique of Rahimi and Recht [2007]. In the Euclidean case, closed form expressions for kernels are available and random Fourier features are only used to speed up computations. No closed form expressions for kernels are usually available on other non-compact symmetric spaces. Because of that, random Fourier features are the basic means of computing the kernels in this case.
A complete mathematical treatise can be found in Azangulov et al. [2023]. Here we briefly present the main ideas. Recall that the usual Euclidean random Fourier features boil down to
On a non-compact symmetric space, the following holds instead:
\(r\) is called the rank of the symmetric space,
\(\pi^{(\lambda)}\) are called zonal spherical functions,
\(c(\lambda)\) is called the Harish-Chandra’s \(c\) function.
Both \(r\) and \(c\) can be computed exactly using algebraic-only considerations. On the other hand, \(\pi^{(\lambda_l)}(x, x')\) are integrals that require numerical approximation. There are multiple ways to do this. The most important one is as follows:
\(\mu_H\) is some measure which is usually easy to sample from,
\(i\) is the imaginary unit,
\(a(\cdot, \cdot)\) is a function that can be computed exactly using algebraic-only considerations.
The right-hand side here is an inner product. Same is true for the result of substituting this approximation of \(\pi^{(\lambda_l)}(x, x')\) into the approximation of \(k(x, x')\) above. More specifically, defining
Note
Typically, in practice we set \(P = 1\). This is akin to how it is commonly done for the random phase Fourier feature approximation in the Euclidean case, as in Equation (2) of Sutherland and Schneider [2015].
For non-compact symmetric spaces, MaternGeometricKernel
is an alias to MaternFeatureMapKernel
.
The latter is a kernel defined in terms of feature map just like in the equation above.
The feature map is exactly the \(\phi(\cdot)\) above, implemented as RejectionSamplingFeatureMapHyperbolic
for hyperbolic spaces and as RejectionSamplingFeatureMapSPD
for manifolds of symmetric positive definite matrices.