---
title: Local Learning Coefficient in Singular Models
url: https://www.emergentmind.com/topics/local-learning-coefficient
type: topic
---

# Local Learning Coefficient in Singular Models

The local learning coefficient (LLC) is the local counterpart of the learning coefficient, or real log canonical threshold (RLCT), in singular learning theory. It quantifies the singularity-driven effective complexity of a statistical model in a neighborhood of a particular minimizer, rather than at the level of the model class as a whole. In singular models such as neural networks, where identifiability fails and Fisher information can be singular, the LLC replaces regular-model heuristics based on parameter count or quadratic curvature. It enters the local asymptotics of free energy, marginal likelihood, and Bayesian generalization error, and recent work has turned it from a largely algebro-geometric object into an estimable quantity for modern deep networks, while also extending its exact or upper-bound computation in several analytically tractable model classes [2308.12108; 2402.03698; 2406.02646; 2603.12785; 2504.18048; 2410.02984; 2606.22389].

## 1. Definition within singular learning theory

For a population loss $L(w)$ with minimizer $w^*$, the LLC is defined from the scaling of the local sublevel-set volume
$$
V_{w^*}(\epsilon)=\mathrm{Vol}\{w\in N(w^*)\mid L(w)-L(w^*)<\epsilon\}\propto \epsilon^{\lambda(w^*)}(-\log\epsilon)^{m(w^*)-1},
$$
as $\epsilon\to 0$. Here $\lambda(w^*)$ is the local learning coefficient and $m(w^*)$ is its multiplicity. Equivalently, under resolution of singularities, the corresponding local zeta structure yields the same rational $\lambda(w^*)$, with multiplicity given by the order of the dominant pole. The global learning coefficient is the infimum of local values over the realizable set, so LLC is the local analytic invariant from which the model-level RLCT is assembled [2406.02646; 2504.18048].

Its statistical importance comes from local free-energy and generalization expansions. In local form,
$$
F_n(B_\gamma(w^*))=nL_n(w^*)+\lambda(w^*)\log n-(m(w^*)-1)\log\log n+O_P(1),
$$
while in the Bayesian setting the leading correction to local test loss is of order $\lambda(w^*)/n$. In regular identifiable models, $\lambda=d/2$ and $m=1$, recovering the familiar BIC-type penalty. In singular models, $\lambda$ can be strictly smaller than $d/2$, so it acts as an effective complexity that reflects degeneracy of the loss landscape rather than ambient parameter dimension [2504.18048; 2410.02984].

Semi-regular analyses make this interpretation explicit. When the Fisher information has rank $r$ and the remaining directions first appear at order $m$, the local RLCT can take the form
$$
\lambda_O=\frac{d-r+rm}{2m}=\frac{1}{2}\Big[r+\frac{d-r}{m}\Big],
$$
so each regular direction contributes $1/2$, while each higher-order singular direction contributes $1/(2m)$. This gives a precise local notion of “effective dimension” that is unavailable from Hessian rank alone [2406.02646].

## 2. Local geometry, degeneracy, and invariance

The LLC is often interpreted as a fractional dimension of a basin of good parameters. When $m=1$, the scaling reduces to $V(\epsilon)\propto \epsilon^\lambda$, so increasing the loss tolerance by a factor $c$ increases the allowable parameter volume by $c^\lambda$. An information-theoretic restatement is
$$
-\log_2\frac{V(\epsilon)}{\operatorname{Vol}(W)}=-\lambda\log_2\epsilon+O(\log\log\epsilon),
$$
which treats $\lambda$ as the marginal number of bits required to halve a small error tolerance. Lower $\lambda$ therefore means more degeneracy, or a larger near-optimal volume [2402.03698].

This geometric content is not reducible to counting flat directions. A standard counterexample uses
$$
K(w_1,w_2)=(w_1-1)^2(w_1^2+w_2^2)^4,
$$
whose minimizer set contains both a line and a highly degenerate point. The line contributes a local free energy of $F(U_\gamma)=\frac{1}{2}\log n+O(1)$, while the degenerate point contributes $F(V_\gamma)=\frac{1}{4}\log n+O(1)$. The zero-dimensional point therefore dominates asymptotically despite having fewer obvious “flat directions,” showing that local degeneracy is an algebro-geometric property rather than a naive dimension count [2308.12108].

