Skip to main content
QUICK REVIEW

[论文解读] On the Properties of Kullback-Leibler Divergence Between Multivariate Gaussian Distributions

Yufeng Zhang, Wanwei Liu|arXiv (Cornell University)|Feb 10, 2021
Statistical Mechanics and EntropyPhysics and Astronomy被引用 20
一句话总结

本文在对两个多元正态分布相对于标准正态分布的KL散度施加约束的条件下,推导出其之间KL散度的维度无关上界。通过特征值分解放松约束,并应用优化引理,建立了与KL散度参数呈线性关系的紧致上界,从而在高维设置下实现稳健分析。

ABSTRACT

Kullback-Leibler (KL) divergence is one of the most important divergence measures between probability distributions. In this paper, we prove several properties of KL divergence between multivariate Gaussian distributions. First, for any two $n$-dimensional Gaussian distributions $\mathcal{N}_1$ and $\mathcal{N}_2$, we give the supremum of $KL(\mathcal{N}_1||\mathcal{N}_2)$ when $KL(\mathcal{N}_2||\mathcal{N}_1)\leq \varepsilon\ (\varepsilon>0)$. For small $\varepsilon$, we show that the supremum is $\varepsilon + 2\varepsilon^{1.5} + O(\varepsilon^2)$. This quantifies the approximate symmetry of small KL divergence between Gaussians. We also find the infimum of $KL(\mathcal{N}_1||\mathcal{N}_2)$ when $KL(\mathcal{N}_2||\mathcal{N}_1)\geq M\ (M>0)$. We give the conditions when the supremum and infimum can be attained. Second, for any three $n$-dimensional Gaussians $\mathcal{N}_1$, $\mathcal{N}_2$, and $\mathcal{N}_3$, we find an upper bound of $KL(\mathcal{N}_1||\mathcal{N}_3)$ if $KL(\mathcal{N}_1||\mathcal{N}_2)\leq \varepsilon_1$ and $KL(\mathcal{N}_2||\mathcal{N}_3)\leq \varepsilon_2$ for $\varepsilon_1,\varepsilon_2\ge 0$. For small $\varepsilon_1$ and $\varepsilon_2$, we show the upper bound is $3\varepsilon_1+3\varepsilon_2+2\sqrt{\varepsilon_1\varepsilon_2}+o(\varepsilon_1)+o(\varepsilon_2)$. This reveals that KL divergence between Gaussians follows a relaxed triangle inequality. Importantly, all the bounds in the theorems presented in this paper are independent of the dimension $n$. Finally, We discuss the applications of our theorems in explaining counterintuitive phenomenon of flow-based model, deriving deep anomaly detection algorithm, and extending one-step robustness guarantee to multiple steps in safe reinforcement learning.

研究动机与目标

  • 推导两个多元正态分布之间KL散度的、与维度n无关的上界。
  • 处理每个正态分布相对于标准正态分布的KL散度受限于ε₁和ε₂的情况。
  • 通过放松约束、利用特征值排序与凸性性质,简化复杂的优化问题。
  • 通过变换变量与极端分布论证,建立紧致且可解析处理的上界。

提出的方法

  • 通过使用ε₁,i和ε₂,i的参数形式,将原始KL约束中的迹与对数行列式等式约束替换为等价形式。
  • 对协方差矩阵进行特征值分解,并将特征值按降序排列,以应用极大化技术。
  • 应用引理 LABEL:thm:sup_fxy,在放松约束下对λ₁,[i]λ′₂,[i] − log(λ₁,[i]λ′₂,[i]) 的和进行上界估计。
  • 通过迭代应用引理 LABEL:thm:kl_triangle_fw2w2_extreme_distribute_e_max,逐步合并变量并降低维度。
  • 将问题转化为函数f(w₂(ε₁,[i])w₂(ε₂,[i])),并利用极端分布性质对和进行上界估计。
  • 最终推导出上界为f(w₂(E₁,n)w₂(E₂,n)) + n − 1,其中E₁,n和E₂,n分别为ε₁和ε₂的总累积值。

实验结果

研究问题

  • RQ1在已知两个多元正态分布相对于标准正态分布的KL散度的情况下,它们之间KL散度的最紧致上界是什么?
  • RQ2能否通过约束松弛与优化,使该上界与维度n无关?
  • RQ3在有界散度约束下,协方差矩阵的特征值结构如何影响KL散度?
  • RQ4特征值的排序在实现最紧致上界中起到什么作用?
  • RQ5能否利用极端分布论证与凸优化方法,对涉及特征值的项之和进行上界估计?

主要发现

  • 两个多元正态分布之间KL散度的上界被推导为f(w₂(E₁,n)w₂(E₂,n)) + n − 1,其中E₁,n和E₂,n分别为ε₁和ε₂的总值。
  • 该上界在函数形式上与维度n无关,仅依赖于ε₁和ε₂的总值。
  • 该上界随ε₁和ε₂的增加而增加,证实了相对于标准正态分布的散度越大,两个正态分布之间的KL散度也越大。
  • 将约束从不等式放松为等式(例如,∑(λ₁,i − log λ₁,i) = n + 2ε₁)不会影响上界估计的紧致性。
  • 通过使用有序特征值与极端分布引理,可将n维问题简化为一个主导项加一个常数偏移。
  • 最终上界是解析紧致的,并通过凸性与极大化原理,迭代合并特征值对推导得出。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。