Entropy of Independent Experiments, Revisited

Maciej SkorskiarXiv 2017

TL;DR

This paper provides tighter bounds on how quickly the "randomness" (Renyi entropy) of a sequence of independent, but not necessarily identically distributed, random variables approaches its theoretical limit (Shannon entropy rate). The authors achieve this by characterizing the "worst-case" distributions that slow down this convergence and by developing new mathematical tools based on non-convex optimization. These improved bounds have direct implications for the security analysis of random number generators.

What Problem Does This Paper Address?

In information theory, a fundamental concept is entropy, which quantifies the uncertainty or randomness of a random variable. For a sequence of independent random variables, the Shannon entropy rate is the average uncertainty per variable in the long run. The Renyi entropy is a generalization of Shannon entropy, and it's often more convenient for analyzing security properties, particularly min-entropy, which is crucial for cryptographic applications.

A key result, known as the Asymptotic Equipartition Property (AEP), states that for many types of random sources, the Renyi entropy per symbol converges to the Shannon entropy rate as the number of symbols increases. This means that sequences produced by such sources are, with high probability, close to uniformly distributed. However, understanding how fast this convergence happens is critical for practical applications like cryptography, where we need to quantify the security of random number generators. Previous work (Holenstein and Renner, 2011) provided bounds on this convergence speed, but these bounds were often dependent on the size of the alphabet (the set of possible outcomes) and could be improved, especially in high-entropy scenarios. This paper aims to provide tighter, more general bounds on the speed of convergence of Renyi entropy to Shannon entropy for independent, non-identically distributed sources.

Methods

The core of the paper's contribution lies in its novel approach to bounding the exponential moments of the surprise. The "surprise" of an outcome is related to its low probability (specifically, the negative logarithm of its probability). Understanding the distribution of these surprises is key to bounding the convergence rate of entropies.

The authors tackle this by:

  • Characterizing "Worst-Case" Distributions: They identify that the slowest convergence occurs for distributions that are mixtures of a uniform distribution and a "unit mass" (a single outcome with probability 1). This characterization is crucial for deriving tight bounds.
  • Non-Convex Programming: The problem of finding optimal bounds on exponential moments under an entropy constraint is formulated as a non-convex optimization problem. The authors develop techniques to solve this, which is non-trivial because standard convex optimization tools don't directly apply.
  • Lagrangian Duality and Majorization Theory: They use Lagrangian multipliers to transform the constrained optimization problem into an unconstrained one. Majorization theory and Schur convexity are employed to analyze the properties of the optimal solutions.
  • Implicit Function Theorem and Second-Order Conditions: To ensure the derived solutions are indeed optimal and to handle technical details like ensuring non-zero probabilities, they use the implicit function theorem and second-order optimality conditions.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and deriving bounds for abstract probability distributions, not on empirical evaluation with specific datasets.

Key Insights and Ideas

  • The "Worst" Distributions are Simple: The most surprising finding is that the distributions that lead to the slowest convergence of Renyi to Shannon entropy are surprisingly simple: they are mixtures of a single highly probable outcome and a uniform distribution over the remaining outcomes. This simplicity is key to deriving sharp bounds.
  • Non-Convexity is the Challenge (and the Key): The optimization problem for finding optimal bounds is inherently non-convex. Instead of avoiding this, the authors embrace it, developing techniques to analyze and solve these non-convex problems, which leads to their improved results.
  • Entropy Deficiency is the Right Metric: The paper shows that the speed of convergence can be characterized by the "entropy deficiency" (the difference between the logarithm of the support size and the Shannon entropy), rather than just the alphabet size. This is a more refined measure, especially for high-entropy sources.
  • Bridging Renyi and Shannon Entropy: The work provides a tighter quantitative link between different types of entropy, which is essential for practical security analysis where one type might be easier to estimate (Shannon) while the other is required for security guarantees (Renyi/min-entropy).

Key Results

  • Improved Convergence Bounds: The paper provides new, tighter bounds on the speed of convergence of Renyi entropy to Shannon entropy for independent, non-identically distributed sources. These bounds are often expressed in terms of the entropy deficiency and are shown to be optimal.
  • Faster Convergence in High-Entropy Regimes: For sources with high entropy (small entropy deficiency), the paper establishes significantly faster convergence rates compared to previous results.
  • Characterization of Extremal Inequalities: The analysis leads to sharp inequalities relating Renyi and Shannon entropies, particularly for "one-shot" experiments (single random variables).
  • Applications to Random Number Generators: The improved bounds allow for a more accurate quantification of the security of random number generators, especially those with high entropy outputs. For example, they can better estimate the min-entropy of outputs from true random number generators.

Limitations and Future Work

  • Technical Complexity: The proofs involve advanced mathematical techniques, including non-convex optimization and majorization theory, making them technically demanding.
  • Focus on Independent Sources: The results are primarily for sources with independent outputs. Extending these bounds to dependent sources (e.g., Markov chains) would be a significant next step.
  • Practical Implementation: While the paper provides theoretical bounds, translating these directly into practical algorithms for random number generator testing might require further work.

The authors suggest that their characterization of "worst-case" distributions and the derived inequalities can be further applied to various cryptographic tasks, such as key derivation, and to better understand the security of information-theoretic cryptographic primitives.

Summary updated

Abstract

The weak law of large numbers implies that, under mild assumptions on the source, the Renyi entropy per produced symbol converges (in probability) towards the Shannon entropy rate. This paper quantifies the speed of this convergence for sources with independent (but not iid) outputs, generalizing and improving the result of Holenstein and Renner (IEEE Trans. Inform. Theory, 2011). (a) we characterize sources with \emph{slowest convergence} (for given entropy): their outputs are mixtures of a uniform distribution and a unit mass. (b) based on the above characterization, we establish faster convergences in \emph{high-entropy} regimes. We discuss how these improved bounds may be used to better quantify security of outputs of random number generators. In turn, the characterization of "worst" distributions can be used to derive sharp "extremal" inequalities between Renyi and Shannon entropy. The main technique is \emph{non-convex programming}, used to characterize distributions of possibly large exponential moments under certain entropy.
BibTeX
@misc{skorski2017entropy,
  author = {Maciej Skorski},
  title = {{Entropy of Independent Experiments, Revisited}},
  year = {2017},
  eprint = {1704.09007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.09007},
}
Figure