Rényi Divergence and Majorization

Tim van Erven, Peter Harremoës

I Introduction

Since Shannon’s introduction of his entropy function various other similar measures of uncertainty or information have been introduced. Most of these have found no applications and some have found applications only in quite special cases. An exception is formed by Rényi entropy and Rényi divergence, which pop up again and again. They are far from being as well understood as Shannon entropy and Shannon divergence, and do not have as simple an interpretation. Erdal Arikan observed that the discrete version of Rényi entropy is related to so-called guessing moments .

In this short note we shall first review the most important properties of Rényi divergence in Section II. In Section III we give a very brief introduction to Markov ordering and its relation to majorization. Then in Sections IV, and V we relate Rényi divergence to the theory of majorization. And finally, in Section VI we will show that, like its entropy counterpart, Rényi divergence is related to guessing moments.

II Rényi Divergence

Let PP and QQ be probability measures on a measurable space (X,F)(\mathcal{X},\mathcal{F}), and let pp and qq be their densities with respect to a common σ\sigma-finite dominating measure μ\mu. Then for any 0<α<∞0<\alpha<\infty except α=1\alpha=1, the Rényi divergence DαD_{\alpha} of order α\alpha of PP from QQ is defined as

with the conventions that pαq1−α=0p^{\alpha}q^{1-\alpha}=0 if p=q=0p=q=0, even for α<0\alpha<0 and α>1\alpha>1, and that x/0=∞x/0=\infty for x>0x>0. Continuity considerations lead to the following extensions for α∈{0,1}\alpha\in\{0,1\}:

We will first review some of the basic properties of DαD_{\alpha}. Whenever these properties can easily be derived from known results, we will point to the relevant literature. For other properties, space requirements limit us to only hint at their proofs. A longer version of this paper with full proofs will be published elsewhere, and will include results for negative values of the order α\alpha.

Let us start by noting that, for finite orders 0<α≠10<\alpha\neq 1, DαD_{\alpha} is a continuous, strictly increasing function of the power divergence

As dαd_{\alpha} are ff-divergences, we may derive properties for DαD_{\alpha} from general properties of ff-divergences .

In particular, Rényi divergence satisfies the data processing inequality

for any σ\sigma-subalgebra G⊆F\mathcal{G}\subseteq\mathcal{F}, where P∣GP_{\lvert\mathcal{G}} and Q∣GQ_{\lvert\mathcal{G}} denote the restrictions of PP and QQ to G\mathcal{G}. As a special case, taking G={0,X}\mathcal{G}=\{0,\mathcal{X}\} to be the trivial algebra, we find that

Dα(P∥Q)=0D_{\alpha}(P\|Q)=0 if and only if P=Q.P=Q. Taking G=σ(P)\mathcal{G}=\sigma(\mathcal{P}) to be the σ\sigma-algebra generated by a finite partition P\mathcal{P} of X\mathcal{X}, the data processing inequality implies that discretizing X\mathcal{X} can only decrease DαD_{\alpha}. However, because of the following property, which carries over from ff-divergences, DαD_{\alpha} may be approximated arbitrarily well by such finite partitions:

where the supremum is over all finite partitions P\mathcal{P} of X\mathcal{X}. This characterization also shows that we have found the right generalization of Rényi’s definition for finite X\mathcal{X}.

Using the dominated convergence theorem it can be shown that:

DαD_{\alpha} is continuous in α\alpha on

DαD_{\alpha} is also nondecreasing in α\alpha, and on AA it is constant if and only if q/pq/p is constant PP-a.s.

The fact that DαD_{\alpha} is nondecreasing, together with Equation (2), implies that lim⁡α↑1Dα=D\lim_{\alpha\uparrow 1}D_{\alpha}=D, as asserted in our definition of D1D_{1}: for finite X\mathcal{X}, this can be verified directly using l’Hôpital’s rule. Therefore

The assertion that lim⁡α↓0Dα=−log⁡Q(p>0)\lim_{\alpha\downarrow 0}D_{\alpha}=-\log Q(p>0) is verified differently, using the dominated convergence theorem and the observation that lim⁡α↓0pαq1−α\lim_{\alpha\downarrow 0}p^{\alpha}q^{1-\alpha} equals qq if p>0p>0 and otherwise. Rényi divergence may be extended to α=∞\alpha=\infty by letting α\alpha tend to ∞\infty. Then, for finite X\mathcal{X},

and by an interchanging of suprema similar to (3) we find that

