Papers
Topics
Authors
Recent
Search
2000 character limit reached

Von Mises Derivatives in vMF Models

Updated 23 June 2026
  • Von Mises derivatives are the first and second derivatives of the mean-parameter log-normalizer, crucial for deriving the variance function in vMF models.
  • They are computed via ODE integration, Bessel function inversion, and rational approximations, achieving absolute errors as low as 10⁻⁴ in high-dimensional settings.
  • These derivatives are central to applications in maximum-likelihood estimation, mixture modeling, and clustering in high-dimensional directional statistics.

The von Mises derivatives are the first and second derivatives of the mean-parameter log-normalizer for the DD-dimensional von Mises-Fisher (vMF) distribution, expressed in terms of the mean parameter. These derivatives, denoted as ψ(r)\psi'(r) and ψ(r)\psi''(r) for r=μr = \|\mu\|, play a central role in forming the variance function and are essential for efficient likelihood and natural parameter computations in the mean parametrization of vMF models (Nonnenmacher et al., 2024). Their characterization is tightly linked to the underlying geometry and Bessel-function structure of the vMF family.

1. Mean-Parameter Form and Log-Normalizer

The vMF distribution on the unit sphere SD1S^{D-1}, with base measure ν\nu, possesses both a natural parameterization (η\eta) and a mean parameterization (μ\mu), connected via the gradient of the log-normalizer. The mean parameter satisfies μ1\|\mu\|\leq 1 and admits a radial log-normalizer, Ψ(μ)=ψ(r)\Psi(\mu)=\psi(r), where ψ(r)\psi'(r)0. The density in mean parameters is

ψ(r)\psi'(r)1

with ψ(r)\psi'(r)2 as the Legendre dual of the natural-parameter log-normalizer.

2. Characterization Through a Second-Order ODE

A fundamental property is that the trace of the covariance of ψ(r)\psi'(r)3 under the vMF is ψ(r)\psi'(r)4 (enforced by the hyperspherical support). The radial symmetry and exponential family structure lead to the following explicit scalar ODE for ψ(r)\psi'(r)5:

ψ(r)\psi'(r)6

Boundary conditions are ψ(r)\psi'(r)7 given by the dual at zero, and ψ(r)\psi'(r)8.

3. Exact Solution via Modified Bessel Functions

An exact closed-form in terms of Bessel functions emerges by introducing

ψ(r)\psi'(r)9

with ψ(r)\psi''(r)0 the modified Bessel function of the first kind. The first derivative, ψ(r)\psi''(r)1, is monotonic and invertible, yielding ψ(r)\psi''(r)2 such that ψ(r)\psi''(r)3.

The log-normalizer and its derivatives are then

ψ(r)\psi''(r)4

ψ(r)\psi''(r)5

The second derivative is

ψ(r)\psi''(r)6

This formula coincides with the ODE's right-hand side.

4. Von Mises Derivative Formulas and Variance Function

The first and second von Mises derivatives, essential for variance calculations and parameter estimation, explicitly take the form:

  • First: ψ(r)\psi''(r)7.
  • Second: ψ(r)\psi''(r)8, with ψ(r)\psi''(r)9.

The mean-parameter variance function, or covariance of r=μr = \|\mu\|0 given r=μr = \|\mu\|1, is:

r=μr = \|\mu\|2

The trace matches r=μr = \|\mu\|3, as enforced by the geometry.

5. Approximations for High-Dimensional and Efficient Computation

For large r=μr = \|\mu\|4 or speed-critical scenarios, closed-form approximations to the von Mises derivatives improve computational tractability:

  • Banerjee et al. (2005) approximation:

r=μr = \|\mu\|5

This yields absolute error r=μr = \|\mu\|6 for r=μr = \|\mu\|7.

  • Refined rational approximation (r=μr = \|\mu\|8):

r=μr = \|\mu\|9

SD1S^{D-1}0

with SD1S^{D-1}1, SD1S^{D-1}2. This offers absolute error SD1S^{D-1}3 for SD1S^{D-1}4.

Empirically, these rational approximations are highly accurate except near SD1S^{D-1}5.

6. Implementation and Computational Methods

Approaches for evaluating von Mises derivatives include:

  • Direct ODE integration: Numerically solves the second-order ODE for SD1S^{D-1}6 from SD1S^{D-1}7 (SD1S^{D-1}8), using standard solvers.
  • Bessel-inversion: Solves SD1S^{D-1}9 for ν\nu0 by Newton–Raphson, leveraging continued-fraction expansions for the Bessel function ratio. Typically, 2–3 iterations suffice with ν\nu1–ν\nu2 flops per step.
  • Tabulation/interpolation: Precompute ν\nu3 and derivatives on a grid, enabling rapid lookup.
  • Elementary rational approximations: Enable evaluation using only basic arithmetic operations (10–30 flops per call), with no recourse to special functions.

These allow efficient computation for large-scale inference in vMF models.

7. Applications and Significance

Von Mises derivatives facilitate key operations in maximum-likelihood estimation, mixture modeling, and Bregman clustering with vMF distributions. Accurate and efficient computation of ν\nu4 and ν\nu5 supports the use of mean-parameterizations in high-dimensional directional statistics, topic modeling, and signal processing. The variance function's explicit dependence on von Mises derivatives also provides insight into the geometry of hyperspherical exponential families and the practical implementation of inference algorithms (Nonnenmacher et al., 2024).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Von Mises Derivatives.