The ICA BookICA 学习书 Yuda Bi

Part I · Chapter 2第一部分 · 第 2 章

Independence, Cumulants and Entropy独立性、累积量与熵

The probability toolkit of ICA: independence versus uncorrelatedness, characteristic functions, moments and cumulants, differential entropy, mutual information and negentropy.

ICA 的概率工具:独立与不相关、特征函数、矩与累积量、微分熵、互信息与负熵。

2.1 From uncorrelated to independent从不相关到独立

Panel (c) of Figure 1.2图 1.2 shows a mixture of two uniform sources after whitening. The two coordinates are uncorrelated and have unit variance, yet they are plainly not independent: the cloud is a tilted square, so the range of values open to one coordinate depends on the value of the other. The covariance cannot see this dependence. ICA therefore needs a notion stronger than correlation, together with quantities that detect dependence and non-Gaussianity beyond second order.

Figure 1.2图 1.2(c)是两个均匀分布源的混合经白化后的样子。两个坐标互不相关、方差为一,却显然并不独立:点云是一个倾斜的正方形,一个坐标能取哪些值,取决于另一个坐标的值。协方差看不到这种依赖。因此 ICA 需要比相关性更强的概念,也需要能在二阶之外检测依赖性与非高斯性的量。

This chapter assembles those tools. After independence and its characterization by characteristic functions, cumulants and kurtosis measure dependence and non-Gaussianity algebraically (Section 2.4第 2.4 节 and Section 2.5第 2.5 节), and entropy, mutual information and negentropy measure them information-theoretically (Section 2.6第 2.6 节 and Section 2.7第 2.7 节). The two viewpoints lead to the two families of contrast functions used later: cumulant-based contrasts (Chapter 5第 5 章 and Chapter 9第 9 章), and information-theoretic contrasts and the likelihood (Chapter 6第 6 章).

本章汇集这些工具。在讨论独立性及其特征函数刻画之后,累积量与峭度从代数角度度量依赖性与非高斯性(Section 2.4第 2.4 节与Section 2.5第 2.5 节),熵、互信息与负熵则从信息论角度度量同样的东西(Section 2.6第 2.6 节与Section 2.7第 2.7 节)。这两种视角对应后文的两类对比函数:基于累积量的对比函数(Chapter 5第 5 章与Chapter 9第 9 章),以及信息论对比函数与似然(Chapter 6第 6 章)。

Conventions. All random variables are real-valued and defined on one probability space. Whenever we write a density we assume that it exists, and we write an expectation only when it is finite. Logarithms are natural, so entropies are measured in nats. The material is standard: McCullagh (1987) treats cumulants in depth, Cover and Thomas (2006) treat information theory, and Comon (1994) and Hyvärinen, Karhunen and Oja (2001) present these tools in the context of ICA.

约定。所有随机变量都取实值,并定义在同一个概率空间上。凡写出密度,即假定密度存在;凡写出期望,即假定它有限。对数一律取自然对数,因此熵的单位是奈特(nat)。本章内容都是标准的:McCullagh(1987)深入讨论了累积量,Cover 与 Thomas(2006)系统讲述了信息论,Comon(1994)以及 Hyvärinen、Karhunen 与 Oja(2001)则在 ICA 的背景下介绍了这些工具。

2.2 Independence独立性

Two random quantities are independent when knowing the value of one tells us nothing about the other. The definition applies to scalars and vectors alike; independence between groups of variables appears later, for the Gaussian subspace in Chapter 4第 4 章 and for independent vector analysis in Chapter 15第 15 章.

两个随机量独立,是指知道其中一个的取值,对另一个不提供任何信息。这一定义对标量和向量同样适用;变量组之间的独立性在后文还会出现,例如Chapter 4第 4 章中的高斯子空间,以及Chapter 15第 15 章中的独立向量分析。

Definition 2.1 (independence)定义 2.1(独立性)

Random vectors y1,…,yk\by_1, \dots, \by_k, with yi∈Rdi\by_i \in \R^{d_i}, are (mutually) independent if P(y1∈B1,…,yk∈Bk)=∏i=1kP(yi∈Bi)P(\by_1 \in B_1, \dots, \by_k \in B_k) = \prod_{i=1}^k P(\by_i \in B_i) for all Borel sets Bi⊆RdiB_i \subseteq \R^{d_i}. The components of y=(y1,…,yn)⊤\by = (y_1, \dots, y_n)^\top are independent when the scalars y1,…,yny_1, \dots, y_n are; equivalently, the joint distribution function factorizes, Fy(u)=∏i=1nFyi(ui)F_{\by}(\bu) = \prod_{i=1}^n F_{y_i}(u_i) for all u∈Rn\bu \in \R^n.

设随机向量 yi∈Rdi\by_i \in \R^{d_i},i=1,…,ki = 1, \dots, k。若对所有 Borel 集 Bi⊆RdiB_i \subseteq \R^{d_i} 都有 P(y1∈B1,…,yk∈Bk)=∏i=1kP(yi∈Bi)P(\by_1 \in B_1, \dots, \by_k \in B_k) = \prod_{i=1}^k P(\by_i \in B_i),则称 y1,…,yk\by_1, \dots, \by_k(相互)独立。向量 y=(y1,…,yn)⊤\by = (y_1, \dots, y_n)^\top 的分量独立,是指标量 y1,…,yny_1, \dots, y_n 相互独立;等价地,联合分布函数可以分解为 Fy(u)=∏i=1nFyi(ui)F_{\by}(\bu) = \prod_{i=1}^n F_{y_i}(u_i),对所有 u∈Rn\bu \in \R^n 成立。

The following equivalent forms are used throughout the book.

下面几种等价形式在全书中反复使用。

Proposition 2.2 (equivalent forms of independence)命题 2.2(独立性的等价形式)

For random vectors y1\by_1 and y2\by_2 the following statements are equivalent:

对随机向量 y1\by_1 与 y2\by_2,以下陈述等价:

  1. y1\by_1 and y2\by_2 are independent;
  2. E[g(y1) h(y2)]=E[g(y1)] E[h(y2)]\E[g(\by_1)\,h(\by_2)] = \E[g(\by_1)]\,\E[h(\by_2)] for all bounded measurable functions gg and hh;
  3. (when (y1,y2)(\by_1, \by_2) has a density pp with marginal densities p1p_1 and p2p_2): p(u1,u2)=p1(u1) p2(u2)p(\bu_1, \bu_2) = p_1(\bu_1)\,p_2(\bu_2) for almost every (u1,u2)(\bu_1, \bu_2).
  1. y1\by_1 与 y2\by_2 独立;
  2. 对一切有界可测函数 gg 与 hh,E[g(y1) h(y2)]=E[g(y1)] E[h(y2)]\E[g(\by_1)\,h(\by_2)] = \E[g(\by_1)]\,\E[h(\by_2)];
  3. (当 (y1,y2)(\by_1, \by_2) 有密度 pp、边缘密度为 p1p_1 与 p2p_2 时):对几乎所有 (u1,u2)(\bu_1, \bu_2),p(u1,u2)=p1(u1) p2(u2)p(\bu_1, \bu_2) = p_1(\bu_1)\,p_2(\bu_2)。

Statement 2 extends to all gg and hh for which E∣g(y1)∣\E|g(\by_1)| and E∣h(y2)∣\E|h(\by_2)| are finite.

陈述 2 可以推广到一切使 E∣g(y1)∣\E|g(\by_1)| 与 E∣h(y2)∣\E|h(\by_2)| 有限的 gg 与 hh。

Proof.证明

1 ⇒ 2. For indicator functions g=1B1g = 1_{B_1} and h=1B2h = 1_{B_2}, statement 2 is the definition. By linearity it holds for simple functions (finite linear combinations of indicators); every bounded measurable function is a uniform limit of simple functions, so it holds for all bounded gg and hh. Monotone convergence, applied to the positive and negative parts, extends it to integrable functions. 2 ⇒ 1: take indicators. 3 ⇒ 1: integrate the factorized density over B1×B2B_1 \times B_2. 1 ⇒ 3: by statement 1, the function p1(u1)p2(u2)p_1(\bu_1)p_2(\bu_2) integrates over every product set B1×B2B_1 \times B_2 to P(y1∈B1) P(y2∈B2)=P(y1∈B1,y2∈B2)P(\by_1 \in B_1)\,P(\by_2 \in B_2) = P(\by_1 \in B_1, \by_2 \in B_2). A probability measure on Rd1+d2\R^{d_1 + d_2} is determined by its values on product sets, so p1p2p_1p_2 is a density of the joint distribution, and two densities of the same distribution agree almost everywhere.

1 ⇒ 2:当 g=1B1g = 1_{B_1}、h=1B2h = 1_{B_2} 为示性函数时,陈述 2 就是定义本身。由线性性,它对简单函数(示性函数的有限线性组合)成立;任何有界可测函数都是简单函数的一致极限,所以它对一切有界的 gg、hh 成立。再对正部与负部分别使用单调收敛定理,即可推广到可积函数。2 ⇒ 1:取示性函数即可。3 ⇒ 1:把分解后的密度在 B1×B2B_1 \times B_2 上积分即得定义。1 ⇒ 3:由陈述 1,函数 p1(u1)p2(u2)p_1(\bu_1)p_2(\bu_2) 在任一乘积集 B1×B2B_1 \times B_2 上的积分等于 P(y1∈B1) P(y2∈B2)=P(y1∈B1,y2∈B2)P(\by_1 \in B_1)\,P(\by_2 \in B_2) = P(\by_1 \in B_1, \by_2 \in B_2)。Rd1+d2\R^{d_1 + d_2} 上的概率测度由它在乘积集上的取值唯一确定,所以 p1p2p_1p_2 是联合分布的一个密度;而同一分布的两个密度几乎处处相等。

Statement 2 is the form that ICA algorithms use. Independence makes every function of y1\by_1 uncorrelated with every function of y2\by_2, Cov⁡(g(y1),h(y2))=0\Cov(g(\by_1), h(\by_2)) = 0, and estimating equations such as E[g(yi) yj]=0\E[g(y_i)\,y_j] = 0 in Chapter 6第 6 章 test special cases of this. Directly from the definition, functions of independent vectors are again independent: if y1\by_1 and y2\by_2 are independent, so are f1(y1)f_1(\by_1) and f2(y2)f_2(\by_2) for any measurable f1f_1 and f2f_2, because {fi(yi)∈Bi}={yi∈fi−1(Bi)}\{f_i(\by_i) \in B_i\} = \{\by_i \in f_i^{-1}(B_i)\}. The proof of Proposition 1.3命题 1.3 used this fact.

ICA 算法用的正是陈述 2。独立性使 y1\by_1 的任何函数都与 y2\by_2 的任何函数不相关,即 Cov⁡(g(y1),h(y2))=0\Cov(g(\by_1), h(\by_2)) = 0;Chapter 6第 6 章中的估计方程,例如 E[g(yi) yj]=0\E[g(y_i)\,y_j] = 0,检验的就是它的特例。由定义直接可知,独立向量的函数仍然独立:若 y1\by_1 与 y2\by_2 独立,则对任意可测函数 f1f_1、f2f_2,f1(y1)f_1(\by_1) 与 f2(y2)f_2(\by_2) 也独立,因为 {fi(yi)∈Bi}={yi∈fi−1(Bi)}\{f_i(\by_i) \in B_i\} = \{\by_i \in f_i^{-1}(B_i)\}。Proposition 1.3命题 1.3的证明就用到了这一点。

Pairwise and mutual independence两两独立与相互独立

Mutual independence of nn variables is stronger than independence of every pair. Let y1y_1 and y2y_2 be independent with P(yi=1)=P(yi=−1)=12P(y_i = 1) = P(y_i = -1) = \tfrac12, and let y3=y1y2y_3 = y_1y_2. Every pair is independent (for instance P(y1=a,y3=b)=P(y1=a,y2=ab)=14P(y_1 = a, y_3 = b) = P(y_1 = a, y_2 = ab) = \tfrac14 for all signs aa and bb), but y3y_3 is a function of (y1,y2)(y_1, y_2), and P(y1=y2=y3=1)=14≠18P(y_1 = y_2 = y_3 = 1) = \tfrac14 \ne \tfrac18. In general, then, pairwise checks are not enough. Linear mixtures of independent sources are an exception: by Comon's theorem (Theorem 4.6定理 4.6), if s\bs has independent, non-degenerate components with finite variances, at most one of them Gaussian, and P\bP is invertible, then pairwise independence of the components of y=Ps\by = \bP\bs already forces P=ΠD\bP = \bPi\bD, so the outputs are mutually independent.

nn 个变量相互独立,比它们两两独立要强。设 y1y_1 与 y2y_2 独立,P(yi=1)=P(yi=−1)=12P(y_i = 1) = P(y_i = -1) = \tfrac12,并令 y3=y1y2y_3 = y_1y_2。任意两个变量都独立(例如对任意符号 aa、bb,P(y1=a,y3=b)=P(y1=a,y2=ab)=14P(y_1 = a, y_3 = b) = P(y_1 = a, y_2 = ab) = \tfrac14),但 y3y_3 是 (y1,y2)(y_1, y_2) 的函数,且 P(y1=y2=y3=1)=14≠18P(y_1 = y_2 = y_3 = 1) = \tfrac14 \ne \tfrac18。所以一般来说,只检验两两独立是不够的。独立源的线性混合是一个例外:由 Comon 定理(Theorem 4.6定理 4.6),若 s\bs 的分量独立、非退化、方差有限且至多一个是高斯的,P\bP 可逆,那么 y=Ps\by = \bP\bs 的分量两两独立就已经迫使 P=ΠD\bP = \bPi\bD,从而输出相互独立。

Uncorrelated is weaker than independent不相关弱于独立

Random variables y1y_1 and y2y_2 with finite variances are uncorrelated if Cov⁡(y1,y2)=E[y1y2]−E[y1] E[y2]=0\Cov(y_1, y_2) = \E[y_1y_2] - \E[y_1]\,\E[y_2] = 0. Independence implies uncorrelatedness: take gg and hh to be the identity in Proposition 2.2命题 2.2. The converse fails, as the following example and Exercise 1.2习题 1.2 show.

若方差有限的随机变量 y1y_1、y2y_2 满足 Cov⁡(y1,y2)=E[y1y2]−E[y1] E[y2]=0\Cov(y_1, y_2) = \E[y_1y_2] - \E[y_1]\,\E[y_2] = 0,则称二者不相关。独立蕴含不相关:在Proposition 2.2命题 2.2中取 gg、hh 为恒等函数即可。反之则不成立,下面的例子和Exercise 1.2习题 1.2都说明了这一点。

Example 2.3 (white but dependent)例 2.3(白但不独立)

Let s1s_1 and s2s_2 be independent and uniform on [−3,3][-\sqrt3, \sqrt3], so that they have zero mean, unit variance and E[si4]=9/5\E[s_i^4] = 9/5. Rotate them by 45°: z1=(s1−s2)/2z_1 = (s_1 - s_2)/\sqrt2 and z2=(s1+s2)/2z_2 = (s_1 + s_2)/\sqrt2. Then E[z1z2]=(E[s12]−E[s22])/2=0\E[z_1z_2] = (\E[s_1^2] - \E[s_2^2])/2 = 0 and E[z12]=E[z22]=1\E[z_1^2] = \E[z_2^2] = 1, so the vector z\bz is white: its components are uncorrelated with unit variance. With g(u)=h(u)=u2g(u) = h(u) = u^2, however,

设 s1s_1、s2s_2 独立,都服从 [−3,3][-\sqrt3, \sqrt3] 上的均匀分布,于是它们均值为零、方差为一,且 E[si4]=9/5\E[s_i^4] = 9/5。把它们旋转 45°:z1=(s1−s2)/2z_1 = (s_1 - s_2)/\sqrt2,z2=(s1+s2)/2z_2 = (s_1 + s_2)/\sqrt2。则 E[z1z2]=(E[s12]−E[s22])/2=0\E[z_1z_2] = (\E[s_1^2] - \E[s_2^2])/2 = 0,且 E[z12]=E[z22]=1\E[z_1^2] = \E[z_2^2] = 1,所以向量 z\bz 是白的:各分量不相关且方差为一。然而取 g(u)=h(u)=u2g(u) = h(u) = u^2,有

E[z12z22]=14 E[(s12−s22)2]=14(2 E[s14]−2)=25  ≠  1=E[z12] E[z22],\E[z_1^2z_2^2] = \tfrac14\,\E\bigl[(s_1^2 - s_2^2)^2\bigr] = \tfrac14\bigl(2\,\E[s_1^4] - 2\bigr) = \tfrac25 \;\ne\; 1 = \E[z_1^2]\,\E[z_2^2],

