Rényi entropy

From HandWiki
Short description: Concept in information theory

In information theory, the Rényi entropy is a quantity that generalizes various notions of entropy, including Hartley entropy, Shannon entropy, collision entropy, and min-entropy. The Rényi entropy is named after Alfréd Rényi, who looked for the most general way to quantify information while preserving additivity for independent events.[1][2] In the context of fractal dimension estimation, the Rényi entropy forms the basis of the concept of generalized dimensions.[3]

The Rényi entropy is important in ecology and statistics as index of diversity. The Rényi entropy is also important in quantum information, where it can be used as a measure of entanglement. In the Heisenberg XY spin chain model, the Rényi entropy as a function of α can be calculated explicitly because it is an automorphic function with respect to a particular subgroup of the modular group.[4][5] In theoretical computer science, the min-entropy is used in the context of randomness extractors.

Definition

The Rényi entropy of order [math]\displaystyle{ \alpha }[/math], where [math]\displaystyle{ 0 \lt \alpha \lt \infin }[/math] and [math]\displaystyle{ \alpha \neq 1 }[/math], is defined as[1]

[math]\displaystyle{ \Eta_\alpha(X) = \frac{1}{1-\alpha}\log\Bigg(\sum_{i=1}^n p_i^\alpha\Bigg) . }[/math]

It is further defined at [math]\displaystyle{ \alpha = 0, 1, \infin }[/math] as

[math]\displaystyle{ \Eta_\alpha(X) = \lim_{\gamma \to \alpha} \Eta_\gamma(X) . }[/math]

Here, [math]\displaystyle{ X }[/math] is a discrete random variable with possible outcomes in the set [math]\displaystyle{ \mathcal{A} = \{x_1,x_2,...,x_n\} }[/math] and corresponding probabilities [math]\displaystyle{ p_i \doteq \Pr(X=x_i) }[/math] for [math]\displaystyle{ i=1,\dots,n }[/math]. The resulting unit of information is determined by the base of the logarithm, e.g. shannon for base 2, or nat for base e. If the probabilities are [math]\displaystyle{ p_i=1/n }[/math] for all [math]\displaystyle{ i=1,\dots,n }[/math], then all the Rényi entropies of the distribution are equal: [math]\displaystyle{ \Eta_\alpha(X)=\log n }[/math]. In general, for all discrete random variables [math]\displaystyle{ X }[/math], [math]\displaystyle{ \Eta_\alpha(X) }[/math] is a non-increasing function in [math]\displaystyle{ \alpha }[/math].

Applications often exploit the following relation between the Rényi entropy and the p-norm of the vector of probabilities:

[math]\displaystyle{ \Eta_\alpha(X)=\frac{\alpha}{1-\alpha} \log \left(\|P\|_\alpha\right) }[/math] .

Here, the discrete probability distribution [math]\displaystyle{ P=(p_1,\dots,p_n) }[/math] is interpreted as a vector in [math]\displaystyle{ \R^n }[/math] with [math]\displaystyle{ p_i\geq 0 }[/math] and [math]\displaystyle{ \sum_{i=1}^{n} p_i =1 }[/math].

The Rényi entropy for any [math]\displaystyle{ \alpha \geq 0 }[/math] is Schur concave. Proven by the Schur-Ostrowski criterion.

Special cases

Rényi entropy of a random variable with two possible outcomes against p1, where P = (p1, 1 − p1). Shown are Η0, Η1, Η2 and Η, with the unit on the vertical axis being the shannon.

As [math]\displaystyle{ \alpha }[/math] approaches zero, the Rényi entropy increasingly weighs all events with nonzero probability more equally, regardless of their probabilities. In the limit for [math]\displaystyle{ \alpha \to 0 }[/math], the Rényi entropy is just the logarithm of the size of the support of X. The limit for [math]\displaystyle{ \alpha \to 1 }[/math] is the Shannon entropy. As [math]\displaystyle{ \alpha }[/math] approaches infinity, the Rényi entropy is increasingly determined by the events of highest probability.

Hartley or max-entropy

Provided the probabilities are nonzero,[6] [math]\displaystyle{ \Eta_0 }[/math] is the logarithm of the cardinality of the alphabet ([math]\displaystyle{ \mathcal{A} }[/math]) of [math]\displaystyle{ X }[/math], sometimes called the Hartley entropy of [math]\displaystyle{ X }[/math],

