Marginal

Singular Learning Theory

Why degeneracy is central to how neural networks learn: the parameter–function map and its symmetries, statistical models and true parameters, the Bayesian posterior and free energy, singular versus regular models, the local learning coefficient via volume scaling, Watanabe's free energy formula, Bayesian phase transitions, estimating the learning coefficient with SGLD, and developmental interpretability.

22 lessons in 3 units · free with an account

Start your free trialThis course stays free after the trial.
What you'll learn

22 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

Models & Posteriors

5 lessons
  1. Permutation symmetryExplain why a neural network's map from parameters to functions is many-to-one, and count the copies that permuting hidden units creates.
  2. Continuous symmetriesFind the rescaling symmetry of ReLU units, count the flat directions it creates, and recognize degeneracies that hold only in some regions.
  3. The population loss KCompute the population loss K of a regression model as a KL divergence from the truth, and relate it to the log loss that training minimizes.
  4. True parametersFind the set of true parameters of a model, and tell the single point of a regular model from the curved and crossing sets of singular ones.
  5. The Bayesian posteriorCompute posterior density ratios from loss gaps, compare models by their normalizers, and explain why volume as well as loss decides where posterior mass goes.

Degeneracy & the Learning Coefficient

10 lessons
  1. Degeneracy & singular modelsCompute the rank of a degenerate Hessian at a true parameter, and name the classical tools that fail for singular models.
  2. Degeneracy & Fisher informationFind the degenerate directions of a parameter–function map, connect them to the null space of the Fisher information, and explain why classical statistics breaks.
  3. Symmetries & flat directionsSort degeneracy into global, localized and higher-order kinds, count the flat directions of ReLU rescaling, and explain why higher-order degeneracy adds the most volume.
  4. Map versus landscapeSeparate degeneracy of the parameter–function map from degeneracy of the loss landscape, and compare minima whose Hessians look alike.
  5. Learning coefficients of sumsCompute the learning coefficient of a sum of independent directions from how fast the near-optimal volume shrinks, and recover the regular value d/2.
  6. Volume scalingCompute the learning coefficient and multiplicity of a product of monomials, and use them to compare how fast near-optimal volumes shrink.
  7. Resolution of singularitiesRead the learning coefficient off a normal crossing form, compute it after a blow-up, and explain what Hironaka's theorem guarantees.
  8. The local learning coefficientCompute the local learning coefficient at a trained parameter, convert it to an effective parameter count, and explain why lower values are favored.
  9. Reading the learning coefficientBound the learning coefficient with the rank of the Hessian, read it as bits and as a dimension, and explain how near-degenerate minima mislead.
  10. Learning coefficients of deep linear networksCount the degenerate directions of a two-layer linear network, compute its exact learning coefficient, and explain why lower rank means a simpler model.

Free Energy & Development

7 lessons
  1. Watanabe's free energy formulaCompute Watanabe's asymptotic free energy from the loss, the learning coefficient and the sample size, and compare it with the BIC.
  2. Bayesian generalization errorCompute the Bayesian generalization error from its rate λ/n, explain why large models with small λ generalize, and estimate the error with WAIC.
  3. Bayesian phase transitionsCompare phases of the posterior with the free energy formula, and explain the energy–entropy trade-off behind a Bayesian phase transition.
  4. When phases switchSolve for the sample size at which a complex, accurate phase overtakes a simple one, and interpret how that point moves.
  5. Estimating the LLCEstimate the local learning coefficient from localized Langevin samples, and read what the estimate says about a minimum.
  6. Developmental interpretabilityFind developmental stages from the estimated learning coefficient over training, interpret its rises and falls, and say what the approach hopes to deliver for safety.
  7. Refined probes of developmentState the hypothesis that links training to Bayesian learning, tell refined learning coefficients from susceptibilities, and explain patterning.
Sample lesson

Permutation symmetry

Goal: Explain why a neural network's map from parameters to functions is many-to-one, and count the copies that permuting hidden units creates.

Sumio Watanabe's singular learning theory starts from a simple observation: a neural network's map from parameters to functions is massively many-to-one. Classical statistics assumes the opposite.

We will see many parameters give one function, reorder units, and finish with isolated copies.

Step 1: Many parameters, one function

A model's parameter–function map sends each parameter setting w to the function, or probability distribution, it computes. Classical statistics assumes it is identifiable: different parameters give different distributions, so the data can, in principle, pin down a unique best parameter. Results such as asymptotically Gaussian posteriors and the BIC rest on that assumption.

For neural networks it fails. Many different weight settings compute exactly the same function, so no amount of data can tell them apart. Singular learning theory is the statistics of such non-identifiable models.

Step 2: Reordering units

The simplest source of redundancy: the hidden units of a layer have no fixed order. Swap two units, together with their incoming and outgoing weights, and the network computes exactly the same function. A layer of h units can be reordered in h! ways, so every solution has h! copies.

Permutations in different layers are independent, so their counts multiply: hidden layers of sizes h₁ and h₂ give h₁! × h₂! copies. Two layers of 3 and 2 units give 6 × 2 = 12.

Step 3: Isolated copies

Permutation copies are discrete: each copy sits at its own isolated point of parameter space, separated from the others. Moving continuously from one copy toward another changes the function on the way, so permutations alone do not make the loss flat in any direction. What they do show is that the set of best parameters is never a single point; the next lesson finds symmetries that are continuous, which do create flat directions.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start Singular Learning Theory

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trialThis course stays free after the trial.