so z1z_1 and z2z_2 are dependent. Geometrically, z\bz is uniform on a square rotated by 45°, and the larger ∣z1∣|z_1| is, the narrower the range of z2z_2.

所以 z1z_1 与 z2z_2 并不独立。从几何上看,z\bz 在一个旋转了 45° 的正方形上均匀分布,∣z1∣|z_1| 越大,z2z_2 的取值范围就越窄。

For jointly Gaussian vectors the two notions coincide (Proposition 2.6命题 2.6 below). Gaussian marginals are not enough: Exercise 2.2习题 2.2 constructs two uncorrelated standard Gaussian variables that are dependent.

对联合高斯向量而言,这两个概念是一回事(见下文Proposition 2.6命题 2.6)。仅有高斯的边缘分布是不够的:Exercise 2.2习题 2.2构造了两个不相关、却不独立的标准高斯变量。

2.3 Characteristic functions特征函数

A density need not exist and moments need not be finite, but every distribution has a characteristic function. It turns independence into factorization and sums of independent variables into products, and its logarithm defines the cumulants of the next section.

密度不一定存在,矩也不一定有限,但每个分布都有特征函数。特征函数把独立性变成乘积分解,把独立变量之和变成乘积;它的对数还定义了下一节的累积量。

Definition 2.4 (characteristic function)定义 2.4(特征函数)

The characteristic function of a random vector y∈Rd\by \in \R^d is φy(ω)=E[exp⁡(i ω⊤y)]\varphi_{\by}(\bomega) = \E[\exp(i\,\bomega^\top\by)], ω∈Rd\bomega \in \R^d.

随机向量 y∈Rd\by \in \R^d 的特征函数定义为 φy(ω)=E[exp⁡(i ω⊤y)]\varphi_{\by}(\bomega) = \E[\exp(i\,\bomega^\top\by)],ω∈Rd\bomega \in \R^d。

Because ∣eiω⊤y∣=1|e^{i\bomega^\top\by}| = 1, the expectation always exists. Moreover φy(0)=1\varphi_{\by}(\bzero) = 1, ∣φy∣≤1|\varphi_{\by}| \le 1, φy\varphi_{\by} is uniformly continuous, and φy(−ω)=φy(ω)‾\varphi_{\by}(-\bomega) = \overline{\varphi_{\by}(\bomega)}. Three further facts are used repeatedly; the first is the uniqueness theorem for characteristic functions (Billingsley, 1995; Lukacs, 1970), the others follow from the definition.

由于 ∣eiω⊤y∣=1|e^{i\bomega^\top\by}| = 1,这个期望总是存在。此外,φy(0)=1\varphi_{\by}(\bzero) = 1,∣φy∣≤1|\varphi_{\by}| \le 1,φy\varphi_{\by} 一致连续,且 φy(−ω)=φy(ω)‾\varphi_{\by}(-\bomega) = \overline{\varphi_{\by}(\bomega)}。以下三个事实会反复用到:第一个是特征函数的唯一性定理(Billingsley, 1995; Lukacs, 1970),其余两个可由定义直接推出。

  • Uniqueness. Two random vectors have the same distribution if and only if they have the same characteristic function.
  • Affine maps. For M∈Rk×d\bM \in \R^{k \times d} and b∈Rk\bb \in \R^k, φMy+b(ω)=eiω⊤b φy(M⊤ω)\varphi_{\bM\by + \bb}(\bomega) = e^{i\bomega^\top\bb}\,\varphi_{\by}(\bM^\top\bomega). Since φ−y(ω)=φy(ω)‾\varphi_{-\by}(\bomega) = \overline{\varphi_{\by}(\bomega)}, uniqueness shows that φy\varphi_{\by} is real exactly when y\by and −y-\by have the same distribution.
  • Examples. N(μ,σ2)\Ncal(\mu, \sigma^2): eiμω−σ2ω2/2e^{i\mu\omega - \sigma^2\omega^2/2}; uniform on [−a,a][-a, a]: sin⁡(aω)/(aω)\sin(a\omega)/(a\omega); Laplace with density e−∣y∣/b/(2b)e^{-|y|/b}/(2b): 1/(1+b2ω2)1/(1 + b^2\omega^2); exponential with rate λ\lambda: λ/(λ−iω)\lambda/(\lambda - i\omega); symmetric binary ±1\pm 1: cos⁡ω\cos\omega.
  • 唯一性。两个随机向量同分布,当且仅当它们的特征函数相同。
  • 仿射变换。对 M∈Rk×d\bM \in \R^{k \times d} 与 b∈Rk\bb \in \R^k,有 φMy+b(ω)=eiω⊤b φy(M⊤ω)\varphi_{\bM\by + \bb}(\bomega) = e^{i\bomega^\top\bb}\,\varphi_{\by}(\bM^\top\bomega)。由于 φ−y(ω)=φy(ω)‾\varphi_{-\by}(\bomega) = \overline{\varphi_{\by}(\bomega)},由唯一性可知:φy\varphi_{\by} 取实值,当且仅当 y\by 与 −y-\by 同分布。
  • 例子。N(μ,σ2)\Ncal(\mu, \sigma^2):eiμω−σ2ω2/2e^{i\mu\omega - \sigma^2\omega^2/2};[−a,a][-a, a] 上的均匀分布:sin⁡(aω)/(aω)\sin(a\omega)/(a\omega);密度为 e−∣y∣/b/(2b)e^{-|y|/b}/(2b) 的拉普拉斯分布:1/(1+b2ω2)1/(1 + b^2\omega^2);速率为 λ\lambda 的指数分布:λ/(λ−iω)\lambda/(\lambda - i\omega);对称二值分布 ±1\pm 1:cos⁡ω\cos\omega。

A random vector y\by is (jointly) Gaussian if every linear combination a⊤y\ba^\top\by is Gaussian, possibly degenerate (constant). If y\by has mean μ\bmu and covariance Σ\bSigma, possibly singular, then ω⊤y∼N(ω⊤μ, ω⊤Σω)\bomega^\top\by \sim \Ncal(\bomega^\top\bmu,\ \bomega^\top\bSigma\bomega), and evaluating the scalar characteristic function at 11 gives

若随机向量 y\by 的每个线性组合 a⊤y\ba^\top\by 都服从高斯分布(允许退化为常数),则称 y\by 是(联合)高斯的。设 y\by 的均值为 μ\bmu、协方差为 Σ\bSigma(可以奇异),则 ω⊤y∼N(ω⊤μ, ω⊤Σω)\bomega^\top\by \sim \Ncal(\bomega^\top\bmu,\ \bomega^\top\bSigma\bomega),在 11 处计算这个标量的特征函数,得到

φy(ω)=exp⁡(i ω⊤μ−12 ω⊤Σ ω).(2.1)\varphi_{\by}(\bomega) = \exp\bigl(i\,\bomega^\top\bmu - \tfrac12\,\bomega^\top\bSigma\,\bomega\bigr).\tag{2.1}

Proposition 2.5 (independence and characteristic functions)命题 2.5(独立性与特征函数)

(a) Random vectors y1,…,yk\by_1, \dots, \by_k are independent if and only if the characteristic function of (y1,…,yk)(\by_1, \dots, \by_k) factorizes: φ(y1,…,yk)(ω1,…,ωk)=∏i=1kφyi(ωi)\varphi_{(\by_1, \dots, \by_k)}(\bomega_1, \dots, \bomega_k) = \prod_{i=1}^k \varphi_{\by_i}(\bomega_i) for all ω1,…,ωk\bomega_1, \dots, \bomega_k. (b) If y1,…,yk\by_1, \dots, \by_k are independent and have the same dimension, then φy1+⋯+yk(ω)=∏i=1kφyi(ω)\varphi_{\by_1 + \dots + \by_k}(\bomega) = \prod_{i=1}^k \varphi_{\by_i}(\bomega).

(a)随机向量 y1,…,yk\by_1, \dots, \by_k 独立,当且仅当 (y1,…,yk)(\by_1, \dots, \by_k) 的特征函数可以分解:对所有 ω1,…,ωk\bomega_1, \dots, \bomega_k,φ(y1,…,yk)(ω1,…,ωk)=∏i=1kφyi(ωi)\varphi_{(\by_1, \dots, \by_k)}(\bomega_1, \dots, \bomega_k) = \prod_{i=1}^k \varphi_{\by_i}(\bomega_i)。(b)若 y1,…,yk\by_1, \dots, \by_k 独立且维数相同,则 φy1+⋯+yk(ω)=∏i=1kφyi(ω)\varphi_{\by_1 + \dots + \by_k}(\bomega) = \prod_{i=1}^k \varphi_{\by_i}(\bomega)。

Proof.证明

(a) If the vectors are independent, the expectation of ∏ieiωi⊤yi\prod_i e^{i\bomega_i^\top\by_i} equals the product of the expectations, by Proposition 2.2命题 2.2 applied to real and imaginary parts and by induction on kk. Conversely, suppose that the characteristic function factorizes. Let y~1,…,y~k\tilde\by_1, \dots, \tilde\by_k be independent, each y~i\tilde\by_i distributed as yi\by_i. By the first part, (y~1,…,y~k)(\tilde\by_1, \dots, \tilde\by_k) has characteristic function ∏iφyi(ωi)\prod_i \varphi_{\by_i}(\bomega_i), the same as (y1,…,yk)(\by_1, \dots, \by_k). By uniqueness the two vectors have the same distribution, so the yi\by_i are independent. (b) Write eiω⊤(y1+⋯+yk)=∏ieiω⊤yie^{i\bomega^\top(\by_1 + \dots + \by_k)} = \prod_i e^{i\bomega^\top\by_i}, take expectations and use (a) with ω1=⋯=ωk=ω\bomega_1 = \dots = \bomega_k = \bomega.

(a)若这些向量独立,对实部与虚部分别应用Proposition 2.2命题 2.2并对 kk 归纳,可知 ∏ieiωi⊤yi\prod_i e^{i\bomega_i^\top\by_i} 的期望等于各因子期望之积。反之,设特征函数可以分解。取相互独立的 y~1,…,y~k\tilde\by_1, \dots, \tilde\by_k,使每个 y~i\tilde\by_i 与 yi\by_i 同分布。由前半部分,(y~1,…,y~k)(\tilde\by_1, \dots, \tilde\by_k) 的特征函数为 ∏iφyi(ωi)\prod_i \varphi_{\by_i}(\bomega_i),与 (y1,…,yk)(\by_1, \dots, \by_k) 的特征函数相同;由唯一性定理,两个向量同分布,所以各 yi\by_i 相互独立。(b)写出 eiω⊤(y1+⋯+yk)=∏ieiω⊤yie^{i\bomega^\top(\by_1 + \dots + \by_k)} = \prod_i e^{i\bomega^\top\by_i},取期望,并在(a)中令 ω1=⋯=ωk=ω\bomega_1 = \dots = \bomega_k = \bomega 即可。

Proposition 2.6 (Gaussian vectors)命题 2.6(高斯向量)

Let (y1,y2)(\by_1, \by_2) be jointly Gaussian. Then y1\by_1 and y2\by_2 are independent if and only if their cross-covariance E[(y1−Ey1)(y2−Ey2)⊤]\E[(\by_1 - \E\by_1)(\by_2 - \E\by_2)^\top] is zero. In particular, the components of a Gaussian vector are independent if and only if they are uncorrelated.

设 (y1,y2)(\by_1, \by_2) 是联合高斯向量。则 y1\by_1 与 y2\by_2 独立,当且仅当它们的互协方差 E[(y1−Ey1)(y2−Ey2)⊤]\E[(\by_1 - \E\by_1)(\by_2 - \E\by_2)^\top] 为零。特别地,高斯向量的各分量独立,当且仅当它们互不相关。

Proof.证明

Independence always gives zero cross-covariance. Conversely, if the covariance is block diagonal, with diagonal blocks Σ11=Cov⁡(y1)\bSigma_{11} = \Cov(\by_1) and Σ22=Cov⁡(y2)\bSigma_{22} = \Cov(\by_2), then by (2.1) the characteristic function of (y1,y2)(\by_1, \by_2) is exp⁡(iω1⊤μ1−12ω1⊤Σ11ω1) exp⁡(iω2⊤μ2−12ω2⊤Σ22ω2)\exp(i\bomega_1^\top\bmu_1 - \tfrac12\bomega_1^\top\bSigma_{11}\bomega_1)\,\exp(i\bomega_2^\top\bmu_2 - \tfrac12\bomega_2^\top\bSigma_{22}\bomega_2). Each factor is the characteristic function of the corresponding marginal, which is again Gaussian, so Proposition 2.5命题 2.5(a) gives independence. No invertibility of Σ\bSigma is needed.

独立总蕴含互协方差为零。反之,若协方差是分块对角的,对角块为 Σ11=Cov⁡(y1)\bSigma_{11} = \Cov(\by_1) 与 Σ22=Cov⁡(y2)\bSigma_{22} = \Cov(\by_2),则由 (2.1),(y1,y2)(\by_1, \by_2) 的特征函数等于 exp⁡(iω1⊤μ1−12ω1⊤Σ11ω1) exp⁡(iω2⊤μ2−12ω2⊤Σ22ω2)\exp(i\bomega_1^\top\bmu_1 - \tfrac12\bomega_1^\top\bSigma_{11}\bomega_1)\,\exp(i\bomega_2^\top\bmu_2 - \tfrac12\bomega_2^\top\bSigma_{22}\bomega_2)。每个因子都是相应边缘分布(仍为高斯分布)的特征函数,于是由Proposition 2.5命题 2.5(a)得到独立性。这里不需要 Σ\bSigma 可逆。

For Gaussian data, decorrelation therefore already achieves independence, and since a rotation of independent standard Gaussian components leaves them independent, nothing more can be learned (Exercise 1.3习题 1.3). For non-Gaussian data, independence is a much stronger requirement than decorrelation, and ICA exploits exactly this gap. Part (b) of Proposition 2.5命题 2.5 also shows why the logarithm of the characteristic function is the natural object for sums of independent variables: it turns their product into a sum.

因此,对高斯数据而言,去相关就已经实现了独立;又因为独立的标准高斯分量经任意旋转后仍然独立,所以无法再学到更多东西(Exercise 1.3习题 1.3)。对非高斯数据,独立是比去相关强得多的要求,ICA 利用的正是这一差距。Proposition 2.5命题 2.5的(b)还说明,对独立变量之和而言,特征函数的对数是最自然的对象:取对数把乘积变成了和。

2.4 Moments and cumulants矩与累积量

If E∣y∣k<∞\E|y|^k < \infty, the characteristic function of a scalar yy is kk times continuously differentiable, with φy(j)(0)=ij E[yj]\varphi_y^{(j)}(0) = i^j\,\E[y^j] for j≤kj \le k, so that φy(ω)=∑j=0kE[yj] (iω)j/j!+o(∣ω∣k)\varphi_y(\omega) = \sum_{j=0}^{k} \E[y^j]\,(i\omega)^j/j! + o(|\omega|^k) as ω→0\omega \to 0. Moments are the Taylor coefficients of φy\varphi_y. Cumulants are the Taylor coefficients of its logarithm, which is well defined near ω=0\omega = 0 because φy(0)=1\varphi_y(0) = 1 and φy\varphi_y is continuous.

若 E∣y∣k<∞\E|y|^k < \infty,则标量 yy 的特征函数 kk 次连续可微,且对 j≤kj \le k 有 φy(j)(0)=ij E[yj]\varphi_y^{(j)}(0) = i^j\,\E[y^j],于是当 ω→0\omega \to 0 时 φy(ω)=∑j=0kE[yj] (iω)j/j!+o(∣ω∣k)\varphi_y(\omega) = \sum_{j=0}^{k} \E[y^j]\,(i\omega)^j/j! + o(|\omega|^k)。矩是 φy\varphi_y 的 Taylor 系数,累积量则是其对数的 Taylor 系数。由于 φy(0)=1\varphi_y(0) = 1 且 φy\varphi_y 连续,这个对数在 ω=0\omega = 0 附近有定义。

Definition 2.7 (cumulants)定义 2.7(累积量)

Let v1,…,vjv_1, \dots, v_j be random variables, not necessarily distinct, with finite moments of order jj, and let v=(v1,…,vj)⊤\bv = (v_1, \dots, v_j)^\top. Their (joint) cumulant is