[math]\displaystyle{ \Eta_0 (X) = \log n = \log |\mathcal{A}|\, }[/math]

Shannon entropy

The limiting value of [math]\displaystyle{ \Eta_\alpha }[/math] as [math]\displaystyle{ \alpha \to 1 }[/math] is the Shannon entropy:[7]

[math]\displaystyle{ \Eta_1 (X) \equiv \lim_{\alpha \to 1} \Eta_{\alpha} (X) = - \sum_{i=1}^n p_i \log p_i }[/math]

Collision entropy

Collision entropy, sometimes just called "Rényi entropy", refers to the case [math]\displaystyle{ \alpha = 2 }[/math],

[math]\displaystyle{ \Eta_2 (X) = - \log \sum_{i=1}^n p_i^2 = - \log P(X = Y) , }[/math]

where X and Y are independent and identically distributed. The collision entropy is related to the index of coincidence.

Min-entropy

Main page: Physics:Min-entropy

In the limit as [math]\displaystyle{ \alpha \rightarrow \infty }[/math], the Rényi entropy [math]\displaystyle{ \Eta_\alpha }[/math] converges to the min-entropy [math]\displaystyle{ \Eta_\infty }[/math]:

[math]\displaystyle{ \Eta_\infty(X) \doteq \min_i (-\log p_i) = -(\max_i \log p_i) = -\log \max_i p_i\,. }[/math]

Equivalently, the min-entropy [math]\displaystyle{ \Eta_\infty(X) }[/math] is the largest real number b such that all events occur with probability at most [math]\displaystyle{ 2^{-b} }[/math].

The name min-entropy stems from the fact that it is the smallest entropy measure in the family of Rényi entropies. In this sense, it is the strongest way to measure the information content of a discrete random variable. In particular, the min-entropy is never larger than the Shannon entropy.

The min-entropy has important applications for randomness extractors in theoretical computer science: Extractors are able to extract randomness from random sources that have a large min-entropy; merely having a large Shannon entropy does not suffice for this task.

Inequalities for different orders α

That [math]\displaystyle{ \Eta_\alpha }[/math] is non-increasing in [math]\displaystyle{ \alpha }[/math] for any given distribution of probabilities [math]\displaystyle{ p_i }[/math], which can be proven by differentiation,[8] as

[math]\displaystyle{ -\frac{d \Eta_\alpha}{d\alpha} = \frac{1}{(1-\alpha)^2} \sum_{i=1}^n z_i \log(z_i / p_i) = \frac{1}{(1-\alpha)^2} D_{KL}(z\| p) }[/math]

which is proportional to Kullback–Leibler divergence (which is always non-negative), where [math]\displaystyle{ z_i = p_i^\alpha / \sum_{j=1}^n p_j^\alpha }[/math]. In particular, it is strictly positive except when the distribution is uniform.

At the [math]\displaystyle{ \alpha \to 1 }[/math] limit, we have [math]\displaystyle{ -\frac{d \Eta_\alpha}{d\alpha} \to \frac 12 \sum_i p_i (\ln p_i + H(p))^2 }[/math].

In particular cases inequalities can be proven also by Jensen's inequality:[9][10]

[math]\displaystyle{ \log n=\Eta_0\geq \Eta_1 \geq \Eta_2 \geq \Eta_\infty . }[/math]

For values of [math]\displaystyle{ \alpha\gt 1 }[/math], inequalities in the other direction also hold. In particular, we have[11][12]

[math]\displaystyle{ \Eta_2 \le 2 \Eta_\infty . }[/math]

On the other hand, the Shannon entropy [math]\displaystyle{ \Eta_1 }[/math] can be arbitrarily high for a random variable [math]\displaystyle{ X }[/math] that has a given min-entropy. An example of this is given by the sequence of random variables [math]\displaystyle{ X_n \sim \{0, \ldots, n\} }[/math] for [math]\displaystyle{ n \geq 1 }[/math] such that [math]\displaystyle{ P(X_n = 0) = 1/2 }[/math] and [math]\displaystyle{ P(X_n = x) = 1/(2n) }[/math] since [math]\displaystyle{ \Eta_\infty(X_n) = \log 2 }[/math] but [math]\displaystyle{ \Eta_1(X_n) = (\log 2 + \log 2n)/2 }[/math].

