The Jacobian and Hessian of the Kullback-Leibler Divergence between Multivariate Gaussian Distributions (Technical Report)

📅 2025-06-30
📈 Citations: 0
Influential: 0
📄 PDF

career value

197K/year
🤖 AI Summary
This paper addresses the analytical computation of first- and second-order derivatives—specifically, the Jacobian and Hessian matrices—of the Kullback–Leibler (KL) divergence between multivariate Gaussian distributions with respect to their mean vectors and symmetric positive-definite covariance matrices. Leveraging matrix differential calculus, we unify the Magnus differential framework with Minka’s technique to derive, for the first time, closed-form expressions for all first- and second-order derivatives of the KL divergence with respect to both parameters. The derivation is mathematically rigorous, fully transparent, and pedagogically interpretable. The resulting formulae substantially enhance the computability and interpretability of gradient and curvature information in variational inference, information geometry, and probabilistic model optimization. By providing exact, compact second-order derivatives, this work furnishes a critical mathematical foundation for developing efficient, curvature-aware optimization algorithms in statistical machine learning.

Technology Category

Application Category

📝 Abstract
This document shows how to obtain the Jacobian and Hessian matrices of the Kullback-Leibler divergence between two multivariate Gaussian distributions, using the first and second-order differentials. The presented derivations are based on the theory presented by cite{magnus99}. I've also got great inspiration from some of the derivations in cite{minka}. Since I pretend to be at most didactic, the document is split into a summary of results and detailed derivations on each of the elements involved, with specific references to the tricks used in the derivations, and to many of the underlying concepts.
Problem

Research questions and friction points this paper is trying to address.

Compute Jacobian of KL divergence for Gaussians
Derive Hessian of KL divergence for Gaussians
Explain differential methods for matrix calculus
Innovation

Methods, ideas, or system contributions that make the work stand out.

Jacobian and Hessian of KL divergence
First and second-order differentials
Multivariate Gaussian distributions
🔎 Similar Papers
No similar papers found.