设随机变量 v1,…,vjv_1, \dots, v_j(不必互不相同)的 jj 阶矩有限,记 v=(v1,…,vj)⊤\bv = (v_1, \dots, v_j)^\top。它们的(联合)累积量定义为

cum⁡(v1,…,vj)=(−i)j ∂jlog⁡φv(ω)∂ω1⋯∂ωj∣ω=0.\cum(v_1, \dots, v_j) = (-i)^j\, \frac{\partial^j \log\varphi_{\bv}(\bomega)}{\partial\omega_1 \cdots \partial\omega_j}\bigg|_{\bomega = \bzero}.

The cumulant of order jj of a single variable is κj(y)=cum⁡(y,…,y)\kappa_j(y) = \cum(y, \dots, y), with jj arguments. Equivalently, if E∣y∣k<∞\E|y|^k < \infty, then log⁡φy(ω)=∑j=1kκj(y) (iω)j/j!+o(∣ω∣k)\log\varphi_y(\omega) = \sum_{j=1}^{k} \kappa_j(y)\,(i\omega)^j/j! + o(|\omega|^k) as ω→0\omega \to 0. The function log⁡φ\log\varphi is called the second characteristic function.

单个变量的 jj 阶累积量是 κj(y)=cum⁡(y,…,y)\kappa_j(y) = \cum(y, \dots, y)(共 jj 个自变量)。等价地,若 E∣y∣k<∞\E|y|^k < \infty,则当 ω→0\omega \to 0 时 log⁡φy(ω)=∑j=1kκj(y) (iω)j/j!+o(∣ω∣k)\log\varphi_y(\omega) = \sum_{j=1}^{k} \kappa_j(y)\,(i\omega)^j/j! + o(|\omega|^k)。函数 log⁡φ\log\varphi 称为第二特征函数。

The first four cumulants of a scalar with mean μ\mu are

均值为 μ\mu 的标量的前四阶累积量为

κ1=E[y],κ2=E[(y−μ)2]=Var⁡(y),κ3=E[(y−μ)3],κ4=E[(y−μ)4]−3Var⁡(y)2.\begin{aligned} \kappa_1 &= \E[y], & \kappa_2 &= \E[(y - \mu)^2] = \Var(y), \\ \kappa_3 &= \E[(y - \mu)^3], & \kappa_4 &= \E[(y - \mu)^4] - 3\Var(y)^2. \end{aligned}

In terms of the raw moments mj=E[yj]m_j = \E[y^j], κ3=m3−3m2m1+2m13\kappa_3 = m_3 - 3m_2m_1 + 2m_1^3 and κ4=m4−4m3m1−3m22+12m2m12−6m14\kappa_4 = m_4 - 4m_3m_1 - 3m_2^2 + 12m_2m_1^2 - 6m_1^4. For zero mean the derivation takes one line. Write φy(ω)=1+u\varphi_y(\omega) = 1 + u with u=−σ2ω2/2−i m3ω3/6+m4ω4/24+o(ω4)u = -\sigma^2\omega^2/2 - i\,m_3\omega^3/6 + m_4\omega^4/24 + o(\omega^4). Then log⁡(1+u)=u−u2/2+O(u3)\log(1 + u) = u - u^2/2 + O(u^3), where u2=σ4ω4/4+o(ω4)u^2 = \sigma^4\omega^4/4 + o(\omega^4) and u3=o(ω4)u^3 = o(\omega^4), so log⁡φy(ω)=−σ2ω2/2−i m3ω3/6+(m4−3σ4) ω4/24+o(ω4)\log\varphi_y(\omega) = -\sigma^2\omega^2/2 - i\,m_3\omega^3/6 + (m_4 - 3\sigma^4)\,\omega^4/24 + o(\omega^4). Matching coefficients with ∑jκj(iω)j/j!\sum_j \kappa_j (i\omega)^j/j! gives κ2=σ2\kappa_2 = \sigma^2, κ3=m3\kappa_3 = m_3 and κ4=m4−3σ4\kappa_4 = m_4 - 3\sigma^4.

用原点矩 mj=E[yj]m_j = \E[y^j] 表示,κ3=m3−3m2m1+2m13\kappa_3 = m_3 - 3m_2m_1 + 2m_1^3,κ4=m4−4m3m1−3m22+12m2m12−6m14\kappa_4 = m_4 - 4m_3m_1 - 3m_2^2 + 12m_2m_1^2 - 6m_1^4。均值为零时,推导只需一行。记 φy(ω)=1+u\varphi_y(\omega) = 1 + u,其中 u=−σ2ω2/2−i m3ω3/6+m4ω4/24+o(ω4)u = -\sigma^2\omega^2/2 - i\,m_3\omega^3/6 + m_4\omega^4/24 + o(\omega^4)。于是 log⁡(1+u)=u−u2/2+O(u3)\log(1 + u) = u - u^2/2 + O(u^3),而 u2=σ4ω4/4+o(ω4)u^2 = \sigma^4\omega^4/4 + o(\omega^4)、u3=o(ω4)u^3 = o(\omega^4),所以 log⁡φy(ω)=−σ2ω2/2−i m3ω3/6+(m4−3σ4) ω4/24+o(ω4)\log\varphi_y(\omega) = -\sigma^2\omega^2/2 - i\,m_3\omega^3/6 + (m_4 - 3\sigma^4)\,\omega^4/24 + o(\omega^4)。与 ∑jκj(iω)j/j!\sum_j \kappa_j (i\omega)^j/j! 比较系数,得 κ2=σ2\kappa_2 = \sigma^2,κ3=m3\kappa_3 = m_3,κ4=m4−3σ4\kappa_4 = m_4 - 3\sigma^4。

For zero-mean variables, the cumulants of order two and three are moments, cum⁡(xi,xj)=E[xixj]\cum(x_i, x_j) = \E[x_ix_j] and cum⁡(xi,xj,xk)=E[xixjxk]\cum(x_i, x_j, x_k) = \E[x_ix_jx_k], while the fourth-order cumulant subtracts from the fourth moment the three ways of pairing the indices (Exercise 2.5习题 2.5):

对零均值变量,二阶与三阶累积量就是矩:cum⁡(xi,xj)=E[xixj]\cum(x_i, x_j) = \E[x_ix_j],cum⁡(xi,xj,xk)=E[xixjxk]\cum(x_i, x_j, x_k) = \E[x_ix_jx_k];而四阶累积量要从四阶矩中减去把四个下标两两配对的三种方式(Exercise 2.5习题 2.5):

cum⁡(xi,xj,xk,xl)=E[xixjxkxl]−E[xixj] E[xkxl]−E[xixk] E[xjxl]−E[xixl] E[xjxk].(2.2)\begin{aligned} \cum(x_i, x_j, x_k, x_l) = \E[x_ix_jx_kx_l] &- \E[x_ix_j]\,\E[x_kx_l] \\ &- \E[x_ix_k]\,\E[x_jx_l] - \E[x_ix_l]\,\E[x_jx_k]. \end{aligned}\tag{2.2}

For i=j=k=li = j = k = l this is κ4=E[x4]−3(E[x2])2\kappa_4 = \E[x^4] - 3(\E[x^2])^2 again. The properties that make cumulants useful are collected below.

当 i=j=k=li = j = k = l 时,它又回到 κ4=E[x4]−3(E[x2])2\kappa_4 = \E[x^4] - 3(\E[x^2])^2。累积量之所以有用,靠的是下面这些性质。

Proposition 2.8 (properties of cumulants)命题 2.8(累积量的性质)

Assume that all moments that appear are finite. Then:

设出现的各阶矩都有限,则:

  1. Symmetry. cum⁡(v1,…,vj)\cum(v_1, \dots, v_j) is invariant under permutations of its arguments.
  2. Multilinearity. For constants mrpm_{rp}, cum⁡(∑pm1pxp,…,∑pmjpxp)=∑p1,…,pjm1p1⋯mjpj cum⁡(xp1,…,xpj)\cum\bigl(\sum_p m_{1p}x_p, \dots, \sum_p m_{jp}x_p\bigr) = \sum_{p_1, \dots, p_j} m_{1p_1}\cdots m_{jp_j}\,\cum(x_{p_1}, \dots, x_{p_j}).
  3. Shift invariance. For j≥2j \ge 2 and a constant cc, cum⁡(v1+c,v2,…,vj)=cum⁡(v1,v2,…,vj)\cum(v_1 + c, v_2, \dots, v_j) = \cum(v_1, v_2, \dots, v_j).
  4. Additivity. If the vectors (u1,…,uj)(u_1, \dots, u_j) and (v1,…,vj)(v_1, \dots, v_j) are independent, then cum⁡(u1+v1,…,uj+vj)=cum⁡(u1,…,uj)+cum⁡(v1,…,vj)\cum(u_1 + v_1, \dots, u_j + v_j) = \cum(u_1, \dots, u_j) + \cum(v_1, \dots, v_j). In particular κj(y1+y2)=κj(y1)+κj(y2)\kappa_j(y_1 + y_2) = \kappa_j(y_1) + \kappa_j(y_2) for independent y1y_1 and y2y_2.
  5. Independent groups. If the arguments v1,…,vjv_1, \dots, v_j can be split into two nonempty groups that are independent of each other, then cum⁡(v1,…,vj)=0\cum(v_1, \dots, v_j) = 0.
  6. Gaussian variables. If (v1,…,vj)(v_1, \dots, v_j) is jointly Gaussian and j≥3j \ge 3, then cum⁡(v1,…,vj)=0\cum(v_1, \dots, v_j) = 0.
  1. 对称性。cum⁡(v1,…,vj)\cum(v_1, \dots, v_j) 在自变量的任意置换下不变。
  2. 多重线性。对常数 mrpm_{rp},cum⁡(∑pm1pxp,…,∑pmjpxp)=∑p1,…,pjm1p1⋯mjpj cum⁡(xp1,…,xpj)\cum\bigl(\sum_p m_{1p}x_p, \dots, \sum_p m_{jp}x_p\bigr) = \sum_{p_1, \dots, p_j} m_{1p_1}\cdots m_{jp_j}\,\cum(x_{p_1}, \dots, x_{p_j})。
  3. 平移不变性。当 j≥2j \ge 2 且 cc 为常数时,cum⁡(v1+c,v2,…,vj)=cum⁡(v1,v2,…,vj)\cum(v_1 + c, v_2, \dots, v_j) = \cum(v_1, v_2, \dots, v_j)。
  4. 可加性。若向量 (u1,…,uj)(u_1, \dots, u_j) 与 (v1,…,vj)(v_1, \dots, v_j) 独立,则 cum⁡(u1+v1,…,uj+vj)=cum⁡(u1,…,uj)+cum⁡(v1,…,vj)\cum(u_1 + v_1, \dots, u_j + v_j) = \cum(u_1, \dots, u_j) + \cum(v_1, \dots, v_j)。特别地,对独立的 y1y_1 与 y2y_2,κj(y1+y2)=κj(y1)+κj(y2)\kappa_j(y_1 + y_2) = \kappa_j(y_1) + \kappa_j(y_2)。
  5. 独立分组。若自变量 v1,…,vjv_1, \dots, v_j 能分成两个非空且相互独立的组,则 cum⁡(v1,…,vj)=0\cum(v_1, \dots, v_j) = 0。
  6. 高斯变量。若 (v1,…,vj)(v_1, \dots, v_j) 是联合高斯的且 j≥3j \ge 3,则 cum⁡(v1,…,vj)=0\cum(v_1, \dots, v_j) = 0。

Proof.证明

Write Φv=log⁡φv\Phi_{\bv} = \log\varphi_{\bv}. (1) Permuting the arguments permutes the coordinates of ω\bomega, and mixed partial derivatives do not depend on the order of differentiation. (2) Let M\bM be the matrix with entries mrpm_{rp} and x=(x1,…,xd)⊤\bx = (x_1, \dots, x_d)^\top. By the rule for affine maps, ΦMx(ω)=Φx(M⊤ω)\Phi_{\bM\bx}(\bomega) = \Phi_{\bx}(\bM^\top\bomega), and by the chain rule each derivative ∂/∂ωr\partial/\partial\omega_r becomes ∑pmrp ∂/∂ηp\sum_p m_{rp}\,\partial/\partial\eta_p applied to Φx(η)\Phi_{\bx}(\boldsymbol{\eta}) at η=M⊤ω\boldsymbol{\eta} = \bM^\top\bomega. Applying ∂j/∂ω1⋯∂ωj\partial^j/\partial\omega_1\cdots\partial\omega_j at ω=0\bomega = \bzero gives the formula. (3) Φv+c(ω)=i ω⊤c+Φv(ω)\Phi_{\bv + \mathbf{c}}(\bomega) = i\,\bomega^\top\mathbf{c} + \Phi_{\bv}(\bomega), and the linear term disappears after two or more derivatives. (4) By Proposition 2.5命题 2.5(b), Φu+v=Φu+Φv\Phi_{\bu + \bv} = \Phi_{\bu} + \Phi_{\bv}. (5) By (1) we may assume that the first rr arguments form one group. Then Proposition 2.5命题 2.5(a) gives Φv(ω)=Φ1(ω1,…,ωr)+Φ2(ωr+1,…,ωj)\Phi_{\bv}(\bomega) = \Phi_{1}(\omega_1, \dots, \omega_r) + \Phi_{2}(\omega_{r+1}, \dots, \omega_j), and each term is annihilated by differentiation with respect to a variable of the other group. (6) By (2.1), Φv\Phi_{\bv} is a polynomial of degree at most two.

记 Φv=log⁡φv\Phi_{\bv} = \log\varphi_{\bv}。(1)置换自变量相当于置换 ω\bomega 的坐标,而混合偏导数与求导次序无关。(2)设 M\bM 是以 mrpm_{rp} 为元素的矩阵,x=(x1,…,xd)⊤\bx = (x_1, \dots, x_d)^\top。由仿射变换的规则,ΦMx(ω)=Φx(M⊤ω)\Phi_{\bM\bx}(\bomega) = \Phi_{\bx}(\bM^\top\bomega);由链式法则,每个 ∂/∂ωr\partial/\partial\omega_r 都变成作用在 Φx(η)\Phi_{\bx}(\boldsymbol{\eta}) 上(取值于 η=M⊤ω\boldsymbol{\eta} = \bM^\top\bomega)的 ∑pmrp ∂/∂ηp\sum_p m_{rp}\,\partial/\partial\eta_p。在 ω=0\bomega = \bzero 处作用 ∂j/∂ω1⋯∂ωj\partial^j/\partial\omega_1\cdots\partial\omega_j 即得公式。(3)Φv+c(ω)=i ω⊤c+Φv(ω)\Phi_{\bv + \mathbf{c}}(\bomega) = i\,\bomega^\top\mathbf{c} + \Phi_{\bv}(\bomega),线性项在求两次及以上导数后消失。(4)由Proposition 2.5命题 2.5(b),Φu+v=Φu+Φv\Phi_{\bu + \bv} = \Phi_{\bu} + \Phi_{\bv}。(5)由(1),不妨设前 rr 个自变量构成一组。由Proposition 2.5命题 2.5(a),Φv(ω)=Φ1(ω1,…,ωr)+Φ2(ωr+1,…,ωj)\Phi_{\bv}(\bomega) = \Phi_{1}(\omega_1, \dots, \omega_r) + \Phi_{2}(\omega_{r+1}, \dots, \omega_j),每一项只要对另一组中的某个变量求导就会变成零。(6)由 (2.1),Φv\Phi_{\bv} 是次数不超过二的多项式。

Property 5 is the algebraic signature of independence. If s\bs has independent components, every cross-cumulant of s\bs, that is, every cumulant involving at least two different components, vanishes: the cumulants of s\bs are diagonal. Property 2 then gives the cumulants of a mixture. For x=As\bx = \bA\bs with independent sources whose fourth cumulants are κp=kurt⁡(sp)\kappa_p = \kurt(s_p) (here, as in the rest of the book, the subscript of κp\kappa_p indexes a source, not the order of a cumulant),

性质 5 是独立性在代数上的标志。若 s\bs 的分量独立,则 s\bs 的每个交叉累积量(即至少涉及两个不同分量的累积量)都为零:s\bs 的累积量是“对角”的。再由性质 2 即可得到混合的累积量。对 x=As\bx = \bA\bs,若各源独立且四阶累积量为 κp=kurt⁡(sp)\kappa_p = \kurt(s_p)(这里与全书其他地方一样,κp\kappa_p 的下标表示第几个源,而不是累积量的阶数),则

