[Paper Review] A Note on the Kullback-Leibler Divergence for the von Mises-Fisher distribution
This paper derives the Kullback-Leibler (KL) divergence for the von Mises-Fisher (vMF) distribution in d-dimensional hyperspheres, providing a closed-form expression for the KL divergence between two vMF distributions and a simplified form for the case of a uniform prior. The derivation leverages properties of the modified Bessel function and normalization constants, enabling efficient computation in directional statistics and Bayesian inference on spheres.
We present a derivation of the Kullback Leibler (KL)-Divergence (also known as Relative Entropy) for the von Mises Fisher (VMF) Distribution in $d$-dimensions.
Motivation & Objective
- To derive the Kullback-Leibler (KL) divergence between two von Mises-Fisher (vMF) distributions on the d-dimensional hypersphere.
- To simplify the KL divergence expression for the special case of a uniform prior over the hypersphere.
- To enable efficient computation of KL divergence in Bayesian inference and machine learning applications involving directional data.
- To provide a mathematically rigorous derivation using special functions such as the modified Bessel function and Gamma function.
Proposed method
- Derives the KL divergence using the integral definition of relative entropy between two vMF distributions with different concentration parameters and mean directions.
- Expresses the normalization constants in terms of the modified Bessel function of the first kind, $ I_{d/2-1}( heta) $, and relates them to the Gamma function.
- Applies integral identities involving the exponential integral and incomplete Gamma function to simplify logarithmic terms in the divergence expression.
- Uses the identity $ \int_{-1}^{1}(1-t)^{d}e^{t\kappa} = -2^{d-1}E_{-d}(2\kappa)e^{\kappa} $ to handle the normalization terms.
- Simplifies the expression by exploiting the fact that the expectation of $ \mathbf{x} $ under the posterior vMF is its mean direction $ \boldsymbol{\mu}_q $.
- Derives a compact form for the KL divergence when the prior is uniform (i.e., $ \kappa_p \to 0 $), resulting in $ \mathrm{KL}(q||p) = \kappa_q - \frac{d-1}{2}\log 2 $.
Experimental results
Research questions
- RQ1What is the closed-form expression for the KL divergence between two von Mises-Fisher distributions on the $ d $-dimensional hypersphere?
- RQ2How does the KL divergence simplify when the prior is uniform over the hypersphere?
- RQ3What role do the modified Bessel function and Gamma function play in the normalization and divergence computation?
- RQ4How does the KL divergence behave for small and large concentration parameters $ \kappa $ in high dimensions?
- RQ5Can the derived KL divergence be used effectively in PAC-Bayesian generalization bounds for directional data?
Key findings
- The KL divergence between two vMF distributions is derived as $ \kappa_q - \kappa_p \boldsymbol{\mu}_p^T \boldsymbol{\mu}_q + \frac{d-1}{2}\log \kappa_q + \sum_{m=1}^{(d-3)/2} \frac{\kappa_q^m}{m!} - \frac{(d-1)^2}{4}\log \kappa_p + \frac{d-3}{2} \left(\frac{d-3}{2} + 1\right) \log \left(\frac{d-3}{2}\right) - \left(\frac{d-3}{2}\right)^2 + 1 $, valid for odd $ d $.
- For the special case of a uniform prior ($ \kappa_p \to 0 $), the KL divergence simplifies to $ \kappa_q - \frac{d-1}{2}\log 2 $, significantly reducing computational complexity.
- The derivation relies on integral identities involving the exponential integral and the modified Bessel function, particularly using $ \int_{-1}^{1}(1-t)^d e^{t\kappa} dt $ to handle normalization terms.
- The term $ \sum_{m=1}^{(d-3)/2} \frac{\kappa_q^m}{m!} $ grows with $ \kappa_q $ and dimension $ d $, indicating potential numerical instability for large $ \kappa_q $.
- The dependence on $ \kappa_q $ and $ \kappa_p $ is well-behaved, and the simplified form under uniform prior is suitable for use in PAC-Bayesian generalization bounds.
- The result is valid for odd $ d $, with even $ d $ handled by adding a null dimension, preserving the structure of the derivation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.