Rényi divergence

As well as the absolute Rényi entropies, Rényi also defined a spectrum of divergence measures generalising the Kullback–Leibler divergence.[13]

The Rényi divergence of order α or alpha-divergence of a distribution P from a distribution Q is defined to be

[math]\displaystyle{ D_\alpha (P \| Q) = \frac{1}{\alpha-1}\log\Bigg(\sum_{i=1}^n \frac{p_i^\alpha}{q_i^{\alpha-1}}\Bigg) = \frac{1}{\alpha-1}\log \mathbb E_{i \sim p}[(p_i/q_i)^{\alpha - 1}] \, }[/math]

when 0 < α < ∞ and α ≠ 1. We can define the Rényi divergence for the special values α = 0, 1, ∞ by taking a limit, and in particular the limit α → 1 gives the Kullback–Leibler divergence.

Some special cases:

[math]\displaystyle{ D_0(P \| Q) = - \log Q(\{i : p_i \gt 0\}) }[/math] : minus the log probability under Q that pi > 0;
[math]\displaystyle{ D_{1/2}(P \| Q) = -2 \log \sum_{i=1}^n \sqrt{p_i q_i} }[/math] : minus twice the logarithm of the Bhattacharyya coefficient; ((Nielsen Boltz))
[math]\displaystyle{ D_1(P \| Q) = \sum_{i=1}^n p_i \log \frac{p_i}{q_i} }[/math] : the Kullback–Leibler divergence;
[math]\displaystyle{ D_2(P \| Q) = \log \Big\langle \frac{p_i}{q_i} \Big\rangle }[/math] : the log of the expected ratio of the probabilities;
[math]\displaystyle{ D_\infty(P \| Q) = \log \sup_i \frac{p_i}{q_i} }[/math] : the log of the maximum ratio of the probabilities.

The Rényi divergence is indeed a divergence, meaning simply that [math]\displaystyle{ D_\alpha (P \| Q) }[/math] is greater than or equal to zero, and zero only when P = Q. For any fixed distributions P and Q, the Rényi divergence is nondecreasing as a function of its order α, and it is continuous on the set of α for which it is finite,[13] or for the sake of brevity, the information of order α obtained if the distribution P is replaced by the distribution Q.[1]

Financial interpretation

A pair of probability distributions can be viewed as a game of chance in which one of the distributions defines official odds and the other contains the actual probabilities. Knowledge of the actual probabilities allows a player to profit from the game. The expected profit rate is connected to the Rényi divergence as follows[14]

[math]\displaystyle{ {\rm ExpectedRate} = \frac{1}{R}\, D_1(b\|m) + \frac{R-1}{R}\, D_{1/R}(b\|m) \,, }[/math]

where [math]\displaystyle{ m }[/math] is the distribution defining the official odds (i.e. the "market") for the game, [math]\displaystyle{ b }[/math] is the investor-believed distribution and [math]\displaystyle{ R }[/math] is the investor's risk aversion (the Arrow–Pratt relative risk aversion).