in general. Consequently, D∞(Q∥P)D_{\infty}(Q\|P) (note the reversal of PP and QQ) is a one-to-one function of the separation distance s(P,Q)=max⁡x(1−P(x)/Q(x))s(P,Q)=\max_{x}(1-P(x)/Q(x)), defined only for countable X\mathcal{X}, which has been used to obtain bounds on the rate of convergence to the stationary distribution for certain Markov chains .

Equation 2 implies that there exists a sequence F1,F2,…\mathcal{F}_{1},\mathcal{F}_{2},\ldots of σ\sigma-algebras generated by finite partitions such that

By the connection to ff-divergences, such a convergence result holds for any increasing sequence of σ\sigma-algebras F1⊆F2⊆⋯⊆F∞=σ(⋃n=1∞Fn)⊆F\mathcal{F}_{1}\subseteq\mathcal{F}_{2}\subseteq\cdots\subseteq\mathcal{F}_{\infty}=\sigma\left(\bigcup_{n=1}^{\infty}\mathcal{F}_{n}\right)\subseteq\mathcal{F}:

[4, Theorem 15]. By a suitable choice of Fn\mathcal{F}_{n} this result extends additivity for any distributions P1,P2,…P_{1},P_{2},\ldots and Q1,Q2,…Q_{1},Q_{2},\ldots,

from any finite NN (for which it is easy to prove) to N=∞N=\infty (if α>0\alpha>0). For α=0\alpha=0 additivity only holds for finite NN. By a direct proof we can also prove the counterpart to (4) for decreasing sequences of σ\sigma-algebras F⊇F1⊇F2⊇⋯⊇F∞=⋂n=1∞Fn\mathcal{F}\supseteq\mathcal{F}_{1}\supseteq\mathcal{F}_{2}\supseteq\cdots\supseteq\mathcal{F}_{\infty}=\bigcap_{n=1}^{\infty}\mathcal{F}_{n} (for finite α\alpha) under the condition that the divergence is finite.

denote the squared Hellinger distance, and let

denote the χ2\chi^{2}-distance . We see that

and D2(P∥Q)=log⁡(1+χ2(P,Q))D_{2}(P\|Q)=\log(1+\chi^{2}(P,Q)). Hence by log⁡x≤x−1\log x\leq x-1

III Majorization, Markov ordering and Lorenz diagrams

The general theory of majorization is now a well established mathematical discipline . The majorization lattice and its relation to discrete entropy was studied in and later generalized in . Recently a long article on this subject by Gorban, Gorban, and Judge has been accepted for publication . We refer to these papers for a more complete discussion and further references. Here we shall relate the relative majorization lattice to Rényi divergence.

Let PP and QQ be measures on the same measurable set. The Lorenz diagram of (P,Q)\left(P,Q\right) is the range of

where ff is any measurable function with values in [0,1].\left[0,1\right].

If QQ is the uniform distribution then the Lorenz diagram of (P1,Q)\left(P_{1},Q\right) is a subset of the Lorenz diagram of (P2,Q)\left(P_{2},Q\right) if and only if P2P_{2} majorizes P1.P_{1}.

The Lorenz diagram of (P1,Q)\left(P_{1},Q\right) is a subset of the Lorenz diagram of (P2,Q)\left(P_{2},Q\right) if and only if there exists a Markov operator that transforms P2P_{2} into P1P_{1} and leaves QQ invariant.

Let P1,P2P_{1},P_{2} and QQ be measures on the same measurable set X\mathcal{X}. We write P2⪰QP1P_{2}\succeq_{Q}P_{1} if the Lorenz diagram of (P1,Q)\left(P_{1},Q\right) is a subset of the Lorenz diagram of (P2,Q).\left(P_{2},Q\right). If the Lorenz diagrams of (P1,Q)(P_{1},Q) and (P2,Q)(P_{2},Q) are equal, then we write P1≃QP2P_{1}\simeq_{Q}P_{2}.

This ordering that generalizes majorization will be celled the Markov ordering In this ordering was called relative majorization..

Let QQ be a measure on a measurable set X.\mathcal{X}. If QQ is a uniform distribution on a finite set or if QQ has no atoms, then M+1(X)/≃QM_{+}^{1}\left(\mathcal{X}\right)/\simeq_{Q} is a lattice, where M+1(X)M_{+}^{1}\left(\mathcal{X}\right) denotes the set of probability measures on X.\mathcal{X}.

The Lorenz diagram is characterized by a lower bound curve that is convex and an upper bounding curve that is concave. Because of the symmetry around (1/2,1/2)\left(1/2,1/2\right) the Lorenz diagram is completely determined by the lower bounding curve.

