A covariance estimate can be singular or poorly conditioned when observations are few relative to dimension. Rescaling its determinant does not change its condition number, and cannot repair a singular matrix. A penalty toward a well-conditioned reference model instead changes the estimation objective. The upstream derivation credits Shi (2016), Generalized Hyperbolic Distributions and Related Topics, PhD thesis; see its bibliographic attribution.
This note derives a complete-data KL penalty and its effect on the GH EM update. Read the exponential-family core and IG duality for the coordinate maps and divergence orientation.
Penalized likelihood and the EM surrogate¶
Let be observed and hidden in a regular exponential family
Choose a reference parameter with finite expectation vector . Here the word prior means a target distribution in the model, not necessarily a Bayesian prior over parameters. The joint-law divergence is
For independent observations , maximize
The likelihood is observed-data, while the penalty compares complete-data laws on a fixed latent coordinate. This distinction matters for GH scale nonidentifiability: an equivalent marginal representation can have a different penalty if the reference model is held fixed.
At iterate , define
The penalized EM identity is
Consequently, an M-step that increases this surrogate increases , whenever these quantities are finite. It need not increase the unpenalized likelihood or reach a global maximum.
Shrunk sufficient statistics¶
Discarding terms independent of the candidate , the M-step becomes
It is therefore the ordinary expectation-to-parameter problem at
For an attained interior maximum of a full minimal family, . For a curved family, such as factor analysis, the same penalized-surrogate derivation holds with , but the constrained maximizing map replaces full ambient moment matching.
Because uses an average likelihood, the reference has the weight of pseudo-observations. For a fixed prior sample size as grows, use . A fixed retains a fixed proportion of shrinkage instead.
A coherent GH target¶
Use for the classical reference parameters, reserving for natural coordinates. The construction is , with , standard normal independent of , and . The conditioning notation uses , , and, in one dimension, .
For , put . The GIG moments give
In the same order as the batch E-step, the reference vector has six blocks:
Apply (7) to all six blocks and then use the ordinary GH M-step. This is a convex combination of whole statistic vectors, not separate fits to the six moments. At gamma or inverse-gamma boundaries, check that every reference and posterior moment needed by the chosen model is finite.
What the covariance penalty does¶
The normal-block covariance is affine in the sixth block when the first five blocks are fixed. Under uniform shrinkage, those other blocks also change, moving the fitted location, skew vector, and mixing parameters. Thus uniform joint-KL shrinkage is not generally just .
To isolate the distinction, fix the first five statistics and let the sixth block be . Suppose its normal-block update gives dispersion . A compatible target sixth block is
Shrinking only this block yields
If is positive semidefinite, positive definite, and , then . This is a statement about a compatible normal-block update, not a proof that arbitrary per-statistic weights correspond to one KL penalty. The latter can also violate moment feasibility.
The EM update framework derives composition with running rules and separates scalar KL shrinkage from more general blockwise regularization. Online EM discusses decreasing and forgetting schedules. Implementation choices and supported targets remain in the full upstream design.
Source and adaptation¶
Adapted from xshi19/normix, docs/theory/shrinkage.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.