Spherical counterpart of Gaussian kernel
Heat kernel on high-dimensional spheres
Introduction
Normal distribution may be the most common and important continuous distribution. Gaussian radial basis kernel (RBF) is also widely applied in various kernel methods such as SVM and, kernel PCA. Gaussian kernel is essentially the same as normal density up to a scaling factor such that self-similarity is one.
Cosine similarity is often employed to measure overlaps between high-dimensional feature vectors where vectors in are normalized by their positive -norms. In this case, the feature or embedding vectors are identified as points on a unit .
Generalization of Gaussian kernel
If the feature space is a high-dimensional sphere, what is the equivalent of Gaussian RBF kernel?
von Mises-Fisher
The von Mises-Fisher distribution is directly related to normal distribution by restricting the density to a unit hypersphere. The corresponding kernel is where is the precision parameter. If we rescale the kernel such that self-similarity is one, then we have
which is Gaussian RBF kernel in disguise with Euclidean distance as the chordal length .
Geodesic Gaussian
If we replace the Euclidean distance squared by geodesic distance squared, we have a measure of similarity . However, the symmetric binary function is not positive definite which can be proved using randomly generated examples. Thus, the geodesic Gaussian function is not a reproducing kernel. Hence, it cannot be applied to any of the kernel methods based on the assumption of reproducing kernel Hilbert space (RKHS).
Heat Kernel
Euclidean heat kernel
Normal distribution is the Green's function of heat (diffusion) equation in Euclidean space. If we assume the diffusion constant is isotropic and equals one, then we get a one-parameter family of kernels parameterized by diffusion time ,
Spherical heat kernel
The Laplacian operator in Euclidean space may be interpreted as momentum squared or kinetic energy. The spherical Laplacian operator must be the kinetic energy of a particle on a hypersphere and the kinetic energy is quantum mechanical angular momentum squared. For more details, please refer to Exact Heat Kernel on a Hypersphere and Its Applications in Kernel SVM. The heat kernel on takes the exact expansion
where is area of and are Gegenbauer polynomials.
For very large time, the heat must be uniform on the sphere. It is easy to verify that when the heat kernel reduces to uniform distribution .
The kernel was obtained through eigenfunction expansion with positive eigenvalues. Thus, it is not only positive definite but also a Mercer kernel.
If we rescale the kernel such that self-similarity is unity, we have
Reduction to Euclidean heat kernel within a small vicinity
When , the hypersphere is locally homeomorphic to and the physics of heat diffusion should reduce to that of Euclidean space as well. Therefore, we need to show that the exact hyperspherical heat kernel reduces to Euclidean heat kernel for .
First, let then
Gegenbauer polynomials can be expressed using hypergeometric functions
Keep only first order terms, and letand
The heat kernel becomes
Set and . In geodesic spherical coordinates, normalization of the density requires
which is a nonlinear differential equation for . Let , then we have the equality
which gives and or .
Thus, for small geodesic distance, we have
Hence, we have shown that the spherical heat kernel is indeed an extension of Euclidean heat kernel to the whole hypersphere.
Last updated
Was this helpful?