This note derives formulas for exponential-family components and joint normal variance–mean mixtures. Entropy is the mean of the surprisal, and varentropy is its variance. For a wider structural account, the upstream source cites Stankyavichyus (2026), Varentropy: Overview, Computational Routes, and Structural Decomposition, a preprint. The derivations below concern the stated model families.
Read the exponential-family core, Fisher geometry, and the joint/marginal distinction first. Monte Carlo examples stay in the upstream varentropy tutorial.
Definitions¶
Let have density with respect to a reference measure . The information content (surprisal) is . Its mean is the entropy and its variance is the varentropy:
Entropy measures the average surprisal; varentropy measures how much the surprisal fluctuates around that average. Unlike the kurtosis, the varentropy requires only , so it stays finite for many heavy-tailed laws whose fourth moment diverges.
The Rényi entropy of order , (Rényi, 1961, On Measures of Entropy and Information), is
For Lebesgue measure is differential entropy; for a general reference measure it is entropy relative to that measure. Logs are natural. Fix the reference measure throughout. Where the density-power integral is finite in an open interval around 1 and differentiation under the integral is justified, as . These regularity assumptions also justify the derivatives and local expansion below.
Density-Power Route¶
All three quantities are governed by the log density-power integral
Writing , the function is the cumulant-generating function of , so differentiating at gives
while the Rényi entropy is . The first-order expansion
shows that the varentropy is (twice the negative of) the slope of the Rényi spectrum at .
Exponential Family¶
For an exponential family whose carrier is constant on its support, , the normalized density power stays in the family with natural parameter , provided this parameter belongs to the natural domain:
Substituting into (4) and using and the Fisher information gives closed forms in terms of the log-partition triad:
The varentropy identity holds because the centered information content lies exactly in the span of the score. This covers gamma, inverse gamma, GIG, and multivariate normal families when their carrier is chosen as on their fixed supports. For a -dimensional normal law, .
When is not constant, the general variance formula is
For example, the two-parameter inverse-Gaussian representation has . One can instead use its exact embedding with and statistic . Along the density-power path, the GIG order then varies; holding it at would omit part of the surprisal.
Varentropy of the GIG Distribution¶
Let with density (1) and natural parameters . Raising the density to the power keeps it proportional to a GIG density with parameters — the escort-closure property. Using the Bessel integral (NIST DLMF, 10.32.10, after a change of variable) gives, with ,
Define and the first-order differential operator
Along the escort path the derivatives at are and . The subtraction accounts for the variable coefficients of . All remaining terms of (9) are linear in , so from (4),
Expanded, this is the pure second-order form
which coincides with the Fisher quadratic form of (7). The entropy follows from :
For , the density decays exponentially in at infinity and in near zero, so the required logarithmic and power statistics have finite second moments. Thus is finite for every interior GIG law. The proper inverse-gamma boundary , , also has finite varentropy for every , even when its fourth moment fails (). That boundary fact follows from the inverse-gamma density, not from substitution of in an interior Bessel expression. It is not a uniform bound as the shape approaches zero.
Joint Varentropy of Normal Variance-Mean Mixtures¶
Consider the joint law of (2) for a positive mixing variable,
Conditionally on , the quadratic form is and independent of , so
Writing for the mixing-law surprisal, the joint information content is . Since and ,
The representation is , with , independent of , and positive definite. Thus is independent of . The notation maps to , , in the scalar conditioning note.
The Gaussian layer contributes exactly to joint varentropy. For a fixed mixing law, , , and all drop out of this variance. The joint entropy is
when the terms are finite. In particular, and also drop out of joint entropy; only contributes among the normal parameters. More generally, Gaussian integration gives the joint density-power route
The integral must be finite at the requested Rényi order. These are joint information quantities. They do not give the entropy or varentropy of the GH marginal by deleting the hidden variable; the marginal’s surprisal is .
For GIG mixing, with , so adding shifts only the coefficient of :
Its variance is the shifted Fisher quadratic form, and translating to classical coordinates gives the operator of (10) with the order shifted by :
For this reduces to the GIG varentropy (11). The operator shift is exactly the effect of the conditional Gaussian volume factor , and mirrors the natural parameter of the joint exponential family (11). The variance-gamma and normal-inverse-gamma joints arise at the proper boundaries , and , , respectively; they require their own log-partition formulas. Normal-inverse-Gaussian mixing has and can be evaluated through the GH embedding so that the order varies faithfully along the density-power path.
Coordinate and moment limits¶
Under an invertible affine change of a continuous vector, and , because the Jacobian contributes a constant. A nonlinear transformation generally adds a random log-Jacobian and can change varentropy. All formulas above use the stated Lebesgue coordinates, rather than a coordinate-free information measure.
Finiteness of surprisal variance is different from finiteness of ’s fourth moment. It can make varentropy useful for heavy-tailed families, but does not by itself order all distributions by tail weight or guarantee accurate finite-sample estimation. The GH family tour identifies the mixing boundaries; online EM and shrinkage concern parameter estimation rather than an estimator or convergence guarantee for these information quantities.
Source and adaptation¶
Adapted from xshi19/normix, docs/theory/varentropy.md, at revision
763bb3608920661a012cf089888d349fbf680aad (2026-09-13 import).
Copyright (c) 2020 xshi19. Licensed under MIT.
The pinned source
records the original version. Notation, mathematical qualifications, and links
were adapted for this site. Package interfaces, fitter recipes, and executable
cells are omitted; no upstream benchmark or formal-proof verification is claimed.
MIT permission notice
MIT License
Copyright (c) 2020 xshi19
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.