If the true distribution is [math]\displaystyle{ p }[/math] (not necessarily coinciding with the investor's belief [math]\displaystyle{ b }[/math]), the long-term realized rate converges to the true expectation which has a similar mathematical structure[14]

[math]\displaystyle{ {\rm RealizedRate} = \frac{1}{R}\,\Big( D_1(p\|m) - D_1(p\|b) \Big) + \frac{R-1}{R}\, D_{1/R}(b\|m) \,. }[/math]

Properties specific to α = 1

The value α = 1, which gives the Shannon entropy and the Kullback–Leibler divergence, is the only value at which the chain rule of conditional probability holds exactly:

[math]\displaystyle{ \Eta(A,X) = \Eta(A) + \mathbb{E}_{a \sim A} \big[ \Eta(X| A=a) \big] }[/math]

for the absolute entropies, and

[math]\displaystyle{ D_\mathrm{KL}(p(x|a)p(a)\|m(x,a)) = D_\mathrm{KL}(p(a)\|m(a)) + \mathbb{E}_{p(a)}\{D_\mathrm{KL}(p(x|a)\|m(x|a))\}, }[/math]

for the relative entropies.

The latter in particular means that if we seek a distribution p(x, a) which minimizes the divergence from some underlying prior measure m(x, a), and we acquire new information which only affects the distribution of a, then the distribution of p(x|a) remains m(x|a), unchanged.

The other Rényi divergences satisfy the criteria of being positive and continuous, being invariant under 1-to-1 co-ordinate transformations, and of combining additively when A and X are independent, so that if p(A, X) = p(A)p(X), then

[math]\displaystyle{ \Eta_\alpha(A,X) = \Eta_\alpha(A) + \Eta_\alpha(X)\; }[/math]

and

[math]\displaystyle{ D_\alpha(P(A)P(X)\|Q(A)Q(X)) = D_\alpha(P(A)\|Q(A)) + D_\alpha(P(X)\|Q(X)). }[/math]

The stronger properties of the α = 1 quantities allow the definition of conditional information and mutual information from communication theory.

Exponential families

The Rényi entropies and divergences for an exponential family admit simple expressions[15]

[math]\displaystyle{ \Eta_\alpha(p_F(x;\theta)) = \frac{1}{1-\alpha} \left(F(\alpha\theta)-\alpha F(\theta)+\log E_p[e^{(\alpha-1)k(x)}]\right) }[/math]

and

[math]\displaystyle{ D_\alpha(p:q) = \frac{J_{F,\alpha}(\theta:\theta')}{1-\alpha} }[/math]

where

[math]\displaystyle{ J_{F,\alpha}(\theta:\theta')= \alpha F(\theta)+(1-\alpha) F(\theta')- F(\alpha\theta+(1-\alpha)\theta') }[/math]

is a Jensen difference divergence.

Physical meaning

The Rényi entropy in quantum physics is not considered to be an observable, due to its nonlinear dependence on the density matrix. (This nonlinear dependence applies even in the special case of the Shannon entropy.) It can, however, be given an operational meaning through the two-time measurements (also known as full counting statistics) of energy transfers[citation needed].

The limit of the quantum mechanical Rényi entropy as [math]\displaystyle{ \alpha\to 1 }[/math] is the von Neumann entropy.

See also

Notes

  1. 1.0 1.1 1.2 (Rényi 1961)
  2. (Rioul 2021)
  3. Barros, Vanessa; Rousseau, Jérôme (2021-06-01). "Shortest Distance Between Multiple Orbits and Generalized Fractal Dimensions" (in en). Annales Henri Poincaré 22 (6): 1853–1885. doi:10.1007/s00023-021-01039-y. ISSN 1424-0661. Bibcode2021AnHP...22.1853B. https://doi.org/10.1007/s00023-021-01039-y. 
  4. (Franchini Its)
  5. (Its Korepin)
  6. RFC 4086, page 6
  7. (Bromiley Thacker)
  8. (Beck Schlögl)
  9. [math]\displaystyle{ \Eta_1 \ge \Eta_2 }[/math] holds because [math]\displaystyle{ \sum\limits_{i = 1}^M {p_i \log p_i } \le \log \sum\limits_{i = 1}^M {p_i^2 } }[/math].
  10. [math]\displaystyle{ \Eta_\infty \le \Eta_2 }[/math] holds because [math]\displaystyle{ \log \sum\limits_{i = 1}^n {p_i^2 } \le \log \sup _i p_i \left( {\sum\limits_{i = 1}^n {p_i } } \right) = \log \sup_i p_i }[/math].
  11. [math]\displaystyle{ \Eta_2 \le 2 \Eta_\infty }[/math] holds because [math]\displaystyle{ \log \sum\limits_{i = 1}^n {p_i^2 } \ge \log \sup _i p_i^2 = 2\log \sup_i p_i }[/math]
  12. Devroye, Luc; Györfi, Laszlo; Lugosi, Gabor (1996-04-04) (in English). A Probabilistic Theory of Pattern Recognition (Corrected ed.). New York, NY: Springer. ISBN 978-0-387-94618-4. https://www.amazon.com/Probabilistic-Recognition-Stochastic-Modelling-Probability/dp/0387946187. 
  13. 13.0 13.1 Van Erven, Tim; Harremoës, Peter (2014). "Rényi Divergence and Kullback–Leibler Divergence". IEEE Transactions on Information Theory 60 (7): 3797–3820. doi:10.1109/TIT.2014.2320500. 
  14. 14.0 14.1 (Soklakov 2018)
  15. (Nielsen Nock)

References