The Lorenz curve of (P,Q)\left(P,Q\right) is the convex envelope of the Lorenz diagram, i.e. the largest convex function such that all the points in the Lorenz diagram are at or above the curve.

so (P(At),Q(At))\left(P\left(A_{t}\right),Q\left(A_{t}\right)\right) gives a parametrization of the Lorenz curve in terms of its slope if it is differentiable.

Suppose QQ is the counting measure on a finite set X\mathcal{X} of size nn, and let P1=(v1,…,vn)P_{1}=(v_{1},\ldots,v_{n}) be a discrete measure on X\mathcal{X}. Then AtA_{t} is simply {i∣vi≤t}.\left\{i\mid v_{i}\leq t\right\}. Let P2=(w1,…,wn)P_{2}=(w_{1},\ldots,w_{n}) be another measure and let Bt={i∣wi≤t}B_{t}=\left\{i\mid w_{i}\leq t\right\}. Then P1⪯P2P_{1}\preceq P_{2} if and only if P1(At1)≥P2(Bt2)P_{1}\left(A_{t_{1}}\right)\geq P_{2}\left(B_{t_{2}}\right) whenever Q(At1)=Q(Bt2)Q\left(A_{t_{1}}\right)=Q\left(B_{t_{2}}\right). Thus P1⪯P2P_{1}\preceq P_{2} if and only if the Lorenz curve of (P1,Q)\left(P_{1},Q\right) is above the Lorenz curve of (P2,Q)\left(P_{2},Q\right).

If one of the conditions of Theorem 5 is fulfilled, then for each convex function ff there exists a measure PP such that ff is the Lorenz curve of PP. Thus M+1(X)/≃QM_{+}^{1}\left(\mathcal{X}\right)/\simeq_{Q} can be identified with the set of Lorenz curves. Let P1P_{1} and P2P_{2} be measures and let L1L_{1} and L2L_{2} be their Lorenz curves. Then P1∧P2P_{1}\wedge P_{2} can be identified with the Lorenz curve max⁡{L1,L2}\max\left\{L_{1},L_{2}\right\} and P1∨P2P_{1}\vee P_{2} can be identified with the Lorenz curve that is the convex envelop of min⁡{L1,L2}\min\left\{L_{1},L_{2}\right\}. In general this lattice is neither modular nor distributive .

IV Divergence, Convexity and Ordering

We will now consider properties of Dα(P∥Q)D_{\alpha}(P\|Q) as we vary PP and QQ while keeping α\alpha fixed. Information divergence D(P∥Q)D(P\|Q) is known to be jointly convex in the pair (P,Q)(P,Q) . By an argument similar to the proof for D1D_{1} in , this property generalizes to DαD_{\alpha} for arbitrary order 0≤α≤10\leq\alpha\leq 1:

For 0≤α≤10\leq\alpha\leq 1, Dα(P,Q)D_{\alpha}(P,Q) is jointly convex in the pair (P,Q)(P,Q).

Even though joint convexity does not generalize to α>1\alpha>1, we still have:

For all α\alpha, Dα(P∥Q)D_{\alpha}(P\|Q) is convex in Q.Q.

The key step in proving the latter result for α>1\alpha>1 relies on Hölder’s inequality.

Let PP be absolutely continuous with respect to QQ. If FF denotes the curve that upper bounds the Lorenz diagram, then the Rényi divergence is given by

Note that we can replace the upper bounding function by the lower bounding function (the Lorenz curve) without changing the integral.

For α>0\alpha>0 the Rényi divergence Dα(P∥Q)D_{\alpha}\left(P\|Q\right) is a increasing function of PP on the lattice corresponding to QQ.

Theorem 10 is essentially a noisy data processing inequality because the Markov kernel Φx\Phi_{x} in the proof essentially maps the measure corresponding to GG into the measure corresponding to P.P. By adapting a proof from is possible to prove the following theorem:

Let P1P_{1} and P2P_{2} denote distributions that are absolutely continuous with respect to QQ. If Markov ordering is taken with respect to QQ then power divergence is sub-modular and super-additive, i.e.

Since power divergence is a function of Rényi divergence one can reformulate Theorem 11 in terms of Rényi divergence. Like Rényi divergence, the power divergence dα(P,Q)d_{\alpha}(P,Q) tends to the information divergence D(P∥Q)D(P\|Q) as α↑1\alpha\uparrow 1. This implies:

Let P1P_{1} and P2P_{2} be distributions that are absolutely continuous with respect to QQ. If the Markov ordering is taken with respect to QQ then information divergence is sub-modular and super-additive, i.e.

V Continuity of Rényi divergence

