Gaussian Moment-Window Activation Regularizer
Implementation & benchmark of arXiv:2608.10853 — Moment comparisons, Sudakov inequalities and entropy of centroid bodies
Source paper: Moment comparisons, Sudakov inequalities and entropy of centroid bodies arXiv:2608.10853 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Whiten intermediate feature vectors and constrain several gauge moments to remain in the dimension-dependent interval predicted by the paper's Gaussian/log-concave comparison. Apply the penalty only to moderate orders, where the paper gives a uniform bound independent of the particular log-concave distribution; this should suppress heavy activation tails without forcing all features to be exactly Gaussian.
Formulas
Mathematical statement
The paper's Theorem 1.1 considers an isotropic log-concave random vector X in R^n, a standard Gaussian G in R^n, and a gauge phi:R^n -> [0,infinity), meaning a convex positively homogeneous function. For every q >= 1 it proves ||phi(G)||_q <= C sqrt(log(en)+q) ||phi(X)||_q and ||phi(X)||_q <= C(sqrt(log(en)) + psi(X)sqrt(q)) ||phi(G)||_q, where ||Z||_q=(E|Z|^q)^(1/q), C is a universal constant, and psi(X) is the paper's distribution-dependent moment-concentration parameter. Consequently, for 1 <= q <= c log(en)/psi(X)^2, c||phi(G)||_q/sqrt(log(en)) <= ||phi(X)||_q <= C sqrt(log(en))||phi(G)||_q. The paper notes a uniform range 1 <= q <= c sqrt(log(en)) over all X. We use phi(z)=||z||_2 on d-dimensional whitened activations, estimate the feature moments empirically, and replace unknown universal constants by tunable margins a and b. The Gaussian reference is g_q(d)=(E||G_d||_2^q)^(1/q), with E||G_d||_2^q=2^(q/2) Gamma((d+q)/2)/Gamma(d/2).
Implementation notes
Integrate the regularizer after LayerNorm or RMSNorm and before the next linear or attention projection. For a minibatch activation tensor h with shape [B,T,d], flatten non-padding tokens into vectors h_i, compute a minibatch mean mu and per-coordinate variance v, and whiten using \widetilde h_i=(h_i-mu)/(sqrt(v)+epsilon); use stop-gradient on mu and v initially so the penalty cannot trivially reduce itself by changing the whitening statistics. Choose Q={2,4,8}, but cap it at q_max=max(2,floor(c0 sqrt(log(e d)))) with c0 in [0.5,2]. Pseudocode: compute r_i=norm(whiten(h_i),2); for each q in Q compute m_q=(mean(r_i^q))^(1/q); compute g_q(d) from the gamma formula or a cached Monte Carlo table; set lower_q=a*g_q(d)/sqrt(log(e d)) and upper_q=b*sqrt(log(e d))*g_q(d); add lambda times the sum of softplus(lower_q-m_q)+softplus(m_q-upper_q) to the task loss. The theorem supplies the comparison structure and moment window; a, b, lambda, epsilon, and q_max are empirical hyperparameters because the universal constants and log-concavity are not known for learned features. Start with a 6-layer transformer or 4-layer MLP on CIFAR-10 or WikiText-2, comparing no activation regularizer and standard LayerNorm at equal training FLOPs. Measure gradient-norm variance, the fraction of batches violating each bound, loss spikes, validation loss, and robustness to a 2-4x learning-rate increase. A useful signal is fewer activation and gradient spikes with equal-or-better validation loss at the same compute; reject the method if it merely rescales activations or adds instability.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.