cum⁡(xi,xj,xk,xl)=∑p,q,r,taipajqakralt cum⁡(sp,sq,sr,st)=∑p=1naip ajp akp alp κp,(2.3)\cum(x_i, x_j, x_k, x_l) = \sum_{p, q, r, t} a_{ip}a_{jq}a_{kr}a_{lt}\,\cum(s_p, s_q, s_r, s_t) = \sum_{p=1}^{n} a_{ip}\,a_{jp}\,a_{kp}\,a_{lp}\,\kappa_p,\tag{2.3}

because only the terms with p=q=r=tp = q = r = t survive. The fourth-order cumulant tensor of the observations is thus a sum of nn rank-one terms, one per source, each built from a column of A\bA. Chapter 9第 9 章 builds the JADE algorithm on this structure, and Section A.5第 A.5 节 describes such tensors.

因为只有 p=q=r=tp = q = r = t 的项保留下来。可见观测的四阶累积量张量是 nn 个秩一项之和,每个源贡献一项,由 A\bA 的一列构成。Chapter 9第 9 章的 JADE 算法正是建立在这一结构之上,Section A.5第 A.5 节则介绍了这类张量。

Return to Example 2.3例 2.3: there z=As\bz = \bA\bs with A=12(1−111)\bA = \tfrac{1}{\sqrt2}\bigl(\begin{smallmatrix} 1 & -1 \\ 1 & 1 \end{smallmatrix}\bigr), and the source kurtoses are kurt⁡(s1)=kurt⁡(s2)=−6/5\kurt(s_1) = \kurt(s_2) = -6/5 (Table 2.1表 2.1). By (2.3), cum⁡(z1,z1,z2,z2)=∑pa1p2a2p2kurt⁡(sp)=14kurt⁡(s1)+14kurt⁡(s2)=−0.6\cum(z_1, z_1, z_2, z_2) = \sum_p a_{1p}^2a_{2p}^2\kurt(s_p) = \tfrac14\kurt(s_1) + \tfrac14\kurt(s_2) = -0.6, whereas cum⁡(s1,s1,s2,s2)=0\cum(s_1, s_1, s_2, s_2) = 0. The covariance of z\bz is the identity, but a fourth-order cross-cumulant exposes the dependence. With (2.2) the same number reads E[z12z22]−E[z12] E[z22]−2(E[z1z2])2=25−1−0\E[z_1^2z_2^2] - \E[z_1^2]\,\E[z_2^2] - 2(\E[z_1z_2])^2 = \tfrac25 - 1 - 0.

回到Example 2.3例 2.3:那里 z=As\bz = \bA\bs,A=12(1−111)\bA = \tfrac{1}{\sqrt2}\bigl(\begin{smallmatrix} 1 & -1 \\ 1 & 1 \end{smallmatrix}\bigr),源的峭度为 kurt⁡(s1)=kurt⁡(s2)=−6/5\kurt(s_1) = \kurt(s_2) = -6/5(Table 2.1表 2.1)。由 (2.3),cum⁡(z1,z1,z2,z2)=∑pa1p2a2p2kurt⁡(sp)=14kurt⁡(s1)+14kurt⁡(s2)=−0.6\cum(z_1, z_1, z_2, z_2) = \sum_p a_{1p}^2a_{2p}^2\kurt(s_p) = \tfrac14\kurt(s_1) + \tfrac14\kurt(s_2) = -0.6,而 cum⁡(s1,s1,s2,s2)=0\cum(s_1, s_1, s_2, s_2) = 0。z\bz 的协方差是单位阵,但一个四阶交叉累积量就暴露了依赖性。用 (2.2) 计算,同一个数是 E[z12z22]−E[z12] E[z22]−2(E[z1z2])2=25−1−0\E[z_1^2z_2^2] - \E[z_1^2]\,\E[z_2^2] - 2(\E[z_1z_2])^2 = \tfrac25 - 1 - 0。

Property 6 says that Gaussian variables have no cumulants beyond order two. A classical theorem shows that this property nearly characterizes the Gaussian.

性质 6 说明高斯变量没有二阶以上的累积量。一个经典定理表明,这一性质几乎刻画了高斯分布。

Theorem 2.9 (Marcinkiewicz)定理 2.9(Marcinkiewicz)

If the characteristic function of a random variable has the form φ(ω)=exp⁡(P(ω))\varphi(\omega) = \exp(P(\omega)) for all real ω\omega, where PP is a polynomial, then PP has degree at most 2, and the variable is Gaussian or constant.

若某随机变量的特征函数对所有实数 ω\omega 都具有形式 φ(ω)=exp⁡(P(ω))\varphi(\omega) = \exp(P(\omega)),其中 PP 是多项式,则 PP 的次数不超过 2,从而该变量是高斯的或为常数。

The theorem is due to Marcinkiewicz (1939); a proof can be found in Lukacs (1970). We use two consequences. First, a random variable with moments of all orders whose cumulants of order three and higher all vanish is Gaussian: its moments then coincide with those of a Gaussian, and the Gaussian distribution is determined by its moments. Second, no non-Gaussian variable has only finitely many nonzero cumulants: if it had, its moment-generating function would be entire and equal to exp⁡(P(t))\exp(P(t)) for a polynomial PP, so φ(ω)=exp⁡(P(iω))\varphi(\omega) = \exp(P(i\omega)) and the theorem would apply. Cumulants of order three and higher are therefore measures of non-Gaussianity, and the theorem is a step in the proof of the Darmois–Skitovich theorem in Chapter 4第 4 章. In practice only low orders are used, because the variance of a sample cumulant grows quickly with its order (Section 5.6第 5.6 节).

这一定理属于 Marcinkiewicz(1939),证明可见 Lukacs(1970)。我们用到它的两个推论。其一,若一个随机变量的各阶矩都存在,且三阶及以上的累积量全为零,则它是高斯的:此时它的各阶矩与某个高斯分布的矩相同,而高斯分布由其各阶矩唯一确定。其二,任何非高斯变量都不可能只有有限个非零累积量:否则它的矩母函数是整函数,且等于 exp⁡(P(t))\exp(P(t))(PP 为多项式),于是 φ(ω)=exp⁡(P(iω))\varphi(\omega) = \exp(P(i\omega)),与定理矛盾。因此,三阶及以上的累积量可以作为非高斯性的度量;在Chapter 4第 4 章中,这一定理也是证明 Darmois–Skitovich 定理的一步。实践中只用低阶累积量,因为样本累积量的方差随阶数迅速增大(Section 5.6第 5.6 节)。

2.5 Skewness and kurtosis偏度与峭度

The normalized third and fourth cumulants are the simplest numbers that describe the shape of a distribution beyond its location and scale. The fourth, kurtosis, is the most widely used statistic in ICA.

归一化的三阶与四阶累积量,是在位置与尺度之外描述分布形状的最简单的数。其中四阶的峭度是 ICA 中用得最多的统计量。

Definition 2.10 (skewness and kurtosis)定义 2.10(偏度与峭度)

Let yy have a finite fourth moment, mean μ\mu and variance σ2>0\sigma^2 > 0. Its kurtosis is the fourth cumulant, kurt⁡(y)=κ4(y)=E[(y−μ)4]−3σ4\kurt(y) = \kappa_4(y) = \E[(y - \mu)^4] - 3\sigma^4; for zero-mean yy, kurt⁡(y)=E[y4]−3(E[y2])2\kurt(y) = \E[y^4] - 3(\E[y^2])^2. Its normalized kurtosis is kurt⁡(y)/σ4\kurt(y)/\sigma^4, and its skewness is κ3(y)/σ3=E[(y−μ)3]/σ3\kappa_3(y)/\sigma^3 = \E[(y - \mu)^3]/\sigma^3. The variable is called sub-Gaussian if kurt⁡(y)<0\kurt(y) < 0 and super-Gaussian if kurt⁡(y)>0\kurt(y) > 0.

设 yy 的四阶矩有限,均值为 μ\mu,方差为 σ2>0\sigma^2 > 0。它的峭度是四阶累积量 kurt⁡(y)=κ4(y)=E[(y−μ)4]−3σ4\kurt(y) = \kappa_4(y) = \E[(y - \mu)^4] - 3\sigma^4;当 yy 均值为零时,kurt⁡(y)=E[y4]−3(E[y2])2\kurt(y) = \E[y^4] - 3(\E[y^2])^2。kurt⁡(y)/σ4\kurt(y)/\sigma^4 称为归一化峭度,κ3(y)/σ3=E[(y−μ)3]/σ3\kappa_3(y)/\sigma^3 = \E[(y - \mu)^3]/\sigma^3 称为偏度。若 kurt⁡(y)<0\kurt(y) < 0,称该变量为亚高斯的;若 kurt⁡(y)>0\kurt(y) > 0,称其为超高斯的。