The quantity is also an invariant in a precise sense. In singular learning theory, $(\lambda,m)$ is a birational invariant of the analytic variety defined by the local KL surplus. For deep networks, this connects LLC to parameter symmetries such as adjacent-layer ReLU rescaling,
$$
W_2\,\mathrm{ReLU}(W_1x+b_1)+b_2
=
\alpha W_2\,\mathrm{ReLU}\!\left(\tfrac{1}{\alpha}W_1x+\tfrac{1}{\alpha}b_1\right)+b_2.
$$
Empirically, stochastic LLC estimators with appropriate preconditioning preserve this invariance over rescalings spanning 8 orders of magnitude, which distinguishes LLC from curvature surrogates that are sensitive to parameterization [2402.03698].

## 3. Estimation methodologies

The modern empirical literature operationalizes LLC through tempered local posteriors. Starting from Watanabe’s WBIC relation at inverse temperature $\beta\approx 1/\log n$, one estimates the learning coefficient from an energy gap under a Gibbs posterior. The localized form introduced for scalable use adds a quadratic confinement around a chosen minimizer:
$$
p(w\mid D_n,w^*)\propto \exp\big(-\beta n L_n(w)-\gamma\|w-w^*\|^2\big),
$$
with estimator
$$
\hat{\lambda}(w^*)=\frac{1}{\beta}\left(\mathbb{E}^{\beta}_{w\mid w^*}[\,nL_n(w)\,]-nL_n(w^*)\right).
$$
Replacing full-gradient MCMC with SGLD makes this practical for large datasets and models, using updates of the form
$$
\Delta w_{t+1}
=
A\,\frac{\epsilon}{2}\left(\frac{\beta n}{m}\sum_{i=1}^{m}\nabla L_n(w_t)+\gamma\,(w^*-w_t)\right)+\mathcal{N}(0,A\epsilon),
$$
where $A$ is an optional preconditioner. In deep linear networks, this approach was shown to recover theoretical LLC values up to 100M parameters and dataset size $n=10^6$, with step size $\epsilon$ identified as the critical hyperparameter and a MALA-style acceptance diagnostic recommended in the 0.9–0.95 range [2308.12108; 2402.03698].

A distinct difficulty appears off equilibrium. Mean-energy estimators require an additive baseline $L^\star$, typically interpreted as a local minimum. During transient training phases this baseline is unknown, and replacing it with the lowest noisy mini-batch loss induces a systematic minimization bias. The Shift-Invariant Variance Estimator (SIVE) removes the baseline structurally by exploiting
$$
\mathrm{Var}[L-L^\star]=\mathrm{Var}[L],
$$
and then subtracts evaluation noise by the Law of Total Variance. With grouped noisy evaluations $\bar L_m$ and within-group variances $s_m^2$, the estimator is
$$
\hat{\lambda}_k=(n\beta)^2\left[\mathrm{Var}_m(\bar L_m)-\frac{1}{M}\sum_{m=1}^M \frac{s_m^2}{N}\right]_+.
$$
On analytically tractable toy models, SIVE recovers the expected finite-temperature geometric signal in regimes where anchored mean estimators fail, and in MNIST MLP experiments it yields a non-monotonic online geometric diagnostic over training [2606.22389].

Finite-$n$ estimation remains subtle. Large-scale studies generally target $\lambda$ alone rather than jointly estimating multiplicity $m$, because the subleading term $-(m-1)\log\log n$ can bias single-temperature estimators. Burn-in, local stationarity, and localization strength $\gamma$ are therefore not implementation details but part of what defines the measured local geometry [2402.03698; 2606.22389].

## 4. Exact formulas and upper bounds in analyzable models

Deep linear networks provide a rare large-scale setting where exact theory and numerical estimation can be compared directly. Under realizability and relatively finite variance, the learning coefficient admits a closed-form expression in terms of the rank $r$ of the realized linear map and a combinatorial subset of layers. This formula, due to Aoyagi and used as ground truth in subsequent experiments, enabled empirical validation of SGLD-based LLC estimation across thousands of randomly generated DLNs from 1k to 100M parameters. A notable qualitative finding is that $\lambda$ tends to decrease with depth even as parameter count increases, while multiplicities $m>1$ are common [2402.03698].

For semi-regular models, a general exact formula is available under a differential-structure assumption on the log-likelihood ratio. If the Fisher information rank at a realizable point is $r$ and the remaining coordinates vanish up to order $m-1$, then the local RLCT is
$$
\lambda_O=\frac{d-r+rm}{2m},
$$
with multiplicity 1 when the relevant independence condition holds. Two-parameter semi-regular models therefore fall into a complete classification: the regular case with $\lambda=1$, an order-$m$ singular case with $\lambda=(m+1)/(2m)$, and a locally one-dimensional realizable manifold with $\lambda=1/2$ [2406.02646].

