Entropy and the Central Limit Theorem
Contents
Introduction#
A short story#
The Central Limit Theorem is a fundamental result in probability that seems magical at first sight: normalized sums tends in distribution to Gaussians. The classical proof analyzes the Fourier transform of associated probability densities (known as characteristic functions). It is not very intuitive to me.
But there is another way…
In 1957 Jaynes published his seminal two part work: Information Theory and Statistical Mechanics, conceptually relating statistical mechanics and probabilistic inference. In the first paper he formulates his fundamental principle of maximum entropy, elucidating the conceptual role of entropy. The Gaussian distribution has an equally conceptual entropic characterization.
In 1959, Linnik published An Information-Theoretic Proof of the Central Limit Theorem with the Lindeberg Condition. Barron and others have continued this line of research, resulting in a deep understanding of information inequalities and also simplifications of Linnik’s original argument (see e.g. Entropy and the Central Limit Theorem). More recent works culminated for example in the elegant Solution of Shannon’s Problem on the Monotonicity of Entropy by Artstein, Ball, Barthe, and Naor, which founds the “thermodynamic” intuition. For more recent surveys on information inequalities see e.g. this survey by Rioul and this paper by Madiman and Barron. This line of work is underlain by rich geometry furnished by the heat equation.
In this post I’ll try to provide information-theoretic intuition for CLT that builds on both the principle of maximum relative entropy, and follow up with a proof along the same lines.
While CLT was my original motivation for learning this stuff, there’s a beautiful story about the interplay of information and dynamics involving lots of rich geometry. Incidentally here are some ramblings by a really clueless fellow.
CLT#
Let be i.i.d and consider its -average . Note - the variance vanishes in the limit. This is a weak version of the law of large numbers. The strong law is the satisfying but still unsurprising assertion that as , the -average converges almost surely to the mean . It is a special case of Birkhoff’s ergodic theorem relating space and time averages, and we won’t pursue it further in this post.
Upon scaling we see : the standard deviation becomes constant and there is stability at the limit. Thus we arrive at a more delicate question: is there perhaps a limiting distribution?
Let us phrase our question more geometrically:
- Suppose we scale the real line by the standard deviation of the average .
- Now we look at scaled (!) histograms of the deviation of the -average from the mean .
- Question. In the limit , do these histograms have a shape?
Incredibly, the answer is yes when the have finite variance. Even more incredibly, the limit distribution is Gaussian, and completely independent of the distribution of the .
Central Limit Theorem. Let be i.i.d with mean and variance . Consider -average . As , the deviation of the average from the mean in units of its standard deviation converges to a standard Gaussian distribution:
But… why?
Why is there a limit distribution? Why is it independent of the distribution of the ?
A first step toward some intuition is to examine the case of Bernoulli, i.e. (potentially biased) coin tosses. The 3Blue1Brown video features great Galton board simulations that hint at what’s going on: for a ball to end up on the far left/right it must hit a long stream of heads/tails, which is less probable than a mixed stream (that would place it closer to the middle). There are more mixed streams and so the distributions are concentrated near the middle. Sufficiently thorough analysis of this example leads to the limit distribution, and is carried out by Jaynes in his immortal monograph, but we will not pursue it here. Instead, we will shift to the “information PoV”.
A second step toward some intuition, which points directly at Gaussians, is founded on the conjunction of two core principles:
- The Gaussian has a universal characterization in terms of differential entropy: in a formal sense, it has minimal structure relative to Lebesgue measure among all distributions with a fixed variance.
- The operation of averaging always blurs/smoothes, reducing structure.
Combining, we expect the sequence of normalized averages to gradually lose structure, and converge to a Gaussian in the limit. This is the entropic intuition in a nutshell. Note the normalization requirement and (anticipation of) existence of a limit both follow from the universal characterization of Gaussians and the averaging intuition.
Entropy#
The foreword to John Baez’s great book What is Entropy? contains a phenomenal one-line formulation, to which I have only appended the word “expected”:
Entropy is the expected amount of information we don’t know about a situation, which in principle we could learn.
Key takeaways:
- As an expectation, entropy is computed with respect to some hypothesis/model of nature.
- Information is learned relative to prior belief. Accurate priors diminish information learned. Thus entropy is always relative. “Absolute” entropy is relative to absence of priors.
- Our model of nature should be chosen to maximize entropy relative to our prior beliefs. This is the fundamental principle of maximum relative entropy. It is underlain by the following intuition: to maximize unknown information (which can be learned by observation) is to minimize extraneous assumptions.
Despite the emphasis on the relative point of view, we shall nevertheless start with what is, in some sense, absolute entropy: Shannon entropy. It’s absolute in the sense that it assume absence of any prior beliefs. Indeed by the maximum entropy principle itself applied to a finite (!) space, the reference distribution realizing a total absence of priors is the uniform distribution. Shannon entropy is defined a bit more generally - with respect to the counting measure on countable spaces - but that is immaterial. It is very interesting however that only finite spaces feature a distribution which models complete absence of priors - no analogue is available on infinite spaces (even countably infinite). Infinity imposes priors!
Formally, we define entropy of a probability measure relative to a reference measure . When the reference is also a probability measure, is the expected information gained by shifting our model . According to the Bayesian interpretation, -expectation of information in other distributions should be maximized by itself. Hence entropy relative to other probability distributions should be non-positive, and zero precisely at . For convenience we introduce also expected relative information gain: -expectation of moving , just by adding a minus sign.
Expected information gain is non-negative and sometimes referred to as Kullback–Leibler divergence. We’ll stick to the more informative (…) name.
At any rate we arrive at an alternative formulation of the principle of maximum relative entropy which I find more intuitive: the principle of minimum expected information gain.
Information content#
In this section we’ll define information content, first for events, then for partitions of a measure space, and finally for measures. This will allow us to define Shannon entropy conceptually, as average/expected information content. But before any machinery:
Information content is amount of information we don’t know about a situation, which in principle we could learn.
Here’s an overview of what follows.
- The information content of an event is . This defines a function on all events.
- Fix a probability space . A partition defines by pushforward a probability space . The measure is called the distribution of the partition. The information content of the partition is the random variable taking a cell to its information content .
- The information content of a probability space is the information content of its partition into singletons.
The third notion is not merely a special case of the second but rather equivalent to it: the information content of a partition equals the information content of its distribution . In particular the information content of a partition depends only on its distribution.
Of an event#
Fix a probability space. Suppose you are told an event has occurred. If you believe the event was unprobable, you are surprised. One of Shannon’s great insights was to view surprisal as information content: a surprising/unprobable outcome is more informative than a probable one.
We want to quantify surprisal/information content. Intuitively, it should be a function of probability only, decreasing as probability increases. It should also be additive on independent events.
Moreover, an almost certain event should have zero surprisal. Thus we are led, following Shannon, to take . Additivity on independent events follows from the product-to-sum functional equation satisfied by the logarithm. Note information content is a function defined on all events of a probability space .
Of a distribution#
Probable events are less informative than improbable events. The generalization: on average (!), concentrated distributions are less informative than spread-out distributions are informative. On average, you learn less from a biased coin toss than from a fair coin toss.
In this section we will formally define the information content of a discrete distribution. We’ll go through partitions to appeal to geometric intuition.
Fix a set . Recall functions from are in canonical bijection with indexed (!) partitions of , where fibers correspond to cells. A random variable is but a measurable function from a probability space, so it has an associated indexed measurable partition. But probability distributions are defined for partitions and do not require indexing. The point is that a partition of always comes with a canonical function sending a point to the unique cell containing it.
Definition. The distribution of a measurable partition of a measure space is the pushforward of along the projection onto the space of cells . Note an element of is a collection of cells with measurable union, and its measure is just the measure of their union.
In more earthly terms, the distribution is the multiset of cell masses (multiset because different cells can have equal mass). Upon indexing/labeling a partition we arrive at the common visualization of distributions as histograms, where the -axis ticks are labels of cells, the -axis denotes probability, and the rectangle areas sum to the total measure of the space. Partitions of measure spaces have isomorphic distributions precisely iff the induced measure spaces are isomorphic , iff the restrictions are isomorphic iff they have equals multisets of cell masses. This means both partitions can be represented by the same histogram.
Remark. The astute reader may have noticed the restriction of the measure to partition cells is actually the Radon-Nikodym derivative of the pushforward with respect to the counting measure on , i.e. . While every measure is absolutely continuous w.r.t the counting measure, the derivative only exists when the atomic support of is countable. This observation, and the key role played by the counting measure, will be explored later.
Definition. Fix a probability space . The information content of a partition is the random variable on given by information content of the cells:
Note is strictly monotone whence injective, so the fibers of information content are precisely equiprobable collections of cells. Hence, the distribution of information content is precisely the distribution of , which we may compute from probability of cells in . Geometrically, we start with the histogram for and merge equiprobable columns. Evidently, partitions with more equiprobable cells have more concentrated information distribution. Let’s see some examples:
- A fair coin toss has just two measurements, both equiprobable, so its distribution is . Hence the information distribution is .
- Consider a biased five-sided die with distribution . The information distribution is .
- Consider a four-ticket lottery with distribution . The information distribution is .
- Consider . The information distribution is .
Of a measure#
Every set has a canonical partition into its constituent singletons. The structure map is canonically isomorphic to the identity by omitting curly braces. Hence the information content of a probability space is the random variable given by information content of points. As previously remarked, if has countable atomic support then the density function is none other than the Radon-Nikodym derivative with respect to counting measure :
Definition/Lemma. The information content of a probability measure equals the composite
Fix a partition . The information content of is then , equal to the definition of the information content of the partition . Moreover, we observe that the restriction of to the partition is itself the Radon-Nikodym derivative of its pushforward with respect to counting measure.
Thus the information content of a partition of a probability space equals the information content of the probability space .
⚠️ Remark. The explicit appearance of counting measure suggests our definition misses out on the continuous part of a measure. Indeed, the information content of a continuous measure is infinite: points have zero probability and are therefore infinitely surprising events. This can be remedied by considering information content relative to other measures, namely more continuous ones. We shall explore this after defining Shannon entropy.
Shannon entropy#
Shannon entropy is average information content. More precisely, it is average information content relative to the counting measure.
For a countable measurable space we define the Shannon entropy of a probability measure as follows:
For an -valued random variable we therefore have the famous formula
Remark. The determined reader may try to avoid countability assumptions by using the function without assuming it realizes the derivative . This does allow for a general definition, but it suffers from the same issue: continuous random variables would still have infinite information content whence infinite Shannon entropy.
We previously remarked that partitions with many equiprobable sets have more concentrated information distributions. Nevertheless, concentration of the information distribution holds no bearing on entropy.
Example. Let be a “one-sided coin” and . These distributions have equally concentrated information contents, both constant functions. However, the values are different: has zero bits of information while has one bit. Any coin toss with has entropy strictly between zero and one bits.
There is ample literature concerning characterizations of Shannon entropy from first principles, similar to our hasty “derivation” of information content. See e.g. Leinster’s book Entropy and Diversity. We’ll avoid these and focus on intuition.
Relative information content#
The information content of a probability measure relative to the counting measure is , acting by . It captures the information content of the points of .
The presence of the counting measure suggests relativizing with respect to other measures . In this section we will try to clarify the epistemology in two morally distinct cases:
- is a “microstate-counter” measure, e.g. counting, Lebesgue, Haar, Riemann, Liouville, and weighted variants.
- is a probability measure, serving as an assumed prior model of reality.
Our objective is to provide some intuition for the upcoming notions of relative entropy and expected information gain.
First, the mental model. A measurable space consists of microstates. We can observe random variables, i.e. partitions of , whose cells we refer to as macrostates.
- A “microstate counter” measures how many microstates exist within a region.
- A probability measures belief that reality is in a particular region of microstates.
Let’s go over each.
Relative to a microstate-counter#
Consider the set . It has just two points, but one of them feels a little fat: it really consists of two points. What is the natural counting measure to assign this set? Is it just the counting measure, which gives equal weight to both? Or should the fat point receive twice the weight? In a nutshell, this is the dilemma underlying the choice of a microstate-counter measure.
Often we assume the microstate space is “fully refined” in the sense that its points are the most primitive microstates of our system. Thus it is typical for the microstate-counters to be “uniform” measures such as the counting measure, Lebesgue measure, Haar measure, etc.
So when do we need to add weights for observing macrostates?
- If we have the distribution of the random variable, just use it.
- If we want our macro distribution to honor the ambient micro priors, we need to add weights so the macro distribution is a suitable pushforward of the microstate prior .
- If our model involves only macrostates without finer microstate information, just use the “uniform” measure (counting, Lebesgue, Haar, etc.).
Example: colored dice. Consider a fair die whose faces are colored black, gray, and white. consists of the six equiprobable microstates.
- If there are two faces of each color, the information content gets an additive factor of : just an offset.
- If faces are colored one black, two gray, three white, then the weights should explicitly reflect this, to preserve the extra information probabilities and avoid an (incorrect) uniform distribution on the colors.
Evidently . This function increases with . For positive integer it’s always a positive quantity, which represents precisely the information that would have been lost upon coarse-graining by identifying the microstates comprising each macrostate. A similar but more delicate phenomenon occurs with non-uniform weights.
The case of a finite microstate-counting measure can be normalized to a probability measure, causing just a constant offset. For an infinite microstate-counting measure e.g. counting on infinite spaces or Lebesgue on Euclidean space, normalization is unavailable.
Information content relative to continuous microstate-counting measures can be negative. This counter-intuitive fact may seem disconcerting at first, so let us clarify.
Firstly note so the whole discussion is about densities take on values greater than one.
In the discrete case it’s natural to compute entropy relative to a microstate-counter that takes positive integral values. Hence the quotient always takes values in the unit interval. In such cases, information content is always non-negative. Note we could artificially take for some tiny and find ourselves with negative information content, but this is very contrived.
In the continuous case, this without contrivance because densities naturally take values higher than one. Our simplest example involves a probability distribution over the real lines and its density relative to Lebesgue measure. If is highly concentrated in a small region then the density relative to Lebesgue measure within this region will be higher than one. For instance consider the uniform distribution on an interval . The density is , which blows up for small intervals. For another example consider a very concentrated (low variance) Gaussian: the peak of the bell blows up as it narrows down, to preserve unit integral.
Sign meaning relative to a microstate-counter.
- Positive - happens iff , iff microstate lies in a low-density region.
- Negative - happens iff , iff microstate lies in a low-density region.
Generally speaking, we can weigh our microstate-counting measure to suit our positivity needs; there is no epistemological meaning to unravel here (as far as I can see at least).
Relative to a prior: information gain#
Suppose we have probability distributions on the same measurable space , modelling our beliefs. For each event we observe, we want to compare both models’ predictions. For an event we consider the ratio of probabilities . Note means predicted better than , while the reverse inequality means the reverse.
⚠️ Sign conventions result in a slight headache, but the bottom line is this: when both measures are probability distributions, we will only use the notion of information gain, whose expectation is minus entropy. Hence we define:
Definition. The information gain of (read relative to or over ) is defined as .
Sign meaning relative to a prior.
- Positive - happens iff , iff is a superior predictor to at .
- Negative - happens iff , iff is an inferior predictor to at .
Note the sign of information gain may fluctuate: either model can get lucky sometimes. The simplest example is perhaps the most illustrative: a fair coin and a very biased coin. Taking to be biased toward heads vs tails , we find:
- , witnessing the heads-biased distribution as a better predictor of heads (obviously).
- For tails we have , witnessing as a worse predictor of tails.
The interesting question is: what is the information gain expected by and by ? We will answer this below.
Relative entropy#
Entropy of a measure relative to another measure; expected information gain#
Fix measures . Recall is absolutely continuous w.r.t (denoted ) if . When is -finite this is equivalent to existence of the Radon-Nikodym derivative .
Definition. Let . The entropy of relative to is minus the -expectation of the log density.
When are both probability measures, define the expected information gain of relative to as minus the relative entropy. In the literature this quantity is often refered to as Kullback–Leibler divergence, or KL divergence in short. We’ll stick to the more informative name.
⚠️ Remark. Our sign convention for relative entropy differs from some sources in the literature. Our choice makes it so that relative entropy with respect to counting/Lebesgue measure recovers Shannon/differential entropy respectively. Thankfully, our definition of KL divergence is standard across the literature.
If are mutually absolutely continuous then they have reciprocal Radon-Nikodym derivatives, so the definition is consistent.
Perhaps the most familiar formula for entropy is . Typically, is a probability measure. When is counting measure then is density and we recover Shannon entropy
Now back to some epistemology. The key one-liner:
Suppose you believe in a model . The quantity is your expectation of information gained by following your model instead of an alternative model .
- The log density is positive precisely when is a superior predictor of compared to .
- The Bayesian interpretation of expectation with respect to is the prediction assuming the world truly follows .
- If the world truly follows , then should be the unique best predictor among all distributions.
Combining these, we anticipate expected information gain to be non-negative, since it is precisely the -expectation of the log density . This is indeed so.
Non-negativity. Fix probability (!) measures . Then with equality iff .
Proof. Recall
The function is convex for by the second derivative test. is a probability measure so Jensen’s inequality facilitates the following computation, where the penultimate equality is due to being a probability measure.
Intuition: heavy penalty for underestimation. Before taking another step, let us present the simplest and most illuminating example of expected information gain and its asymmetry: a biased coin and a fair coin .
- Biased expectation of information gain by moving from “neutral” (fair coin) to biased attains moderate values because , causing low probability estimates “cancel out”.
- On the other hand, neutral expectation of information gain by moving from a biased belief to a neutral one is unbounded, because the neutral expectation weights are negligible compared to the huge logarithm for improbable events.
explodes when the prior severely underestimates probabilities compared to .
The dependence of on is of interest and we will study it (partly) later on.
The principle of minimum expected information gain (maximum relative entropy)#
In 1957 Jaynes published his seminal, two part work Information Theory and Statistical Mechanics, relating statistical mechanics and probabilistic inference. In the first paper he formulates his principle of maximum entropy: given some prior observations about moments (expectation, variance, etc.), we should model nature with the distribution that maximizes Shannon entropy subject to our data. Intuitively, principles like Occam’s razor suggest our model should minimize unjustified assumptions; Jaynes alludes to an equivalence between minizing assumptions and maximizing unknown information which can be learned by observation.
One is naturally led to relativize this principle with respect to a prior model, given by a reference probability distribution . Here mild care is needed with signs. Shannon entropy and entropy relative to the uniform distribution differ by a constant, so they reach maximum jointly.
More generally, we are maximizing the non-positive .
Thus we are lead to an alternative formulation that I personally find more intuitive: the principle of minimal expected information gain. Given a prior model and some observed constraints (e.g. moments), we should choose a model that minimizes expected information gain relative to . Intuitively, minimizing expected information gain amounts to minimizing extraneous assumptions.
Differential entropy and the role of the Gaussian#
Entropy relative to Lebesgue measure is called differential entropy. If has density then its differential entropy is given by the familiar formula .
Differential entropy of Gaussian density. The differential entropy of the Gaussian density
is independent of mean and equals
Remark. Observe the entropy of a Gaussian is negative for sufficiently small . This is fine - see the discussion under information content relative to a microstate-counting measure.
Proof. This is a computation. The last equality is due to the general formula .
Entropy relative to matching Gaussian. Write for the probability density of the Gaussian distribution . For any probability density with matching mean and variance , the relative entropy w.r.t the Gaussian is the difference of entropies (w.r.t Lebesgue measure).
Proof. This is just a computation. We use the formula .
The fact uses . Finish by applying .
We can now use non-negativity of expected information gain to deduce Gaussian density maximizes differential entropy per fixed variance.
Gaussian maximizes differential entropy per fixed variance. If is a probability density on with variance , its entropy (relative to Lebesgue measure) is at most that of the Gaussian , with equality iff is itself Gaussian with variance (the mean doesn’t matter).
Proof. Let . Combining the above proposition with we find , as desired.
This result is of paramount epistemic importance: it means Gaussian distributions satisfy the principle of maximum differential entropy given prior belief that variance equals . More geometrically, the Gaussian of variance is the most “spread out” of all distributions with variance . Geometric intuition should also make it clear why the maximum only makes sense upon fixing variance: you can spread out more as you increase it (and indeed the differential entropy of the Gaussian increases monotonically in ).
I attach the following excerpt from Jaynes for good measure.
For example, today most accurate experiments in physics take data electronically, and a physicist usually knows the mean square error of those measurements because it is related to the temperature by the well known Nyquist thermal fluctuation law. But he seldom knows any other property of the noise. If he assigns the first two moments of a noise probability distribution to agree with such information, but has no further information and therefore imposes no further constraints, then a Gaussian distribution fit to those moments will, according to the principle of maximum entropy as discussed in Chapter 11, represent most honestly his state of knowledge about the noise.
But we must stress a point of logic concerning this. It represents most honestly the physicist’s state of knowledge about the particular samples of noise for which he had data. This never includes the noise in the measurement which he is about to make! If we suppose that knowledge about some past samples of noise applies also to the specific sample of noise that we are about to encounter, then we are making an inductive inference that might or might not be justified; and honesty requires that we recognize this. Then past noise samples are relevant for predicting future noise only through those aspects that we believe should be reproducible in the future.
In practice, common sense usually tells us that any observed fine details of past noise are irrelevant for predicting fine details of future noise, but that coarser features, such as past mean square values, may be expected reasonably to persist, and thus be relevant for predicting future mean square values. Then our probability assignment for future noise should make use only of those coarse features of past noise which we believe to have this persistence. That is, it should have maximum entropy subject to the constraints of the coarse features that we retain because we expect them to be reproducible. Probability theory becomes a much more powerful reasoning tool when guided by a little common sense judgment of this kind about the real world, as expressed in our choice of a model and assignment of prior probabilities.
Thus we shall find in studying maximum entropy below that, when we use a Gaussian sampling distribution for the noise, we are in effect telling the robot: ‘The only thing I know about the noise is its first two moments, so please take that into account in assigning your probability distribution, but be careful not to assume anything else about the noise.’
Recall the (local, not expected) information gain . When is Lebesgue measure we call this differential information gain.
Gaussian iff affine differential information gain. The differential information gain of a Gaussian density is . Conversely, a density with affine differential gain is Gaussian (in particular ).
Proof. Given a Gaussian, just compute. Move the constant into the exponent. Upon taking it disappears under differentiation and we’re left with the result. Conversely, taking outputs a quadratic whence the density is Gaussian. is required for integrability.
Expected information gain: semicontinuity and compactness#
Lower semicontinuity#
This section will culminate in a proof that is lower semicontinuous. However, I want to take the scenic route to clarify the intuition (which is also the proof strategy).
Fix a measure space with measure and consider a non-negative function , thinking of it as mass-density with respect to (formally as the Radon-Nikodym derivative of some finite measure relative to ). The integral is the total mass. When takes finitely many values it is a simple sum, which can be further decomposed when itself is finite.
What can be said about action of the integration operator on non-negative functions?
- When is finite, we expect continuity: no matter what sequence we take, mass has nowhere to go in the limit, and .
- When is infinite, mass can drift off to infinity and disappear at limit. In the discrete case - a wandering sequence of deltas. In the continuous case - a wandering sequence of bumps. Nevertheless, mass cannot appear at the limit because it has nowhere to come from. This is the statement of Fatou’s lemma.
For a lucid phrasing of Fatou’s lemma, recall a real-valued function is lower semicontinuous when its sublevel sets are closed . Such a function cannot jump up at the limit, i.e. stuff cannot appear at the limit. Stuff can instantly jump up - from the boundary of the sublevel set - but not down, since superlevel sets are open. Fatou’s lemma says integration of non-negative functions is lower semicontinuous. The proof builds on the finite case and is underlain by a simple and important fact.
Suprema of continuous functions are lower semicontinuous. Let be a sequence of continuous maps. The pointwise supremum is lower semicontinuous.
Proof. By the universal property of we have .
Fatou’s lemma. Integration is continuous on finite spaces. Integration of non-negative functions is lower semicontinuous. Moreover, integration of bounded-from-below functions is also lower semicontinuous. Finally, if is lower semicontinuous and bounded-from-below then the composite is also lower semicontinuous, i.e. the sublevel sets are closed.
Proof. In the finite case, pick a uniform bound on the tail and use it to control the difference between . For the infinite case, first fix a finite (measurable) partition of . Define the simple lower approximation by
By definition of integration of non-negative functions . By the lemma it suffices to prove each is lower semicontinuous. Now we’ll reduce to the (continuous) finite case. To this end define
where denotes a choice of finite subset of each cell in . These operators are continuous due to the finite minima. A straightforward verification shows
Thus , establishing lower semicontinuity. Now suppose the sequence is merely bounded-from-below by . Then we can apply Fatou’s lemma to . The result follows by linearity of the integral. To be a bit more explicit, consider the commutative square starting at the subset of functions bounded-from-below by . The horizontal edges are translations by while the vertical edges are integration, and commutativity is by linearity of integration. For the last assertion, lower semicontinuity is closed under composition.
Led by Fatou-style intuition that mass can only drift off in the limit (but not appear), intuition suggests similar behavior of expected information gain . Upon inspection we implicitly consider densities (the standard visualiation of histograms) and not the distributions themselves.
Corollary. If and for all then .
Proof. Apply Fatou to .
Since pointwise convergence of densities is extremely stringent, it’s natural to wonder about lower semicontinuity with respect to coarser topologies. The following theorem gives a geometric characterization of the weak topology on the space of measures. We will adopt it as a definition.
Portmanteau theorem. A sequence of measures converges in the weak topology iff for all measurable satisfying we have .
Intuitively, the condition prevents measure from leaking out into the boundary. Thus the weak topology is oblivious to behavior of if there is concentration at the boundary .
The takeaway:
Continuity for a fixed continuity partition. Assume is a finite partition satisfying . Then is continuous with respect to the weak topology, i.e.
Proof. By Portmanteau implies set-wise convergence over . For each summand of , is fixed and the map is continuous. Hence set-wise convergence gives the desired result.
Now we anticipate lower semicontinuity if we can only compute as a supremum over continuity partitions. First we’ll prove the supremum formula and then explain why it suffices to use continuity partitions.
Partition-supremum formula. Let be a finite measurable partition of the probability space. Define . Then we have the coarse-graining inequality , and we can compute on finite partitions
Proof. Write . By using Jensen on each cell w.r.t the induced probability measure we have:
For the reverse inequality, some notation. Write . This function is constant on each cell of , taking the value . Write shorthand for where is generated by increasingly accurate approximations of by simple functions. Now compute using the fact conditional expectation is an contraction.
Since we can combine coarse-graining with generalized -Fatou for to obtain the following inequalities, which give equality at the limit.
Lower semicontinuity. Suppose we live in a separable metric space. Expected information gain is lower semicontinuous with respect to the weak topology on the space of probability distributions.
Proof. We want to use the supremum formula for partitions alongside closedness under suprema. For this we must show the supremum can be computed with continuity partitions. Here we use the separable metric assumption to filter out balls with measure on the boundary. The proof is a straightforward hassle and we omit it.
Corollary. (Continuity.)
- Differential entropy , when restricted to a subspace of measures with prescribed mean and variance, is upper semicontinuous.
- Moreover, if is a pointwise convergent and uniformly bounded sequence then and .
Proof. Recall the formula for entropy relative to the matching Gaussian . The LHS is upper semicontinuous in the distribution with density , whence so is the left summand in the RHS. For the second assertion we use uniform boundedness to apply Fatou’s lemma, which gives lower semicontinuity and therefore convergence. Specifically, set and observe with the RHS integrand non-negative. The relative entropy formula ensures differential entropy and the expected information gain converge together.
Compactness#
We’ll need the following theorem.
Prokhorov theorem. In the weak topology, a sequence has a convergent subsequence iff there’s a compact such that .
Intuitively, existence of compact sets uniformly containing most of each measure prevents measure from leaking into infinity on our space (at the limit).
Sequentially compact sublevel sets. Fix a probability measure (inner regular - automatic for Borel measures on nice spaces). When restricted to probability measures, expected information gain has sequentially compact sublevel sets. That is, every sequence in has a convergent subsequence. By lower semicontinuity, the limit also lies in .
Proof. We use Prokhorov. Let . Given we must find a compact such that .
The supremum characterization of entropy ensures for a partition . Taking a binary partition we have (using ) the following inequality for any .
Hence every in the sublevel set satisfies . Since we’re working over a nice space, is inner regular. Hence we can find a compact such that is arbitrarily small. Given , take sufficiently small so as to satisfy .
Information and Dynamics#
An invertible measure-preserving flow just moves stuff around. Pure transport/circulation. It’s intuitively clear that information is just moving around the space but staying globally constant. Thus we expect conservation of information: expected information gain (and therefore entropy) should stay constant over time.
The proof is simple. Fix any deterministic . First, . Second, by invariance and the group property, . By invariance again the integral is independent of as desired. Taking gives conservation of probability while taking gives conservation of information gain. (Involving derivatives also gives conservation of Fisher information, which we’ll visit later.)
The takeaway: invertible invariant dynamics are uninteresting from the informational perspective.
-
Pure advection/transport. We covered this case: invariant invertible flow. Pure circulation, so nothing interesting is happening with information.
-
Divergence/variance. Divergence is the opposite of invariance. It means an invertible flow causes accumulation/compression or dispersion/expansion of stuff in regions of our space. Divergence is a local phenomenon, independent of global conservation of stuff, that affects entropy. A concentrating flow increases expected information gain while a dispersive flow evens stuff out and reduces expected information gain.
-
Mixing/averaging/blurring/smoothing. Intuitively, mixing/averaging can only even things out - never concentrate. Hence an initial measure can never be mixed into a more concentrated one. Consequently, mixing is fundamentally non-invertible: it is not surjective on the space of probability measures. The same intuition suggests mixing always increases relative entropy/reduces relative information gain - unlike divergence, which is signed and has a signed effect.
The theory of mixing of distributions: Markov processes#
Building intuition: discrete time#
Finite state space#
A finite Markov chain is a directed graph on a state space with edges labeled by positive conditional (!) transition probabilities of next state conditioned on current state . We omit edges for zero probabilities, and we always omit loops since their probability can be calculated from the other arrows emanating from the state in question. To be clear, transition probability is not the joint probability of current state i and next state . The mixing picture is as follows:
- Each state is a cup with some stuff.
- An initial distribution describes the distribution of the total stuff between the cups. For instance a delta means all of the stuff is in one cup while a uniform distribution means the stuff is evenly split.
- The probabilities say what fraction of the stuff in each cup is going where. So means half of the stuff in cup will next flow through pipe - regardless of how much stuff cup holds relative to other cups.
- The key point is the interplay between the initial distribution of the total amount of stuff and the mixing operator that says what fractions of each amount move between cups.
- The probability is the fraction of total stuff going through the pipe : it is the joint probability that of the stuff is in cup and of that stuff will move into cup . The value means half of all the stuff will next flow through the pipe .
⚠️ The simple example shows Markov chains can have concentrating bias. In the extreme case the first state absorb all the stuff. In the general case, the dynamics moves of the stuff in the first cup to the second and of the stuff in the second cup to the first. Initial distributions like deltas are indeed mixed and the result is more evenly distributed. But if we start with the uniform distribution, the result moves stuff in the direction of : concentration!
Intuitively, “pure mixing” cannot alter a uniform distribution, since any such effect is concentrating. Formally we are stipulating invariance of uniform distribution under a “pure mixing” Markov chain.
Since a Markov chain is entirely specified by the , it is equivalently representable by a matrix. We will use the row-stochastic convention, where row represents outgoing probabilities (hence row-sums equal one) while column represents incoming probabilities . For example the Markov chain is represented by the row-stochastic matrix
with the extreme case given by the matrix . In the row-stochastic convention, the action on an initial distribution is row-mixing , or equivalently . Thus Markov chains are linear mixing operators. The “pure mixing” condition says . Unpacking, the LHS adds the rows to each other, and the equation means column-sum equals one. Thus pure mixing operators are represented by doubly-stochastic matrices.
But is that the entire story? Well, no. Permutation matrices are doubly-stochastic, but all they do is circulate, without any mixing. Even if we look at a doubly-stochastic perturbation of a permutation matrix
we still see a circulation dynamic . A pure mixing operator should be circulation-free. To capture this, we require zero circulation at equillibrium! Concretely, for a stationary , zero circulation asserts the total volume flowing through pipe equals the total volume through . In other words, . In our doubly-stochastic context is the uniform distribution, and the equation is equivalent to symmetry , but this is a peculiarity of the uniform distribution! For infinite state spaces, the reference equillibrium will play a very explicit role.
Every finite Markov chain canonically decomposes into maximal strongly connected components. By collapsing these components into points we obtain a new graph of communication between components. By maximality, components are either entirely disconnected from each other, or connected in just one direction. A component disconnected from the others is closed, while a component that points outward is transient, meaning all the stuff in it will eventually drain out. Components with arrows going into them are absorbing. This decomposition reveals highlights the irrelevance of transient components to long-term dynamics: eventually only closed and absorbing components matter.
The topological decomposition above defines the Frobenius normal form of a row-stochastic matrix. Specifically, by permuting so transient states come first, we obtain a nice stochastic block matrix. More formally, admits a permutation matrix such that
where has row sums and describes movement between transient states, “complements” and describes movement from transient states, the zero block says transient components do not receive any stuff, and the block diagonal matrix has a stochastic block for each closed component. Consequently, if has positive entries then it is already strongly connected. However, positive entries are much stronger: they ensure any state transition can be performed in one step, thereby also precluding any cycles.
Given a stochastic matrix, one typically studies its action on the space of initial distributions. Finite distributions can identified with their density relative to counting measure: -tuples of numbers summing to one. Hence we are studying the action of stochastic matrices on the standard -simplex . Classical theory studies the semigroup (!) , and specifically the limit points of the flow. Even for invertible stochastic , its inverse is generally not stochastic whence not a mixing operator. This is intuitive: unmixing things does not resemble mixing whatsoever, whence semigroup. Thankfully, doubly-stochastic matrices are closed under multiplication (intuitively clear), so a “pure-mixing” generator induces a “pure-mixing” semigroup .
Since stochastic matrices are -contractions and the simplex is compact (!), limit points of the flow are either fixed points (stationary distributions) or cycles. Stationary distributions are attractive iff there are no cycles. Some examples with two states:
- describes disjoint static states. There is no flow.
- describes a 2-cycle . The flow switches at odd and does nothing at even . The uniform distribution is stationary but not attractive.
- describes . There is no flow.
- describes . This is -mixing: each side shares a -fraction of their “stuff”. For most of the “stuff” wants to move over, so the convergence from any initial distribution will be oscillatory. (Imagine Alice has a million dollars and Bob has nothing, and start the game for . After one turn, Bob will have almost everything and Alice almost nothing, after two turns, Alice will be richer again, but by a smaller wealth gap, and so on: converging oscillations.) For convergence will be monotone. No matter the initial distribution, we even out toward a uniform distribution.
- describes . So of the stuff flows right and flows left. Hence we have a unique attractive stationary distribution given by the expected fraction of stuff . If then most of the stuff is moving, so convergence is oscillatory due to back-and-forth. If most stuff stays in place, and convergence is monotone.
For a doubly-stochastic chain with positive entries we therefore anticipate very simple limit dynamics: a single attractive fixed point given by the uniform distribution. Intuitively: “pure mixing” approaches the distribution with maximal Shannon entropy, regardless of circulation. In the disconnected case, we expect componentwise convergence to uniform distributions (think of a block-diagonal doubly-stochastic matrix as separate collections of cups with stuff). Moreover, we expect monotone convergence and monotone entropy increase: every mixing step increases entropy. In discrete time, monotonicty of entropy for arbitrary state spaces is actually an easy consequence of Jensen’s inequality via the so-called data-processing inequality. We will revisit this soon.
Larger state spaces accomodate richer dynamics. Thankfully, the limit points are controlled entirely by the spectrum of as a linear operator on Euclidean space. This is essentially a consequence of the fact is an -contraction, whence its (possibly complex) eigenvalues have at most unit absolute value . We’ll analyze the limit behavior of Jordan blocks, first inside the circle and then on it. Recall Jordan normal form gives with block diagonal comprised of Jordan blocks where is the algebraic multiplicity of in the characteristic polynomial. For we shall use the expansion .
- For we have for any . We deduce the effects of eigenvalues of sub-unit magnitude diminish and die in the limit. Thus we are left with eigenvalues on the unit circle.
- For eigenvalues on the unit circle, an -contraction must satisfy . ontraction. To see this, choose and consider its resulting linearly independent Jordan chain . Then . Using linear independence we can compute the norm in coordinates given by the Jordan chain, and thus bound the -norm from below by . But our map must be a contraction, whence .
In summary, the limit dynamics of are determined by the peripheral spectrum of : the eigenvalues lying on the unit circle. If is the only eigenvalue then it remains to study its eigenspace. Additional eigenvalues on the circle introduce cycles: periodic limit points (these are never attractive). Stationary distributions are attractive iff there are no cycles. Lastly, the Perron-Frobenius theorem asserts that a closed strongly connected chain admits as a simple eigenvalue. The unique stationary distribution is the unique eigenvector in the one-dimensional eigenspace whose coordinates sum to one. We can globalize. For each component consider the face of defined by distributions supported only on the component (spanned by the relevant deltas). By Perron-Frobenius, there’s unique stationary distribution on each component, i.e. on each face. Each such fixed point is attractive on its face iff that face admits no cycles.
The spectral analyis justifies our interpretation of time-symmetric mixing as “pure”: if is symmetric stochastic then its spectrum is real, lying in the interval . Hence it can have period of at most two. In the aperiodic (circulation-free) case, e.g. with strictly positive entries, the unique dominating eigenvalue is .
General state space: Markov kernels#
So far we defined mixing operators as those with stochastic matrix representation with respect to the standard basis. We then isolated mixing with possible circulation as doubly-stochastic. Lastly, we distilled “pure mixing” as symmetric stochastic matrices (in particular doubly-stochastic), and we emphasized the implicit role of having the uniform distribution as equillibrium. Now we want to start analyzing how chain dynamics affect entropy. Intuition dictates that mixing should dissipate information gain, and that circulation is unimportant. This is qualitatively true, but circulation can actually affect the rate of dissipation by moving stuff into good/bad directions. At any rate, the analysis goes through for general state spaces, and I find measure-theoretic notation to be more conceptual. Moreover, we’ll need general state spaces for more geometric applications such as CLT. So now we’ll generalize Markov chains and then derive some basic information identities that easily imply dissipation. We’ll leave circulation (or lack thereof) for later. We’ll disregard the generalization of classical finite state Markov chain theory to infinite state spaces because it’s more delicate and we won’t need it.
Row-mixing notation implicitly performs the “canonical” identification of finite distributions with their density relative to counting measure. Extra precision reveals the action on an initial distribution as the -expectation of the family of distributions encoded by the transition matrix.
Thus a stochastic matrix is just a family of densities relative to counting measure, indexed by a finite state space. Removing the word ‘finite’ and dealing with distributions directly gives rise to Markov kernels: linear mixing operators between general spaces. Formally, a Markov kernel between measurable spaces is a measurable function
to the space of probability distributions equipped with the -algebra generated by the set of evaluations . A Markov kernel canonically lifts to act on distributions
via , i.e. mixes into the -expectation of the family. (Formally, the expectation is a Bochner integral, but I’m in favor of disregarding pedantry in our context.)
Now we come to generalize “pure mixing” operators from doubly-stochastic matrices. As discussed above, the additional requirement means the uniform distribution is stationary, and mild connectedness assumptions give uniqueness, giving a globally attractive fixed point for the flow. Intuitively, this means doubly-stochastic matrices represent mixing operators whose “most mixed” or “most spread out” state is uniform. In general state spaces we follow the same principle and work relative to a chosen stationary reference , which is unique under similarly mild connectedness assumptions. Note -invariance is equivalent to “-sum of the -column equals one”. Indeed and compute the LHS to discover .
Chain rule and change in information gain#
To reason about dynamics of information gain, it’ll be useful review the Bayesian meaning of all this mixing business.
The table below summarizes the key probabilities in play and their generalization from finite to general state space (in discrete time). Before reviewing these in detail we emphasize while is intrinsic, posteriors depend on the choice of initial distribution.
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Transition (Next | Now) | ||
| Now | ||
| Next | ||
| Joint (Now & Next) | ||
| Posterior (Now | Next) | ||
| Posterior for equillibrium |
is the fraction of stuff currently in state that will flow through the pipe . This is the probability of the next state conditioned on the prior of present state . (Is it strange to call the present a prior? The mere thought of this makes it past…) The conditional generalizes to a Markov kernel , with the fraction of stuff at state that will flow into .
is the fraction of the total stuff that will sit inside cup in the next phase. It depends on because it pertains to the total amount of stuff. It generalizes to the action .
is the fraction of the total stuff flowing through . It is the joint probability of both present state and next state . The pointwise multiplication should therefore generalize to a joint distribution of “now” and “next” on the product space. Let’s think how to compute it on . The second variable appears only in and won’t pose an issue. For the first, we want to integrate over . This is the probability measure , which can be evaluated at . That’s all there is to it. As for notation, we’ll adopt following Kallenberg (if I recall correctly). To be honest the moral choice of notation would be asymmetric semidirect product notation , but ah well.
To be very concrete, the joint distribution is the fraction of total stuff that will next flow through pipes . More generally, is the fraction that will flow through from time for a period of length . If we take an equillibrium then depends only on the duration of mixing.
That is the joint distribution of “now” and “next” implies its and marginals are and respectively. This is indeed the case:
- Taking we find the value is . Hence .
- Taking we find the value is always . That is, .
Now comes a fundamental result.
Definition. Fix Markov kernels . Define conditional information gain as the real-valued random variable .
Chain rule. Fix Markov kernels and probability measures . Then:
In fact, the assertion holds when are merely -finite!
Proof. Just unpack. If you’re concerned with measurability issues, consult the literature (probably Kallenberg, certainly Bogachev).
The LHS in the chain rule depends only on the joint distribution while the RHS looks at a particular disintegration: by in the first coordinate. By taking the disintegration by in the first coordinate, the chain rule will provide an account of how affects information gain.
Starting with a finite state space, the disintegration is
where the quotient is the posterior probability of present state conditioned on next state . Note we condition on the outcome (notably assuming the original chain ran with initial distribution ). The marginal thus integrates into the joint distribution via the stochastic matrix
Geometrically, this posterior kernel is measuring incoming probabilities instead of outgoing ones.
⚠️ are independent of the initial distribution , but the posterior probabilities depend on it very strongly. Specifically, if was concentrated at , meaning most of the stuff started in cup , then the posterior probability
will be high. Since
posterior dynamics behaves “reversely”:
The fraction of stuff in cup that will flow by the posterior kernel through pipe equals the volume flowing by through divided by the total volume flowing by into .
Multiplying by the denominator gives , which geometrically characterizes the posterior kernel as time reversal in the sense .
The total volume flowing by through starting from , equals the total volume flowing by through starting from .
⚠️ ️️Upon distilling the mental model we can also see that while may be autonomous , the posterior chain is very much time dependent due to the strong dependence on initial conditions. In particular, despite the “reverse” behavior, a posterior kernel is generally not obtained from by reversing arrows nor by reversing time. That being said, we will only need the first step here, and later on we will only consider the situation relative to equillibrium , in which case the posterior kernel will behave like time reversal (relative to ).
For general state spaces, the posterior generalizes to the posterior Markov kernel given by the family of densities on parameterized by events on . The minimal notation evaluates at to the probability distribution .
Remark. The above holds for -finite . Moreover, the posterior kernel is itself a Markov kernel even for -finite : it remains a family of probability measures.
Information gain and mixing. Fix a Markov kernel and two distributions on . Then:
In particular we have the data-processing inequality . Hence, information gain relative to a stationary distribution is monotone decreasing (dissipation) .
In fact, the above assertions hold even when are -finite: the formula and also the data-processing inequality, since the posterior kernels are probability measure, ensuring non-negative information gain.
Proof. Both sides are equal to joint information gain, by different disintegrations. The LHS disintegrates relative to “now” while the RHS disintegrates relative to “next”.
Duality; posterior action on densities#
In this section we’ll define how a Markov kernel naturally acts on functions via pullback, and frame the resulting push-pull duality via Hilbert adjoints. This will also justify the adjoint notation for posterior kernels.
Given a Markov kernel we defined its induced pushforward of measures on the source via
Define the pullback of functions on the target via conditional expectation
In the discrete case is a row-stochastic matrix and a column vector, interpretted as a function on the state space. Write for the random variable whose value is the observed state at time . Then is the conditional expectation of evaluated on the next state given current value . Taking recovers the conditional probability
Similarly for continuous time
The following square commutes by Fubini
and so unambiguously defines a pairing
Now come posterior kernels. Recall a pair defines a posterior kernel
with “reverse dynamics”:
The total volume flowing by through starting from , equals the total volume flowing by through starting from .
Every pair induces a Hilbert adjunction with top arrow given by pullback and bottom arrow given by the pullback along the adjoint . When is an equillibrium the posterior kernel simplifies drastically
In this case is an equillibrium for the posterior kernel too, and the posterior chain is also autonomous, resulting in adjoint endomorphisms on . The defining equation of in the discrete case is also equivalent to equality of conditional densities
For general state space, this equation says
again encoding “reverse dynamics”.
Finally we come to action on densities. The key is commutativity of the following square,
which expresses the formula . To me this formula seems cryptic at first: the LHS is the posterior expectation of the density. For the other side note , so .
Working relative to an equillibrium simplifies matters:
The former equation says the family of densities evolves via the posterior process of .
Zero-circulation as self-adjointness#
Intuitively, we can detect zero circulation at equillibrium by symmetry: running the dynamics forward and backwards looks the same. Thus we say an equillibrium is symmetric/reversible/self-adjoint if . The definition is the same for general state space and for continuous time, and expresses zero circulation.
On non-compact spaces, Markov monoids often lack any stationary probability measures, but nevertheless preserve a natural ambient measure , e.g. Lebesgue and more generally Haar. Intuitively, the dynamics moves stuff around but neither creates nor destroys volume. The example to keep in mind is heat flow, which distributes temperature without distorting space.
In such cases the viewpoint of densities relative to the invariant ambient measure is useful. The equation is sensible for arbitrary invariant measures . Thus we shall say a dominating equillibrium has zero-circulation when its density exhibits the spatial symmetry . Geometrically, spatial symmetry means the same volume moves as , i.e. zero local circulation everywhere.
At any rate, the symmetric case features an especially simple evolution of densities .
Continuous time#
Dissipation of information gain#
We’ve shown that information gain of discrete time Markov processes relative to an equillibrium is monotone decreasing. The story carries over to continuous time by quantization.
A continuous-time (autonomous) mixing flow (Markov chain) is an action of the monoid on a space of probability distributions by mixing operators . It is often called a Markov semigroup in the literature, but the fact it “starts” from the identity is important, so it’d be more accurate to call it a Markov monoid.
Information gain and continuous mixing. Fix a Markov monoid and two distributions on . Then:
Consequently we have the differential version:
In particular we have the data-processing inequality . Hence, information gain relative to a stationary distribution is monotone decreasing (dissipation) .
Proof. Quantize , work with , use the discrete time identity and telescope, and argue by Riemann sums while using properties of Lebesgue integrals. Some natural continuity requirements may pop up if you’re pedantic, so just assume them. It’s a hassle but it works.
Infinitesimal generators#
In the discrete case is generated by . In the continuous case, is typically also generated by one object, but this infinitesimal generator is not a member of the monoid and isn’t even a mixing operator. The story here is the operator exponential, and we sketch it bug gloss over technical precisions. The exponential action takes a perturbation of the identity by an infinitesimal fraction of our operator - a tiny linear update - and applies this perturbation times.
Just as is characterized as the unique solution to the scalar ODE with initial condition , so the operator exponential is characterized as providing the unique solution to the vector ODE with initial condition (we suppress the spatial variable). The exponential functional equation (expressing the fact is a group morphism from the reals to the additive structure of our linear space) can be derived either from the limit definitions above, or from the ODE characterization using translations and uniqueness of solutions to ODE. The takeaway is that -action is the flow generated by : while is just the initial derivative, is the position on the integral curve at time . Conversely, the infinitesimal generator of an exponential group is recoverable as the initial derivative.
As in discrete time, a continuous Markov monoid is often generated by a single object, except it’s more delicate: evaluating the exponential characterization at zero suggests the Markov generator is when this limit exists in a suitably strong sense, in which case . Essentially we’re embedding the monoid into an exponential group, keeping in mind that only the non-negative half represents mixing operators.
Before diving into general formalism let’s look at the finite state case. Here should be throught of as a transition rate matrix because its entries are the initial rates of changes of outgoing probabilities from a given state as the process kicks off. The natural question now is what characterizes transition rate matrices . The answer is simple:
- Zero-sum rows to conserve total row probability, because rows of the flow must always sum to one.
- Non-negative off-diagonal entries, coming from the identity : since the off-diagonal rate of conditional probability accumulation at a different state cannot be negative since “there isn’t any probability there” to diminish. Similarly, it cannot be positive on the diagonal.
Evidently is far from a mixing operator: it even has negative entries. It specifies the initial behavior of the mixing dynamics, and the monoid structure takes over from there.
One can show is entrywise positive, whence strongly connected and aperiodic. By Perron-Frobenius we deduce is the unique dominating eigenvalue: no “pure circulation” in continuous time. There can still be complex eigenvalues - damped circulation - but they have no effect on limit behavior.
For general state spaces the story is much subtler: the spaces involved admit several topologies, which affect the behavior of the limit. We’ll just give the big picture. Recall are now Markov kernels, i.e. measurable maps . There are three approaches to define : as a limit of Markov kernels, as a limit in spaces of measures, and as a limit in spaces of functions. The last approach is most familiar and robust, but it’s also usually the only one presented. I figured it’s worth mentioning all three for pedagogical purposes.
-
Directly: . The issue is that there’s often no such limit. To see this let’s first write out the difference quotient . Now imagine a continuous mixing process that is symmetric about the -axis. The delta will give us trouble at . By symmetry and continuity . However, taking makes the numerator equal to while taking makes it equal to . Both give infinities (of different signs).
-
As a limit of pushforward operators on spaces of measures: define . The numerator lives in the space of signed measures - much like the diagonal of the transition rate matrix typically has negative entries. There’s a few topologies to choose from and generally either fuck up like above or lead to the approach below, via functions.
-
As a limit of pullback operators on spaces of functions: define . Here again the numerator exits the space of non-negative functions, but this is familiar territory. This admits the the conceptual interpretation as the derivative of the family of conditional expectations since .
⚠️ The literature typically defines the infinitesimal generator as an operator on spaces of functions, and denotes it by . It then denotes the adjoint action on measures as . This convention is unfortunately inconsistent with the canonical push/pull notation, and we will therefore avoid it and stay consistent. Note does not mean an underlying exists.
As in discrete time, one wonders which operators on spaces of functions generate Markov processes. Wonder on, friend - the internet is at your fingertips.
Time evolution of densities and functions: the forward and backward equations#
Returning again to the exponential characterization, we see have the same action on the exponential family. Hence the family provides a solution to a time evolution equation.
When a Markov process has an infinitesimal generator, it satisfies the time evolution equation by virtue of being the non-negative part of an exponential family. But what exactly is the equation? We’ve seen a kernel acts on functions by pullback but on densities by pushforward… We’ll start with densities since they will be our main focus.
Recall density evolution is given by the posterior/adjoint , expressed by commutativity of the square on the left below. Taking its derivative at zero gives the right square (the Radon-Nikodym map is linear).
Hence . But this is precisely the form of the solution to . Thus we have a time evolution equation for densities:
The literature often calls this the forward equation of the process, because we’re acting in the direction of the pushforward of measures.
The action on functions is adjoint and often called the backward equation .
Physical mixing#
Mixing by local operators; maximum principle#
In geometric and physical contexts, mixing is typically local: points move continuously without teleporting across spacetime. Within an infinitesimal time interval, stuff can only mix in an infinitesimal neighborhood. This can be formalized by saying the infinitesimal generator is local in the sense that depends only on the germ of at . Note the finite mixing operators are typically not local, as we shall see by example below. Locality excludes jump processes, which we won’t touch on.
A celebrated theorem by Peetre states that a local linear operator on smooth real functions is differential of finite order: it’s given in coordinates by a polynomial in the partial derivative operators (smooth coefficients). The moral proof has two separate parts. First, one proves local linear operators are continuous in the Fréchet topology, where in the Fréchet topology means all derivatives of finite order converge in the sup-norm over all compacts. The proof is via bump functions and there fails in the real-analytic and complex-analytic categories, which admit discontinuous local linear operators (but not bumps). Second, one proves a continuous linear operator on germs is differential of finite order. This holds in the analytic categories as well, so adding an explicit continuity assumption gives an analytic Peetre. The magic unravels as follows.
- First reduce to the study of functionals by looking at the derivatives of the germ of at .
- Consider the jet map , whose kernel consists of flat germs. Think of the image as the full set of partials (as a subset of a product of real lines with the product topology).
- Analysis in the Fréchet topology implies a continuous linear functional kills flat germs and consequently factors through as . This is how Fréchet continuity manifests derivatives.
- The source of the second factor has the product topology, and continuous linear maps from it depend on finitely many coordinates, i.e. we factor through a finite jet space. Why does the continuous linear dual of always consist of finitely supported sequences? Because the product topology is generated by finite intersetions of cylinders, so the basic open “balls” look only at finitely many coordinates. Now look at a sufficiently small ball e.g. the preimage , choose a direction it disregards, and then look at . By assumption its absolute value is for all , which forces it to equal zero as desired.
- Some careful bookkeeping gives an explicit global formula for as a finite order differential operator with coefficients comprised of the pointwise coefficients of the .
To summarize, the locality assumption has reduced us to mixing prescribed given by finite order differential operators.
When is a first order local differential operator the story is simple. In coordinates is a -linear combination of partial derivatives alongside a free term which encodes a source/sink. In our context we’ll assume the latter is zero. First order differential operators with zero free coefficient are equivalent to vector fields, and the geometry is given by integrating into a flow. Since (sufficiently smooth) vector fields have invertible flows, this is pure circulation without any real mixing. As stuff is only moving around with neither concentration nor diffusion, information gain relative to a flow-invariant measure is static. For a simple example consider . By manipulating Taylor series one anticipates the exponential family of the derivative is given by translation and indeed this family solves the transport equation , whose characteristics are just straight lines.
Real mixing appears for second order local differential operators. The core intuition is present already in one dimension, exposed by an elementary but somehow less familiar characterization of the second derivative. Suppose and compute using L’Hôpital’s rule w.r.t to find
Hence a positive/negative second derivative means the average is higher/lower. The second derivative is thus proportional to “displacement from the infinitesimal average”. With this in mind, the 1D heat equation describes mixing essentially by definition: it says temperature evolves precisely according to the average of nearby points: point gets hotter/colder as long as the average temperature of its neighbors is higher/lower. For computing the exponential we have the general machinery of the Fourier transform, which we’ll get to.
In higher dimensions the Laplacian has a similar characterization: it’s proportional to the limit of averaging operators
and also describes mixing. The heat equation simply generalizes the 1D idea.
Remark. Some sources use averaging over balls instead of spheres. For harmonic functions, where the value is equal to the average but independent of , both approaches are equivalent. This is a really nice “exercise”. I think you need to write the ball average as an integral over of sphere averages and then differentiate w.r.t to get some ODE that you can reason with.
Incidentally the above example also produces a natural class of non-local mixing operators: averaging over a non-infinitesimal neighborhood
The exponential of this operator represents a Markov kernel that can suddenly jump to a uniformly random point on the sphere. But alas, no more on jumps.
Back to our local business. Two questions arise:
- Is there mixing beyond second order?
- What about variable coefficient differential operators?
The answer to the first question is a comforting “no”. The reason is the maximum principle for mixing, which formalizes the following intuitively obvious fact:
Local averaging of a function at a local maximum cannot increase its value.
In practice we’re saying that for a local maximum of attained at we must have , which is precisely . This condition actually forces a local to have at most second order. Thus, local averaging is really a second order differential phenomenon!
A local differential operator that satisfies the maximum principle has order , with positive semidefinite second order component.
Proof. Take with trivial 2-jet. We shall show . Consider the functions , where is Euclidean distance. The first crucial point is the square of Euclidean distance is smooth, unlike itself. Hence have smooth germs at and are therefore valid inputs for any differential operator. The second crucial point is that we can control and the ball enough so both have a local maximum at . First, using the integral form of Taylor series remainder we know is a smooth multiple of . Next, working inside our small compact ball we have the bound
The constant is just the supremum over the continuous remainder. Since we’re working inside the ball, . Hence taking a sufficiently small radius so that we find takes negative values on the punctured ball, and equals zero at by construction. Now we can apply the maximum principle to find generator . By -linearity of we find .
As for the positive semidefinite property, I guess we’ll leave it as an exercise since we won’t need it.
As for variable coefficients, they do complicate things, but only a little. In a nutshell, instead of averaging over infinitesimal balls we average things over their deformations dictated by the coefficients - infinitesimal ellipsoids.
The convection-diffusion equation#
We’ve seen a local linear mixing operator on smooth functions is differential of second order (lower orders not really mixing anything). This actually lands us in very physical/geometric territory: the convection-diffusion equation.
Our mental model for mixing involves isotropic fluid, so we will focus on the isotropic equation where is scalar. In general it is a matrix that encodes direction-dependent transport, e.g. in a layered composite. (Positive semidefinite in physical contexts.)
Below, is temperature, is the velocity field of the material (our mixing fluid), and is diffusivity, specifying the rate at which heat spreads in the coldest direction.
We can rewrite the PDE in conservative form , where is density, is flux, and is sources/sinks.
Advection by motion means temperature in a region is changing because stuff is being replaced by stuff with a different temperature flowed in. In 1D, suppose is constant velocity to the right. Suppose the fluid has a uniform temperature of zero and at an intense heat source is turned on at the origin. Then the temperature to the right of the origin will increase as hotter fluid coming from the origin will replace the colder fluid previously there.
When is large, we have expansion and therefore dilution of concentration/temperature.
In the absence of sources and velocity, and when diffusivity is spatially constant, we arrive at the classical heat equation which encodes our naive mixing intuition.
The heat equation is really at the heart of continuous time local mixing and not one example out of a huge space.
Local mixing = anisotropic convection-diffusion#
Reducing a general second order differential operator to the (anisotropic) convection-diffusion equation boils down to a vector-calculus identity. Starting with the 2-jet of , applying and using the inner product gives
where is symmetric by symmetry of second partials. The key is (verify by computation), where is the vector of column-wise divergences. It lets us rewrite
In the isotropic case we reduce to .
Physics digression#
The convection diffusion equation is idealized and features non-phyiscal behavior: there is instant spatial propagation of information. Specifically, if we start off with a concentrated initial condition (e.g. a delta) at , then temperature is globally nonzero for . To see this (jumping slightly ahead of ourselves), recall the heat equation is famously solved via the convolution with the Gaussian kernel, which is globally positive all the time.
The peculiarity stems from Fourier’s law of heat conduction, encoding his empirical observations. This is a short story. Writing for heat flux and for heat energy density, (local) conservation of energy is . Writing for temperature and assuming our material properties don’t change with time (reasonable for short durations) we have , where are respectively specific heat capacity and density. Fourier observed (in the isotropic case) that heat flows in the negative temperature gradient , i.e. heat flows in the coldest direction at rate determined by thermal diffusivity . Plugging into conservation of energy gives the familiar heat equation. In the anisotropic case is a matrix encoding directional diffusivity.
Infinite propagation speed of information is incompatible with relativity. To amend this, the Maxwell–Cattaneo conduction equation replaces Fourier’s parabolic equation with a hyperbolic equation involving a second time derivative. The result is better behaved in the sense that propagation speed is finite, but the resulting process is no longer Markovian because second derivatives involve “memory”.
For a familiar geometric example of finite propagation speed consider the wave equation . For simplicity consider the 1D situation. By “factorization” we find two transport equations i.e. the wave equations is a pair of opposite-direction transports. Hence, given a solution , we see satisfies the transport equation whose characteristics are straight lines. The solution to the wave equation is supported within a ball of radius about .
By the way check out this video of faster diffusion in hot water hot water.
Rate of information gain for convection-diffusion; de Bruijn#
Assume no sources and consider densities relative to Lebesgue measure. Writing , we have our density time evolution PDE.
The product rule lets us compute via integration by parts (assuming rapid decay of densities) and the identity :
To summarize,
In the simple case of scalar diffusivity we can intuitively summarize the components determining the rate of information gain:
- Expected divergence of the velocity field. Positive divergence means expansion and therefore dilusion, diminishing information gain. Negative divergence means compression/concentration, increasing information gain.
- The expected squared norm of the spatial change/derivative of “information gain” is a measure of expected total variation. A high expectation means lots of fine-scale structure. Intuitively, such structure vanishes quickly under mixing/smoothing, therefore also reduces information gain. For intuition the straight line with the graph of with amplitude and high frequency : both are smooth in the formal sense, but the latter has much more fine-scale structure due to fluctuations, which is diminished by decreasing amplitude. Indeed the expectation is quadratic in both .
Remark. The quantity is known as spatial Fisher information of the density. Working relative to an equillibrium of a mixing process (e.g. Lebesgue measure relative to heat flow) gives general versions of our equation for the rate of information gain. We shall discuss Fisher information in detail.
When the velocity field has no sources/sinks (a.k.a incompressible) we recover the de Bruijn identity
Working relative to an equillibrium incorporates the drift term into the de Bruijn formula, yielding a more elegant formula. Working relative to equillibrium then leads to fancy words like Bakry-Émery calculuss, and Carré du champ (literally “square of field”). Morally, we should work relative to an equillibrium. However, for CLT this leads to a structure known as the Ornstein–Uhlenbeck/Mehler monoid which isn’t very appetizing at first glance.
Translation-invariant mixing#
Convolution and the Fourier transform#
When our space is a group it’s natural to consider translation invariant Markov kernels . For intuition take the example so we have an -state Markov chain with states arranged in a circle. Translation invariance means , so it effectively becomes a univariate function depending only on the “distance”. One could say the dynamics/physics are the same everywhere.
Define to be the measure at the group’s identity element. Then . Hence a translation invariant kernel is just a family of translations of . In this case is the -expected measure of the family of translations of . The integral expression is known as the convolution . It is abstractly characterized as the pushforward of along the group operation . Consequently, convolution is always associate, and becomes commutative for abelian groups.
To summarize, when is translation invariant then . In continuous time we require translation invariance of all . Defining we have , and also the monoid laws and .
Now we’ll see what translation invariance imposes on the forward time evolution equation for densities , and take the initial condition to be .
- First, the monoid laws simplify the equation to the form .
- Second, translation invariance actually forces the differential operator to have constant coefficients, i.e. to be given by a convolution operator, where the convolution kernel is a distribution, typically encoding a differential operator .
From here on out one can kick ass with the Fourier transform which diagonalizes translation invariant operators on .
The Radon-Nikodym map relative to a translation invariant (i.e. Haar) measure preserves convolutions (verifiable by computation using Fubini).
This lets us move from measure monoids to density monoids.
Heat equation: Gaussian density and de Bruijn#
Consider the heat equation. (We’ll just do 1D since we’ll focus on 1D CLT.)
One may verify it is solved by convolving the initial condition with Gaussian density , so that
Backtracking our story, the second derivative is self-adjoint on and coefficients are constant, so we can diagonalize via Fourier to discover the multiplier which recovers Gaussian density.
We can now specialize the de Bruijn identity.
de-Bruijn identity for heat equation. Write for the Gaussian measure with density . Given an initial distribution we have
Consequently, by entropy relative to the matching Gaussian
Note , so the data-processing inequality ensures the time-derivative is non-positive (dissipation of information gain).
Remark. If we can simplify using the fact Radon-Nikodym preserves convolution . However, smoothing a discrete is often the whole point.
Proof. The relative entropy assertion is just a computation .
Integral de-Bruijn identities.
Proof. We prove the first assertion by computation. The fundamental theorem of calculus means the integral on is the difference
Hence it suffices to show . We already know this quantity is non-negative, so it suffices to prove it’s bounded from below by a quantity that tends to zero. Now compute, using the information gain (weakly) increases upon conditioning (the “reverse reading” of the data-processing inequality). Specifically, the conditional of on is just a shift of the Gaussian. More precisely, the kernel acting via satisfies . Anyway, the computation:
For the second assertion, split in two using the matching Gaussian formula and argue for each summand separately. For the differential entropy term I think Monotone Convergence satisfied while for the other you should probably use Dominated Convergence.
Stam’s inequality and characterization of Gaussians#
Stam’s inequality is crucial to our proof of the entropic CLT.
Write and .
Theorem. Let be independent variables with positive (!) densities. Write .
- Suppose is compactly supported. Then In particular if and decays at then
- (Weighted Stam’s inequality.) We have for any the following inequality.
whence also (by Cauchy-Schwartz - see proof below)
- (Score projection property for linear combinations.) We have
⚠️️ Remark. In fact the assumption of a positive sufficiently smooth density is not required. The general case is reduced to the smooth one via Gaussian smoothing, which we shall use for our proof of CLT. Nevertheless, we shall only require Stam’s inequality for the positive smooth case.
Proof. First compute via integration-by-parts using compact support. Then use the characterization of conditional expectation on the -dense subspace of compactly supported functions. For the first assertion, independence implies the joint density is the product of the marginal ones. Now we can compute via Fubini. We’ll write the case for convenience, but without loss of generality.
where the third equality is integration by parts using compact support of . For the second part of the first assertion, use the definition and integrate by parts using the decaying assumption.
For Stam’s inequality, consider the following quadratic form
For each complete the square separately.
Now we can rewrite
Obviously the minimum is attained at . Plugging this in we obtain the inequality as desired.
For the second inequality, apply Cauchy-Schwarz in to the vectors .
We turn to the score projection formula. Summing up the first assertion over we find the following equality holds for all compactly supported .
On the other hand, unpacking the definition and integrating by parts gives the following for any compactly supported .
But the space of compactly supported functions is -dense whence as desired.
The following characterization of Gaussians via Fisher information crucially relies on positivity of densities.
Stam characterization of Gaussians. The following are equivalent.
- Equality in Stam’s inequality .
- Equality in
- are all Gaussian.
Consequently, if are i.i.d and satisfy then they’re all Gaussian.
Proof. Equivalence of the first two conditions is due to their relation by Cauchy-Schwarz, which has equality iff the vectors are linearly dependent. Equality is achieved in the Gaussian case by computation. Hence it suffices to prove equality implies Gaussian distributions. Continuing the proof of Stam’s inequality, we have equality precisely when the minimal value of equals zero
whence . Thus the RHS is a deterministic function of the linear combination . Morally, we’d like to lift this equality to the coordinate functions of Euclidean space, so that . Why? Because this means the scores are all affine, whence the are Gaussian. To see this, apply to get for all , meaning each is constant.
Remark. Incidentally , but these are nevertheless constants. Writing out the equality is potentially misleading because one is tempted to also lift the dependence on the random variables inside the norms.
So how to lift? Since the densities are strictly positive we, all distributions are equivalent to Lebesgue measure. We only need : if has density then
so if the LHS equals zero we must have . This recovers our equality almost-everywhere, which is good enough for differentiation since densities are also defined almost-everywhere.
For the second assertion, the identical distribution gives us so we can apply the equality criterion.
We cannot omit the beautiful application by Itoh (not Itô) of Stam’s characterization to prove a famous result by Kac:
Rotational characterization of Gaussians. Let be independent. Suppose the rotation of the vector by remains independent.
Then all components of both vectors are Gaussian.
Remark. Independence means a separable joint density . Evidently this expression is sensitive to coordinates and would typically break under rotation. To build intuition, consider i.i.d uniform and rotate by .
Proof. The inverse of rotation by is rotation by , represented by the matrix . Now apply Stam’s inequality four times: twice to get the equations
and deduce (by addition)
and twice more for the reverse to deduce equality.
For this is a tautology. Otherwise, some extra manipulations show (exercise) from which all equalities follow and we can apply the Stam equality criterion.
Normalized averages#
Subadditivity and monotonicity-along multiples. Let be a sequence of independent random variables. Write . The sequence converges. Moreover, it is weakly decreasing along every subsequence of multiples.
Proof. Use the consequence of weighted Stam’s inequality for two summands with and , and multiply by to obtain:
Hence the sequence is subadditive. By Fekete’s lemma, the sequence converges. We leave the second assertion to the reader (prove the dyadic case).
Entropic Central Limit Theorem#
Statement#
Classical Central Limit Theorem. Let be i.i.d with mean and variance . Consider -average . As , the deviation of the average from the mean in units of its standard deviation converges to a standard Gaussian distribution:
Entropic Central Limit Theorem. Let be i.i.d with mean and variance .
Note finiteness precludes from being discrete, so recovery of the classical CLT is not immediate.
Proof#
Our proof is an expanded exposition of the aptly named article “A short information theoretic proof of CLT”.
Write for standardized Fisher information.
Assuming expected information gain is finite for we have by integral de Bruijn
so is integrable. The sequence of Fisher informations is convergent (by Fekete), and its subsequences-along-multiples are weakly decreasing. Hence the Fisher information dominates the tail of the associated subsequence on any interval . Since the sequence is convergent for each we have pointwise convergence of functions . Hence, by Dominated Convergence and the extended de Bruijn identity we have
Thus it suffices to prove . Another application of Dominated Convergence to de Bruijn gives
Hence, to prove it suffices to prove the LHS is zero for all (as the integral of will be zero on every interval).
The sublevel set is sequentially compact. Since we know the tail of the sequence lies in such a sublevel set. Hence there’s a subsequence whose distribution weakly converges to that of some . For , smoothing ensures pointwise convergence of densities of to the density of . Moreover, the densities of converge to the density of where is an i.i.d copy of . Since the densities are convergent and uniformly bounded, the continuity of expected information gain ensures
But then . Using the differential de Bruijn identity for gives equality of standardized Fisher informations of . Hence is Gaussian by the Stam characterization. This in turn implies the standardized Fisher information equals zero, which also equals .
Fisher information#
Fisher information comes in two flavors: parametric and spatial. I wrote this section mostly to help myself disambiguate and understand how both notions are related.
- While expected information gain is relational between two hypotheses, parametric Fisher information is a associated to a parameterized manifold of hypotheses, i.e. a family (locally) parameterized over Euclidean space. The filthy parameterization-dependence can be removed by considering the invariant Fisher information metric on the manifold itself; we defer this topic to a later point so we can get a move on.
- Similarly to expected information gain, spatial Fisher information is also relative. However, the probability space in this context is typically a structured group and the reference measure is Haar, as opposed to a prior hypothesis.
Fisher information of a family is a non-negative function on the parameter space. It has several manifestations:
- (Density-based, general.) If there’s a -independent dominating measure then Fisher information is defined as -expected squared rate of information gain. A higher value at means nearby hypotheses are easily distinguishable by observation. Note the expectation is too coarse to distinguish between local concentration of the rate of information gain in some region of , and a more uniform rate.
This quantity is indeed independent from : any two -independent dominating measures give the same result because the difference is -independent and therefore dies under . 2. (Density-based, general.) In the above setting, careless differentiation of the formula twice shows Fisher information also equals minus the -expected curvature of information gain. Intuitively, high expected squared (!) rate disregard sign cancellations and can therefore only come from highly curved information content.
A careful computation includes also boundary terms coming from the changes in the support. In such cases, Fisher information is typically infinite. To illustrate, consider the family of uniform distributions. A single observation outside the interval immediately rules out with infinite certainty. The above identity is valid e.g. when the family of densities has -independent supports. 3. (Intrinsic, Markov monoid.) When our family is a Markov monoid with dominating stationary distribution then de Bruijn’s identity asserts Fisher information is the rate of expected information loss by due to blurring.
- (Intrinsic, general.) Suppose there’s a neighborhood of in which it dominates. Then the Fisher information at is the curvature of information gain on the diagonal.
This characterization of Fisher information exhibits it as the leading term in the Taylor expansion of information gain. It is also closest to the coordinate free Fisher information metric. Although we won’t use this formula, we state it for completeness.
The first and last definitions work for vector-valued parameters and essentially coincide: if the local domination condition from the third definition holds everywhere and the space is second countable then taking a countable subcover and defining gives a globally dominating measure. The second definition assumes significant extra structure relevant only for scalar , usually treated as a time parameter in this context.
Parametric Fisher information#
Density-based viewpoint#
Consider a parameterized manifold of hypotheses . We work locally so the parameter takes values in Euclidean space. The parameter could be mean, variance, the Bernoulli , or a vector of such quantities pertaining to the distribution. We’ll focus on the one-dimensional case to get the gist of it. The generalization is “just” multivariate calculus.
One way to compare nearby hypotheses in the family is to consider the rate of information gain relative to some fixed prior as varies . At each fixed the value is a real-valued random variable. As sketched at the beginning of the chapter, this random variable is independent of choice of dominating measure . What does the value of this random variable at mean?
- A critical point (value zero) means there is no information to be gained about outcome by an infinitesimal perturbation.
- A positive value means is more informative about outcome .
- A negative value means is more informative about outcome .
- A large absolute value means hypotheses near offer wildly different information gains about outcome relative to the prior.
We want to globalize over the probability space and quantify the “total” rate of information gain at , not just at a particular outcome. To this end we use the -norm of the random variable , which sums the squares of the local rates of information gain. A small -norm at means the rate of information gain at is typically miniscule, while a large -norm means typically substantial information gain. Note the norm is too coarse to determine whether the phenomenon is concentrated locally at some or distributed across the entire probability space.
By the Bayesian interpretation of expectation we anticipate . Indeed in a world modeled by , the information gain relative to any prior is maximized by itself, and the derivative at this critical point is zero. The proof is simple using properties of the Radon-Nikodym derivative: we know expected information gain is non-negative, so . The result is sometimes referred to as the first Bartlett identity. From it we deduce the -norm equals the variance!
Definition. Fix a family of probability distributions. Assume there exists a -independent dominating measure . The Fisher information of a family is the real-valued function on the parameter space whose value at is the squared -norm of the rate of information gain at .
We arrive at the second Bartlett identity, whose intuition was outlined at the beginning of the chapter.
Parametric second Bartlett identity. Fisher information equals minus expected curvature of information gain. Assume the family has -invariant support. Then we have an equality
Proof. Start with . Applying gives ; here we used the assumption on supports to kill boundaty flux terms when differentiating the integral. The reader may verify . Hence as desired.
The proof shows why expectation is required and the equality is not local on : as we change , mass inflows/outflows into certain areas may speed up and slow down. Expectation cancels out such effects due to conservation of mass.
Intrinsic viewpoint: curvature on the diagonal of expected information gain#
Proposition. Suppose is locally dominating. Then Fisher information at equals the curvature on the diagonal of -expected information gain.
Proof. We’ll write instead of for legibility. The equality of the first two formulas is a tiresome but straightforward computation.
Upon evaluating at the left summand in the last row dies: the log density equals zero, the total density is one, and moving the second derivative outside the expectation shows we’re differentiating a constant. The remaining summand on the right is precisely the desired -norm.
Spatial Fisher information#
First step from parametric to spatial: translation families#
Parametric Fisher information of a family is the expected squared rate of information gain as varies. To compute its value at we superimpose the information gain histogram of an infinitesimal perturbation and compute the sum of square of the areas of the difference. Alternatively by the second Bartlett identity we just compute expected curvature.
But now we want to focus on a single distribution and its spatial changes. The obvious analogue is to superimpose the histogram of an infinitesimal translation , defined by , and repeat the same visual procedure. Intuitively, a large expected squared spatial rate of information gain means that on average, the histogram changes sharply. This visualization anticipates the spatial second Bartlett identity: it suffices to compute spatial curvature. The naive intuition fails if the supports of the histograms differ: then any superposition involves information gained from nowhere - infinities. Hence we’ll require an assumption to the effect of both histograms having the same support. To formalize, it seems all we must do is modify the definition of parametrized Fisher information by replacing with spatial derivatives . Right?
⚠️ Wrong. Very wrong. There is a crucial and subtle detail in our histogram analogy above: the implicit reference measure was implicitly assumed to be translation-invariant. Let us unravel this point.
Histograms and reference measure. Start with the familiar: finite distributions. We visualize the associated histogram as a bunch of columns of equal, unit width, whose height is probability. The equal unit width is the implicit appearance of the counting measure, and our histogram is that of the derivative . Scaling the counting measure into a uniform distribution would maintain uniform width . We will model histograms as follows: the width of each label is while the height is density . Hence the area of each column is .
Our overlay procedure involves cyclically shifting while keeping the ruler fixed. Applying a shift to the density gives . To illustrate how uneven rulers may alter the shape of consider an extreme example of with . Shifting a biased coin for would drastically change the histogram: the unshifted density has one column of approximate height zero and one of approximate height . The shifted column has one column of approximate height and another of approximate height zero.
Back to the continuous case, translation-invariance of plays the same role, ensuring that our moving ruling has “uniform ticks”.
With a convincing outline in mind, let’s tell the story a bit more formally.
Fix a single distribution . If our probability space has semigroup structure we can define the family of translation operators and consider the pushforwards . If our structure has the property of being a group then . If there’s a translation-invariant dominating (typically is Lebesgue/Haar measure) then good things happen. First,
We now apply the chain rule thrice.
- First, .
- Second, .
- Third, .
Hence density satisfies the pure transport PDE . Dividing each side by the density and using the formula for differentiating , we find information gain also satisfies the same pure transport equation. (The reader may generalize to higher dimensions.) Taking -expectations gives . By translation invariance, these integrals are independent of (including the measure). Note these expectations are just numbers: we have averaged over all variables and there is no parameter left.
Definition. The spatial Fisher information of a distribution dominated by a translation-invariant is the -expectation of the squared spatial rate of information gain.
Parametric equals spatial: translation case. If the space admits a translation-invariant measure, then parametric Fisher information of a translation family is constant. Moreover, it equals spatial Fisher information relative to any translation-invariant measure on the space.
Proof. Reconstruct the argument from preceding paragraphs.
By repeated application of the pure transport equation , odd derivatives have opposite sign and even derivatives are equal. Hence the second Bartlett identity for parameteric information implies the following spatial analogue. The hypothesis on postivity of the density ensures the translation family has -invariant support.
Spatial second Bartlett identity. Spatial Fisher information equals minus expected curvature of information gain. Let with translation-invariant. Suppose the derivative is a.e positive and smooth enough. Then we have equality:
We summarize:
- If there exists a dominating translation-invariant , density and information gain of the translation family both satisfy the pure transport equation .
- The parametric Fisher information of the translation family is constant in . We may compute it using as the -expected squared spatial rate of information gain . In the literature, especially when is Lebesgue measure, this rate is often called the Stein score of , or Dirichlet score of .
- The spatial Fisher information formula is independent of the choice of translation-invariant dominating measure. ⚠️ It is otherwise sensitive to arbitrary changes in e.g. weighting by some positive function . Note the uniqueness of Haar measure means the choice is made for us in the context locally compact Hausdorff groups.
Parametric to spatial: intervible flows#
Write for the shift operator acting by . We have associated to a distribution the translation family . Then we saw that parametric Fisher information of the translation family equals spatial Fisher information relative to a translation-invariant measure . The engine was to differentiate . To do this we used translation-invariance of : since
the chain rule gives
The extremal equality is the pure transport PDE. Dividing by the density and using the formula for the derivative of we see information gain also satisfies the pure transport PDE. This is intuitive: mass density and information gain are both labels traveling together. The last equality is by invariance of .
The key properties of our dynamic setting are thus:
- An -action on a manifold , i.e. a group of diffeomorphisms .
- Measures on such that is dominating and invariant .
- A (parametric) vector field whose integral curves are given flowing along the .
So when does such a vector field exist? It must satisfy
Now we’ll show how the abelian group structure ensures the latter equation defines an autonomous (!) ODE where is a diffeomorphism and
is its tangent. In earthlier terms, this is a parametric autonomous ODE
with parameter given by the basepoint . After we do this, we can apply the fundamental theorem about autonomous parametric flows, which is satisfied with Lipschitz . (Generally, essentially by definition of the ODE.)
The point behind autonomy is
Indeed:
An equivalent spatial perspective on autonomy is given by the commutation identity
proven by a similar computation but using commutativty of the group structure. In particular
Group action: density and information gain both satisfy pure transport PDE. In our setting, the family of densities and associated information gains both satisfy the following directional pure transport PDE:
The autonomous (!) vector field chooses the direction at each point in space. In one dimension this becomes so the velocity function determines the ratio of the temporal and spatial changes of . In Euclidean space, the derivative functional is represented by the gradient . Similarly for a Riemannian metric
Proof. For densities, compute via the chain rule. For information gain, divide the density transport equation by the density and use the formula for the derivative of .
Proposition/Definition. Parametric Fisher along a -preserving symmetry is constant, and equals the directional spatial Fisher along the symmetry generator.
Furthermore, we have the spatial second Bartlett identity, which asserts the directional spatial Fisher also equals minus the expected square of the second Lie derivative of information gain along .
Proof. Left as an exercise. For the first assertion, replicate previous arguments. The second is clear if you’re comfortable with Lie derivatives, and you should skip it otherwise.