Statisticians call the normalized kurtosis the excess kurtosis; the moment ratio E[(y−μ)4]/σ4\E[(y - \mu)^4]/\sigma^4 (Pearson's β2\beta_2), which many statistics texts call simply the kurtosis, equals the normalized kurtosis plus 3. For unit-variance variables, kurt⁡(y)\kurt(y) and the normalized kurtosis coincide, and for unit-variance sources we write κi=kurt⁡(si)\kappa_i = \kurt(s_i). In probability theory “sub-Gaussian” also describes tails that decay at least as fast as Gaussian tails; in ICA it refers only to the sign of the kurtosis.

统计学中把归一化峭度称为超额峰度;许多统计教材则把矩比值 E[(y−μ)4]/σ4\E[(y - \mu)^4]/\sigma^4(Pearson 的 β2\beta_2)直接称为峰度,它等于归一化峭度加 3。对单位方差的变量,kurt⁡(y)\kurt(y) 与归一化峭度相同;对单位方差的源,记 κi=kurt⁡(si)\kappa_i = \kurt(s_i)。在概率论中,“亚高斯”还用来指尾部衰减至少与高斯尾部一样快的分布;在 ICA 中,它只指峭度的符号。

The sign of the kurtosis does not determine the shape of a density, but typical cases look as follows. Super-Gaussian variables usually have heavier tails than a Gaussian of the same variance, and often a sharper peak; kurtosis measures the tails rather than the peak (Westfall, 2014). The standard examples are sparse signals, which are mostly close to zero and occasionally large: speech (Gazor & Zhang, 2003), the outputs of edge filters applied to natural images (Bell & Sejnowski, 1997), and the spatial maps of fMRI networks (Chapter 14第 14 章). Sub-Gaussian variables are usually flatter, with light tails, and often bounded or multimodal: a uniform variable, a sinusoid with random phase, a binary communication symbol. There are exceptions: a variable equal to ±1\pm 1 with probability 0.490.49 each and to ±5\pm 5 with probability 0.010.01 each is bimodal, yet its normalized kurtosis is +3.15+3.15. Figure 2.1图 2.1 compares three typical unit-variance densities.

峭度的符号并不决定密度的形状,但典型的情形如下。超高斯变量通常比同方差的高斯变量尾部更重,峰也常常更尖;峭度刻画的是尾部而不是峰(Westfall, 2014)。标准的例子是稀疏信号,它们大多数时候接近零,偶尔取很大的值:语音(Gazor & Zhang, 2003)、自然图像经边缘滤波器后的输出(Bell & Sejnowski, 1997),以及 fMRI 网络的空间图(Chapter 14第 14 章)。亚高斯变量通常更平坦、尾部更轻,常常有界或呈多峰形状,例如均匀分布变量、随机相位的正弦波、二值通信符号。例外也是有的:以各 0.490.49 的概率取 ±1\pm 1、以各 0.010.01 的概率取 ±5\pm 5 的变量是双峰的,其归一化峭度却为 +3.15+3.15。Figure 2.1图 2.1 比较了三个典型的单位方差密度。

Left: densities of the unit-variance uniform, Gaussian and Laplace distributions, labelled by their kurtosis -1.2, 0 and 3. Right: the same densities on a logarithmic scale; the Laplace log-density is a tent, the Gaussian a parabola, the uniform a flat segment.
Figure 2.1. Unit-variance densities with negative, zero and positive kurtosis: uniform (κ=−1.2\kappa = -1.2), Gaussian (κ=0\kappa = 0) and Laplace (κ=3\kappa = 3). (a) Densities. (b) Log-densities: the Laplace tails decay linearly and the Gaussian tails quadratically, while the uniform density vanishes outside [−3,3][-\sqrt3, \sqrt3].图 2.1 峭度为负、零、正的单位方差密度:均匀分布(κ=−1.2\kappa = -1.2)、高斯分布(κ=0\kappa = 0)与拉普拉斯分布(κ=3\kappa = 3)。(a)密度。(b)对数密度:拉普拉斯分布的尾部线性衰减,高斯分布的尾部按二次衰减,而均匀分布的密度在 [−3,3][-\sqrt3, \sqrt3] 之外为零。

Proposition 2.11 (properties of kurtosis)命题 2.11(峭度的性质)

Let yy, y1y_1 and y2y_2 have finite fourth moments, and let σ2=Var⁡(y)>0\sigma^2 = \Var(y) > 0.

设 yy、y1y_1、y2y_2 的四阶矩有限,σ2=Var⁡(y)>0\sigma^2 = \Var(y) > 0。

  1. kurt⁡(αy+c)=α4kurt⁡(y)\kurt(\alpha y + c) = \alpha^4\kurt(y) for constants α\alpha and cc; hence the normalized kurtosis is invariant under affine maps with α≠0\alpha \ne 0.
  2. If y1y_1 and y2y_2 are independent, kurt⁡(y1+y2)=kurt⁡(y1)+kurt⁡(y2)\kurt(y_1 + y_2) = \kurt(y_1) + \kurt(y_2). Consequently, for independent unit-variance sources, kurt⁡(∑iqisi)=∑iqi4 κi\kurt\bigl(\sum_i q_is_i\bigr) = \sum_i q_i^4\,\kappa_i.
  3. kurt⁡(y)≥−2σ4\kurt(y) \ge -2\sigma^4, with equality if and only if yy takes the two values μ±σ\mu \pm \sigma with probability 12\tfrac12 each.
  1. 对常数 α\alpha、cc,kurt⁡(αy+c)=α4kurt⁡(y)\kurt(\alpha y + c) = \alpha^4\kurt(y);因此当 α≠0\alpha \ne 0 时,归一化峭度在仿射变换下不变。
  2. 若 y1y_1 与 y2y_2 独立,则 kurt⁡(y1+y2)=kurt⁡(y1)+kurt⁡(y2)\kurt(y_1 + y_2) = \kurt(y_1) + \kurt(y_2)。于是对相互独立的单位方差源,kurt⁡(∑iqisi)=∑iqi4 κi\kurt\bigl(\sum_i q_is_i\bigr) = \sum_i q_i^4\,\kappa_i。
  3. kurt⁡(y)≥−2σ4\kurt(y) \ge -2\sigma^4,等号成立当且仅当 yy 以各 12\tfrac12 的概率取 μ±σ\mu \pm \sigma 两个值。

Proof.证明

(1) and (2) follow from multilinearity, shift invariance and additivity in Proposition 2.8命题 2.8. (3) By Jensen's inequality for the convex function u↦u2u \mapsto u^2, E[(y−μ)4]=E[((y−μ)2)2]≥(E[(y−μ)2])2=σ4\E[(y - \mu)^4] = \E\bigl[((y - \mu)^2)^2\bigr] \ge \bigl(\E[(y - \mu)^2]\bigr)^2 = \sigma^4, so kurt⁡(y)≥σ4−3σ4\kurt(y) \ge \sigma^4 - 3\sigma^4. Since u↦u2u \mapsto u^2 is strictly convex, equality holds if and only if (y−μ)2(y - \mu)^2 is almost surely constant, that is, y=μ±σy = \mu \pm \sigma; the condition E[y]=μ\E[y] = \mu then forces the two values to have probability 12\tfrac12.

(1)与(2)由Proposition 2.8命题 2.8中的多重线性、平移不变性与可加性得到。(3)对凸函数 u↦u2u \mapsto u^2 用 Jensen 不等式,E[(y−μ)4]=E[((y−μ)2)2]≥(E[(y−μ)2])2=σ4\E[(y - \mu)^4] = \E\bigl[((y - \mu)^2)^2\bigr] \ge \bigl(\E[(y - \mu)^2]\bigr)^2 = \sigma^4,所以 kurt⁡(y)≥σ4−3σ4\kurt(y) \ge \sigma^4 - 3\sigma^4。由于 u↦u2u \mapsto u^2 严格凸,等号成立当且仅当 (y−μ)2(y - \mu)^2 几乎必然为常数,即 y=μ±σy = \mu \pm \sigma;再由 E[y]=μ\E[y] = \mu 可知两个值的概率都是 12\tfrac12。

There is no upper bound: the normalized kurtosis of the Student tt distribution, 6/(ν−4)6/(\nu - 4), grows without limit as ν\nu decreases to 4. Property 2 is the identity behind Chapter 5第 5 章 (Proposition 5.1命题 5.1): a unit-variance mixture ∑iqisi\sum_i q_is_i with ∥q∥=1\|\bq\| = 1 has a kurtosis that combines the source kurtoses with weights qi4q_i^4, whose sum ∑iqi4≤(∑iqi2)2=1\sum_i q_i^4 \le \bigl(\sum_i q_i^2\bigr)^2 = 1 equals one only when q\bq has a single nonzero entry. Table 2.1表 2.1 lists the values for common distributions.

峭度没有上界:Student tt 分布的归一化峭度为 6/(ν−4)6/(\nu - 4),当 ν\nu 下降到 4 时趋于无穷。性质 2 是Chapter 5第 5 章(Proposition 5.1命题 5.1)的基础:对 ∥q∥=1\|\bq\| = 1,单位方差的混合 ∑iqisi\sum_i q_is_i 的峭度是各源峭度以 qi4q_i^4 为权重的组合,而 ∑iqi4≤(∑iqi2)2=1\sum_i q_i^4 \le \bigl(\sum_i q_i^2\bigr)^2 = 1,仅当 q\bq 只有一个非零元时取等号。Table 2.1表 2.1列出了常见分布的取值。

Table 2.1. Variance, skewness and normalized kurtosis of common distributions. The unit-variance versions use a=3a = \sqrt3 (uniform), b=1/2b = 1/\sqrt2 (Laplace) and λ=1\lambda = 1 (exponential).表 2.1 常见分布的方差、偏度与归一化峭度。单位方差的版本取 a=3a = \sqrt3(均匀分布)、b=1/2b = 1/\sqrt2(拉普拉斯分布)、λ=1\lambda = 1(指数分布)。
Distribution分布Density or law密度或分布律Variance方差Skewness偏度Normalized kurtosis归一化峭度
uniform on [−a,a][-a, a][−a,a][-a, a] 上的均匀分布12a\frac{1}{2a} on [−a,a][-a, a](在 [−a,a][-a, a] 上)a2/3a^2/300−6/5-6/5
symmetric binary对称二值分布P(y=±1)=12P(y = \pm 1) = \tfrac121100−2-2
sinusoid, random phase随机相位正弦波2sin⁡θ\sqrt2\sin\theta, θ\theta uniform on [0,2π)[0, 2\pi)2sin⁡θ\sqrt2\sin\theta,θ\theta 在 [0,2π)[0, 2\pi) 上均匀1100−3/2-3/2
Gaussian高斯分布12π σ e−y2/(2σ2)\frac{1}{\sqrt{2\pi}\,\sigma}\,e^{-y^2/(2\sigma^2)}σ2\sigma^20000
Laplace拉普拉斯分布12b e−∣y∣/b\frac{1}{2b}\,e^{-|y|/b}2b22b^20033
exponential指数分布λe−λy\lambda e^{-\lambda y}, y≥0y \ge 01/λ21/\lambda^22266
Student tt, ν>4\nu > 4Student tt,ν>4\nu > 4∝(1+y2/ν)−(ν+1)/2\propto (1 + y^2/\nu)^{-(\nu + 1)/2}ν/(ν−2)\nu/(\nu - 2)006/(ν−4)6/(\nu - 4)

The following script draws a million samples from six of these laws, scaled to unit variance, estimates their kurtosis, and then checks the cumulant computation for the rotated uniform pair of Example 2.3例 2.3.

下面的脚本从其中六个分布(缩放到单位方差)各抽取一百万个样本,估计它们的峭度,然后检验Example 2.3例 2.3中旋转后的均匀分布对的累积量计算。

import numpy as np

rng = np.random.default_rng(0)
T = 1_000_000

def kurt(y):                           # fourth cumulant of a sample
    y = y - y.mean()
    return np.mean(y**4) - 3 * np.mean(y**2)**2

def cum22(y1, y2):                     # cum(y1, y1, y2, y2) of a sample
    y1, y2 = y1 - y1.mean(), y2 - y2.mean()
    return (np.mean(y1**2 * y2**2) - np.mean(y1**2) * np.mean(y2**2)
            - 2 * np.mean(y1 * y2)**2)

samples = {                            # unit-variance draws, as in the table
    "uniform":     rng.uniform(-np.sqrt(3), np.sqrt(3), T),
    "laplace":     rng.laplace(0.0, 1 / np.sqrt(2), T),
    "gaussian":    rng.standard_normal(T),
    "binary":      rng.choice([-1.0, 1.0], T),
    "exponential": rng.exponential(1.0, T),
    "student-t10": rng.standard_t(10, T) / np.sqrt(10 / 8),
}
for name, y in samples.items():
    print(f"{name:12s} kurt = {kurt(y):+.3f}")

# two uniform sources rotated by 45 degrees: white but dependent
s1, s2 = rng.uniform(-np.sqrt(3), np.sqrt(3), (2, T))
z1, z2 = (s1 - s2) / np.sqrt(2), (s1 + s2) / np.sqrt(2)
print(f"E[z1 z2]            = {np.mean(z1 * z2):+.3f}")
print(f"cum(z1, z1, z2, z2) = {cum22(z1, z2):+.3f}")
print(f"cum(s1, s1, s2, s2) = {cum22(s1, s2):+.3f}")

The estimated kurtoses are −1.203-1.203, +3.002+3.002, +0.004+0.004, −2.000-2.000, +5.881+5.881 and +1.016+1.016 (the true value for ν=10\nu = 10 is 6/6=16/6 = 1). Only the exponential estimate is visibly off, by about one standard error: the variance of the sample kurtosis involves the eighth moment, and the delta method (Section A.8第 A.8 节) puts the standard error at about 0.110.11 here. The last three lines print +0.000+0.000, −0.602-0.602 and +0.000+0.000: the rotated pair is uncorrelated but has the predicted cross-cumulant −0.6-0.6, and the independent pair has none.

估计出的峭度依次为 −1.203-1.203、+3.002+3.002、+0.004+0.004、−2.000-2.000、+5.881+5.881 与 +1.016+1.016(ν=10\nu = 10 时真值为 6/6=16/6 = 1)。只有指数分布的估计有明显偏差,约为一个标准误:样本峭度的方差涉及八阶矩,按 delta 方法(Section A.8第 A.8 节)计算,这里的标准误约为 0.110.11。最后三行输出 +0.000+0.000、−0.602-0.602 与 +0.000+0.000:旋转后的一对变量不相关,却具有预言中的交叉累积量 −0.6-0.6,而独立的一对则没有。

2.6 Differential entropy微分熵

Cumulants summarize a distribution by a few numbers; entropy summarizes it through its whole density. For a discrete variable, Shannon's entropy (Shannon, 1948) measures the average uncertainty of an outcome. Its continuous counterpart is differential entropy (Cover & Thomas, 2006).

累积量用几个数概括一个分布,熵则通过整个密度来概括它。对离散变量,Shannon 熵(Shannon, 1948)度量一次结果的平均不确定性;它在连续情形下的对应物是微分熵(Cover & Thomas, 2006)。

Definition 2.12 (differential entropy)定义 2.12(微分熵)

Let y∈Rd\by \in \R^d have density pp. Its differential entropy is H(y)=−∫p(u)log⁡p(u) du=−E[log⁡p(y)]H(\by) = -\int p(\bu)\log p(\bu)\,d\bu = -\E[\log p(\by)], whenever the integral exists. For several random vectors, H(y1,…,yk)H(\by_1, \dots, \by_k) is the entropy of the stacked vector.

设 y∈Rd\by \in \R^d 有密度 pp。它的微分熵定义为 H(y)=−∫p(u)log⁡p(u) du=−E[log⁡p(y)]H(\by) = -\int p(\bu)\log p(\bu)\,d\bu = -\E[\log p(\by)](只要该积分存在)。对多个随机向量,H(y1,…,yk)H(\by_1, \dots, \by_k) 指把它们堆叠成一个向量后的熵。

Three examples follow directly from the definition. A uniform density on an interval of length LL has H=log⁡LH = \log L; for the unit-variance uniform law, L=23L = 2\sqrt3 and H=log⁡(23)≈1.2425H = \log(2\sqrt3) \approx 1.2425. For N(μ,σ2)\Ncal(\mu, \sigma^2), −log⁡p(y)=12log⁡(2πσ2)+(y−μ)2/(2σ2)-\log p(y) = \tfrac12\log(2\pi\sigma^2) + (y - \mu)^2/(2\sigma^2), whose expectation gives H=12log⁡(2πeσ2)H = \tfrac12\log(2\pi e\sigma^2), or 1.41891.4189 at unit variance; in the same way a Gaussian vector with covariance Σ\bSigma has H=12log⁡((2πe)ddet⁡Σ)H = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr). For the Laplace density e−∣y∣/b/(2b)e^{-|y|/b}/(2b), −log⁡p(y)=log⁡(2b)+∣y∣/b-\log p(y) = \log(2b) + |y|/b and E∣y∣=b\E|y| = b, so H=1+log⁡(2b)H = 1 + \log(2b), or 1+12log⁡2≈1.34661 + \tfrac12\log 2 \approx 1.3466 at unit variance.

由定义可以直接算出三个例子。长度为 LL 的区间上的均匀密度,H=log⁡LH = \log L;单位方差的均匀分布 L=23L = 2\sqrt3,H=log⁡(23)≈1.2425H = \log(2\sqrt3) \approx 1.2425。对 N(μ,σ2)\Ncal(\mu, \sigma^2),−log⁡p(y)=12log⁡(2πσ2)+(y−μ)2/(2σ2)-\log p(y) = \tfrac12\log(2\pi\sigma^2) + (y - \mu)^2/(2\sigma^2),取期望得 H=12log⁡(2πeσ2)H = \tfrac12\log(2\pi e\sigma^2),单位方差时为 1.41891.4189;同理,协方差为 Σ\bSigma 的高斯向量有 H=12log⁡((2πe)ddet⁡Σ)H = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr)。对拉普拉斯密度 e−∣y∣/b/(2b)e^{-|y|/b}/(2b),−log⁡p(y)=log⁡(2b)+∣y∣/b-\log p(y) = \log(2b) + |y|/b,且 E∣y∣=b\E|y| = b,所以 H=1+log⁡(2b)H = 1 + \log(2b),单位方差时为 1+12log⁡2≈1.34661 + \tfrac12\log 2 \approx 1.3466。

Differential entropy differs from discrete entropy in two ways. It can be negative (the uniform density on [0,12][0, \tfrac12] has entropy −log⁡2-\log 2), and it depends on scale: H(αy)=H(y)+log⁡∣α∣H(\alpha y) = H(y) + \log|\alpha|. Both facts are special cases of the next proposition. The quantities that ICA uses, mutual information and negentropy, are combinations of entropies in which these changes cancel.

微分熵与离散熵有两点不同。它可以为负([0,12][0, \tfrac12] 上的均匀密度的熵为 −log⁡2-\log 2),而且依赖于尺度:H(αy)=H(y)+log⁡∣α∣H(\alpha y) = H(y) + \log|\alpha|。这两点都是下一命题的特例。ICA 所用的量,即互信息与负熵,都是若干熵的组合,在组合中这些变化恰好相互抵消。

Proposition 2.13 (entropy under linear maps)命题 2.13(线性变换下的熵)

Let y∈Rd\by \in \R^d have a density and finite entropy, let A∈Rd×d\bA \in \R^{d \times d} be invertible and b∈Rd\bb \in \R^d. Then H(Ay+b)=H(y)+log⁡∣det⁡A∣H(\bA\by + \bb) = H(\by) + \log|\det\bA|. More generally, if f\mathbf{f} is a continuously differentiable bijection of Rd\R^d onto an open set whose Jacobian matrix Jf\bJ_{\mathbf{f}} is nonsingular everywhere, then H(f(y))=H(y)+E[log⁡∣det⁡Jf(y)∣]H(\mathbf{f}(\by)) = H(\by) + \E\bigl[\log|\det\bJ_{\mathbf{f}}(\by)|\bigr] whenever the right-hand side is finite.

设 y∈Rd\by \in \R^d 有密度且熵有限,A∈Rd×d\bA \in \R^{d \times d} 可逆,b∈Rd\bb \in \R^d。则 H(Ay+b)=H(y)+log⁡∣det⁡A∣H(\bA\by + \bb) = H(\by) + \log|\det\bA|。更一般地,若 f\mathbf{f} 是从 Rd\R^d 到某个开集的连续可微双射,且其 Jacobi 矩阵 Jf\bJ_{\mathbf{f}} 处处非奇异,则只要右端有限,就有 H(f(y))=H(y)+E[log⁡∣det⁡Jf(y)∣]H(\mathbf{f}(\by)) = H(\by) + \E\bigl[\log|\det\bJ_{\mathbf{f}}(\by)|\bigr]。

Proof.证明

By the change-of-variables formula, f(y)\mathbf{f}(\by) has the density pf(y)(f(u))=py(u)/∣det⁡Jf(u)∣p_{\mathbf{f}(\by)}(\mathbf{f}(\bu)) = p_{\by}(\bu)/|\det\bJ_{\mathbf{f}}(\bu)|. Hence H(f(y))=−E[log⁡pf(y)(f(y))]=−E[log⁡py(y)]+E[log⁡∣det⁡Jf(y)∣]H(\mathbf{f}(\by)) = -\E\bigl[\log p_{\mathbf{f}(\by)}(\mathbf{f}(\by))\bigr] = -\E[\log p_{\by}(\by)] + \E\bigl[\log|\det\bJ_{\mathbf{f}}(\by)|\bigr]. For f(u)=Au+b\mathbf{f}(\bu) = \bA\bu + \bb the Jacobian is the constant matrix A\bA.

由变量替换公式,f(y)\mathbf{f}(\by) 的密度满足 pf(y)(f(u))=py(u)/∣det⁡Jf(u)∣p_{\mathbf{f}(\by)}(\mathbf{f}(\bu)) = p_{\by}(\bu)/|\det\bJ_{\mathbf{f}}(\bu)|。因此 H(f(y))=−E[log⁡pf(y)(f(y))]=−E[log⁡py(y)]+E[log⁡∣det⁡Jf(y)∣]H(\mathbf{f}(\by)) = -\E\bigl[\log p_{\mathbf{f}(\by)}(\mathbf{f}(\by))\bigr] = -\E[\log p_{\by}(\by)] + \E\bigl[\log|\det\bJ_{\mathbf{f}}(\by)|\bigr]。当 f(u)=Au+b\mathbf{f}(\bu) = \bA\bu + \bb 时,Jacobi 矩阵就是常数矩阵 A\bA。

Two consequences recur in later chapters. Orthogonal transformations preserve entropy, H(Qy)=H(y)H(\bQ\by) = H(\by), because ∣det⁡Q∣=1|\det\bQ| = 1: rotating whitened data does not change their joint entropy. And for y=Wx\by = \bW\bx with W\bW invertible, H(y)=H(x)+log⁡∣det⁡W∣H(\by) = H(\bx) + \log|\det\bW|; this is how the term log⁡∣det⁡W∣\log|\det\bW| enters the likelihood of ICA in Chapter 6第 6 章.

有两个推论会在后面各章反复出现。正交变换保持熵不变,H(Qy)=H(y)H(\bQ\by) = H(\by),因为 ∣det⁡Q∣=1|\det\bQ| = 1:旋转白化后的数据不改变它们的联合熵。另外,对可逆的 W\bW 与 y=Wx\by = \bW\bx,有 H(y)=H(x)+log⁡∣det⁡W∣H(\by) = H(\bx) + \log|\det\bW|;Chapter 6第 6 章中 ICA 似然里的 log⁡∣det⁡W∣\log|\det\bW| 项正是这样来的。

2.7 Divergence, mutual information and negentropy散度、互信息与负熵

Entropy by itself measures neither independence nor non-Gaussianity, but two divergences built from it do. Both rest on one inequality.

熵本身既不度量独立性,也不度量非高斯性;但由熵构造的两个散度可以。二者都建立在同一个不等式之上。

Definition 2.14 (Kullback–Leibler divergence)定义 2.14(KL 散度)