A related extension addresses many non-singular points of the realizable set by separating parameters into active coordinates $\theta$ and “constant” realizable coordinates $\tau$. Under this straightened local structure, the same form
$$
\lambda_O=\frac{d_1-r+rm}{2m}
$$
yields a computable local RLCT and therefore an upper bound on the model’s global learning coefficient. The method recovers known reduced-rank regression values in specific cases and gives upper bounds for mixed binomial models [2408.13030].

Three-layer neural networks require a different approach because singular realization points are dominated by redundant hidden units, duplicated or zero weights, and reduced-rank configurations. For these models, recent work derives an upper-bound formula for $\lambda_P$ at singular points that can be interpreted as a counting rule under budget constraints and demand–supply constraints. The theorem applies to general analytic activation functions, including swish and polynomial activations, and becomes exact when the input dimension is one. In that setting it partially resolves discrepancies between earlier nonsingular-point formulas and known exact RLCT values [2603.12785].

## 5. Modern extensions: sequence models and refined LLCs

In transformer sequence models, LLC has been linked to a modal description of the data distribution. Conditional sequence distributions can be embedded in a Hilbert-space framework and decomposed into modes by singular value decomposition of the conditional operator. The resulting theory shows that SGLD-based LLC estimates are insensitive to sufficiently small-amplitude modes of the data distribution. Consequently, the estimated LLC characterizes the geometry not of the full true distribution $q$, but of an effective coarse-grained distribution $q^{(\chi)}$ obtained by truncating modes below a data-dependent threshold. In this picture, inverse temperature $\beta$ acts as a resolution dial: higher $\beta$ resolves finer modal structure, while lower $\beta$ measures coarser effective geometry [2504.18048].

This modal account also clarifies why empirical LLC estimates can remain stable even when the probed parameter is not a strict minimizer of the full population loss. If training has captured the dominant modes, a parameter may already be a local minimizer of the effective loss $L^{(\chi)}$ even though it is not a minimizer of the full $L$. The estimator then returns the LLC of that effective potential rather than failing outright. This is a reinterpretation of practical LLC estimation rather than a rejection of the original SLT object [2504.18048].

A second major extension is the refined LLC (rLLC), which restricts the local geometry to parameter subspaces and/or data subdistributions. Weight-refined LLCs probe a component such as a single attention head while freezing all other parameters; data-refined LLCs change the data distribution to a subset such as GitHub code; combined weight-and-data-refined LLCs do both simultaneously. In a two-layer attention-only transformer, these refinements were used to track differentiation and specialization of attention heads across training. Head-level wrLLC trajectories cluster by functional type, final wrLLC correlates with the number of memorized multigrams for multigram heads, drLLCs on code separate induction heads from multigram heads, and combined rLLC analyses supported the discovery of a previously unidentified multigram circuit associated with nested Dyck-like structure [2410.02984].

## 6. Limitations, misconceptions, and terminological scope

Several limitations are intrinsic. Exact LLC values are known only for restricted model classes, large-scale estimators usually do not estimate multiplicity $m$ directly, and practical accuracy depends on localization, temperature, preconditioning, burn-in, and chain stability. In nonlinear deep networks without a theoretical ground truth, empirical validation must rely on self-consistency checks such as seed stability, agreement across samplers, or invariance under known symmetries. Existing exact and upper-bound results also assume analyticity, realizability near the relevant stratum, and generic linear independence conditions that can fail in nongeneric configurations [2402.03698; 2603.12785].

A common misconception is to treat LLC as a synonym for Hessian flatness or for parameter count. SLT results make neither identification. Local free energy depends on $\lambda(w^*)\log n$, not on the raw dimension, and the toy singular examples show that lower-dimensional strata can dominate higher-dimensional ones when their singularity structure is stronger. Nor does a smaller LLC automatically imply a smaller test loss, since the local Bayesian loss has the form $L(w^*)+\lambda(w^*)/n+o(1/n)$, so the bias term $L(w^*)$ remains decisive when minima differ in population loss [2308.12108].

The phrase “local learning coefficient” also has unrelated meanings outside the SLT literature. It has been used for scalar coefficients multiplying monomials in polynomial local learning rules [1506.06472], for the client learning rate in local update methods for federated optimization [2007.00878], and for local excess-risk rate exponents in localized SVMs [1507.06615]. In contemporary singular-learning usage, however, LLC denotes the local RLCT governing the asymptotic Bayesian geometry of a neighborhood in parameter space.

Source: https://www.emergentmind.com/topics/local-learning-coefficient