English

Relaxed Triangle Inequality for Kullback-Leibler Divergence Between Multivariate Gaussian Distributions

Machine Learning 2026-03-03 v2 Information Theory Machine Learning math.IT

Abstract

The Kullback-Leibler (KL) divergence is not a proper distance metric and does not satisfy the triangle inequality, posing theoretical challenges in certain practical applications. Existing work has demonstrated that KL divergence between multivariate Gaussian distributions follows a relaxed triangle inequality. Given any three multivariate Gaussian distributions N1,N2\mathcal{N}_1, \mathcal{N}_2, and N3\mathcal{N}_3, if KL(N1,N2)ϵ1KL(\mathcal{N}_1, \mathcal{N}_2)\leq \epsilon_1 and KL(N2,N3)ϵ2KL(\mathcal{N}_2, \mathcal{N}_3)\leq \epsilon_2, then KL(N1,N3)<3ϵ1+3ϵ2+2ϵ1ϵ2+o(ϵ1)+o(ϵ2)KL(\mathcal{N}_1, \mathcal{N}_3)< 3\epsilon_1+3\epsilon_2+2\sqrt{\epsilon_1\epsilon_2}+o(\epsilon_1)+o(\epsilon_2). However, the supremum of KL(N1,N3)KL(\mathcal{N}_1, \mathcal{N}_3) is still unknown. In this paper, we investigate the relaxed triangle inequality for the KL divergence between multivariate Gaussian distributions and give the supremum of KL(N1,N3)KL(\mathcal{N}_1, \mathcal{N}_3) as well as the conditions when the supremum can be attained. When ϵ1\epsilon_1 and ϵ2\epsilon_2 are small, the supremum is ϵ1+ϵ2+2ϵ1ϵ2+o(ϵ1)+o(ϵ2)\epsilon_1+\epsilon_2+2\sqrt{\epsilon_1\epsilon_2}+o(\epsilon_1)+o(\epsilon_2). Finally, we demonstrate several applications of our results in out-of-distribution detection with flow-based generative models and safe reinforcement learning.

Cite

@article{arxiv.2602.02577,
  title  = {Relaxed Triangle Inequality for Kullback-Leibler Divergence Between Multivariate Gaussian Distributions},
  author = {Shiji Xiao and Yufeng Zhang and Chubo Liu and Yan Ding and Keqin Li and Kenli Li},
  journal= {arXiv preprint arXiv:2602.02577},
  year   = {2026}
}
R2 v1 2026-07-01T09:32:41.486Z