For densities pp and qq on Rd\R^d, the Kullback–Leibler divergence is D(p ∥ q)=∫p(u)log⁡(p(u)/q(u)) duD(p\,\|\,q) = \int p(\bu)\log\bigl(p(\bu)/q(\bu)\bigr)\,d\bu, taken to be +∞+\infty if P(q(y)=0)>0P(q(\by) = 0) > 0 for y∼p\by \sim p.

对 Rd\R^d 上的密度 pp 与 qq,KL 散度(Kullback–Leibler 散度)定义为 D(p ∥ q)=∫p(u)log⁡(p(u)/q(u)) duD(p\,\|\,q) = \int p(\bu)\log\bigl(p(\bu)/q(\bu)\bigr)\,d\bu;若对 y∼p\by \sim p 有 P(q(y)=0)>0P(q(\by) = 0) > 0,则规定其为 +∞+\infty。

Lemma 2.15 (Gibbs' inequality)引理 2.15(Gibbs 不等式)

D(p ∥ q)≥0D(p\,\|\,q) \ge 0, with equality if and only if p=qp = q almost everywhere.

D(p ∥ q)≥0D(p\,\|\,q) \ge 0,等号成立当且仅当 p=qp = q 几乎处处成立。

Proof.证明

We may assume D(p ∥ q)<∞D(p\,\|\,q) < \infty. Let y∼p\by \sim p. By Jensen's inequality for the concave logarithm, −D(p ∥ q)=E[log⁡(q(y)/p(y))]≤log⁡E[q(y)/p(y)]=log⁡∫{p>0}q(u) du≤log⁡1=0-D(p\,\|\,q) = \E\bigl[\log(q(\by)/p(\by))\bigr] \le \log\E\bigl[q(\by)/p(\by)\bigr] = \log\int_{\{p > 0\}} q(\bu)\,d\bu \le \log 1 = 0. Since the logarithm is strictly concave, equality in the first step requires q/pq/p to be constant on {p>0}\{p > 0\}, and equality in the second requires ∫{p>0}q=1\int_{\{p > 0\}} q = 1; together they give q=pq = p almost everywhere.

不妨设 D(p ∥ q)<∞D(p\,\|\,q) < \infty。令 y∼p\by \sim p。对凹函数 log⁡\log 用 Jensen 不等式,−D(p ∥ q)=E[log⁡(q(y)/p(y))]≤log⁡E[q(y)/p(y)]=log⁡∫{p>0}q(u) du≤log⁡1=0-D(p\,\|\,q) = \E\bigl[\log(q(\by)/p(\by))\bigr] \le \log\E\bigl[q(\by)/p(\by)\bigr] = \log\int_{\{p > 0\}} q(\bu)\,d\bu \le \log 1 = 0。由于对数严格凹,第一步取等号要求 q/pq/p 在 {p>0}\{p > 0\} 上为常数,第二步取等号要求 ∫{p>0}q=1\int_{\{p > 0\}} q = 1;二者合起来即得 q=pq = p 几乎处处成立。

The divergence was introduced by Kullback and Leibler (1951). It is not symmetric, and it is not a metric. It is invariant under reparametrization: if both densities are transformed by the same map f\mathbf{f} as in Proposition 2.13命题 2.13, the Jacobian factors cancel in the ratio p/qp/q. Its first use here is a classical extremal property of the Gaussian.

这一散度由 Kullback 与 Leibler(1951)提出。它不对称,也不是度量。它在重新参数化下不变:若两个密度经过同一个映射 f\mathbf{f}(如Proposition 2.13命题 2.13中)变换,Jacobi 因子在比值 p/qp/q 中相互抵消。它在这里的第一个用途,是证明高斯分布的一个经典极值性质。

Proposition 2.16 (the Gaussian maximizes entropy)命题 2.16(高斯分布的熵最大)

Let y∈Rd\by \in \R^d have density pp, finite entropy, mean μ\bmu and nonsingular covariance Σ\bSigma, and let pGp_{\mathrm{G}} be the density of N(μ,Σ)\Ncal(\bmu, \bSigma). Then

设 y∈Rd\by \in \R^d 有密度 pp,熵有限,均值为 μ\bmu,协方差 Σ\bSigma 非奇异,并记 pGp_{\mathrm{G}} 为 N(μ,Σ)\Ncal(\bmu, \bSigma) 的密度。则

D(p ∥ pG)=12log⁡((2πe)ddet⁡Σ)−H(y)  ≥  0.D(p\,\|\,p_{\mathrm{G}}) = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr) - H(\by) \;\ge\; 0 .

Hence H(y)≤12log⁡((2πe)ddet⁡Σ)H(\by) \le \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr), the entropy of N(μ,Σ)\Ncal(\bmu, \bSigma), with equality if and only if y\by is Gaussian.

因此 H(y)≤12log⁡((2πe)ddet⁡Σ)H(\by) \le \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr),即 N(μ,Σ)\Ncal(\bmu, \bSigma) 的熵;等号成立当且仅当 y\by 是高斯的。

Proof.证明

We have −log⁡pG(u)=12log⁡((2π)ddet⁡Σ)+12(u−μ)⊤Σ−1(u−μ)-\log p_{\mathrm{G}}(\bu) = \tfrac12\log\bigl((2\pi)^d\det\bSigma\bigr) + \tfrac12(\bu - \bmu)^\top\bSigma^{-1}(\bu - \bmu). Its expectation under pp depends only on the mean and covariance of y\by: since E[(y−μ)⊤Σ−1(y−μ)]=tr⁡(Σ−1Σ)=d\E[(\by - \bmu)^\top\bSigma^{-1}(\by - \bmu)] = \tr(\bSigma^{-1}\bSigma) = d, it equals 12log⁡((2πe)ddet⁡Σ)\tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr), the same value as for a Gaussian y\by. Therefore D(p ∥ pG)=−H(y)+E[−log⁡pG(y)]=12log⁡((2πe)ddet⁡Σ)−H(y)D(p\,\|\,p_{\mathrm{G}}) = -H(\by) + \E[-\log p_{\mathrm{G}}(\by)] = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr) - H(\by), which is nonnegative by Lemma 2.15引理 2.15 and zero only when p=pGp = p_{\mathrm{G}} almost everywhere.

我们有 −log⁡pG(u)=12log⁡((2π)ddet⁡Σ)+12(u−μ)⊤Σ−1(u−μ)-\log p_{\mathrm{G}}(\bu) = \tfrac12\log\bigl((2\pi)^d\det\bSigma\bigr) + \tfrac12(\bu - \bmu)^\top\bSigma^{-1}(\bu - \bmu)。它在 pp 下的期望只依赖于 y\by 的均值与协方差:由于 E[(y−μ)⊤Σ−1(y−μ)]=tr⁡(Σ−1Σ)=d\E[(\by - \bmu)^\top\bSigma^{-1}(\by - \bmu)] = \tr(\bSigma^{-1}\bSigma) = d,这个期望等于 12log⁡((2πe)ddet⁡Σ)\tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr),与 y\by 为高斯时的值相同。因此 D(p ∥ pG)=−H(y)+E[−log⁡pG(y)]=12log⁡((2πe)ddet⁡Σ)−H(y)D(p\,\|\,p_{\mathrm{G}}) = -H(\by) + \E[-\log p_{\mathrm{G}}(\by)] = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr) - H(\by);由Lemma 2.15引理 2.15,它非负,且仅当 p=pGp = p_{\mathrm{G}} 几乎处处成立时为零。

Among all distributions with a given covariance, the Gaussian is the most disordered. This is the information-theoretic side of the intuition in Section 1.5第 1.5 节: mixing independent signals makes them more Gaussian, so a measure of distance from the Gaussian can guide separation.

在协方差给定的所有分布中,高斯分布最“无序”。这是Section 1.5第 1.5 节中那条直觉在信息论上的一面:混合独立信号会使它们更接近高斯,所以与高斯分布之间的“距离”可以用来指导分离。

Definition 2.17 (mutual information)定义 2.17(互信息)

Let y=(y1,…,yk)\by = (\by_1, \dots, \by_k) have joint density pyp_{\by} and marginal densities pyip_{\by_i}. The mutual information of y1,…,yk\by_1, \dots, \by_k is the divergence of the joint density from the product of its marginals,

设 y=(y1,…,yk)\by = (\by_1, \dots, \by_k) 的联合密度为 pyp_{\by},边缘密度为 pyip_{\by_i}。y1,…,yk\by_1, \dots, \by_k 的互信息定义为联合密度相对于边缘密度之积的散度:

I(y1,…,yk)=D(py ∥ ∏i=1kpyi)=∑i=1kH(yi)−H(y),(2.4)I(\by_1, \dots, \by_k) = D\Bigl(p_{\by}\,\Big\|\,\prod_{i=1}^k p_{\by_i}\Bigr) = \sum_{i=1}^k H(\by_i) - H(\by),\tag{2.4}

where the second expression holds when all entropies are finite. For the scalar components of y∈Rn\by \in \R^n we write I(y)=I(y1,…,yn)I(\by) = I(y_1, \dots, y_n).

其中第二个等号在各熵有限时成立。对 y∈Rn\by \in \R^n 的标量分量,记 I(y)=I(y1,…,yn)I(\by) = I(y_1, \dots, y_n)。

The second expression follows by taking the expectation of log⁡py(y)−∑ilog⁡pyi(yi)\log p_{\by}(\by) - \sum_i \log p_{\by_i}(\by_i). Mutual information measures exactly what ICA wants to remove.

对 log⁡py(y)−∑ilog⁡pyi(yi)\log p_{\by}(\by) - \sum_i \log p_{\by_i}(\by_i) 取期望即得第二个表达式。互信息度量的恰好是 ICA 想要消除的东西。

Proposition 2.18 (properties of mutual information)命题 2.18(互信息的性质)

(a) I(y)≥0I(\by) \ge 0, with equality if and only if the components of y\by are independent. (b) If f1,…,fnf_1, \dots, f_n are continuously differentiable bijections of R\R onto open intervals with nonvanishing derivatives, then I(f1(y1),…,fn(yn))=I(y1,…,yn)I(f_1(y_1), \dots, f_n(y_n)) = I(y_1, \dots, y_n). In particular, mutual information does not change when the components are rescaled, change sign or are permuted.

(a)I(y)≥0I(\by) \ge 0,等号成立当且仅当 y\by 的各分量独立。(b)若 f1,…,fnf_1, \dots, f_n 都是从 R\R 到某个开区间的连续可微双射,且导数处处不为零,则 I(f1(y1),…,fn(yn))=I(y1,…,yn)I(f_1(y_1), \dots, f_n(y_n)) = I(y_1, \dots, y_n)。特别地,对各分量作缩放、改变符号或重新排列,互信息都不变。

Proof.证明

(a) follows from Lemma 2.15引理 2.15 and statement 3 of Proposition 2.2命题 2.2. (b) Assume the entropies are finite. The Jacobian of u↦(f1(u1),…,fn(un))\bu \mapsto (f_1(u_1), \dots, f_n(u_n)) is diagonal, so by Proposition 2.13命题 2.13 the joint entropy changes by ∑iE[log⁡∣fi′(yi)∣]\sum_i \E[\log|f_i'(y_i)|], while each marginal entropy H(fi(yi))H(f_i(y_i)) changes by E[log⁡∣fi′(yi)∣]\E[\log|f_i'(y_i)|]. The changes cancel in ∑iH(yi)−H(y)\sum_i H(y_i) - H(\by), and a permutation only reorders the sum. (Without finite entropies, use the invariance of the divergence under reparametrization.)

(a)由Lemma 2.15引理 2.15与Proposition 2.2命题 2.2的陈述 3 得到。(b)设各熵有限。映射 u↦(f1(u1),…,fn(un))\bu \mapsto (f_1(u_1), \dots, f_n(u_n)) 的 Jacobi 矩阵是对角的,所以由Proposition 2.13命题 2.13,联合熵改变 ∑iE[log⁡∣fi′(yi)∣]\sum_i \E[\log|f_i'(y_i)|],而每个边缘熵 H(fi(yi))H(f_i(y_i)) 改变 E[log⁡∣fi′(yi)∣]\E[\log|f_i'(y_i)|]。这些改变在 ∑iH(yi)−H(y)\sum_i H(y_i) - H(\by) 中相互抵消,而置换只是重新排列求和的次序。(若熵不有限,可改用散度在重新参数化下的不变性。)

For y=Wx\by = \bW\bx with W\bW invertible, Proposition 2.13命题 2.13 turns (2.4) into

对可逆的 W\bW 与 y=Wx\by = \bW\bx,由Proposition 2.13命题 2.13,(2.4) 变为

I(y)=∑i=1nH(yi)−H(x)−log⁡∣det⁡W∣,I(\by) = \sum_{i=1}^n H(y_i) - H(\bx) - \log|\det\bW|,

the starting point of Chapter 6第 6 章 ((6.4)). The entropy H(x)H(\bx) does not depend on W\bW, so minimizing the mutual information of the outputs involves only the marginal entropies and log⁡∣det⁡W∣\log|\det\bW|.

这是Chapter 6第 6 章的出发点((6.4))。熵 H(x)H(\bx) 与 W\bW 无关,所以最小化输出的互信息只涉及各边缘熵与 log⁡∣det⁡W∣\log|\det\bW|。

Definition 2.19 (negentropy)定义 2.19(负熵)

Let y∈Rd\by \in \R^d have a density, finite entropy and nonsingular covariance Σ\bSigma, and let yG\by_{\mathrm{G}} be a Gaussian vector with the same mean and covariance. The negentropy of y\by is J(y)=H(yG)−H(y)=12log⁡((2πe)ddet⁡Σ)−H(y)J(\by) = H(\by_{\mathrm{G}}) - H(\by) = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr) - H(\by). For a scalar, J(y)=12log⁡(2πeVar⁡(y))−H(y)J(y) = \tfrac12\log\bigl(2\pi e\Var(y)\bigr) - H(y).

设 y∈Rd\by \in \R^d 有密度,熵有限,协方差 Σ\bSigma 非奇异,并设 yG\by_{\mathrm{G}} 是与 y\by 均值、协方差都相同的高斯向量。y\by 的负熵定义为 J(y)=H(yG)−H(y)=12log⁡((2πe)ddet⁡Σ)−H(y)J(\by) = H(\by_{\mathrm{G}}) - H(\by) = \tfrac12\log\bigl((2\pi e)^d\det\bSigma\bigr) - H(\by)。对标量,J(y)=12log⁡(2πeVar⁡(y))−H(y)J(y) = \tfrac12\log\bigl(2\pi e\Var(y)\bigr) - H(y)。

Proposition 2.20 (properties of negentropy)命题 2.20(负熵的性质)

(a) J(y)≥0J(\by) \ge 0, with equality if and only if y\by is Gaussian. (b) J(y)=D(py ∥ pG)J(\by) = D(p_{\by}\,\|\,p_{\mathrm{G}}), where pGp_{\mathrm{G}} is the Gaussian density with the same mean and covariance. (c) J(Ay+b)=J(y)J(\bA\by + \bb) = J(\by) for every invertible A\bA and every b\bb.

(a)J(y)≥0J(\by) \ge 0,等号成立当且仅当 y\by 是高斯的。(b)J(y)=D(py ∥ pG)J(\by) = D(p_{\by}\,\|\,p_{\mathrm{G}}),其中 pGp_{\mathrm{G}} 是均值、协方差与 y\by 相同的高斯密度。(c)对任意可逆的 A\bA 与任意 b\bb,J(Ay+b)=J(y)J(\bA\by + \bb) = J(\by)。

Proof.证明

(a) and (b) restate Proposition 2.16命题 2.16. (c) The vector Ay+b\bA\by + \bb has covariance AΣA⊤\bA\bSigma\bA^\top, and the Gaussian vector with its mean and covariance is AyG+b\bA\by_{\mathrm{G}} + \bb. By Proposition 2.13命题 2.13, H(Ay+b)H(\bA\by + \bb) and H(AyG+b)H(\bA\by_{\mathrm{G}} + \bb) both exceed the original entropies by log⁡∣det⁡A∣\log|\det\bA|, so their difference is unchanged.

(a)与(b)就是Proposition 2.16命题 2.16。(c)向量 Ay+b\bA\by + \bb 的协方差为 AΣA⊤\bA\bSigma\bA^\top,与它均值、协方差相同的高斯向量是 AyG+b\bA\by_{\mathrm{G}} + \bb。由Proposition 2.13命题 2.13,H(Ay+b)H(\bA\by + \bb) 与 H(AyG+b)H(\bA\by_{\mathrm{G}} + \bb) 都比原来的熵大 log⁡∣det⁡A∣\log|\det\bA|,所以二者之差不变。

