Rényi Divergence and Kullback-Leibler Divergence
Tim van Erven, Peter Harremoës
I Introduction
Shannon entropy and Kullback-Leibler divergence (also known as information divergence or relative entropy) are perhaps the two most fundamental quantities in information theory and its applications. Because of their success, there have been many attempts to generalize these concepts, and in the literature one will find numerous entropy and divergence measures. Most of these quantities have never found any applications, and almost none of them have found an interpretation in terms of coding. The most important exceptions are the Rényi entropy and Rényi divergence . Harremoës and Grünwald [3, p. 649] provide an operational characterization of Rényi divergence as the number of bits by which a mixture of two codes can be compressed; and Csiszár gives an operational characterization of Rényi divergence as the cut-off rate in block coding and hypothesis testing.
Rényi divergence appears as a crucial tool in proofs of convergence of minimum description length and Bayesian estimators, both in parametric and nonparametric models , [7, Chapter 5], and one may recognize it implicitly in many computations throughout information theory. It is also closely related to Hellinger distance, which is commonly used in the analysis of nonparametric density estimation . Rényi himself used his divergence to prove the convergence of state probabilities in a stationary Markov chain to the stationary distribution , and still other applications of Rényi divergence can be found, for instance, in hypothesis testing , in multiple source adaptation and in ranking of images .
Although the closely related Rényi entropy is well studied , the properties of Rényi divergence are scattered throughout the literature and have often only been established for finite alphabets. This paper is intended as a reference document, which treats the most important properties of Rényi divergence in detail, including Kullback-Leibler divergence as a special case. Preliminary versions of the results presented here can be found in and . During the preparation of this paper, Shayevitz has independently published closely related work .
For finite alphabets, the Rényi divergence of positive order of a probability distribution from another distribution is
where, for , we read as and adopt the conventions that and for . As described in Section II, this definition generalizes to continuous spaces by replacing the probabilities by densities and the sum by an integral. If and are members of the same exponential family, then their Rényi divergence can be computed using a formula by Huzurbazar and Liese and Vajda [20, p. 43], . Gil provides a long list of examples .
Let be a probability distribution and a set with positive probability. Let be the conditional distribution of given . Then
We observe that in this important special case the factor in the definition of Rényi divergence has the effect that the value of does not depend on .
can be expressed in terms of the Rényi divergence of from the uniform distribution :
As tends to , the Rényi entropy tends to the Shannon entropy and the Rényi divergence tends to the Kullback-Leibler divergence, so we recover a well-known relation. The differential Rényi entropy of a distribution with density is given by
whenever this integral is defined. If has support in an interval of length then
where denotes the uniform distribution on , and is the generalization of Rényi divergence to densities, which will be defined formally in Section II. Thus the properties of both the Rényi entropy and the differential Rényi entropy can be deduced from the properties of Rényi divergence as long as has compact support.
There is another way of relating Rényi entropy and Rényi divergence, in which entropy is considered as self-information. Let denote a discrete random variable with distribution , and let be the distribution of . Then
For tending to , the right-hand side tends to the mutual information between and itself, and again a well-known formula is recovered.
I-B Special Orders
Although one can define the Rényi divergence of any order, certain values have wider application than others. Of particular interest are the values , , , , and .
The values and are extended orders in the sense that Rényi divergence of these orders cannot be calculated by plugging into (1). Instead, their definitions are determined by continuity in (see Figure 1). This leads to defining Rényi divergence of order as the Kullback-Leibler divergence. For order it becomes which is closely related to absolute continuity and contiguity of the distributions and (see Section III-F). For order , Rényi divergence is defined as . In the literature on the minimum description length principle in statistics, this is called the worst-case regret of coding with rather than with . The Rényi divergence of order is also related to the separation distance, used by Aldous and Diaconis to bound the rate of convergence to the stationary distribution for certain Markov chains.
Only for is Rényi divergence symmetric in its arguments. Although not itself a metric, it is a function of the squared Hellinger distance \operatorname{Hel}^{2}(P,Q)=\sum_{i=1}^{n}\big{(}p_{i}^{\nicefrac{{1}}{{2}}}-q_{i}^{\nicefrac{{1}}{{2}}}\big{)}^{2} :
where denotes the -divergence . It will be shown that Rényi divergence is nondecreasing in its order. Therefore, by (5) and (6) imply that
Finally, Gilardoni shows that Rényi divergence is related to the total variation distanceN.B. It is also common to define the total variation distance as . See the discussion by Pollard [26, p. 60]. Our definition is consistent with the literature on Pinsker’s inequality. by a generalization of Pinsker’s inequality:
(See Theorem 31 below.) For this is the normal version of Pinsker’s inequality, which bounds total variation distance in terms of the square root of the Kullback-Leibler divergence.
I-C Outline
The rest of the paper is organized as follows. First, in Section II, we extend the definition of Rényi divergence from formula (1) to continuous spaces. One can either define Rényi divergence via an integral or via discretizations. We demonstrate that these definitions are equivalent. Then we show that Rényi divergence extends to the extended orders , and in the same way as for finite spaces. Along the way, we also study its behaviour as a function of . By contrast, in Section III we study various convexity and continuity properties of Rényi divergence as a function of and , while is kept fixed. We also generalize the Pythagorean inequality to any order . Section IV contains several minimax results, and treats the connection to Chernoff information in hypothesis testing, to which many applications of Rényi divergence are related. We also discuss the equivalence of channel capacity and the minimax redundancy for all orders . Then, in Section V, we show how Rényi divergence extends to negative orders. These are related to the orders by a negative scaling factor and a reversal of the arguments and . Finally, Section VI contains a number of counterexamples, showing that properties that hold for certain other divergences are violated by Rényi divergence.
For fixed , Rényi divergence is related to various forms of power divergences, which are in the well-studied class of -divergences . Consequently, several of the results we are presenting for fixed in Section III are equivalent to known results about power divergences. To make this presentation self-contained we avoid the use of such connections and only use general results from measure theory.
II Definition of Rényi divergence
We will often need to distinguish between the orders for which Rényi divergence can be defined by a generalization of formula (1) to an integral over densities, and the other orders. This motivates the following definitions.
We call a (finite) real number a simple order if and . The values , , and are called extended orders.
Let and be two arbitrary distributions on . The formula in (1), which defines Rényi divergence for simple orders on finite sample spaces, generalizes to arbitrary spaces as follows:
For any simple order the Rényi divergence of order of from is defined as
where, for we read as and adopt the conventions that and for .
For example, for any simple order , the Rényi divergence of a normal distribution (with mean and positive variance ) from another normal distribution (with mean and positive variance ) is
provided that [20, p. 45].
For simple orders, we may always change to integration with respect to :
which shows that our definition does not depend on the choice of dominating measure . In most cases it is also equivalent to integrate with respect to :
However, if and then whereas the integral with respect to may be finite. This is a subtle consequence of our conventions. For example, if , and is the counting measure, then for
II-B Definition via Discretization for Simple Orders
We shall repeatedly use the following result, which is a direct consequence of the Radon-Nikodým theorem :
Suppose is a probability distribution, or any countably additive measure such that . Then for any sub--algebra
It has been argued that grouping observations together (by considering a coarser -algebra), should not increase our ability to distinguish between and under any measure of divergence . This is expressed by the data processing inequality, which Rényi divergence satisfies:
For any simple order and any sub--algebra
Theorem 9 below shows that the data processing inequality also holds for the extended orders.
The name “data processing inequality” stems from the following application of Theorem 1. Let and be two random variables that form a Markov chain
where the conditional distribution of given is . Then if is a deterministic function of , we may view as the result of “processing” according to the function . In general, we may also process using a nondeterministic function, such that is not a point-mass.
Suppose and are distributions for . Let and denote the corresponding joint distributions, and let and be the induced marginal distributions for . Then the reader may verify that , and consequently the data processing inequality implies that processing to obtain reduces Rényi divergence:
The next theorem shows that if is a continuous space, then the Rényi divergence on can be arbitrarily well approximated by the Rényi divergence on finite partitions of . For any finite or countable partition of , let and denote the restrictions of and to the -algebra generated by .
where the supremum is over all finite partitions .
It follows that it would be equivalent to first define Rényi divergence for finite sample spaces and then extend the definition to arbitrary sample spaces using (15).
The identity (15) also holds for the extended orders and . (See Theorem 10 below.)
To show the converse inequality, consider for any a discretization of the densities and into a countable number of bins
and hence the supremum over all countable partitions is large enough:
It remains to show that the supremum over finite partitions is at least as large. To this end, suppose is any countable partition and let . Then by
where the inequality holds with equality if . ∎
II-C Extended Orders: Varying the Order
As for finite alphabets, continuity considerations lead to the following extensions of Rényi divergence to orders for which it cannot be defined using the formula in (9).
The Rényi divergences of orders and are defined as
and the Rényi divergence of order is defined as
Our definition of follows Csiszár . It differs from Rényi’s original definition , which uses (9) with plugged in and is therefore always zero. As illustrated by Section III-F, the present definition is more interesting.
The limits in Definition 3 always exist, because Rényi divergence is nondecreasing in its order:
For the Rényi divergence is nondecreasing in . On it is constant if and only if is the conditional distribution for some event .
Let be simple orders. Then for the function is strictly convex if and strictly concave if . Therefore by Jensen’s inequality
From the simple orders, the result extends to the extended orders by the following observations:
Let us verify that the limits in Definition 3 can be expressed in closed form, just like for finite alphabets. We require the following lemma:
Let or . Then, for any sequence such that ,
Our proof extends a proof by Shiryaev [28, pp. 366–367].
The closed-form expression for follows immediately:
By Lemma 1 and the fact that . ∎
For , the limit in Definition 3 equals the Kullback-Leibler divergence of from , which is defined as
with the conventions that and if . Consequently, if .
Moreover, if or there exists a such that , then also
For example, by letting in (10) or by direct computation, it can be derived that the Kullback-Leibler divergence between two normal distributions with positive variance is
The proof of Theorem 5 requires an intermediate lemma:
By Taylor’s theorem with Cauchy’s remainder term we have for any positive that
for some between and . As is increasing in for , the lemma follows. ∎
Alternatively, suppose . Then and therefore Lemma 2 implies that
where the restriction of the domain of integration is allowed because implies (-a.s.) by . Convexity of in implies that its derivative, , is nondecreasing and therefore for
is nondecreasing in , and . As d, it follows by the monotone convergence theorem that
which together with (19) proves (17). If , then for all and (18) holds. It remains to prove (18) if there exists a such that . In this case, arguments similar to the ones above imply that
and is nondecreasing in . Therefore and, as d is implied by , it follows by the monotone convergence theorem that
which together with (20) completes the proof. ∎
For any random variable , the essential supremum of with respect to is .
with the conventions that and if .
If the sample space is countable, then with the notational conventions of this theorem the essential supremum reduces to an ordinary supremum, and we have .
If contains a finite number of elements , then
This extends to arbitrary measurable spaces by Theorem 2:
where ranges over all finite partitions in .
Now if , then there exists an event such that but , and
implies that . Alternatively, suppose that . Then
for all and it follows that
Let be arbitrary. Then there exists a set with such that on and therefore
Thus for any , which implies that
In combination with (21) this completes the proof. ∎
Taken together, the previous results imply that Rényi divergence is a continuous function of its order (under suitable conditions):
The Rényi divergence is continuous in on .
Continuity at any simple order follows by Lemma 1. It extends to the extended orders and by the definition of Rényi divergence at these orders. And it extends to by Theorem 5. ∎
III Fixed Nonnegative Orders
In this section we fix the order and study properties of Rényi divergence as and are varied. First we prove nonnegativity and extend the data processing inequality and the relation to a supremum over finite partitions to the extended orders. Then we study convexity, we prove a generalization of the Pythagorean inequality to general orders, and finally we consider various types of continuity.
For , if and only if . For , if and only if .
Suppose first that is a simple order. Then by Jensen’s inequality
Equality holds if and only if is constant -a.s. (first inequality) and (second inequality), which together is equivalent to .
The result extends to by . For it can be verified directly that , with equality if and only if . ∎
For any order and any sub--algebra
Example 2 also applies to the extended orders without modification.
By Theorem 1, (22) holds for the simple orders. Let be any extended order and let be an arbitrary sequence of simple orders that converges to , from above if and from below if . Then
where the supremum is over all finite partitions .
For simple orders , the result holds by Theorem 2. This extends to by monotonicity and left-continuity in :
For , the data processing inequality implies that
and equality is achieved for the partition .
III-B Convexity
Consider Figures 2 and 3. They show as a function of for sample spaces containing two or three elements. These figures suggest that Rényi divergence is convex in its first argument for small , but not for large . This is in agreement with the well-known fact that it is jointly convex in the pair for . It turns out that joint convexity extends to , but not to , as noted by Csiszár . Our proof generalizes the proof for by Cover and Thomas .
For any order Rényi divergence is jointly convex in its arguments. That is, for any two pairs of probability distributions and , and any
Suppose first that , and let and . Then
Equality holds if and only if, for the first inequality, and, for the second inequality, (-a.s.) and (-a.s.) These conditions are equivalent to the equality conditions of the theorem.
Alternatively, suppose . We will show that point-wise
where and . For , (23) then follows directly; for , (23) follows from (24) by Jensen’s inequality:
If one of and is zero, then (24) can be verified directly. So assume that they are all positive. Then for let and for let , such that (24) can be written as
Joint convexity in and breaks down for (see Section VI-A), but some partial convexity properties can still be salvaged. First, convexity in the second argument does hold for all :
For any order Rényi divergence is convex in its second argument. That is, for any probability distributions , and
for any . For finite , equality holds if and only if
For this follows from the previous theorem. (For the equality conditions reduce to the ones given here.) For , let and define . It is sufficient to show that
Noting that, for every , is log-convex in , this is a consequence of the general fact that an expectation over log-convex functions is itself log-convex, which can be shown using Hölder’s inequality:
Taking logarithms completes the proof of (26). Equality holds in the first inequality if and only if (-a.s.), which is also sufficient for equality in the second inequality. Finally, (26) extends to by letting tend to . ∎
And secondly, Rényi divergence is jointly quasi-convex in both arguments for all :
For any order Rényi divergence is jointly quasi-convex in its arguments. That is, for any two pairs of probability distributions and , and any
which holds by essentially the same argument as for (24) in the proof of Theorem 11, with the convex function .
Finally, the case follows by letting tend to :
III-C A Generalized Pythagorean Inequality
An important result in statistical applications of information theory is the Pythagorean inequality for Kullback-Leibler divergence . It states that, if is a convex set of distributions, is any distribution not in , and , then there exists a distribution such that
The main use of the Pythagorean inequality lies in its implication that if is a sequence of distributions in such that , then converges to in the strong sense that .
For Rényi divergence does not satisfy the ordinary Pythagorean inequality, but there does exist a generalization if we replace convexity of by the following alternative notion of convexity:
For , we will call a set of distributions -convex if, for any probability distribution and any two distributions , we also have , where is the -mixture of and , which will be defined below.
For , the -mixture is simply the ordinary mixture , so that -convexity is equivalent to ordinary convexity. We generalize this to other as follows:
Let and let be any probability distributions. Then for any probability distribution we define the -mixture of as the distribution with density
The normalizing constant is always well defined:
The normalizing constant in (29) is bounded by
Since every integrates to , it follows that
The left-hand side is minimized at , where it equals , which completes the proof for . The proof for goes the same way, except that all inequalities are reversed because is concave. ∎
And, like for , the set of -mixtures is closed under taking further mixtures of its elements:
Let , let be arbitrary probability distributions and let and be their - and -mixtures for some distributions . Then, for any distribution , the -mixture of and is an -mixture of for the distribution such that
where , and and are the normalizing constants of and as defined in (29).
Let be the -mixture of and , and take . Then
We are now ready to generalize the Pythagorean inequality to any :
Let . Suppose that is an -convex set of distributions. Let be an arbitrary distribution and suppose that the -information projection
exists. Then we have the Pythagorean inequality
This result is new, although the work of Sundaresan on a generalization of Rényi divergence might be related . Our proof follows the same approach as the proof for by Cover and Thomas .
For , this is just the standard Pythagorean inequality for Kullback-Leibler divergence. See, for example, the proof by Topsøe . It remains to prove the theorem when is a simple order.
Putting everything together, we therefore find
and if we have the converse of this inequality. In both cases, the Pythagorean inequality (33) follows upon taking logarithms and dividing by (which flips the inequality sign for ). ∎
III-D Continuity
In this section we study continuity properties of the Rényi divergence of different orders in the pair of probability distributions . It turns out that continuity depends on the order and the topology on the set of all probability distributions.
The set of probability distributions on may be equipped with the topology of setwise convergence, which is the coarsest topology such that, for any event , the function that maps a distribution to its probability on , is continuous. In this topology, convergence of a sequence of probability distributions to a probability distribution means that for any .
Alternatively, one might consider the topology defined by the total variation distance
in which means that . The total variation topology is stronger than the topology of setwise convergence in the sense that convergence in total variation distance implies convergence on any . The two topologies coincide if the sample space is countable.
In general, Rényi divergence is lower semi-continuous for positive orders:
For any order , is a lower semi-continuous function of the pair in the topology of setwise convergence.
Suppose is finite. Then for any simple order
where and . If , then is continuous in . For , it is only discontinuous at , but there , so then is still lower semi-continuous. These properties carry over to and thus is continuous for and lower semi-continuous for . A supremum over (lower semi-)continuous functions is itself lower semi-continuous. Therefore, for simple orders , Theorem 2 implies that is lower semi-continuous for arbitrary . This property extends to the extended orders and by for . ∎
Moreover, if and the total variation topology is assumed, then Theorem 17 below shows that Rényi divergence is uniformly continuous.
First we prove that the topologies induced by Rényi divergences of orders are all equivalent:
This follows from the following symmetry-like property, which may be verified directly.
Note that, in particular, Rényi divergence is symmetric for , but that skew symmetry does not hold for and .
We have already established the second inequality in Theorem 3, so it remains to prove the first one. Skew symmetry implies that
By (5), these results show that, for , is equivalent to convergence of to in Hellinger distance, which is equivalent to convergence of to in total variation [28, p. 364].
Next we shall prove a stronger result on the relation between Rényi divergence and total variation.
For , the Rényi divergence is a uniformly continuous function of in the total variation topology.
Let . Then for all and
If or the inequality is obvious. So assume that and . Then
Since is continuous, it is sufficient to prove that is a uniformly continuous function of . For any and distributions and , Lemma 5 implies that
As , it also follows that for any and . Therefore
A partial extension to follows:
The Rényi divergence is an upper semi-continuous function of in the total variation topology.
This follows from Theorem 17 because is the infimum of the continuous functions for . ∎
If we consider continuity in only, then for any finite sample space we obtain:
Suppose is finite, and let . Then for any the Rényi divergence is continuous in in the topology of setwise convergence.
Directly from the closed-form expressions for Rényi divergence. ∎
Finally, we will also consider the weak topology, which is weaker than the two topologies discussed above. In the weak topology, convergence of to means that
Suppose that is a Polish space. Then for any order , is a lower semi-continuous function of the pair in the weak topology.
The proof is essentially the same as the proof for by Posner .
Let and be sequences of distributions that weakly converge to and , respectively. We need to show that
For any set , let denote its boundary, which is its closure minus its interior, and let consist of the sets such that . Then is an algebra by Lemma 1.1 of Prokhorov , applied to the measure , and the Portmanteau theorem implies that and for any .
Posner [36, proof of Theorem 1] shows that generates (that is, ). By the translator’s proof of Theorem 2.4.1 in Pinsker’s book , this implies that, for any finite partition and any , there exists a finite partition such that and for all , where denotes the symmetric set difference. By the data processing inequality and lower semi-continuity in the topology of setwise convergence, this implies that (15) still holds when the supremum is restricted to finite partitions in instead of .
Thus, for any , we can find a finite partition such that
The data processing inequality and the fact that and for all , together with lower semi-continuity in the topology of setwise convergence, then imply that
for all sufficiently large . Consequently,
for any , and (36) follows by letting tend to . ∎
Suppose is a Polish space, let be arbitrary, and let be a constant. Then the sublevel set
is convex and compact in the topology of weak convergence for any order .
Convexity follows from quasi-convexity of Rényi divergence in its first argument.
Suppose that converges to a finite measure . Then (35), applied to the constant function , implies that , so that is also a probability distribution. Hence by lower semi-continuity (Theorem 19) is closed. It is therefore sufficient to show that is relatively compact.
For any event , let denote its complement. Prokhorov [35, Theorem 1.12] shows that is relatively compact if, for any , there exists a compact set such that for all .
Since is a Polish space, for any there exists a compact set such that [37, Lemma 1.3.2]. For any distribution , let denote the restriction of to the binary partition . Then, by monotonicity in and the data processing inequality, we have, for any ,
where the last inequality follows from . Consequently,
and since as tends to we can satisfy the condition of Prokhorov’s theorem by taking equal to for any sufficiently small depending on . ∎
III-E Limits of σ𝜎\sigma-Algebras
As shown by Theorem 2, there exists a sequence of finite partitions such that
Theorem 21 below elaborates on this result. It implies that (38) holds for any increasing sequence of partitions that generate -algebras converging to , in the sense that . An analogous result holds for infinite sequences of increasingly coarse partitions, which is shown by Theorem 22. For the special case , information-theoretic proofs of Theorems 21 and 22 are given by Barron and Harremoës and Holst . Theorem 21 may also be derived from general properties of -divergences .
Let be an increasing family of -algebras, and let be the smallest -algebra containing them. Then for any order
For , (39) does not hold. A counterexample is given after Example 3 below.
Let be an increasing family of -algebras, and suppose that is a probability distribution. Then the family of random variables with members is uniformly integrable (with respect to ).
The proof of this lemma is a special case of part of the proof of Lévy’s upward convergence theorem in Shiryaev’s textbook [28, p. 510]. We repeat it here for completeness.
in which the inequality marked by is Markov’s. Consequently
Let be a decreasing family of -algebras, and let be the largest -algebra contained in all of them. Let . If or there exists an such that , then
The theorem cannot be extended to the case .
Suppose first that . Then for any
(-a.s.) As , it follows that and for any
where in the last inequality follows from the data processing inequality. Consequently,
By Proposition 1, and . Therefore by a version of Lévy’s theorem for decreasing sequences of -algebras [41, Theorem 6.23],
and hence (-a.s. and therefore -a.s.) If , then
And if , then by the data processing inequality for all , which implies that also in this case . Hence uniform integrability (by Lemma 7) of the family of nonnegative random variables implies (40) [28, Thm. 5, p. 189], and the theorem follows for . The remaining case, , is proved by
III-F Absolute Continuity and Mutual Singularity
Shiryaev [28, pp. 366, 370] relates Hellinger integrals to absolute continuity and mutual singularity of probability distributions. His results may more elegantly be expressed in terms of Rényi divergence. They then follow from the observations that if and only if is absolutely continuous with respect to and that if and only if and are mutually singular, together with right-continuity of in at . As illustrated in the next section, these properties give a convenient mathematical tool to establish absolute continuity or mutual singularity of infinite product distributions.
.
Clearly (ii) is equivalent to , which is equivalent to (i). The other cases follow by . ∎
for some ,
for all .
Equivalence of (i), (ii) and follows from definitions. Equivalence of and (iv) follows from the fact that Rényi divergence is continuous on $\alpha\alpha\in(0,1)$ is equivalent to
which holds if and only if (-a.s.). It follows that in this case (iii) is equivalent to (i). ∎
Contiguity and entire separation are asymptotic versions of absolute continuity and mutual singularity . As might be expected, analogues of Theorems 23 and 24 also hold for these asymptotic concepts.
Let be a sequence of measurable spaces, and let and be sequences of distributions on these spaces. Then the sequence is contiguous with respect to the sequence , denoted , if for all sequences of events such that as , we also have . If both and , then the sequences are called mutually contiguous and we write . The sequences and are entirely separated, denoted , if there exist a sequence of events and a subsequence such that and as .
Contiguity and entire separation are related to absolute continuity and mutual singularity in the following way [28, p. 369]: if , and for all , then
Theorems 1 and 2 by Shiryaev [28, p. 370] imply the following two asymptotic analogues of Theorems 23 and 24:
.
,
for some .
for all .
If and are the restrictions of and to an increasing sequence of sub--algebras that generates , then the equivalences in (41) continue to hold, because we can relate Theorems 23 and 25 and Theorems 24 and 26 via Theorem 21.
III-G Distributions on Sequences
Suppose is the direct product of an infinite sequence of measurable spaces That is, and is the smallest -algebra containing all the cylinder sets
for , where . Then a sequence of probability distributions , where is a distribution on , is called consistent if
For any such consistent sequence there exists a distribution on such that its marginal distribution on is , in the sense that
If and are two consistent sequences of probability distributions, then it is natural to ask whether the Rényi divergence converges to . The following theorem shows that it does for .
Let and be consistent sequences of probability distributions on , where, for , is the direct product of the first measurable spaces in the infinite sequence Then for any
Let . Then
As a special case, we find that finite additivity of Rényi divergence, which is easy to verify, extends to countable additivity:
For , let be pairs of probability distributions on measurable spaces . Then for any and any
Countable additivity as in (43) does not hold for . A counterexample is given following Example 3 below.
For simple orders , (42) follows from independence of and between different , which implies that
As is finite, this extends to the extended orders by continuity in . Finally, (43) follows from Theorem 27 by observing that the sequences and , for , are consistent. ∎
Theorems 23 and 24 can be used to establish absolute continuity or mutual singularity of infinite product distributions, as illustrated by the following proof by Shiryaev of the Gaussian dichotomy .
Let and , where and are Gaussian distributions with densities
Consequently, by Theorems 23 and 24 and symmetry in and :
The observation that and are either equivalent (both and ) or mutually singular is called the Gaussian dichotomy.
By letting tend to , Example 3 shows that countable additivity does not hold for : if , then (44) implies that , while for all . In light of the proof of Theorem 28 this also provides a counterexample to (39) for .
The Gaussian dichotomy raises the question of whether the same dichotomy holds for other product distributions. Let denote that and are equivalent (both and ). Suppose that and , where and are arbitrary distributions on arbitrary measurable spaces. Then if for some , and are not equivalent either. The question is therefore answered by the following theorem:
Let and let and , where and are distributions on arbitrary measurable spaces such that . Then
If , then and follows by Theorem 24.
On the other hand, if , then for every there exists an such that
and consequently by additivity and monotonicity in :
As this holds for any , must equal , and, by Theorem 23, . As implies , Theorem 24 implies that , and by repeating the argument with the roles of and reversed we find that also , which completes the proof. ∎
Theorem 29 (with ) is equivalent to a classical result by Kakutani , which was stated in terms of Hellinger integrals rather than Rényi divergence, and according to Gibbs and Su might be responsible for popularising Hellinger integrals. As shown by Rényi , Kakutani’s result is related to the amount of information that a sequence of observations contains about the parameter of a statistical model.
III-H Taylor Approximation for Parametric Models
for any , but we are not aware of a reference that spells out the exact technical conditions on the parametrisation that are needed.
IV Minimax results
Rényi divergence appears in bounds on the error probabilities when testing a probabilistic hypothesis against an alternative . This can be explained by the fact that equals the cumulant generating function for the random variable under the distribution (provided or ) . The following theorem relates this cumulant generating function to two Kullback-Leibler divergences that involve the distribution with density
with the convention that if it would otherwise be undefined. Moreover, if the distribution with density (51) is well defined and or , then the infimum is uniquely achieved by .
This result gives an interpretation of Rényi divergence as a trade-off between two Kullback-Leibler divergences.
Theorem 30 was formulated and proved for distributions on finite sets by Shayevitz , but appeared in the above formulation already in . Prior to either of these, the identity (53) below, which forms the heart of the proof, has been used by Csiszár .
First suppose that is well defined or, equivalently, that . Then for or , we have
Hence, if or , the infimum over is uniquely achieved by , for which it equals as required. If, on the other hand, and , then we still have
Secondly, suppose and . Then , and consequently either or for all , which means that (52) holds.
Next, consider the case that and . Then and the infimum over is achieved by , for which it equals , and again (52) holds.
where the last inequality follows by lower semi-continuity of (Theorem 15). In case 2, (52) follows immediately. In case 1, (52) follows by combining this inequality with its converse (54). ∎
Theorem 30 shows that is the infimum over a set of functions that are linear in , which implies the following corollary:
The function is concave in on , with the conventions that it is at even if and that it is at if .
Suppose first that . Then (52) also holds at . Hence is a point-wise infimum over linear functions on , and thus concave. This extends to by continuity.
Alternatively, suppose that . Then is still concave on , where it is also nonnegative. And by monotonicity of Rényi divergence, we have that for all . Consequently, is nonnegative and concave for , at it is (by convention) and for it is . It then follows that is concave on all of , as required. ∎
In addition, Theorem 30 can be used to prove Gilardoni’s extension of Pinsker’s inequality from the case to any , which was mentioned in the introduction.
Let be the total variation distance, as defined in (34). Then, for any ,
We omit the proof for , which is the standard version of Pinsker’s inequality (see for a survey of its history). For , consider first the case of two distributions and on a binary alphabet. Then and by Theorem 30 and the result for , we find
The minimum is achieved by , from which
The general case of distributions and on any sample space reduces to the binary case by the data processing inequality: for any event , let and denote the restrictions of and to the binary partition . Then
As one might expect from continuity of , the terms on the right-hand side of (52) are continuous in , at least on :
If or , then both and are finite and continuous in on .
The lemma is symmetric in and , so suppose without loss of generality that . Then implies that is well defined and finiteness of both and follows from Theorem 30. Now observe that
As implies , we may apply the dominated convergence theorem to obtain
for any , which proves continuity of . Continuity of now follows from Theorem 30 and continuity of . ∎
Suppose that . Then the following minimax identity holds:
with the convention that if it would otherwise be undefined. Moreover, (55) still holds if is restricted to on its left-hand side; and if there exists an such that , then is a saddle-point for (55) and both sides of (55) are equal to
The minimax value defined in (55) is the Chernoff information, which gives an asymptotically tight bound on both the type 1 and the type 2 errors in tests of vs. . The same connection between Chernoff information and is discussed by Cover and Thomas [30, Section 12.9], with a different proof.
Let . For , implies that is well defined. Suppose there exists such that . Then Theorem 30 implies that is a saddle-point for , so that (55) holds [53, Lemma 36.2], and Theorem 30 also implies that all quantities in (56) are equal to .
Let be either or . As the is never bigger than the [53, Lemma 36.1], we have that
so it remains to prove the converse inequality.
By Lemma 8 we know that both and are finite and continuous in on . By the intermediate value theorem, there are therefore three possibilities: (1) there exists such that , for which we have already proved (55); (2) for all ; and (3) for all .
as required. It remains to consider case (3), which turns out to be impossible by the following argument: two applications of Theorem 30 give
It follows that , which contradicts the assumption that for any . ∎
IV-B Channel Capacity and Minimax Redundancy
Consider a non-empty family of probability distributions on a sample space . We may think of as a parameter in a statistical model or as an input letter of an information channel. In the main results of this section we will only consider discrete sample spaces , which are either finite with elements or countably infinite. Whenever distributions on are involved, we also implicitly assume that is a topological space that is equipped with the Borel -algebra, that is a closed set for every , and that the map is measurable.
which has been proposed as the appropriate generalization of the channel capacity from to general .
If is finite, then the channel capacity is also finite:
If has elements, then for any .
Let denote the uniform distribution on . Then
For , it is a classical result by Gallager and Ryabko that the channel capacity equals the minimax redundancy:
For finite , Csiszár has shown that this result in fact extends to any , noting that the minimax redundancy (and therefore the channel capacity ) may be geometrically interpreted as the “radius” of the family of distributions with respect to the Rényi divergence of order . It turns out that Csiszár’s result extends to general and all orders :
Suppose is finite. Then for any the channel capacity equals the minimax redundancy:
For , Haussler has extended this result to infinite sample spaces . It seems plausible that his approach might extend to other orders as well.
Equation 59 is equivalent to the minimax identity
We will prove this identity using Sion’s minimax theorem , which we state with its arguments exchanged to make them line up with the arguments of :
is upper semi-continuous and quasi-concave on for each ;
is lower semi-continuous and quasi-convex on for each .
Sion’s minimax theorem cannot be applied directly, because may be infinite. For , we therefore introduce the auxiliary function
where is the uniform distribution on . Finiteness of follows from
where denotes the number of elements in .
To verify the other conditions of Theorem 35, we observe that is linear, and hence continuous and concave. Convexity of follows from convexity of , which holds because is a linear combination of convex functions. Continuity of follows by the dominated convergence theorem (which applies by (62)) and continuity of . Thus we may apply Sion’s minimax theorem.
we also have , and hence we may reason as follows:
As the never exceeds the [53, Lemma 36.1], the converse inequality also holds, and the proof is complete. ∎
A distribution on the parameter space is a capacity achieving input distribution if
A distribution on may be called a redundancy achieving distribution if
If the sample space is finite, then a redundancy achieving distribution always exists:
Suppose is finite and let . Then the function is continuous and convex, and has at least one minimum. Consequently, a redundancy achieving distribution exists.
Denote the number of elements in by , let denote the probability simplex on outcomes, and let . Since is the supremum over continuous, convex functions, it is lower semi-continuous and convex itself. As the domain of is , which is compact, this implies that it attains its minimum. Moreover, convexity on a simplex implies upper semi-continuity [53, Theorem 10.2], so that is both lower and upper semi-continuous, which means that it is continuous. ∎
If is regarded as the radius of , then this theorem shows how may be interpreted as its center.
Since is capacity achieving,
The result follows because both inequalities must be equalities. ∎
Three orders for the channel capacity and minimax redundancy are of particular interest. The classical ones are , because it corresponds to the original definition of channel capacity by Shannon, and because gives an upper bound on the zero error capacity, which also dates back to Shannon.
Now let us look at the case , assuming for simplicity that is countable. We find that
is the worst-case regret of relative to . As is well known , the distribution that minimizes the worst-case regret is uniquely given by the normalized maximum likelihood or Shtarkov distribution
provided that the normalizing sum is finite, so that is well defined.
Suppose that is countable and that the minimax redundancy is finite. Then is well defined and the worst-case regret of any distribution satisfies
In particular, is unique and
Since , for any finite there must exist a distribution such that . Hence
Now for any arbitrary distribution , we have
Since , with strict inequality unless , this establishes (67) and . Finally, (68) follows by evaluating . ∎
We conjecture that the previous result generalizes to any positive order as a one-sided inequality:
Let and suppose that . Then we conjecture that there exists a unique redundancy achieving distribution
This conjecture is reminiscent of Sibson’s identity . It would imply that any distribution that is close to achieving the minimax redundancy in the sense that
must be close to in the sense that
As shown in Example 4 below, Conjecture 1 does not hold for . For , it can be expressed as a minimax identity for the function
where we adopt the convention that if both and are infinite. However, we cannot use Sion’s minimax theorem (Theorem 35) to prove the conjecture, because in general is not quasi-convex in its second argumentWe mistakenly claimed this in an earlier draft of this paper..
A distribution on the parameter space is called a barycentric input distribution if
Take and consider the distributions
on a three-element set. Then by symmetry and convexity of Rényi divergence in its second argument, there must exist a redundancy achieving distribution of the form
If is a simple order, then for the divergence is
To find , we therefore we have to extremize
The reader may verify that (79) also holds for , giving , and for , leading to . Note that only for is a convex combination of and , with unique barycentric input distribution .
Finally, consider . In this case (79) still holds, giving . Now let . Then, for , we see that the first two terms in (70) are well behaved:
The last term, however, evaluates to , so we obtain a counterexample to (70). The difference in behaviour between and may be understood by observing that .
Suppose that is finite and that there exists a maximum likelihood function (that is, for all ). Then, for , the distribution
is a capacity achieving input distribution, where is as defined in (66).
As is finite, there can be at most a finite set of on which . Hence, for any ,
By taking the infimum over on both sides we get
Since the reverse inequality is trivial and , we find that is a capacity achieving input distribution, as required. ∎
Let denote the success probability of a binomial distribution on . Then for the redundancy achieving distribution is and the minimax redundancy is .
In this case there are many barycentric input distributions. For example, the distribution is a barycentric input distribution, where is a point-mass on and is the uniform distribution on $\pi=(\frac{3}{10},\frac{2}{5},\frac{3}{10})\Psi=\{0,\frac{1}{2},1\}\mathcal{X}\pi_{\textnormal{opt}}\Psi$, with probabilities
V Negative Orders
Until now we have only discussed Rényi divergence of nonnegative orders. However, using formula (9) for (reading for ), it may also be defined for these negative orders. This definition extends to by
According to Rényi , only positive orders can be regarded as measures of information, and negative orders indeed seem to be hardly used in applications. Nevertheless, for completeness we will also study Rényi divergence of negative orders. As will be seen below, our results for positive orders carry over to the negative orders, but most properties are reversed. People may have avoided negative orders because of these reversed properties. Avoiding negative orders is always possible, because they are related to orders by an extension of skew symmetry:
For any ,
with the conventions that and for .
The identity (82) follows directly from definitions. It implies , because tends to as . The remaining identities follow from the closed-form expressions for in Theorem 6. ∎
Skew symmetry gives a kind of symmetry between the orders and . In applications in physics this symmetry is related to the use of so-called escort probabilities .
Whereas the nonnegative orders generally satisfy the same or similar properties for different values of , the fact that for , implies that properties for negative orders are often inverted. For example, Rényi divergence for negative orders is nonpositive, concave in its first argument and upper semi-continuous in the topology of setwise convergence. In addition, the data processing inequality holds with its inequality reversed and for Theorem 2 applies with an infimum instead of a supremum.
Not all properties are inverted, however. Most notably, it does remain true that Rényi divergence is nondecreasing and continuous in (see also Figure 1):
For , the Rényi divergence is nondecreasing in .
For , and for , , so the divergence for negative orders never exceeds the divergence for nonnegative orders. The remainder of the proof follows from Theorem 3 and skew symmetry. ∎
The Rényi divergence is continuous in on .
Rényi divergence is nondecreasing in , nonnegative for and nonpositive for . Therefore the required continuity follows directly from Theorem 7 and skew symmetry, except for the case
which is required to hold if there exists a value such that . In this case , which implies: (a) that , so ; and (b) that and by Theorem 5
VI Counterexamples
Some useful properties that are satisfied by other divergences, are not satisfied by Rényi divergence. Here we give counterexamples for a few important ones.
Rényi divergence for is not convex in its first argument. Consider the following counterexample: let be any two numbers, and let . Let be arbitrary, and let be small enough that
Then convexity of in its first argument would imply that
As this expression holds for all , we get
which is a contradiction, because the natural logarithm is strictly concave.
VI-B Rényi divergence is not continuous
In general the Rényi divergence of order is not continuous in the topology of setwise convergence. To construct a counterexample, let denote the probability distribution on with density and let denote the probability distribution on with density for Then does not depend on , and both and converge to the uniform distribution on in the topology of setwise convergence. Consequently, , so in general is not continuous in the topology of setwise convergence.
VI-C Not a metric
Except for the order , Rényi divergence is not symmetric and cannot be a metric. For , Rényi divergence is symmetric and by (5) it locally behaves like the square of a metric. Therefore one may wonder whether it actually is the square of a metric itself. Consider the following three distributions on two points:
As the square roots of these divergences violate the triangle inequality, cannot be the square of a metric.
VII Summary
We have reviewed and derived the most important properties of Rényi divergence and Kullback-Leibler divergence. These include convexity and continuity properties, a generalization of the Pythagorean inequality to general orders, limits of -algebras, additivity for product distributions on infinite sequences, and the relation of the special order to absolute continuity and mutual singularity of such distributions.
We have also derived several key minimax identities. In particular, Theorems 30 and 32 illuminate the relation between Rényi divergence, Kullback-Leibler divergence and Chernoff information in hypothesis testing. And Theorem 34 extends the known equivalence of channel capacity and minimax redundancy to continuous channel inputs (for all orders).
Acknowledgments
The authors would like to thank Peter Grünwald, Wouter Koolen and two anonymous referees for useful comments. Part of the research was done while both authors were with the Centrum Wiskunde & Informatica in Amsterdam, the Netherlands, and while Tim van Erven was with the VU University, also in Amsterdam. This work was supported in part by NWO Rubicon grant 680-50-1112.