The type of continuity of DαD_{\alpha} in the pair (P,Q)(P,Q) turns out to depend on the topology and on α\alpha. We consider the τ\tau-topology, in which convergence of PnP_{n} to PP means that Pn(A)→P(A)P_{n}(A)\rightarrow P(A) for all A∈FA\in\mathcal{F}, and the total variation topology in which Pn→PP_{n}\rightarrow P if the variation distance between PnP_{n} and PP goes to zero. In general the total variation topology is stronger than the τ\tau-topology, but if X\mathcal{X} is countable, then the two topologies coincide.

For any α>0\alpha>0, Dα(P∥Q)D_{\alpha}(P\|Q) is a lower semi-continuous function of (P,Q)(P,Q) in the τ\tau-topology.

For 0<α<10<\alpha<1, Dα(P∥Q)D_{\alpha}(P\|Q) is a (uniformly) continuous function of (P,Q)(P,Q) in the total variation topology.

It remains to consider α=0\alpha=0. In this case:

D0(P∥Q)D_{0}(P\|Q) is an upper semi-continuous function of (P,Q)(P,Q) in the total variation topology.

Using the Markov ordering we get more insight.

This holds for all ε>0\varepsilon>0 and, since the right-hand side tends to 1α−1log⁡∫01(ddtF(t))α dt=Dα(P∥Q)\frac{1}{\alpha-1}\log\int_{0}^{1}\left(\frac{d}{dt}F\left(t\right)\right)^{\alpha}~{}dt=D_{\alpha}\left(P\|Q\right) for ε→0\varepsilon\rightarrow 0, the result follows. ∎

VI Guessing moments

Erdal Arikan observed that the discrete version of Rényi entropy is related to so-called guessing moments . In this short note we shall see that Rényi divergences are also related to guessing moments.

Let P1P_{1} and P2P_{2} denote probability measures on X.\mathcal{X}. We say that P1P_{1} is a rearrangement of P2P_{2} if

The ranking function is the guessing function that minimizes the ρ\rho-th moment if ρ>0\rho>0 and maximizes the ρ\rho-th moment if ρ<0\rho<0.

Guessing and ranking are closely related to majorization and the Markov ordering via the following proposition.

Assume that P1,P2P_{1},P_{2} and QQ are probability measures on X\mathcal{X} and P1⪯QP2.P_{1}\preceq_{Q}P_{2}. Let r1r_{1} and r2r_{2} denote the ranking functions of P1P_{1} and P2.P_{2}. Then

If α=11+ρ>0\alpha=\frac{1}{1+\rho}>0 then, for any probability measures PP and QQ,

We raise to the power 1/ρ1/\rho and take minus the logarithm and get

Using additivity of Rényi divergence and Lemma 22 we get the following theorem.

If α=11+ρ>0\alpha=\frac{1}{1+\rho}>0 then for any i.i.d. sequence X1n=(X1,X2,…,Xn)∈XnX_{1}^{n}=\left(X_{1},X_{2},\ldots,X_{n}\right)\in\mathcal{X}^{n} we have

This bound is asymptotically tight as stated in the following theorem.

If α=11+ρ>0\alpha=\frac{1}{1+\rho}>0 then for any i.i.d. sequence X1n=(X1,X2,…,Xn)∈XnX_{1}^{n}=\left(X_{1},X_{2},\ldots,X_{n}\right)\in\mathcal{X}^{n} we have

The result gives a new interpretation of Rényi divergence.

VII Discussion

The results in this short paper are formulated under the assumption that the second argument QQ in Dα(P∥Q)D_{\alpha}\left(P\|Q\right) is a probability measure. Nevertheless many of the results still hold if QQ is a more general positive measure. For instance many results on Rényi entropy are obtained when QQ denotes the counting measure. Most of these results for Rényi entropy are well-known. Results for differential Rényi entropy are obtained when QQ is the Lebesgue measure. For both Rényi entropy and differential Rényi entropy many results should first be formulated and proved for subsets of finite measure and then one should take a limit for an increasing sequence of subsets. In this sense our results on Rényi divergence are often more general than the results one will find in the literature.

We have related Rényi divergence to majorization and Markov ordering. An interesting related concept is catalytic majorization. It has been proved by M. Klimesh that one discrete distribution majorizes another distribution if and only if certain inequalities hold between their Rényi entropies . A similar result is still to be proved for Rényi divergence.

VIII Acknowledgments

We thank Christophe Vignat, Matthew Klimesh, and Erdal Arikan for useful discussions.

This work was supported in part by the IST Programme of the European Community, under the PASCAL Network of Excellence, IST-2002-506778.

References