Negentropy is the information-theoretic measure of non-Gaussianity: unlike entropy it does not depend on scale, and unlike kurtosis it uses the whole density. From the entropies of Section 2.6第 2.6 节, J=12log⁡(πe/6)≈0.1765J = \tfrac12\log(\pi e/6) \approx 0.1765 for the uniform law and J=12log⁡(πe)−1≈0.0724J = \tfrac12\log(\pi e) - 1 \approx 0.0724 for the Laplace law, whatever the variance. The two measures need not agree: the Laplace law has the larger absolute kurtosis (3 against 1.2) but the smaller negentropy.

负熵是非高斯性的信息论度量:与熵不同,它不依赖于尺度;与峭度不同,它利用了整个密度。由Section 2.6第 2.6 节中的熵可得:无论方差多大,均匀分布的 J=12log⁡(πe/6)≈0.1765J = \tfrac12\log(\pi e/6) \approx 0.1765,拉普拉斯分布的 J=12log⁡(πe)−1≈0.0724J = \tfrac12\log(\pi e) - 1 \approx 0.0724。两种度量的结论不必一致:拉普拉斯分布的峭度绝对值更大(3 对 1.2),负熵却更小。

The two information measures are linked. For any y\by with nonsingular covariance C\bC,

这两个信息论量之间有联系。对任何协方差 C\bC 非奇异的 y\by,

I(y)=J(y)−∑i=1nJ(yi)+12log⁡∏i=1nCiidet⁡C(2.5)I(\by) = J(\by) - \sum_{i=1}^n J(y_i) + \frac12\log\frac{\prod_{i=1}^n C_{ii}}{\det\bC}\tag{2.5}

(Exercise 2.6习题 2.6). If y=Uz\by = \bU\bz with z\bz white and U\bU orthogonal, the last term vanishes and J(y)=J(z)J(\by) = J(\bz) does not depend on U\bU, so minimizing the mutual information of the outputs is the same as maximizing the sum of their negentropies. Chapter 6第 6 章 develops this equivalence (Proposition 6.4命题 6.4), connects it with maximum likelihood, and replaces negentropy, which requires a density, by approximations that can be estimated from samples (Section 6.7第 6.7 节).

(Exercise 2.6习题 2.6)。若 y=Uz\by = \bU\bz,其中 z\bz 是白的、U\bU 正交,则最后一项为零,且 J(y)=J(z)J(\by) = J(\bz) 与 U\bU 无关,所以最小化输出的互信息等价于最大化它们的负熵之和。Chapter 6第 6 章会展开这一等价关系(Proposition 6.4命题 6.4),把它与最大似然联系起来,并用可以从样本估计的近似来代替需要密度的负熵(Section 6.7第 6.7 节)。

Key points

本章要点

  • Independence means that the joint distribution factorizes; equivalently, E[g(y1)h(y2)]=E[g(y1)] E[h(y2)]\E[g(\by_1)h(\by_2)] = \E[g(\by_1)]\,\E[h(\by_2)] for all bounded gg and hh, or the characteristic function factorizes. Uncorrelatedness is the linear special case and is much weaker, except for jointly Gaussian vectors.
  • Cumulants are the Taylor coefficients of the logarithm of the characteristic function. They are symmetric and multilinear, add up over independent summands, vanish when their arguments split into independent groups, and vanish beyond order two for Gaussian variables.
  • For x=As\bx = \bA\bs with independent sources, cum⁡(xi,xj,xk,xl)=∑paipajpakpalp κp\cum(x_i, x_j, x_k, x_l) = \sum_p a_{ip}a_{jp}a_{kp}a_{lp}\,\kappa_p: fourth-order statistics see the individual columns of A\bA, which the covariance cannot.
  • Kurtosis, kurt⁡(y)=E[y4]−3(E[y2])2\kurt(y) = \E[y^4] - 3(\E[y^2])^2 for zero-mean yy, is the fourth cumulant. Its sign separates sub-Gaussian from super-Gaussian variables, and the normalized kurtosis is at least −2-2.
  • Differential entropy changes by log⁡∣det⁡A∣\log|\det\bA| under y↦Ay\by \mapsto \bA\by, and at fixed covariance it is largest for the Gaussian.
  • Mutual information I(y)=∑iH(yi)−H(y)≥0I(\by) = \sum_i H(y_i) - H(\by) \ge 0 vanishes exactly when the components are independent; negentropy J≥0J \ge 0 vanishes exactly for Gaussian vectors and is invariant under invertible linear maps.
  • 独立意味着联合分布可以分解;等价地,对一切有界的 gg 与 hh 有 E[g(y1)h(y2)]=E[g(y1)] E[h(y2)]\E[g(\by_1)h(\by_2)] = \E[g(\by_1)]\,\E[h(\by_2)],或者特征函数可以分解。不相关只是其中的线性特例,要弱得多;联合高斯向量是例外。
  • 累积量是特征函数对数的 Taylor 系数。它们对称、多重线性,对独立的加项可加;当自变量能分成相互独立的两组时为零;对高斯变量,二阶以上的累积量全为零。
  • 对源独立的 x=As\bx = \bA\bs,cum⁡(xi,xj,xk,xl)=∑paipajpakpalp κp\cum(x_i, x_j, x_k, x_l) = \sum_p a_{ip}a_{jp}a_{kp}a_{lp}\,\kappa_p:四阶统计量能看到 A\bA 的每一列,而协方差做不到。
  • 峭度(对零均值的 yy,kurt⁡(y)=E[y4]−3(E[y2])2\kurt(y) = \E[y^4] - 3(\E[y^2])^2)是四阶累积量。它的符号区分亚高斯与超高斯变量,归一化峭度不小于 −2-2。
  • 在 y↦Ay\by \mapsto \bA\by 下,微分熵改变 log⁡∣det⁡A∣\log|\det\bA|;在协方差固定时,高斯分布的熵最大。
  • 互信息 I(y)=∑iH(yi)−H(y)≥0I(\by) = \sum_i H(y_i) - H(\by) \ge 0,当且仅当各分量独立时为零;负熵 J≥0J \ge 0,当且仅当向量是高斯的时为零,并在可逆线性变换下不变。

2.8 Exercises习题

Exercise 2.1习题 2.1 basic基础

Compute the normalized kurtosis of the uniform distribution on [−a,a][-a, a] and of the sinusoid y=2sin⁡θy = \sqrt2\sin\theta with θ\theta uniform on [0,2π)[0, 2\pi), and check the entries of Table 2.1表 2.1.

计算 [−a,a][-a, a] 上均匀分布的归一化峭度,以及 θ\theta 在 [0,2π)[0, 2\pi) 上均匀时正弦波 y=2sin⁡θy = \sqrt2\sin\theta 的归一化峭度,并核对Table 2.1表 2.1中的数值。

Show solution查看解答

Uniform: E[y2]=12a∫−aau2 du=a2/3\E[y^2] = \frac{1}{2a}\int_{-a}^{a} u^2\,du = a^2/3 and E[y4]=a4/5\E[y^4] = a^4/5, so kurt⁡(y)=a4/5−3a4/9=−2a4/15\kurt(y) = a^4/5 - 3a^4/9 = -2a^4/15, and dividing by (a2/3)2=a4/9(a^2/3)^2 = a^4/9 gives −18/15=−6/5-18/15 = -6/5. Sinusoid: E[sin⁡2θ]=12\E[\sin^2\theta] = \tfrac12, so E[y2]=1\E[y^2] = 1; since sin⁡4θ=(3−4cos⁡2θ+cos⁡4θ)/8\sin^4\theta = (3 - 4\cos 2\theta + \cos 4\theta)/8, E[sin⁡4θ]=3/8\E[\sin^4\theta] = 3/8 and E[y4]=4⋅3/8=3/2\E[y^4] = 4 \cdot 3/8 = 3/2. Hence kurt⁡(y)=3/2−3=−3/2\kurt(y) = 3/2 - 3 = -3/2. Both laws are symmetric, so their skewness is zero.

均匀分布:E[y2]=12a∫−aau2 du=a2/3\E[y^2] = \frac{1}{2a}\int_{-a}^{a} u^2\,du = a^2/3,E[y4]=a4/5\E[y^4] = a^4/5,所以 kurt⁡(y)=a4/5−3a4/9=−2a4/15\kurt(y) = a^4/5 - 3a^4/9 = -2a^4/15,再除以 (a2/3)2=a4/9(a^2/3)^2 = a^4/9 得 −18/15=−6/5-18/15 = -6/5。正弦波:E[sin⁡2θ]=12\E[\sin^2\theta] = \tfrac12,所以 E[y2]=1\E[y^2] = 1;由 sin⁡4θ=(3−4cos⁡2θ+cos⁡4θ)/8\sin^4\theta = (3 - 4\cos 2\theta + \cos 4\theta)/8 得 E[sin⁡4θ]=3/8\E[\sin^4\theta] = 3/8,于是 E[y4]=4⋅3/8=3/2\E[y^4] = 4 \cdot 3/8 = 3/2,kurt⁡(y)=3/2−3=−3/2\kurt(y) = 3/2 - 3 = -3/2。两个分布都是对称的,所以偏度为零。

Exercise 2.2习题 2.2 basic基础

Let x∼N(0,1)x \sim \Ncal(0, 1), let ε\varepsilon be independent of xx with P(ε=1)=P(ε=−1)=12P(\varepsilon = 1) = P(\varepsilon = -1) = \tfrac12, and set y=εxy = \varepsilon x. Show that y∼N(0,1)y \sim \Ncal(0, 1) and Cov⁡(x,y)=0\Cov(x, y) = 0, but that xx and yy are dependent. Why does this not contradict Proposition 2.6命题 2.6?

设 x∼N(0,1)x \sim \Ncal(0, 1),ε\varepsilon 与 xx 独立且 P(ε=1)=P(ε=−1)=12P(\varepsilon = 1) = P(\varepsilon = -1) = \tfrac12,令 y=εxy = \varepsilon x。证明 y∼N(0,1)y \sim \Ncal(0, 1) 且 Cov⁡(x,y)=0\Cov(x, y) = 0,但 xx 与 yy 不独立。为什么这与Proposition 2.6命题 2.6不矛盾?

Show solution查看解答

By symmetry of xx, P(y≤u)=12P(x≤u)+12P(−x≤u)=P(x≤u)P(y \le u) = \tfrac12 P(x \le u) + \tfrac12 P(-x \le u) = P(x \le u), so y∼N(0,1)y \sim \Ncal(0, 1). Also Cov⁡(x,y)=E[εx2]=E[ε] E[x2]=0\Cov(x, y) = \E[\varepsilon x^2] = \E[\varepsilon]\,\E[x^2] = 0. But ∣y∣=∣x∣|y| = |x|, so P(∣x∣≤1,∣y∣≤1)=P(∣x∣≤1)≈0.683P(|x| \le 1, |y| \le 1) = P(|x| \le 1) \approx 0.683, while P(∣x∣≤1) P(∣y∣≤1)≈0.6832≈0.466P(|x| \le 1)\,P(|y| \le 1) \approx 0.683^2 \approx 0.466: the variables are dependent. There is no contradiction because (x,y)(x, y) is not jointly Gaussian: x+y=(1+ε)xx + y = (1 + \varepsilon)x equals 0 with probability 12\tfrac12 and is otherwise distributed as 2x2x, which is neither Gaussian nor constant.

由 xx 的对称性,P(y≤u)=12P(x≤u)+12P(−x≤u)=P(x≤u)P(y \le u) = \tfrac12 P(x \le u) + \tfrac12 P(-x \le u) = P(x \le u),所以 y∼N(0,1)y \sim \Ncal(0, 1)。又 Cov⁡(x,y)=E[εx2]=E[ε] E[x2]=0\Cov(x, y) = \E[\varepsilon x^2] = \E[\varepsilon]\,\E[x^2] = 0。但 ∣y∣=∣x∣|y| = |x|,所以 P(∣x∣≤1,∣y∣≤1)=P(∣x∣≤1)≈0.683P(|x| \le 1, |y| \le 1) = P(|x| \le 1) \approx 0.683,而 P(∣x∣≤1) P(∣y∣≤1)≈0.6832≈0.466P(|x| \le 1)\,P(|y| \le 1) \approx 0.683^2 \approx 0.466,两个变量并不独立。这与命题不矛盾,因为 (x,y)(x, y) 不是联合高斯的:x+y=(1+ε)xx + y = (1 + \varepsilon)x 以概率 12\tfrac12 等于 0,否则与 2x2x 同分布,这样的变量既不是高斯的也不是常数。

Exercise 2.3习题 2.3 intermediate进阶

Let yy be exponential with rate λ\lambda. Using φy(ω)=λ/(λ−iω)\varphi_y(\omega) = \lambda/(\lambda - i\omega), show that κj(y)=(j−1)!/λj\kappa_j(y) = (j - 1)!/\lambda^j for all j≥1j \ge 1. Deduce that the skewness is 2 and the normalized kurtosis is 6 for every λ\lambda, and check κ3\kappa_3 and κ4\kappa_4 against the raw-moment formulas of Section 2.4第 2.4 节, using E[yj]=j!/λj\E[y^j] = j!/\lambda^j.

设 yy 服从速率为 λ\lambda 的指数分布。利用 φy(ω)=λ/(λ−iω)\varphi_y(\omega) = \lambda/(\lambda - i\omega),证明对所有 j≥1j \ge 1 有 κj(y)=(j−1)!/λj\kappa_j(y) = (j - 1)!/\lambda^j。由此说明对任意 λ\lambda,偏度为 2、归一化峭度为 6;并利用 E[yj]=j!/λj\E[y^j] = j!/\lambda^j,用Section 2.4第 2.4 节中的原点矩公式核对 κ3\kappa_3 与 κ4\kappa_4。

Show solution查看解答

For ∣ω∣<λ|\omega| < \lambda, log⁡φy(ω)=−log⁡(1−iω/λ)=∑j≥11j(iωλ)j=∑j≥1(j−1)!λj (iω)jj!\log\varphi_y(\omega) = -\log(1 - i\omega/\lambda) = \sum_{j \ge 1} \frac{1}{j}\bigl(\frac{i\omega}{\lambda}\bigr)^j = \sum_{j \ge 1} \frac{(j - 1)!}{\lambda^j}\,\frac{(i\omega)^j}{j!}, so κj=(j−1)!/λj\kappa_j = (j-1)!/\lambda^j. Then Var⁡(y)=κ2=1/λ2\Var(y) = \kappa_2 = 1/\lambda^2, the skewness is κ3/κ23/2=(2/λ3)λ3=2\kappa_3/\kappa_2^{3/2} = (2/\lambda^3)\lambda^3 = 2, and the normalized kurtosis is κ4/κ22=(6/λ4)λ4=6\kappa_4/\kappa_2^2 = (6/\lambda^4)\lambda^4 = 6. With λ=1\lambda = 1 the raw moments are mj=j!m_j = j!, and the formulas give κ3=6−3⋅2⋅1+2=2\kappa_3 = 6 - 3 \cdot 2 \cdot 1 + 2 = 2 and κ4=24−4⋅6−3⋅4+12⋅2−6=6\kappa_4 = 24 - 4 \cdot 6 - 3 \cdot 4 + 12 \cdot 2 - 6 = 6, as they should; other values of λ\lambda only rescale yy.

当 ∣ω∣<λ|\omega| < \lambda 时,log⁡φy(ω)=−log⁡(1−iω/λ)=∑j≥11j(iωλ)j=∑j≥1(j−1)!λj (iω)jj!\log\varphi_y(\omega) = -\log(1 - i\omega/\lambda) = \sum_{j \ge 1} \frac{1}{j}\bigl(\frac{i\omega}{\lambda}\bigr)^j = \sum_{j \ge 1} \frac{(j - 1)!}{\lambda^j}\,\frac{(i\omega)^j}{j!},所以 κj=(j−1)!/λj\kappa_j = (j-1)!/\lambda^j。于是 Var⁡(y)=κ2=1/λ2\Var(y) = \kappa_2 = 1/\lambda^2,偏度为 κ3/κ23/2=(2/λ3)λ3=2\kappa_3/\kappa_2^{3/2} = (2/\lambda^3)\lambda^3 = 2,归一化峭度为 κ4/κ22=(6/λ4)λ4=6\kappa_4/\kappa_2^2 = (6/\lambda^4)\lambda^4 = 6。取 λ=1\lambda = 1,原点矩为 mj=j!m_j = j!,代入公式得 κ3=6−3⋅2⋅1+2=2\kappa_3 = 6 - 3 \cdot 2 \cdot 1 + 2 = 2,κ4=24−4⋅6−3⋅4+12⋅2−6=6\kappa_4 = 24 - 4 \cdot 6 - 3 \cdot 4 + 12 \cdot 2 - 6 = 6,与上面一致;其他 λ\lambda 只是对 yy 作缩放。

Exercise 2.4习题 2.4 intermediate进阶

Derive the negentropies J=12log⁡(πe/6)J = \tfrac12\log(\pi e/6) of the uniform law and J=12log⁡(πe)−1J = \tfrac12\log(\pi e) - 1 of the Laplace law, and explain why they do not depend on the variance. Which of the two laws is “more non-Gaussian” according to kurtosis, and which according to negentropy?

推导均匀分布的负熵 J=12log⁡(πe/6)J = \tfrac12\log(\pi e/6) 与拉普拉斯分布的负熵 J=12log⁡(πe)−1J = \tfrac12\log(\pi e) - 1,并说明它们为什么与方差无关。按峭度,两个分布中哪一个“更非高斯”?按负熵呢?

Show solution查看解答

By Proposition 2.20命题 2.20(c), J(αy)=J(y)J(\alpha y) = J(y), so we may take unit variance. Uniform on [−3,3][-\sqrt3, \sqrt3]: H=log⁡(23)=12log⁡12H = \log(2\sqrt3) = \tfrac12\log 12, so J=12log⁡(2πe)−12log⁡12=12log⁡(πe/6)≈0.1765J = \tfrac12\log(2\pi e) - \tfrac12\log 12 = \tfrac12\log(\pi e/6) \approx 0.1765. Laplace with b=1/2b = 1/\sqrt2: H=1+log⁡(2b)=1+12log⁡2H = 1 + \log(2b) = 1 + \tfrac12\log 2, so J=12log⁡(2πe)−1−12log⁡2=12log⁡(πe)−1≈0.0724J = \tfrac12\log(2\pi e) - 1 - \tfrac12\log 2 = \tfrac12\log(\pi e) - 1 \approx 0.0724. By absolute normalized kurtosis the Laplace law is further from the Gaussian (3 against 1.2); by negentropy the uniform law is (0.1765 against 0.0724). Kurtosis is dominated by the tails, negentropy weighs the whole density, and the bounded support of the uniform law makes its density very different from a Gaussian one.

由Proposition 2.20命题 2.20(c),J(αy)=J(y)J(\alpha y) = J(y),所以可以取单位方差。[−3,3][-\sqrt3, \sqrt3] 上的均匀分布:H=log⁡(23)=12log⁡12H = \log(2\sqrt3) = \tfrac12\log 12,所以 J=12log⁡(2πe)−12log⁡12=12log⁡(πe/6)≈0.1765J = \tfrac12\log(2\pi e) - \tfrac12\log 12 = \tfrac12\log(\pi e/6) \approx 0.1765。b=1/2b = 1/\sqrt2 的拉普拉斯分布:H=1+log⁡(2b)=1+12log⁡2H = 1 + \log(2b) = 1 + \tfrac12\log 2,所以 J=12log⁡(2πe)−1−12log⁡2=12log⁡(πe)−1≈0.0724J = \tfrac12\log(2\pi e) - 1 - \tfrac12\log 2 = \tfrac12\log(\pi e) - 1 \approx 0.0724。按归一化峭度的绝对值,拉普拉斯分布离高斯更远(3 对 1.2);按负熵则是均匀分布离高斯更远(0.1765 对 0.0724)。峭度主要由尾部决定,负熵则考虑整个密度;均匀分布的支撑有界,使它的密度与高斯密度相差很大。

Exercise 2.5习题 2.5 advanced硬核

Derive (2.2) from Definition 2.7定义 2.7: for zero-mean x1,…,x4x_1, \dots, x_4 with finite fourth moments, expand log⁡φx(ω)\log\varphi_{\bx}(\bomega) to fourth order and identify the coefficient of ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4. Then use the formula to check directly that cum⁡(y1,y1,y2,y2)=0\cum(y_1, y_1, y_2, y_2) = 0 when y1y_1 and y2y_2 are independent with zero mean.

由Definition 2.7定义 2.7推导 (2.2):对四阶矩有限的零均值变量 x1,…,x4x_1, \dots, x_4,把 log⁡φx(ω)\log\varphi_{\bx}(\bomega) 展开到四阶,找出 ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4 的系数。再用这个公式直接验证:当 y1y_1 与 y2y_2 独立且均值为零时,cum⁡(y1,y1,y2,y2)=0\cum(y_1, y_1, y_2, y_2) = 0。

Show solution查看解答

Let cab=E[xaxb]c_{ab} = \E[x_ax_b], mabc=E[xaxbxc]m_{abc} = \E[x_ax_bx_c] and mabcd=E[xaxbxcxd]m_{abcd} = \E[x_ax_bx_cx_d]. Expanding the exponential to fourth order (no first-order term, because the means vanish), φx(ω)=1+u\varphi_{\bx}(\bomega) = 1 + u with

记 cab=E[xaxb]c_{ab} = \E[x_ax_b],mabc=E[xaxbxc]m_{abc} = \E[x_ax_bx_c],mabcd=E[xaxbxcxd]m_{abcd} = \E[x_ax_bx_cx_d]。把指数函数展开到四阶(由于均值为零,没有一阶项),得 φx(ω)=1+u\varphi_{\bx}(\bomega) = 1 + u,其中

u=−12∑a,bcab ωaωb−i6∑a,b,cmabc ωaωbωc+124∑a,b,c,dmabcd ωaωbωcωd+o(∥ω∥4).u = -\frac12\sum_{a,b} c_{ab}\,\omega_a\omega_b - \frac{i}{6}\sum_{a,b,c} m_{abc}\,\omega_a\omega_b\omega_c + \frac{1}{24}\sum_{a,b,c,d} m_{abcd}\,\omega_a\omega_b\omega_c\omega_d + o(\|\bomega\|^4).

Then log⁡(1+u)=u−u2/2+O(∣u∣3)\log(1 + u) = u - u^2/2 + O(|u|^3), where u3=O(∥ω∥6)u^3 = O(\|\bomega\|^6) and, up to o(∥ω∥4)o(\|\bomega\|^4), u2=14S2u^2 = \tfrac14 S^2 with S=∑a,bcabωaωbS = \sum_{a,b} c_{ab}\omega_a\omega_b. Since cum⁡(x1,x2,x3,x4)\cum(x_1, x_2, x_3, x_4) is the fourth mixed derivative at 0\bzero (the factor (−i)4(-i)^4 equals 1), it is the coefficient of ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4 in this expansion. In uu, the 24 orderings of (1,2,3,4)(1, 2, 3, 4) in the quartic sum contribute 124⋅24 m1234=m1234\tfrac{1}{24} \cdot 24\,m_{1234} = m_{1234}. In S2S^2, the monomial ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4 arises from products of two terms of SS whose index pairs split {1,2,3,4}\{1, 2, 3, 4\}; there are three such splits, each term of SS with a≠ba \ne b appears twice (cab=cbac_{ab} = c_{ba}), and the two factors can be taken in either order, so the coefficient is 8(c12c34+c13c24+c14c23)8(c_{12}c_{34} + c_{13}c_{24} + c_{14}c_{23}). With the factor −12⋅14-\tfrac12 \cdot \tfrac14, the coefficient in log⁡φx\log\varphi_{\bx} is m1234−c12c34−c13c24−c14c23m_{1234} - c_{12}c_{34} - c_{13}c_{24} - c_{14}c_{23}, which is (2.2). For independent zero-mean y1y_1 and y2y_2, the formula gives cum⁡(y1,y1,y2,y2)=E[y12y22]−E[y12] E[y22]−2(E[y1y2])2=E[y12] E[y22]−E[y12] E[y22]−0=0\cum(y_1, y_1, y_2, y_2) = \E[y_1^2y_2^2] - \E[y_1^2]\,\E[y_2^2] - 2(\E[y_1y_2])^2 = \E[y_1^2]\,\E[y_2^2] - \E[y_1^2]\,\E[y_2^2] - 0 = 0.

于是 log⁡(1+u)=u−u2/2+O(∣u∣3)\log(1 + u) = u - u^2/2 + O(|u|^3),其中 u3=O(∥ω∥6)u^3 = O(\|\bomega\|^6),并且在相差 o(∥ω∥4)o(\|\bomega\|^4) 的意义下 u2=14S2u^2 = \tfrac14 S^2,S=∑a,bcabωaωbS = \sum_{a,b} c_{ab}\omega_a\omega_b。由于 cum⁡(x1,x2,x3,x4)\cum(x_1, x_2, x_3, x_4) 是 0\bzero 处的四阶混合偏导数(因子 (−i)4(-i)^4 等于 1),它就是这个展开式中 ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4 的系数。在 uu 中,四次求和里 (1,2,3,4)(1, 2, 3, 4) 的 24 种排列贡献 124⋅24 m1234=m1234\tfrac{1}{24} \cdot 24\,m_{1234} = m_{1234}。在 S2S^2 中,单项式 ω1ω2ω3ω4\omega_1\omega_2\omega_3\omega_4 来自 SS 的两项之积,且两项的下标对恰好把 {1,2,3,4}\{1, 2, 3, 4\} 分成两组;这样的分法有三种,SS 中每个 a≠ba \ne b 的项出现两次(cab=cbac_{ab} = c_{ba}),两个因子的先后又有两种,所以系数为 8(c12c34+c13c24+c14c23)8(c_{12}c_{34} + c_{13}c_{24} + c_{14}c_{23})。乘上因子 −12⋅14-\tfrac12 \cdot \tfrac14,log⁡φx\log\varphi_{\bx} 中的系数为 m1234−c12c34−c13c24−c14c23m_{1234} - c_{12}c_{34} - c_{13}c_{24} - c_{14}c_{23},这正是 (2.2)。对独立的零均值变量 y1y_1、y2y_2,公式给出 cum⁡(y1,y1,y2,y2)=E[y12y22]−E[y12] E[y22]−2(E[y1y2])2=E[y12] E[y22]−E[y12] E[y22]−0=0\cum(y_1, y_1, y_2, y_2) = \E[y_1^2y_2^2] - \E[y_1^2]\,\E[y_2^2] - 2(\E[y_1y_2])^2 = \E[y_1^2]\,\E[y_2^2] - \E[y_1^2]\,\E[y_2^2] - 0 = 0。

Exercise 2.6习题 2.6 advanced硬核

Prove (2.5). Deduce that if z\bz is white and y=Uz\by = \bU\bz with U\bU orthogonal, then I(y)=J(z)−∑iJ(yi)I(\by) = J(\bz) - \sum_i J(y_i), and that the separating rotations are exactly the maximizers of ∑iJ(yi)\sum_i J(y_i) whenever z=A~s\bz = \tilde\bA\bs with A~\tilde\bA orthogonal and independent sources, at most one of them Gaussian.

证明 (2.5)。由此推出:若 z\bz 是白的,y=Uz\by = \bU\bz 且 U\bU 正交,则 I(y)=J(z)−∑iJ(yi)I(\by) = J(\bz) - \sum_i J(y_i);并且当 z=A~s\bz = \tilde\bA\bs(A~\tilde\bA 正交,源独立且至多一个是高斯的)时,使 ∑iJ(yi)\sum_i J(y_i) 最大的旋转恰好就是能实现分离的旋转。

Show solution查看解答

By the definition of negentropy, H(yi)=12log⁡(2πe Cii)−J(yi)H(y_i) = \tfrac12\log(2\pi e\,C_{ii}) - J(y_i) and H(y)=12log⁡((2πe)ndet⁡C)−J(y)H(\by) = \tfrac12\log\bigl((2\pi e)^n\det\bC\bigr) - J(\by). Substituting into I(y)=∑iH(yi)−H(y)I(\by) = \sum_i H(y_i) - H(\by), the terms 12log⁡(2πe)\tfrac12\log(2\pi e) cancel (nn of them on each side) and we obtain I(y)=J(y)−∑iJ(yi)+12(∑ilog⁡Cii−log⁡det⁡C)I(\by) = J(\by) - \sum_i J(y_i) + \tfrac12\bigl(\sum_i\log C_{ii} - \log\det\bC\bigr), which is (2.5). If y=Uz\by = \bU\bz with z\bz white, then C=UIU⊤=I\bC = \bU\bI\bU^\top = \bI, so the last term is 12log⁡(1/1)=0\tfrac12\log(1/1) = 0, and J(y)=J(z)J(\by) = J(\bz) by Proposition 2.20命题 2.20(c). Hence I(y)=J(z)−∑iJ(yi)I(\by) = J(\bz) - \sum_i J(y_i), where J(z)J(\bz) does not depend on U\bU. Since I(y)≥0I(\by) \ge 0 with equality exactly for independent outputs (Proposition 2.18命题 2.18), ∑iJ(yi)≤J(z)\sum_i J(y_i) \le J(\bz) for every U\bU, with equality exactly when the outputs are independent. A separating rotation, UA~=ΠD\bU\tilde\bA = \bPi\bD, makes them independent and therefore attains the maximum. Conversely, any maximizer has independent outputs, and when at most one source is Gaussian, Comon's theorem (Theorem 4.6定理 4.6) shows that it separates.

由负熵的定义,H(yi)=12log⁡(2πe Cii)−J(yi)H(y_i) = \tfrac12\log(2\pi e\,C_{ii}) - J(y_i),H(y)=12log⁡((2πe)ndet⁡C)−J(y)H(\by) = \tfrac12\log\bigl((2\pi e)^n\det\bC\bigr) - J(\by)。代入 I(y)=∑iH(yi)−H(y)I(\by) = \sum_i H(y_i) - H(\by),两边各 nn 个 12log⁡(2πe)\tfrac12\log(2\pi e) 相互抵消,得到 I(y)=J(y)−∑iJ(yi)+12(∑ilog⁡Cii−log⁡det⁡C)I(\by) = J(\by) - \sum_i J(y_i) + \tfrac12\bigl(\sum_i\log C_{ii} - \log\det\bC\bigr),即 (2.5)。若 y=Uz\by = \bU\bz 且 z\bz 是白的,则 C=UIU⊤=I\bC = \bU\bI\bU^\top = \bI,最后一项为 12log⁡(1/1)=0\tfrac12\log(1/1) = 0;又由Proposition 2.20命题 2.20(c),J(y)=J(z)J(\by) = J(\bz)。因此 I(y)=J(z)−∑iJ(yi)I(\by) = J(\bz) - \sum_i J(y_i),其中 J(z)J(\bz) 与 U\bU 无关。由于 I(y)≥0I(\by) \ge 0,且仅当输出独立时取等号(Proposition 2.18命题 2.18),对每个 U\bU 都有 ∑iJ(yi)≤J(z)\sum_i J(y_i) \le J(\bz),等号恰在输出独立时成立。能实现分离的旋转(UA~=ΠD\bU\tilde\bA = \bPi\bD)使输出独立,因而达到最大值。反之,任何最大值点都使输出独立;当至多一个源是高斯的时,Comon 定理(Theorem 4.6定理 4.6)表明它能实现分离。

2.9 References参考文献

  1. Bell, A. J., & Sejnowski, T. J. (1997). The “independent components” of natural scenes are edge filters. Vision Research, 37(23), 3327–3338.
  2. Billingsley, P. (1995). Probability and Measure (3rd ed.). Wiley.
  3. Comon, P. (1994). Independent component analysis, a new concept? Signal Processing, 36(3), 287–314.
  4. Cover, T. M., & Thomas, J. A. (2006). Elements of Information Theory (2nd ed.). Wiley.
  5. Gazor, S., & Zhang, W. (2003). Speech probability distribution. IEEE Signal Processing Letters, 10(7), 204–207.
  6. Hyvärinen, A., Karhunen, J., & Oja, E. (2001). Independent Component Analysis. Wiley.
  7. Kullback, S., & Leibler, R. A. (1951). On information and sufficiency. Annals of Mathematical Statistics, 22(1), 79–86.
  8. Lukacs, E. (1970). Characteristic Functions (2nd ed.). Griffin.
  9. Marcinkiewicz, J. (1939). Sur une propriété de la loi de Gauss. Mathematische Zeitschrift, 44, 612–618.
  10. McCullagh, P. (1987). Tensor Methods in Statistics. Chapman and Hall.
  11. Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27(3), 379–423, and 27(4), 623–656.
  12. Westfall, P. H. (2014). Kurtosis as peakedness, 1905–2014. R.I.P. The American Statistician, 68(3), 191–195.