Iliad

Singular Learning Theory

Cluster BB.3 · Singular Learning Theory

Singular learning theory (SLT) places degeneracy as a core part of understanding how neural networks learn. We cover the parameter-function map, the meaning of degeneracy through the local learning coefficient, to Watanabe's free energy formula and Bayesian phase transitions.

By Kai Ogden (University of Oxford), Matthew Farrugia-Roberts (University of Oxford), Zach Furman (The University of Melbourne)

Title unavailable — video missing or not yet released. Watch on YouTube ↗

Thou shalt have the power to degenerateOn the Dignity of Man, 1496

Introduction

Singular learning theory (SLT) is a theory of learning that accounts for degeneracy in neural networks. What is degeneracy? Let us first appeal to the Cambridge dictionary, documenting some features of typical uses of the word within mathematics:

Degenerate (of an equation, curve, line, etc.) unusual or complicated in some way compared to other equations, curves, lines, etc. of a similar type, especially because a variable or parameter is zero.

On the other hand, we should recall that deep learning has as many roots in neuroscience as in mathematics. And as they say, "neural networks are grown." Perhaps we should also hear the biologist's definition:

Degenerate (of an organism, chromosome, etc.) simpler than a form that previously existed because of no longer having a particular structure.

Actually, both of these definitions are apt. Within a typical neural network architecture, certain weight vectors correspond to neural networks from simpler architectures (often due to certain weights being zero). Structurally, these neural networks are simpler in form than their neighbours. Mathematically, they complicate the relationship between the neural network's parameter space and the resulting space of functions. In turn, learning in neural networks is substantially richer than learning in classical statistical models.

Singular learning theory is a framework for understanding learning that places degeneracy at the centre. The framework leverages powerful tools from algebraic geometry to understand, characterise, and resolve degeneracies, revealing their impact on learning. Unfortunately, the price of this mathematical power is that following the research literature without a deep background in pure mathematics is challenging.

That is where this tutorial comes in. We aim to distil the essence of singular learning theory—the notion of degeneracy and its role in learning—laying bare through simple examples and structured exercises the core intuitions driving research in the field. We believe understanding this essence requires no more than undergraduate-level mathematics. Moreover, to anyone armed with these core intuitions, understanding and contributing to research on the relationship between degeneracy and deep learning is within reach.

Contents. Specifically, the tutorial comprises the following four technical sections, each with definitions and guided exercises.

  1. "Section 1" reviews core deep learning concepts, defining our notation and some running examples. The central concept is that of the parameter–function map.
  2. "Section 2" defines degeneracy of parameter–function maps and relates it to symmetries, singularities of the Fisher information, and degenerate critical points of the loss landscape.
  3. "Section 3" derives the local learning coefficient (LLC) as a quantitative measure of the degree of degeneracy of a critical point via a volume scaling approach, and surveys several other perspectives on the quantity.
  4. "Section 4" presents Watanabe's free energy formula connecting the LLC to Bayesian learning and discusses its implications.

We conclude with Section 5, providing pointers for further study and surveying the literature on SLT and deep learning.

Prerequisites.

The following is an indicative list of mathematical concepts that will be helpful for reading the tutorial and completing the exercises.

  • Linear algebra: vectors, matrices, rank, orthogonal matrices, rank–nullity, positive definiteness, eigenvalues, spectral decomposition.
  • Calculus: partial derivatives, gradient, directional derivative, chain rule, Hessian, second-order Taylor expansion and remainder.
  • Integration and analysis: multivariate integrals, change of variables, volume in , asymptotic notation (big-, little-), computing basic limits and integrals.
  • Probability: probability simplex , conditional probability, probability density functions, independence, expectation, Bayes' rule, Gaussians, law of large numbers.

Section 1 reviews the basic framework of deep learning as parametric function approximation or statistical inference (parameter–function maps, deep linear networks, multi-layer perceptrons, loss functions, likelihood) along with Bayesian inference (prior, posterior, partition function, Bayesian free energy).

Readers with more advanced backgrounds may appreciate occasional references to topics from algebraic geometry, fractal geometry, or statistical physics. However, these references are tangential and readers without these backgrounds can safely skip them.

Fast-track.

To paraphrase Euclid, there is no royal road to algebro-geometric learning theory. However, it is possible to get a bird's-eye view and the most important intuitions in a comparably short time. If this is what you are looking for, we recommend the following route through the tutorial. Assuming you are already somewhat comfortable with deep learning and Bayesian inference, skip Section 1, and refer back only as needed. Then, proceed as follows.

  1. To understand parameter–function map versus loss landscape degeneracy: Read Subsection 2.1 and complete Exercise 2.1 and 2.2. Complete either Exercise 2.9 or 2.10. Read Subsection 2.5 and complete your choice of Exercise 2.14 and/or Exercise 2.15.
  2. To understand the local learning coefficient via volume scaling: Read Subsection 3.1 and complete Exercise 3.1, 3.2, 3.4 and 3.7. Read Subsection 3.3 and Exercise 3.10.
  3. To understand the relation between degeneracy and learning in the Bayesian case: Read all of Section 4 (it is shorter). Complete Exercise 4.2.

Once you are done, we hope you will consider taking the scenic route some other time.

Acknowledgements.

This tutorial was developed for the April 2026 Iliad Intensive. Some exercises were adapted from Furman 2024.

1. Preliminaries

In this section, we introduce basic terminology and notation for supervised deep learning and supervised Bayesian deep learning, along with some example neural network architectures and statistical models that we will repeatedly study throughout the tutorial.

1.1 Neural networks and parameter–function maps

Let denote a space of network inputs (e.g., a space of images or token sequences encoded as vectors), and let denote a space of outputs (e.g., a space of numerical scores, class distributions, or next-token distributions).

Informally, a neural network architecture is a specification for how various parameters (e.g., neuron connection strengths / weights or neuron activation thresholds / biases) combine with input signals and each-other to describe a function from to .

Formally, a neural network architecture essentially comprises a parameter–function map , where is a -dimensional parameter space and is some hypothesis class of functions from to .

It is sometimes convenient to refer to the function as .

Throughout the rest of this tutorial, we will study many different neural network architectures (parameter–function maps). The rest of this section explores some generally useful examples and some terminological points. To begin with, we have the following remark.

Remark (Parameters). Note that the term "parameter" has two senses:

  1. A "parameter" is an individual dimension of parameter space (e.g., "initialise this parameter to the value ," or "this neural network has billions of parameters"). A loose synonym in this case is "weight."
  2. A "parameter" is also a particular point in the parameter space (e.g., "this parameter is a local minimum of the loss function," or "the zero locus of this loss function contains a continuum of parameters"). A loose synonym in this case is "weight vector."

Both senses are in common usage in the literature as in this tutorial.

The simplest neural network architecture models a single "neuron" with inputs . Each input is multiplied by an incoming weight to produce the neuron's output. We formalise this case in Example 1.1.

Example 1.1 (A linear neuron). Let for some positive integer and let . Define a parameter space . Define a parameter–function map that maps a column vector to the function such that for ,

Let us generalise this basic neural network in three ways: to add multiple outputs, "depth," and non-linearity. First, we can generalise from a scalar output to a vector output as follows.

Example 1.2 (Multi-linear neural network). Let for some positive integer . Define a parameter space . Let each parameter encode an matrix . The parameter–function map transforms each parameter to a function such that for ,

If we take each row of to encode the weight vector of a linear neuron (Example 1.1), we see that we have produced outputs by stacking independent linear neurons together. Such a group of neurons is called a layer.

Remark (Encodings). In Example 1.2, the parameter space is formally , but we find it convenient to identify each parameter vector with the matrix it encodes. We would thus write in place of . More generally, whenever the parameters of an architecture naturally decompose into named matrices or vectors, we index the parameter–function map by these structured objects directly rather than by the underlying vector . The remaining examples in this section demonstrate this convention, and we continue to use it throughout this tutorial.

Next, let's add depth to our neural network by composing two layers together.

Example 1.3 (Deep linear network; DLN). Let for some positive integer . Let be a positive integer and define the parameter space , with each parameter encoding a pair of matrices and . The parameter–function map sends to such that for ,

The above architecture is called a two-layer deep linear network (DLN). The architecture can be interpreted as composing two multi-linear neural networks. The vector of outputs of the neurons of the first network becomes the vector of inputs to the second network. The intermediate output vectors are called activations.

Note that if , the two-layer DLN architecture indexes the same hypothesis class as in Example 1.2, that of linear transforms on . If , the hypothesis class includes only transforms with rank up to .

Finally, we'll add non-linearity between pairs of layers. To do so, we introduce a non-linear scalar function , called an activation function, to transform the output of each intermediate neuron. Common examples of activation functions, which we will study in this tutorial, include the following:

  1. The hyperbolic tangent function .
  2. The rectified linear unit (ReLU) function .

This results in the following non-linear neural network architecture.

Example 1.4 (Multi-layer perceptron; MLP). Define input, output, and parameter spaces as in Example 1.3. Let be an activation function. The parameter–function map sends to the function such that for ,

where we lift the activation function to operate element-wise over column vectors .

This kind of architecture is called a multi-layer perceptron (MLP). Note that the two-layer DLN is recovered if we use the identity function as an activation function. However, if we use a non-linear activation function, we can index a much richer hypothesis class.

The expressivity of these architectures is limited, however, by the omission of a basic detail—the inclusion of a bias parameter for each neuron. We invite the reader to correct this omission as our first exercise, which serves as a chance to familiarise oneself with the concept of a parameter–function map.

Exercise 1.1 (Biased neurons). A biased neuron is a neuron with an additional parameter that is added to the weighted sum of its inputs before it produces its output. Bias parameters allow each layer to represent an affine transform, rather than just a linear transform. For each of Example 1.1, 1.2, 1.3 and 1.4, extend the example to use biased neurons. Precisely define the parameter space and the parameter–function map in each case.

Solution

For each architecture, we add a bias vector to each layer's output before the next transformation (or activation function) is applied.

(a) A linear neuron with bias (Example 1.1). Let , encoding a weight vector and a scalar bias . The parameter–function map sends to defined by

(b) Multi-linear neural network with bias (Example 1.2). Let , encoding a matrix and a bias vector . The parameter–function map sends to defined by

(c) Deep linear network with bias (Example 1.3). Let , encoding matrices , and bias vectors , . The parameter–function map sends to defined by

(d) Multi-layer perceptron with bias (Example 1.4). The parameter space is as above. The parameter–function map sends to defined by

Modern deep learning leverages more involved parameter–function maps. Neural network architectures are typically defined in a modular fashion, including linear (or affine) layers and non-linear layers like the above, along with more specialised layers (well-known examples including convolutional layers, residual layers, and attention layers).

1.2 Supervised deep learning and loss functions

In a typical supervised deep learning setting, we are given a data set of pairs . These pairs exemplify inputs and their corresponding (possibly noisy) outputs from an unknown target function which we would like to approximate using a neural network. That is, we would like to find a parameter such that the corresponding function approximates the target function .

Formally, given an example , define a per-example loss function to measure the deviation of from the output . A typical loss function for vector outputs is to use the squared error loss

If is a space of discrete distributions over objects it is typical to use cross entropy loss

Given a per-example loss function and a data distribution over the space of examples (representing our possibly-noisy target function), we formalise the objective of supervised learning as finding so as to minimise the population loss function defined such that

The population loss aggregates differences on outputs for individual inputs into an overall measure of difference between and the target function.

In practice, we often can't evaluate the population loss over the entire input/output space. We instead optimise an estimator based on our data set of input–output pairs assumed to be sampled independently and identically from . Define an empirical loss function such that

If the per-example loss is squared error, the empirical loss is known as the mean squared error objective.

Exercise 1.2 (Empirical loss and population loss). Fix . Prove the following properties of the relationship between the empirical loss and the population loss .

(a) For any , the empirical loss is an unbiased estimator of the population loss. That is,

(b) As , the empirical loss converges almost surely to the population loss.

Solution

(a) Since the data pairs are sampled independently and identically from , each per-example loss is an identically distributed random variable with expectation

Therefore, by linearity of expectation,

(b) The random variables are independent and identically distributed with common mean . By the strong law of large numbers,

almost surely.

Given a loss function, a training algorithm is a search algorithm that aims to find such that the loss is approximately minimised. Most modern deep learning algorithms are variants of stochastic gradient descent (SGD), which implements an iterative gradient-based local search of the parameter space using empirical loss on subsamples of the data set.

Through many impressive feats of computer science and hardware/software engineering, we are able to run such training algorithms to find low-loss parameters within parameter spaces with billions of dimensions. The details are vitally important to the success of modern deep learning, but are beyond the scope of this tutorial. We only mention SGD in order to emphasise that any local search method depends intimately on the properties of the parameter–function map.

1.3 Statistical models and parameter–distribution maps

The previous sections introduce neural networks and supervised deep learning within a framework of function approximation. An alternative approach is to view supervised learning as statistical inference, and particularly Bayesian inference. This statistical framework is commonly used within the SLT literature, and we will encounter it within this tutorial.

The first step to upgrading our framework is to move from talking about functions to talking about conditional distributions. For each neural network, we should be able to determine not just the output corresponding to each input, but a probability density measuring how likely each output is given each input.

Formally, let represent a class of conditional distributions over . A distributional neural network architecture comprises a parameter–distribution map . It is sometimes convenient to refer to the conditional distribution using the notation . The probability mass/density of a given output conditional on a given input is typically denoted either or .

Sometimes, defining a parameter–distribution map is simply a re-framing. For example, in image classification, our output space was a space of distributions over image classes. Let represents the underlying class space, then and we can view our parameter–function map as a parameter–distribution map with .

In other cases, we can easily construct a parameter–distribution map from a parameter–function map by introducing a noise model. For example, in regression with an output space , given a parameter–function map we can define a parameter–distribution map such that, for and ,

The above Gaussian noise model amounts to modelling each output as drawn given according to the rule with .

As the following exercises explore, performing statistical inference according to the principle of maximum likelihood aligns with the loss-minimisation perspective (given an appropriate choice of loss function).

Exercise 1.3 (Maximum likelihood as MSE minimisation). Consider a regression problem with . Assume we have a neural network architecture with a parameter space . Form a corresponding statistical model using the Gaussian noise model of (11). Let be a data set of regression examples.

(a) Write an expression for the conditional probability of observing the labels given the inputs and some fixed parameter , assuming the labels are sampled independently.

(b) Denote the resulting quantity by . It is called the likelihood of the data set according to the model . Compute and simplify the negative log-likelihood, given by .

(c) Show that if is the mean squared error loss function from (9), then

Solution

(a) Since labels are sampled independently, the likelihood factorises as a product of Gaussian densities:

(b) Taking the negative logarithm of the above expression,

(c) From the mean squared error definition (9),

The right-hand side is a strictly increasing affine function of (with positive coefficient ), and the additive constant is independent of . Therefore,

Exercise 1.4 (Maximum likelihood as cross entropy minimisation). Consider a classification problem with . Assume we have a neural network architecture with a parameter space . As discussed, the parameter–function map in this case corresponds to a parameter–distribution map to conditional distributions over the underlying discrete class space . Let be a data set of labelled classification examples. For each define

to be the corresponding Dirac distribution (with probability mass concentrated on ).

(a) Write an expression for the likelihood of the data set, , that is, the conditional probability of observing the labels given the inputs and some fixed parameter . Assume the labels are sampled independently.

(b) Show that the negative log-likelihood

(c) Using (12), show that if the per-example loss function for the optimisation problem is cross entropy loss (6), then

Solution

(a) Since labels are sampled independently, the likelihood factorises as

(b) Taking the negative logarithm,

(c) Since is the Dirac distribution on class , we have if and otherwise. Substituting into the cross entropy loss (6),

Therefore the empirical loss is

Since the negative log-likelihood is , a positive multiple of the empirical loss, we conclude

Exercise 1.5 (Maximum likelihood as loss minimisation, in general). Consider a neural network architecture with a parameter space , parameter–function map , and output space . Let be a per-example loss function. Assume that for each and , the function is integrable over . Define a corresponding statistical model with parameter–distribution map mapping to such that for all , , and , we have

We re-use the notation , from Exercise 1.3, and assume that labels are sampled independently.

(a) Show that the negative log-likelihood decomposes as

(b) Now suppose the loss function takes the form for some integrable function . Show that is independent of , and conclude that

Solution

(a) Since labels are sampled independently, the likelihood factorises as

Taking the negative logarithm,

(b) Suppose . Making the substitution (so that ) in the definition of the partition function,

The right-hand side is a constant independent of both and . Therefore, by part (a), the negative log-likelihood is

where is independent of . Since the negative log-likelihood is an affine function of with positive coefficient,

Remark (Negative log-likelihood loss). Exercise 1.3, 1.4 and 1.5 nominally show that some maximum likelihood estimation problems have the same sets of ideal solutions as some carefully-chosen optimisation problems (). In general, that the global optima for two optimisation problems coincide is insufficient to show that practical optimisation methods will always find the same solutions: practical optimisation methods don't always find global optima. However, in the above cases, your derivation likely reveals a stronger result: the optimisation landscapes for the function approximation problem are related to the optimisation landscape for the maximum likelihood estimation problem by a strictly monotonically decreasing transform (an affine transform of a logarithm).

1.4 Bayesian deep learning

The principle of maximum likelihood, explored in the preceding exercises, is one approach to statistical inference. An alternative approach is Bayesian inference, which treats as a random variable and maintains a probability distribution over reflecting our uncertainty about which parameter best explains the data. The majority of theoretical results in SLT have been developed within this setting (Watanabe 2009; Watanabe 2018, cf.,).

Bayesian learning begins with a prior distribution , a probability density on representing our beliefs about the parameter before observing any data. Throughout this tutorial, we assume is positive and smooth on .

Definition 1.5 (Posterior distribution, partition function, free energy). Given a data set of input–output pairs , Bayes' rule updates the prior into the posterior distribution , a probability density on defined by

where is a normalising constant called the partition function (or marginal likelihood or model evidence),

We often work with the (Bayesian) free energy, the negative log of the model evidence,

The posterior re-weights the prior by the likelihood of the observed data: parameters under which the data is more probable receive higher posterior density, while parameters under which the data is improbable are down-weighted.

The partition function is the marginal probability of observing the data set, averaged over all parameters weighted by the prior. It quantifies how well the statistical model as a whole predicts the observed data. The free energy is an inverted measure of how well the model fits the data.

Exercise 1.6 (Bayesian posterior as a Gibbs distribution). To interpret Bayesian inference in terms more similar to function approximation, we introduce a loss function based on the negative log-likelihood,

Here, is the conditional density from the parameter–distribution map and is a data set of examples. Show that

and

Solution

By definition of the negative log-likelihood,

Exponentiating both sides,

Substituting into the definitions of the posterior (13) and partition function (14) gives the stated expressions.

The Bayesian deep learning process is the process of re-weighting each individual parameter vector in response to seeing an increasing amount of data, producing the sequence of belief distributions . Over time, the posterior will concentrate around parameters which provide a good fit for the data (though there is more to the story in the singular case, as we will see in later sections).

Bayesian deep learning is a global search in that all parameter vectors are considered in parallel. This makes exact Bayesian learning computationally intractable for non-trivial models, but more analytically tractable than SGD in general. Moreover, as we will explore in later sections, the dynamics of Bayesian learning still reflect the local geometry of the parameter–distribution map.

In preparation for exploring this connection between geometry and learning we finally introduce localised variants of the partition function and free energy, where the integral in (14) is restricted to a certain neighbourhood in parameter space.

Definition 1.6 (Local partition function and local free energy). Given a neighbourhood , the local partition function and local free energy are

The local partition function (free energy) measures how well (poorly) parameters within a given neighbourhood collectively explain the data. Note, and .

Exercise 1.7 (Local posterior mass and local free energy). Let be two neighbourhoods of parameter space. Let denote the posterior mass of a neighbourhood. Show the following.

(a) (the same holds for ).

(b) .

In conclusion, the posterior odds ratio of the two regions depends exponentially on the difference between their local free energies.

Solution

(a) Integrating the posterior (13) over ,

(b) By part (a),

Exercise 1.8 (Partition function of partitioned parameter space). Let be disjoint subsets with .

(a) Show that the partition function decomposes as , and hence

(b) Show that if for all , then

In conclusion, the overall free energy is dominated by the region(s) with the lowest local free energy.

Solution

(a) Since are disjoint and cover , the integral over decomposes as a sum of integrals over each :

By definition, , so . Taking of both sides,

(b) Since for all , the corresponding partition functions satisfy for all . The lower bound on is immediate:

For the upper bound, since each ,

Taking (which reverses the inequalities) yields

The overall free energy is therefore determined by the region with the lowest local free energy, up to a correction of at most . In particular, if the gap grows with while remains fixed, then .

2. What is degeneracy?

In this section, we define degeneracy as a property of parameter–function maps, and study the relationship between this property and other similar notions.

2.1 A definition of degeneracy

Consider a neural network architecture with parameter space and parameter–function map (). Say the parameter–function map is degenerate at if there is a non-zero vector such that the directional derivative of the parameter–function map in the direction is zero:

The directional derivative for non-zero may be defined variously as

We conventionally define . Note that is fixed, but the directional derivative is still a function (of the same type as ; ), since it represents an infinitesimal change in in response to a change in in the direction . In (19) we mean that this function is identically zero for all inputs for the given .

Intuitively, the parameter–function map is degenerate at if there is a direction in which we can infinitesimally perturb without changing the function .

This definition of degeneracy applies to a single point in parameter space. As we shall soon see, it may be the case that the parameter–function map is degenerate at some points but not at others. We can clarify the situation with new terminology.

  • We say that a parameter–function map is somewhere degenerate if it is degenerate at any point in parameter space.
  • We say that a parameter–function map is everywhere degenerate if it is degenerate at all points in parameter space.

By convention, if we say that the parameter–function map is simply degenerate (without specifying somewhere, everywhere, or at a particular point), we mean that it is somewhere degenerate.

The following exercises explore this definition in some toy parametrisations of a simple function class (constants), displaying in the simplest possible setting some basic forms of degeneracy that will arise repeatedly throughout the tutorial.

Exercise 2.1 (Parametrising the space of constants). Let and , so that we have a hypothesis class of constants. Consider the scalar parameter space and the parameter function map that maps to (the output is just the parameter itself).

(a) What is the directional derivative of the parameter–function map in direction ?

Hint

What kind of derivative does this reduce to?

(b) At which points in the parameter space is this parameter–function map degenerate, if any?

Solution

(a) Since is one-dimensional, the directional derivative in direction reduces to the ordinary derivative:

(b) The directional derivative is for all . Therefore, the parameter–function map is not degenerate at any point.

Exercise 2.2 (Degeneracy from raising a parameter to a power). Again, consider a hypothesis class of constants and the scalar parameter space . This time, define a parameter function map that maps to .

(a) Show that this architecture indexes exactly the same hypothesis class as the architecture described in Exercise 2.1.

(b) What is the directional derivative of the parameter–function map in direction ?

Hint

What kind of derivative does this reduce to?

(c) At which points in the parameter space is the parameter–function map degenerate, if any?

Solution

(a) The hypothesis class of Exercise 2.1 is . The hypothesis class here is . Since is a bijection on , as ranges over , takes every real value exactly once. So in both cases.

(b) The directional derivative in direction is the ordinary derivative:

(c) The directional derivative if and only if . So the parameter–function map is degenerate at only. It is somewhere degenerate but not everywhere degenerate.

Exercise 2.3 (Degeneracy from multiplying two parameters together). Again, consider a hypothesis class of constants. Consider this time the two-dimensional parameter space . Define a parameter function map that maps to .

(a) Show that this architecture indexes exactly the same hypothesis class as the architecture described in Exercise 2.1.

(b) What is the directional derivative of the parameter–function map in direction ?

Hint

what kind of derivative does this reduce to?

(c) What is the directional derivative of the parameter–function map in direction ?

Hint

what kind of derivative does this reduce to?

(d) At which points in the parameter space is the parameter–function map degenerate in these directions, if any?

(e) At which points in the parameter space is the parameter–function map degenerate, if any?

Solution

(a) The hypothesis class is , since for any target we can choose, e.g., and . This is the same as in Exercise 2.1.

(b) The directional derivative in direction is the partial derivative with respect to :

(c) The directional derivative in direction is the partial derivative with respect to :

(d) From parts (b) and (c), the direction is degenerate at if and only if , and the direction is degenerate if and only if . So the parameter–function map is degenerate in at least one of these coordinate directions precisely on the set , i.e. the union of the two coordinate axes.

(e) The directional derivative in a general direction is proportional to

This is a single linear equation in two unknowns .

  • If : the equation is trivially satisfied, so every direction is degenerate.
  • If : the coefficient vector is nonzero, so the solution space is one-dimensional. A nonzero solution is : indeed, .

Therefore, the parameter–function map is degenerate everywhere. Note that the previous part found degeneracy only on the coordinate axes because it checked only the coordinate directions. Checking for parameter–function map degeneracy requires checking all possible directions.

Exercise 2.4 (Degeneracy from adding two parameters together). Again, consider a hypothesis class of constants. Consider this time the two-dimensional parameter space . Define a parameter function map that maps to .

(a) Show that this architecture indexes exactly the same hypothesis class as the architecture described in Exercise 2.1.

(b) What is the directional derivative of the parameter–function map in direction ?

(c) At which points in the parameter space is the parameter–function map degenerate, if any?

Solution

(a) The hypothesis class is , since for any target we can choose, e.g., and . This is the same as in Exercise 2.1.

(b) The direction has , so by (20) the directional derivative is

(c) The direction gives a zero directional derivative at every point . Therefore, the parameter–function map is everywhere degenerate. This reflects the fact that the map has a global continuous symmetry: translating along the direction does not change the output.

2.2 Degeneracy and continuous symmetries

A common source of degeneracy in neural network architectures is the presence of continuous symmetries of the parameter–function map. A continuous symmetry traces out a curve of functionally equivalent parameters. The tangent to this curve is a degenerate direction. In this section, we will explore this kind of symmetry and some examples from deep learning.

A symmetry of a parameter–function map is a transformation of parameter space that maps parameters while preserving the implemented function. That is, a transformation is a symmetry if for all , we have ().

A continuous symmetry of a parameter–function map is a family of transformations indexed by a parameter , such that

  1. is a symmetry () for all ,
  2. is the identity transformation on , and
  3. The map is differentiable for each .

The continuous symmetry is trivial at if , or else non-trivial at .

Exercise 2.5 (Continuous symmetry example). Recall the parameter–function map from Exercise 2.4, with and with mapping to the constant function . Consider the family of transformations for such that

(a) Describe the effect of this family of transformations on the parameter space.

(b) Show that this family of transformations is a continuous symmetry.

(c) Show that this continuous symmetry is non-trivial everywhere.

Solution

(a) The transformation translates the parameter by in the direction . The orbit of any parameter under this family is the line , which has slope in the -plane.

(b) We verify the three conditions of a continuous symmetry.

  1. Symmetry: for all and .
  2. Identity: .
  3. Differentiability: is linear in , hence differentiable.

(c) We have for all . In particular, for every . So the symmetry is non-trivial at every parameter.

At each parameter, a non-trivial continuous symmetry traces out a curve of functionally equivalent parameters. This indicates the presence of a direction in parameter space in which the function does not change. The following proposition formalises this connection between continuous symmetries and degeneracy.

Proposition 2.1. If a parameter–function map admits a continuous symmetry that is non-trivial at , then is degenerate at .

Proof

Define the curve in parameter space traced by the continuous symmetry, with . Fix . Since is a continuous symmetry, the derivative along the curve at vanishes:

In particular, at , we have since by identity. Since is non-trivial at , is non-zero, so is a degenerate direction at .

Corollary 2.2. If a parameter–function map admits a continuous symmetry that is non-trivial at every parameter , then is everywhere degenerate.

The following exercises exhibit some continuous symmetries in two neural network architectures, a small ReLU MLP and a toy autoencoder. Similar architectures are studied in more detail from an SLT perspective by Carroll 2021 and Chen et al. 2023 respectively.

Exercise 2.6 (ReLU scaling symmetry). Consider a two-layer MLP (Example 1.4) with , scalar inputs and outputs (), and a single hidden unit (). The parameter space is with parameters , and the parameter–function map is .

(a) Show that is positively homogeneous: for all and .

(b) Define for . Show that is a continuous symmetry of this parameter–function map.

(c) For a fixed parameter , compute the degenerate direction arising from this symmetry at .

(d) Show that the symmetry is trivial at the origin. Is this parameter–function map degenerate at the origin?

Solution

(a) We consider three cases. If , then (since ), so . If , then . If , then , so .

(b) We verify the three conditions.

  1. Symmetry: using positive homogeneity with ,
  1. Identity: .
  2. Differentiability: is smooth.

(c) The degenerate direction at is

Since , we have , so this is a non-zero degenerate direction.

(d) At , we have , so the symmetry is trivial.

The parameter–function map is nonetheless degenerate at the origin. Both partial derivatives of vanish there:

Since , every direction is degenerate at the origin. This degeneracy is not explained by the scaling symmetry.

Exercise 2.7 (Rotation symmetry in a linear autoencoder). Consider a linear autoencoder with bottleneck dimension and ambient dimension . The parameter space encodes a single matrix and the parameter–function map sends to the function where

for . Here, serves simultaneously as encoder () and decoder ().

(a) Show that for any orthogonal matrix (i.e., any matrix such that ), the map is a symmetry.

(b) Specialise to . Using the rotation matrices

show that defines a continuous symmetry.

(c) For a fixed parameter , compute the degenerate direction that arises from this symmetry.

(d) For general bottleneck dimension , how many independent continuous symmetries does the orthogonal group contribute?

Hint

What is the dimension of ?

Solution

(a) For orthogonal (i.e. ),

(b) We verify the three conditions.

  1. Symmetry: is orthogonal for all , since

So by part (a). 2. Identity: , so . 3. Differentiability: the entries of are smooth functions of (they involve and multiplied by entries of ).

(c) The degenerate direction at is

We compute

Writing where are the two rows, the degenerate direction is the matrix

which swaps the two rows and negates one. This direction is non-zero whenever .

(d) The orthogonal group consists of all matrices satisfying . This constraint comprises independent scalar equations (the entries of the symmetric matrix on and above the diagonal). Since has entries, the dimension of is

Each independent direction in at the identity gives rise to a one-parameter continuous symmetry and hence a degenerate direction at each . These directions are the skew-symmetric matrices (satisfying ), since differentiating at gives . The space of such matrices has dimension (the entries strictly above the diagonal are free, and the rest are determined).

So contributes independent continuous symmetries. For this gives , matching the single rotation symmetry from part (b).

2.3 Localised degeneracy

We have seen that a non-trivial continuous symmetry traces out curves of functionally equivalent parameters throughout the entire parameter space, and the tangent directions to these curves are degenerate directions at every point. However, not all degenerate directions arise from globally continuous symmetries. In fact, the more interesting case is when degeneracy affects only some parameters and not others.

Within certain subsets of parameter space, many neural network architectures (including those studied in Exercise 2.6 and 2.7) exhibit degenerate directions that cannot be defined in terms of continuous transformations that are globally symmetries. In this section, we explore localised degeneracies of this kind.

We begin with some examples of transformations that are only continuous symmetries within certain subsets of parameter space.

Exercise 2.8 (Localised symmetry example). Recall the parameter–function map from Exercise 2.3, with and with mapping to the constant function . Consider the two families of transformations for such that

(a) Describe the effect of each family of transformations on the parameter space.

(b) In which subset of parameter space does each family of transformations constitute a symmetry for all ?

(c) Compare your results to your answer to Exercise 2.3(d).

Solution

(a) translates along the -axis: it shifts the first coordinate by while leaving the second fixed. translates along the -axis.

(b) is a symmetry at for all if and only if for all , i.e., for all . This simplifies to for all , which requires . So is a symmetry when restricted to the -axis .

Similarly, is a symmetry when restricted to the -axis .

(c) From Exercise 2.3(d), the coordinate directions and are degenerate precisely on the coordinate axes: is degenerate on and is degenerate on . This matches exactly: the axis is where the -translation symmetry acts, providing the degenerate direction , and the axis is where the -translation symmetry acts, providing .

The above example is technically a two-layer DLN with . Let us now explore localised degeneracy in a general two-layer DLN and then in a non-trivial MLP.

Exercise 2.9 (Degeneracy in the two-layer DLN). Consider the two-layer DLN from Example 1.3, with . The parameter space encodes two matrices , and the parameter–function map sends to the function such that for .

(a) Let be a unit perturbation in parameter space (a unit vector in the underlying parameter space , decoded into a pair of matrices). Show that the directional derivative of the parameter–function map at in direction is the linear map

That is, .

Hint

Use the limit definition, (20).

(b) Show that at the zero parameter , every direction in parameter space is degenerate. Count the number of dimensions in the subspace of degenerate directions.

(c) Suppose both and are invertible. Show that is a degenerate direction if and only if . Count the number of dimensions in the subspace of degenerate directions.

(d) Now consider the general case. Fix and , and let and . Show that the dimensionality of the space of degenerate directions is

Hint

The following is a guide to one possible approach.

  1. Describe the image of the linear map sending to in terms of the row space of . Show that the dimensionality of this image (the rank of the linear map ) is .
  2. Similarly, describe the image of the linear map sending to in terms of the column space of . Show that dimensionality of this image (the rank of the linear map ) is .
  3. Describe the intersection of the images of in terms of the row/column spaces of . Show that the dimensionality of this intersection is .
  4. Consider a third linear map, , sending to . Describe the image of this linear map in terms of those of and . Compute the rank of this linear map using Grassmann's identity.
  5. What is the nullity of ? Why is this the same as the dimensionality of the space of degenerate directions?

Alternatively: substitute singular value decompositions and into the degeneracy condition , and change variables to absorb the orthogonal factors. The condition becomes an equation between two diagonally-scaled matrices, whose solutions can be counted entry by entry.

Solution

(a) Encoding and as vectors in the underlying parameter space , the directional derivative is

Expanding the matrix product:

Subtracting , dividing by , and taking gives

(b) At , part (a) gives for every and every . Every non-zero direction is therefore degenerate. The subspace of degenerate directions is the entire parameter space , which has dimension .

(c) By part (a), is a degenerate direction if and only if , that is, . Since is invertible, right-multiplying by gives . Since is free and is uniquely determined, the subspace of degenerate directions has dimension .

(d)

  1. The -th row of is , a linear combination of the rows of . Therefore the image of consists of all matrices whose rows lie in the row space of . Each of the rows can be any vector in the -dimensional row space, so .
  2. Similarly, the -th column of is , a linear combination of the columns of . The image of consists of all matrices whose columns lie in the column space of , and .
  3. A matrix lies in if and only if its rows lie in the row space of and its columns lie in the column space of . Such a matrix can be written as where has columns spanning the column space of and has rows spanning the row space of , with free. The dimensionality of this intersection is therefore .
  4. The image of is , since for any we have , and conversely any element of can be realised by choosing appropriate and . By Grassmann's identity,
  1. By the rank–nullity theorem, the nullity of is

The kernel of is exactly the set of such that , which by part (a) is precisely the subspace of degenerate directions.

Alternative solution to (d), via the SVD. Take singular value decompositions and , where are orthogonal and are diagonal with non-negative entries, ordered so that the non-zero entries of and the non-zero entries of come first. By part (a), is a degenerate direction if and only if . Change variables by the linear map

so that and . This map is invertible, so it preserves the dimensionality of subspaces, and we may count degrees of freedom in the new variables. Substituting,

using orthogonality () in the second step and invertibility of and in the third.

It remains to count the dimensionality of the space of pairs satisfying . Write for the -th diagonal entry of and for the -th diagonal entry of . Multiplying by a diagonal matrix on the left scales rows, and on the right scales columns, so entry of the equation reads

Each such equation involves only the pair of entries , and each pair appears in exactly one equation, so the system decouples into independent cells. The picture is as follows: the bottom rows of and the rightmost columns of vanish identically, so a cell in their overlap yields the trivial equation , while every other cell yields one non-trivial constraint.

diagram

Concretely: the equation for cell is trivial if and only if , that is, and , leaving both entries free (two degrees of freedom); there are such cells. Every other cell imposes one non-trivial linear constraint on , leaving one degree of freedom; there are such cells. The dimensionality of the space of degenerate directions is therefore

Exercise 2.10 (Redundant units in an MLP). Consider a single-hidden-layer MLP with scalar inputs and outputs, hidden units with activation function , and an output bias. The parameter space is with parameters , and the parameter–function map is

Here, for each hidden unit , is the outgoing weight, is the incoming weight, and is the bias. The output bias is .

(a) Suppose (unit  has zero outgoing weight). Show that the directions and are degenerate at .

(b) Suppose (unit  has zero incoming weight). Show that the direction (with all other components zero) is degenerate at .

(c) Suppose and for some (units and have the same incoming weights and biases). Show that the direction (with all other components zero) is degenerate at .

Solution

(a) At , the parameter–function map reduces to

This expression does not involve or at all. Therefore is constant in the and directions at this point, so and . Both are degenerate directions.

Note that this argument is purely algebraic, following from the multiplicative structure , and requires no conditions on  (not even continuity or differentiability).

(b) At , unit  computes the constant for all , so

In the direction , we compute

So and this direction is degenerate. Intuitively, increasing scales up the constant contribution to the output, and decreasing by the same amount compensates exactly.

(c) When , units and compute the same activation, so their combined contribution to is

In the direction , this combined contribution changes by . All other terms in are unchanged, so . Again, no conditions on are needed.

Remark (Localised symmetries in neural networks). Each degenerate direction identified in the exercises above corresponds to a localised symmetry: a curve of functionally equivalent parameters that continuously extends only within a subset of parameter space.

  1. In the DLN, the global change-of-basis symmetry for invertible accounts for degenerate directions. These directions are present even when and have full rank. However, as we showed in Exercise 2.9, when or drops rank, additional degenerate directions open up. These extra directions are localised to the rank-deficient region of parameter space.
  2. In the MLP, at a parameter with , the path traces equivalent parameters within (since does not depend on when ), but this does not extend to a symmetry at nearby parameters with . Similarly, at a parameter with , the path transferring weight between units and is a localised version of the sum symmetry from Exercise 2.5.

Remark (Rank of a neural network parameter). In both exercises above, the degree of degeneracy at a parameter is controlled by the amount of redundant capacity in the network. For the two-layer DLN, this is measured by the rank of the product : a rank- linear map can be implemented with a hidden dimension of , leaving dimensions redundant. For a general single-hidden-layer MLP, this idea generalises in that we can define the rank of a parameter as the minimum number of hidden units needed to implement (Farrugia-Roberts 2022; Farrugia-Roberts 2024). In the linear case, this "neural network rank" coincides with the matrix rank of . In both settings, lower rank corresponds to a higher number of degenerate directions.

Remark (Measure zero degenerate sets). When a parameter–function map is degenerate somewhere but not everywhere, it is often the case that it is degenerate only within a measure-zero subset of parameter space. This means that sampling parameters uniformly at random results in a degenerate parameter with probability zero. However, this does not mean that the degeneracies can be dismissed. The learning process applies a non-random selection pressure and may select parameters from a measure-zero set. Moreover, the existence of degenerate parameters can have practical consequences for nearby non-degenerate parameters, and the collective neighbourhoods of all degenerate parameters comprise a non-measure-zero subset of parameter space.

2.4 Degeneracy and information singularities

In the preceding sections, we studied degeneracy as a property of parameter–function maps. In the statistical framework introduced in Subsection 1.3, the fundamental object is instead a parameter–distribution map (). In this section, we extend the definition of degeneracy to parameter–distribution maps and connect it to a classical quantity from statistics, the Fisher information matrix. We will show that under mild regularity conditions on the statistical model, the Fisher information matrix is singular at (has zero eigenvalues) if and only if the parameter–distribution map is degenerate at .

Given a parameter–distribution map , say that is degenerate at in direction if the conditional density does not change to first order:

Here, is not a conditional distribution but a signed difference between conditional distributions, effectively a real function of and (in particular, it may include negative density changes). We mean that this function is zero for all and all .

Equation 21 extends the definition of degeneracy from Equation 19. If is constructed from a parameter–function map via a noise model (as in Subsection 1.3), then degeneracy of at in direction implies degeneracy of at in direction , since depends on only through .

To relate degeneracy to the Fisher information matrix, we introduce two standard definitions.

Definition 2.3 (Score function). Let be a parameter–distribution map with densities that are positive and differentiable in . The score function at is

The directional score in non-zero direction is

The directional score measures how sensitive the log-density is to perturbations of in direction .

Exercise 2.11 (Basic properties of the score function). Let be a parameter–distribution map with positive densities , differentiable in . Assume that for each and , the operations and may be exchanged.

(a) Show that the score function satisfies the following identity: for each , , and ,

(b) Show that the expected score is zero: for each and ,

Hint

Differentiate the identity .

(c) Show that if is degenerate at in direction , then the directional score vanishes identically: for all and .

(d) Show the converse: if the directional score vanishes for all and at , then is degenerate at in direction .

Solution

(a) Since , the logarithm is well-defined and the chain rule gives

The left-hand side is by definition.

(b) Differentiate the normalisation identity with respect to :

By part (a), , so

(c) If , then by the definition of degeneracy (21), for all . By part (a), , so contracting both sides with gives . Since , we conclude for all .

(d) If for all , then by part (a),

for all (using ). That is, .

Definition 2.4 (Fisher information matrix). Let be a parameter–distribution map with score function . Let denote the marginal distribution of inputs. The Fisher information matrix is defined by

The Fisher information matrix is symmetric and positive semidefinite at every (being an expectation of positive semidefinite matrices ). However, the Fisher information matrix may not be symmetric positive definite, that is, it may be singular.

The following exercise shows that singularity of the Fisher information matrix is equivalent to degeneracy of the parameter–distribution map under mild regularity conditions.

Exercise 2.12 (Fisher information and degeneracy). Let be a parameter–distribution map with densities . Assume that for all , , , that is differentiable, and that for all .

(a) Show that for any unit vector ,

(b) Using Exercise 2.11(c), show that if for some non-zero , then is not positive definite.

Hint

Check the definition of positive definite.

(c) Using Exercise 2.11(d), show that if is not positive definite, then there exists a non-zero for which .

Hint

Check the definition of positive definite.

(d) Conclude that

That is, the null space of the Fisher information matrix is exactly the space of degenerate directions of the parameter–distribution map.

Solution

(a) Since is a unit vector, . From the definition of in (26),

(b) If for some non-zero , then by Exercise 2.11(c), for all . Let . Then (the directional derivative is invariant to the magnitude of ), so by part (a), . A matrix is positive definite only if for all non-zero . Since is a non-zero vector with , the matrix is not positive definite.

(c) If is not positive definite, then since is positive semidefinite, there exists a non-zero vector such that . By part (a) (taking to be a unit vector without loss of generality), . Since and and , this implies for all and . By Exercise 2.11(d), .

(d) Parts (b) and (c) show that is positive definite if and only if is non-degenerate at , or equivalently, is singular if and only if is degenerate at .

For the kernel characterisation: clearly . For non-zero , means , which (since is positive semidefinite) is equivalent to . Normalising to , part (a) gives , which as in part (c) implies everywhere. By Exercise 2.11(d), , and hence . Conversely, if for non-zero , then Exercise 2.11(c) gives , so , hence . Therefore .

Remark (Watanabe's strictly singular models). Watanabe 2009 defines a statistical model as strictly singular if either of two conditions hold:

  1. The Fisher information matrix is singular for some .
  2. The parameter–distribution map is not one-to-one, that is, for some such that , we have .

By Exercise 2.12, under mild regularity conditions, the first condition is equivalent to our notion of (somewhere) degeneracy. The second condition is called non-identifiability.

Watanabe 2007; Watanabe 2009 observes that many of the results from classical statistics crucially assume among their regularity conditions the parameter–distribution map is identifiable and the Fisher information matrix is nonsingular. Whereas, in a statistical model based on a non-trivial neural network (or any other statistical model involving hierarchical structure), it is typical for the Fisher information matrix to include singularities.

2.5 Degeneracy and the loss landscape

In the preceding sections, we studied degeneracy as a property of parameter–function maps and parameter–distribution maps. We now consider the implications of degeneracy in these maps for the loss landscape in which deep learning algorithms operate.

Recall the definitions of loss functions from Section 1. In what follows, we assume that the per-example loss depends on only through , and work with the population loss . For statistical models, we use the expected negative log likelihood as our loss function. In either case, we assume that is twice-differentiable with respect to .

Let us begin with some basic observations about the relationship between degeneracy in parameter–function maps and directional derivatives in the loss landscape.

Exercise 2.13 (Directional derivatives of the loss). Let be a population loss function satisfying the assumptions described above.

(a) Show that if is degenerate at in direction , then the directional derivative of the loss vanishes in the same direction: .

(b) Suppose . Show that if , then for any , there exists a nonzero such that .

Hint

consider separately the cases and .

Solution

(a) Since depends on only through , we can write for some functional . If , then as , and therefore . Taking expectations over ,

so .

(b) If , then for every nonzero .

If , the orthogonal complement has dimension (since ). Pick any nonzero . Then .

We see that parameter–function map degeneracy implies flat loss directions, but a vanishing directional derivative of the loss landscape is commonplace. To find a satisfying definition of degeneracy in a loss landscape, we must look at second-order information.

Define the Hessian matrix of the loss at by

The Hessian at is sometimes denoted . The Hessian captures the local curvature of the loss landscape via the quadratic approximation

At a critical point (), the Hessian determines whether the loss curves upward, downward, or remains flat in each direction.

In particular, at a local minimum, is positive semidefinite. We can therefore classify local minima as follows:

  • A local minimum is regular (or non-degenerate, or Morse) if is positive definite.
  • A local minimum is degenerate (or non-Morse) if is singular (has a zero eigenvalue).

Exercise 2.14 (Some examples of loss landscape degeneracy). Consider the parameter space with the identity parameter–function map , so that we identify parameters with the functions they implement (cf., Exercise 2.1). Consider the family of loss functions for non-negative integers and .

(a) Show that the origin is a global minimum of for all non-negative and . For which and is it the unique global minimum?

(b) Show that if , then the origin is a non-degenerate (regular) minimum.

Hint

Compute the Hessian.

(c) Show that if and , then the origin is a degenerate minimum.

(d) Show that if and , then the origin is a degenerate minimum.

Solution

(a) Since and for all (using the convention ), we have for , if or , and if . At the origin, , which equals if and , equals if exactly one of is , and equals if . In each case this matches the lower bound, so the origin is a global minimum.

The origin is the unique global minimum if and only if and : then requires both and , forcing . If , then for all , so the entire -axis achieves the minimum. Similarly if . If , then all parameters achieve the minimum.

(b) For : . The Hessian at the origin is

which is positive definite. The origin is a non-degenerate minimum.

(c) For and : . At the origin, since , so this entry vanishes. The Hessian at the origin is therefore

which has a zero eigenvalue (from the first diagonal entry) regardless of the value of the second. The origin is a degenerate minimum.

(d) For and : . Since is independent of , both and vanish identically. The Hessian at the origin has a zero first diagonal entry, so it is singular. The origin is a degenerate minimum.

Note that the Hessian degeneracy in Exercise 2.14(c) and 2.14(d) arise for qualitatively different reasons. In Exercise 2.14(d), the loss is constant along the -direction to all orders—a genuinely flat direction. In Exercise 2.14(c), the loss does increase along the -direction, just more slowly than quadratically (as , , etc., depending on ). Moreover, different values of give different rates of increase. The Hessian cannot distinguish any of these cases: flat, quartic, and so on all appear the same from the perspective of the Hessian rank. We will later see approaches that can distinguish these degrees of degeneracy.

So much for defining loss landscape degeneracy. What is the relationship between this kind of degeneracy and degeneracy of the parameter–function/distribution map?

The relationship is subtle, and generally depends on the choice of loss function. One natural setting in which to study this relationship is the realisable statistical model: given a parameter–distribution map and a parameter , if we consider as the true data-generating distribution, the population negative log-likelihood loss will have a global minimum at . The following exercise shows that in this setting, under mild regularity assumptions on the statistical model, degeneracy in the parameter–distribution map at implies that the global minimum is a degenerate global minimum of the loss landscape.

Exercise 2.15 (Realisable models and Hessian degeneracy). Let be a parameter–distribution map with positive densities , twice-differentiable in . Suppose data is generated from a fixed true parameter , meaning . Consider the population negative log-likelihood loss

Assume that for each , the operations (and ) and may be exchanged.

(a) (Bartlett identity.) Show that for each and ,

where is the score function from Definition 2.3.

Hint

differentiate the identity (established in Exercise 2.11) with respect to .

(b) Show that the Hessian of at the true parameter equals the Fisher information matrix (Definition 2.4):

Hint

compute , evaluate at , and apply part (a).

(c) Using the result of Exercise 2.12, conclude: if is degenerate at in direction , then . Contrapositively, if is positive definite, then is non-degenerate at .

Solution

(a) From Exercise 2.11, for each component of the score, where . Differentiating with respect to and exchanging the derivative with the integral:

Using the score identity (24), the second integral becomes . Therefore

Assembling all components into a matrix gives

(b) The population negative log-likelihood is . Taking the Hessian with respect to (exchanging differentiation and integration):

At , the inner expectation is over , which matches the distribution in the Bartlett identity. Applying part (a):

(c) By Exercise 2.12, . Since , if is degenerate at in direction , then , so .

Contrapositively: if is positive definite, then , so , and is non-degenerate at .

Exercise 2.15 shows that for the population negative log-likelihood at the true parameter, degeneracy of the parameter–distribution map implies a degenerate loss landscape. The converse does not hold in general, nor does the forward direction hold at arbitrary points in parameter space. The following exercise explores these subtleties through examples.

Exercise 2.16 (Contrasting parametric versus loss degeneracy). (a) Observe that the identity parameter–function map on is non-degenerate everywhere. With this in mind, what do your answers to Exercise 2.14(b), 2.14(c) and 2.14(d) exemplify about the logical relationship between parameter–function map degeneracy and loss landscape degeneracy?

(b) Consider again the identity parameter–function map on . Consider the loss function . Find a global minimum of and show that it is a degenerate critical point. What does this example reveal about the logical relationship between parameter–function map degeneracy and loss landscape degeneracy?

(c) Now consider the cubic parameter–function map .

  1. Argue that is degenerate at the origin (cf., Exercise 2.2).
  2. If we take from Exercise 2.14 to be defined on the constant function (rather than equivalent underlying parameter), then in this parameterisation, that loss function becomes . Show that the origin is a degenerate minimum of for all and under this parametrisation.
  3. What does this example reveal about the logical relationship between parameter–function map degeneracy and loss landscape degeneracy?

(d) Consider the product parameter–function map from Exercise 2.3, and define .

  1. Show that is a critical point and that is degenerate in every direction at .
  2. Compute the Hessian at and show it is nonsingular.
  3. What does this example reveal about the logical relationship between parameter–function map degeneracy and loss landscape degeneracy? Why does this not contradict Exercise 2.15?
Solution

(a) The identity parameter–function map has Jacobian equal to the identity matrix everywhere, so it is non-degenerate at every point. Exercise 2.14(b) shows that has a non-degenerate minimum: absence of parameter–function map degeneracy is consistent with absence of loss landscape degeneracy. Exercise 2.14(c) and 2.14(d) show that , , etc., have degenerate minima despite the parameter–function map being non-degenerate. This demonstrates that loss landscape degeneracy does not imply parameter–function map degeneracy.

(b) , with equality if and only if . So every point on the unit circle is a global minimum. Consider . The gradient is

which vanishes at . The Hessian entries at are:

So , which is singular. Therefore, is a degenerate minimum.

This provides another example of loss landscape degeneracy without parameter–function map degeneracy: the identity parameter–function map is non-degenerate, but the circle of global minima creates a flat tangential direction.

(c)

  1. The map is the product of two copies of the cubic parametrisation from Exercise 2.2. In each component, the derivative vanishes at . Therefore both coordinate directions are degenerate at the origin, and hence every direction is degenerate at the origin (since the Jacobian is the zero matrix there).
  2. In the new parametrisation, the loss becomes .

If and : the exponents and are both at least , so (since ), and similarly for . The Hessian at the origin is the zero matrix, which is singular.

If : , which is independent of , so the Hessian has a zero first diagonal entry. Similarly if . In all cases, the origin is a degenerate minimum. 3. Under the identity parameter–function map, had a non-degenerate minimum at the origin (Exercise 2.14(b)). Under the cubic parameter–function map, the same loss became , which has a degenerate minimum at the origin. This shows that introducing degeneracy into the parameter–function map can convert a non-degenerate minimum into a degenerate one.

For other , was already degenerate at the origin under the non-degenerate parameterisation, the cubic function only makes it more degenerate (in terms of the order to which the loss vanishes in the degenerate direction(s); we will formally quantify this in Section 3).

(d)

  1. The gradient is . At : . So is a critical point.

The Jacobian of is , which at is . Every direction gives , so is degenerate in every direction at . 2. Computing second partial derivatives:

At :

which has determinant (eigenvalues ). The Hessian is nonsingular. 3. Despite full degeneracy of the parameter–function map at , the Hessian is nonsingular (in fact indefinite, so is a saddle point, not a local minimum). This shows that parameter–function map degeneracy does not in general imply loss landscape degeneracy.

This does not contradict Exercise 2.15, which establishes at the true parameter , meaning must equal the target. Here, , so is not the true parameter, and the identity does not apply.

3. The degeneracy hierarchy

We have so far explored different kinds of qualitative degeneracy in the loss landscape. A natural question arises: how can we quantify the degree of degeneracy at a particular point in parameter space? In this section, we introduce the local learning coefficient, a rich mathematical object that reflects the degree of degeneracy at a parameter, and we explore it from several perspectives.

In this section and Section 4 we assume that any population loss is a real analytic function. The precise definition of real analyticity is not important for this tutorial but interested readers can refer to (Watanabe 2009) (section 2). A property that will be useful is that such functions have a convergent Taylor expansion, in particular they have smooth derivatives of all orders.

3.1 The local learning coefficient via volume scaling asymptotics

The key idea is to measure the volume of near-optimal parameters. Consider a local minimum of the population loss , and suppose we have a sufficiently small closed ball centred on such that for all . Given a tolerance , define the sublevel set

consisting of all parameters in the ball whose loss is within of the minimum. The volume of this set is

We will look at how this volume scales as . It will be instructive for us to first calculate this scaling in the non-degenerate case.

Exercise 3.1 (Volume scaling in the regular case). Let be a local minimum of , and suppose that the Hessian is positive definite. Show that

for some constant where . You may assume that, as , the volume of agrees to leading order with the volume of the quadratic approximation obtained by replacing with its second-order Taylor expansion at .

Hint

The volume of the ellipsoid is proportional to .

Solution

Because is a local minimum, the gradient is zero. By Taylor's theorem, we can write the loss function near exactly as:

where is the strictly positive definite Hessian matrix.

The sublevel set is defined by the condition . As , the neighborhood of parameters that satisfy this condition shrinks toward . In this limit, the higher-order error term becomes negligible, and the boundary of the sublevel set is governed entirely by the quadratic form:

We can rewrite this inequality into the standard form of an ellipsoid, , by dividing both sides by :

Using the hint, the volume of a -dimensional ellipsoid defined by a matrix is proportional to . Here, our matrix is .

Therefore,

Because the true loss function deviates from this pure quadratic form only by an error of , the volume of the true sublevel set deviates from the ellipsoid's volume only by a correspondingly higher-order error term. Thus, we conclude:

The key takeaway from this exercise is that the dimension of the model controls the leading order asymptotics of the volume scaling. We can investigate this further by calculating the volume scaling in an example where the Hessian is not positive definite.

Exercise 3.2 (Quadratic Valley Volume Scaling). Let for some (large) and let .

(a) Sketch the loss landscape when .

(b) achieves its minimum value at multiple points in . What is the dimension of the space ?

(c) Calculate the Hessian of .

(d) Prove that

Hint

Use the volume of the ellipsoid from Exercise 3.1

Solution

(a) The loss is , which is a parabolic trough: a parabola in the direction and constant along . The zero set is the line .

(b) , which is a -dimensional affine subspace of . Hence .

(c) Since , the partial derivatives are

So the Hessian is the block diagonal matrix:

which has rank . In particular it is positive semi-definite but not positive definite whenever .

(d) The minimum of is , achieved on . For any and , the sublevel set is

for sufficiently large (specifically ). The condition can be rewritten as where . By the ellipsoid volume formula from Exercise 3.1, the volume of this region is proportional to . Multiplying by the volume of the remaining coordinates gives .

In this example, the degenerate directions do not contribute to the leading exponent of . We see that the exponent from Exercise 3.1 is replaced with where is the codimension of i.e. the effective dimension of which ignores the degenerate directions. This suggests that we can capture information about the degree of degeneracy of a loss function by looking at how the volume scales as . (Watanabe 2009) proves a general form for this kind of volume scaling which has been adapted by (Lau et al. 2025) into the following definition.

Definition 3.1 (Local learning coefficient). Let be a local minimum of the population loss . There exists a unique rational number , a positive integer , and a constant such that as ,

We call the local learning coefficient (LLC) at , and the local multiplicity.

Exercise 3.3 (Two equations for ). (a) Prove that for

(b) Prove that

Solution

(a) From Definition 3.1, as ,

Substituting ,

Taking the ratio,

As , , and

Therefore . Taking logarithms and dividing by gives the result.

(b) From Definition 3.1, , so

Dividing by

It remains to prove that the final two terms in this sum vanish as . The final term tends to since and the numerator is bounded as . Now we look at the middle term which is proportional to

completing the proof.

Note that from equation (36) we already have that the LLC and local multiplicity in the regular case are ,

When , the formula simplifies to which allows us to interpret as the volume scaling exponent: increasing the error tolerance by a factor of increases the volume of near-optimal parameters by a factor of .

Exercise 3.4 (Calculating the LLC). Calculate the LLC and the rank of the Hessian at the global minimum in the following cases:

(a)

(b)

(c)

(d)

Solution

(a) , so and . The Hessian is , which has rank (full rank).

(b) , so . For , the first derivatives vanish at , so the Hessian is , which has rank . Since , the singularity makes the model effectively simpler than its parameter count suggests.

(c) The sublevel set is . Substituting , :

so . The Hessian at the origin is , which has rank .

(d) The sublevel set is . For each fixed with , ranges over . Substituting :

so . The Hessian is , which has rank .

Exercise 3.5 (Upper bound on the LLC). In Exercise 3.1, we saw that for regular models. In this exercise, you will prove directly from the volume scaling definition that for any local minimum of the population loss, the local learning coefficient satisfies .

(a) Let be an upper bound on the eigenvalues of the Hessian for all . Using the Lagrange remainder form of Taylor's theorem, show that for all ,

Hint

for any real symmetric matrix and vector , where is the largest eigenvalue of .

(b) Consider the standard Euclidean ball of radius centred at , denoted . Find a radius (as a function of and ) such that for sufficiently small ,

(c) Recall that the volume of a -dimensional Euclidean ball of radius is proportional to . Use your result from part (b) to show that there exists a constant such that for sufficiently small ,

(d) Conclude that .

Solution

(a) Since is a local minimum of , we have . By Taylor's theorem with Lagrange remainder, for any there exists on the line segment between and such that

Since , the eigenvalues of are bounded above by , so

Combining, .

(b) Set . Set sufficiently small that . If , then , so by part (a),

Hence , and therefore .

(c) Since ,

for some and . This holds for all sufficiently small (i.e. small enough that ).

(d) From part (c), for sufficiently small (w.l.o.g. assume ). Taking logarithms,

Dividing by (since ) reverses the inequality:

Since as , taking the limit and using Equation (39) gives

We have now shown that the LLC satisfies , with equality precisely in the regular (non-degenerate) case. It is also possible (although quite fiddly) to prove that where and as we will see in the next exercise, the LLC captures more information about the geometry than just the Hessian rank.

Exercise 3.6 (LLC vs Hessian Rank). In this exercise we will show that the LLC can detect differences in the local geometry that is not reflected in the rank of the Hessian.

Construct two loss functions and with minima and respectively such that but .

Solution

Let with . Then , so . By Exercise 3.4, .

Let with . Then , so . The minimiser locus is , which is the setting of Exercise 3.2 with , giving .

Both Hessians have rank , but . The difference is that the flat direction in is exactly flat (the minimisers form a line), while in it is only flat to second order but quartic beyond that. The LLC detects this distinction; the Hessian rank does not.

Exercise 3.7 (The cubically-parameterised loss). We can make a quadratic loss degenerate by changing the parameterisation. Let the cubically-parameterised loss be

obtained from the ordinary quadratic loss via the reparameterisation , .

(a) Show that the cubically-parameterised loss is just as expressive as the ordinary quadratic loss: that is, they both have the same set of achievable minima.

(b) Compute the Hessian to show that the loss is degenerate at its minimum when , and non-degenerate when .

(c) Give an explicit formula for when and separately.

(d) Use your answer to part (c) to find the learning coefficient for and for . Given that the model is non-degenerate when , we expect the learning coefficient to be in that case; compare your answer. How does the cubically-parameterised loss at differ from the ordinary quadratic loss?

(e) Instead of taking to get the learning coefficient, fix a small but nonzero value for , such as . Plot as a function of . As we saw from (d), the learning coefficient changes discontinuously when —what happens with as gets close to zero? What changes if you make smaller or larger?

Even though the asymptotic learning coefficient () only changes when exactly, note how the non-asymptotic volume ( finite) is affected in a larger neighbourhood.

Solution

(a) The cubically-parameterised loss vanishes if and only if , i.e. (since is a bijection on ). The ordinary quadratic loss vanishes if and only if . Since for every we can write for a unique , both losses achieve their minimum value of zero at exactly the same set of "targets" , so the set of achievable minima is the same.

(b) Computing derivatives:

At the minimum : .

  • If : , so the Hessian vanishes and the loss is degenerate at its minimum.
  • If : , so the loss is non-degenerate.

(c) We compute in each case.

Case . When the loss simplifies to , so

Case . The sublevel set condition is , i.e.

Since the cube root is monotone on , this is equivalent to

and therefore

(d) Case : , so .

Case : For small we expand by factoring out :

Applying the binomial expansion to each term with , the constant terms cancel and the linear terms add:

In the non-degenerate case , we recover the regular value as expected. In the degenerate case , : the singularity at (where the loss vanishes to sixth order rather than second order) makes the model effectively simpler than its parameter count suggests.

(e) From part (c), for fixed we plot

The function is a smooth, symmetric bump centred at with no discontinuity. Making smaller narrows the bump and lowers the peak; making larger widens it. Despite the learning coefficient jumping discontinuously from to at exactly, the finite- volume transitions smoothly, with the singularity's influence confined to a neighbourhood that shrinks as .

3.2 Perspectives on the local learning coefficient

In this section, we survey several alternative perspectives on the LLC, from information theory, algebraic geometry, and geometric measure theory.

Information-theoretic interpretation.

The LLC also admits a natural interpretation in terms of information (Lau et al. 2025). The number of bits needed to specify the sublevel set within the ball is

For small and , this is approximately . In particular, the number of additional bits needed to halve an already small error tolerance from to is

That is, the LLC measures the number of bits required to halve the error near .

Local learning coefficient via algebraic geometry.

We explore an algebro-geometric perspective on the learning coefficient due to Watanabe 2009. Note that this section is more advanced than the remainder of this tutorial, and should be considered optional. When is a real analytic function, Hironaka's resolution of singularities theorem guarantees the existence of a smooth map from an analytic manifold and local coordinates that monomialise the loss near :

where is smooth and the exponents are non-negative integers. In these coordinates, the volume integral can be evaluated explicitly, yielding the asymptotic form of Definition 3.1 and giving

The resolution map is far from unique, and different choices produce different exponents . is nevertheless well-defined which can be seen from (another) equivalent definition using the local zeta function:

which converges for and extends to a meromorphic function on whose poles are all real, negative, and rational. The LLC is precisely the negative of the largest pole, and the multiplicity is the multiplicity of this pole. Since (44) makes no reference to any resolution, depends only on and .

In the algebraic geometry literature, is called the real log canonical threshold (RLCT) of at . We collect several consequences of this perspective.

  1. The fact that the LLC is a rational number follows directly from equation (43).
  2. Equation (43) suggests that we can compute analytically by constructing an explicit resolution of singularities for and reading off the exponents. This is difficult in practice for neural network loss functions, but has been achieved for some architectures, as we will see in Subsection 3.3.
  3. In Section 4 we will state Watanabe's free energy formula connecting the Bayesian free energy to the LLC. The proof of this result makes repeated use of the monomialisation of the loss.

Exercise 3.8 (Computing the LLC via the RLCT). Suppose that near , where are integers with at least one . Show that

Solution

The loss is already in monomial form, so the identity map serves as a (trivial) resolution of singularities with , i.e. for all . Substituting into (43) gives

Local learning coefficient as a fractal dimension.

The LLC admits a geometric interpretation: it is a fractal dimension of the parameter space, as measured through the lens of the loss function. To make this precise, we recall a standard notion from fractal analysis.

Definition 3.2 (Hölder exponent). Let be a (pseudo-)metric space and a measure on . The Hölder exponent (or local dimension) of at a point is given by

where is the ball of radius centred at . Equivalently, is the unique real number such that

The Hölder exponent generalises the notion of dimension: when is the Lebesgue measure on and is the Euclidean metric, every point has , but for measures concentrated on fractal sets the exponent can be non-integer. Notice that the formula (45) has a similar form to the definition of the local learning coefficient (38). To make this connection precise, we introduce a pseudo-metric induced by the loss function.

Definition 3.3 (Loss pseudo-metric). The loss pseudo-metric on is defined by

Remark. is only a pseudo-metric as the distance between two distinct points can be zero.

Under this pseudo-metric, the sublevel set (34) is precisely the -ball around :

so .

Exercise 3.9 (Holder exponent and learning coefficient). Let be the Hölder exponent of the Lebesgue measure on at under the loss pseudo-metric. Show that

Solution

Under the loss pseudo-metric , the -ball centred at (within ) is

Since is a local minimum and on , this simplifies to , the sublevel set from (34). In particular, where is Lebesgue measure.

The Holder exponent is therefore

by Equation (39)

3.3 Local learning coefficients of deep linear networks

Having established the local learning coefficient as a measure of degeneracy in the loss landscape, we now compute it explicitly for the two-layer deep linear network introduced in Section 1. In Section 2, we saw that DLN parameters exhibit varying degrees of degeneracy depending on the ranks of the component matrices (Exercise 2.9, Remark 2.2). The LLC makes this hierarchy quantitative: different ranks correspond to different learning coefficients, confirming that lower-rank parameters are geometrically "simpler."

Consider the two-layer DLN with and , so the parameter space is . Suppose the true input–output relationship is where , , and , and consider the population loss

where has full-rank covariance. The set of minima of this loss function is . Aoyagi & Watanabe 2005 derived an exact formula for the learning coefficient at these minima.

Theorem 3.4 (Aoyagi & Watanabe 2005). For the two-layer DLN with , , and true parameter with , at any minimum the local learning coefficient and its multiplicity are given by the following cases:

  1. If , , and :

    1. If is even, then and
    1. If is odd, then and
  2. If , then and .

  3. If , then and .

  4. If , then and .

Exercise 3.10 (Learning coefficients of two-layer DLNs). Consider the constant-width two-layer DLN from Exercise 2.9: , where are the inputs, are the outputs, and are linear transformations. The parameter space is and the parameters are the pair .

(a) Aoyagi & Watanabe do not assume the network is constant-width, like we do. Simplify their formula for using this assumption.

(b) How does the learning coefficient depend on , the rank of ? Compare with the results of Exercise 2.9(d).

(c) How does compare with the effective parameter count of a regular model? What does this tell us about the role of singularities in the two-layer DLN?

Solution

(a) We first check which case of Theorem 3.4 applies. Setting , the three conditions of Case 1 each reduce to , i.e. , which always holds. So we are always in Case 1. The parity condition is on , which has the same parity as .

Case 1(a): even. Setting in the formula:

with .

Case 1(b): odd. The same calculation gives

with .

(b) Differentiating with respect to :

so is increasing in therefore lower rank lower . This is consistent with Exercise 2.9(d) where we saw that at lower-rank parameters, more directions in parameter space are degenerate.

(c) The parameter space is , so the regular-model baseline is . At full rank :

which is already half the regular-model value. At rank :

even smaller. In fact for every rank .

This tells us that the two-layer DLN is singular at every point in its loss landscape, even at full-rank parameters.

4. Degeneracy and Bayesian deep learning

In Section 2 and 3, we studied the geometry of degeneracy in parameter space and introduced the local learning coefficient as a measure of the degree of degeneracy at a local minimum . We now show that this geometry has consequences for learning (in the Bayesian setting). In particular, it creates a trade-off between model fit and model complexity that drives learning, providing a mechanism for internal model selection.

4.1 Watanabe's free energy formula

Recall the Bayesian learning setup from Subsection 1.4. We have a parameter–distribution map sending each parameter to a conditional distribution with density , a smooth positive prior on , and a data set of i.i.d. examples from a data distribution . Take the loss function to be the negative log-likelihood

The posterior is given by Bayes' rule (13) and as we saw in Exercise 1.7 and 1.8 it concentrates around regions of parameter space with the lowest local free energy (Definition 1.6).

We now state one of the main results of SLT: an asymptotic expansion of as . Under certain technical assumptions on the statistical model (Watanabe 2018; see Lau 2025, § 2.3.1 for a summary), we have the following theorem.

Theorem 4.1 (Local free energy formula). Suppose contains at least one minimiser of , and let be any such minimiser. Define as the smallest local learning coefficient among all minimisers in , and let be the maximum local multiplicity associated with . Then, as ,

Remark. Since is a random variable, so is . The expansion Equation 49 is an asymptotic statement about random variables where the remainder denotes a term that is bounded in probability as .

To understand what this expansion tells us about Bayesian learning, note that the two leading terms of this expansion have transparent interpretations:

Let be minimisers of the population loss with and . Then for fixed large , the free energy of a neighbourhood of is smaller than that of , so the posterior concentrates around the simpler solution .

This is an example of internal model selection where there are two equally good solutions that minimise the population loss. However, our learning algorithm (Bayesian updating) prefers one solution over the other, in particular the one with lower complexity.

Remark (Regular models and the BIC). When the Hessian is non-degenerate, and by Exercise 3.1. The free energy formula then reduces to , recovering the Bayesian Information Criterion from classical statistics.

Exercise 4.1 (Numerical demonstration of the free energy formula). Consider the statistical model underlying the cubically-parameterised loss from Exercise 3.7. The parameter indexes the family of normal distributions

Suppose the true distribution is

for some fixed , and equip the model with a standard normal prior

[Note: The following exercises are intended to be attempted with a numerical programming framework such as Python or Julia, rather than by hand.]

(a) For , numerically compute the free energy for many values of between and . Compare the computed values against the asymptotic estimate , using the value of from Exercise 3.7(d).

(b) Repeat part (a) with .

(c) Repeat part (a) with . Note that , so asymptotically , as in part (b). However, observe how for moderate the free energy behaves more like part (a) than part (b). This is another manifestation of the phenomenon from Exercise 3.7(e): the effects of the singularity at extend into a neighbourhood around it.

Solution

This exercise is computational. We outline the procedure and key observations.

The model is with prior and true distribution .

For each , sample and compute

the then set .

The empirical loss is

(a) For , the LLC is (Exercise 3.7). Plot against and compare with the asymptotic estimate . For large , the two curves should agree up to an offset: should stabilise around a constant.

(b) For , the LLC is (regular case). The asymptotic estimate is .

(c) For , the asymptotic LLC is (since ). However, the minimum of is at , very close to the singularity at where . For moderate , the posterior is spread broadly enough that it "feels" the nearby singularity, and behaves more like the regime from part (a). Only for sufficiently large does the posterior concentrate tightly enough around for the regular asymptotics to take hold. This demonstrates that the singularity at influences learning even when , provided is close to the singular point.

4.2 Bayesian phase transitions

So far we have looked at the consequence of the free energy formula when considering to be fixed. However, we also find it interesting to see what it tells us about changes in the posterior as increases.

For the rest of this section, assume is sufficiently large that (i) the free energy can be approximated by the first two terms in its expansion, and (ii) by the law of large numbers, so that the empirical loss can be treated as approximately constant in .

Consider two disjoint regions , containing minimisers and of the population loss with local learning coefficients and respectively. Applying the free energy formula to each region, the log posterior odds between the two regions satisfy

where and .

Consider the case when one region is more accurate but more complex than the other i.e.

Then and , so the two terms in (50) have opposite signs. For smaller , the term dominates so the log posterior odds is negative meaning the posterior prefers (the simpler, less accurate region). As increases, the linear term eventually dominates the logarithmic term, and the posterior shifts to prefer (the more complex, more accurate region). Setting the leading terms equal, this change occurs at a critical sample size satisfying

At , the posterior undergoes a Bayesian phase transition: the region that dominates the posterior changes abruptly.

Exercise 4.2 (Exploring phase transitions). We show how phase transitions can occur when different local free energies change at different rates.

(a) Suppose we partition the overall parameter space into a disjoint union . Denote the overall free energy by and the local free energies by and , respectively. Show that the relationship

holds.

(b) Suppose and . Plot the overall free energy . Compare against . What happens around ?

(c) In statistical physics, a phase transition is traditionally defined as a discontinuity (or rapid change, for finite-size systems) in the derivatives of the free energy. Plot and explain why this justifies calling the phenomenon from b) a phase transition.

(d) Change the coefficients of the terms in b). How does this change when a phase transition occurs? Does a phase transition always occur?

Solution

(a) By definition, the partition function is

Since is a disjoint union, the integral splits additively:

Recalling that and similarly for the local free energies,

and taking the negative logarithm gives

(b) The curves and are nearly identical, both track whichever local free energy is smaller. However, is smooth whereas has a kink at , where . For the simpler region (lower ) dominates; for the lower loss region (lower loss coefficient) dominates.

(c) Differentiating the log-sum-exp from (a),

Plotting this reveals a steep step around , transitioning from to . This rapid change in the derivative of is a smooth approximation of a discontinuity, justifying the term phase transition.

(d) Write and , and set and . The critical sample size where the phase transition occurs satisfies

Since is positive, a solution exists if and only if , i.e. and have opposite signs. A phase transition occurs precisely when one region fits better while the other is simpler ( and have opposite signs). If both fit and complexity favour the same region, that region dominates for all and no phase transition occurs.

is monotonically increasing for so for such , increasing increases and increasing decreases .

5. Further readings

We conclude by providing several pointers to additional literature and resources for those interested in investigating singular learning theory (SLT) in more detail.

5.1 Other introductions to singular learning theory

For alternative introductions to SLT, see the following.

  • Wei et al. 2023 "Deep Learning is Singular, and That's Good," a technical position paper surveying some implications of SLT for deep learning.
  • Carroll 2023 "Distilling singular learning theory," a LessWrong sequence introducing Watanabe's free energy formula and discussing an example of a Bayesian phase transition in a small neural network.
  • Lecture recordings from the SLT & Alignment Summit, 2023. In particular:
    • See the "SLT Low Road" lectures (Lau & Chen 2023) for an outline of the derivation of Watanabe's free energy formula.
    • See the "SLT High Road" lectures (Murfet & Carroll 2023) for a discussion of the free energy formula's implications including Bayesian phase transitions.
  • Lau 2025, Chapter 2, "Singular Learning Theory Background", a self-contained technical introduction to the main results of SLT with illustrative examples.

See Furman 2024 for a list of mathematical exercises. There is some overlap with exercises included in this tutorial, but there are also several additional exercises.

For a more in-depth introduction to the theoretical foundations of SLT, see Watanabe's two research monographs.

  • Watanabe 2009 "Algebraic Geometry and Statistical Learning Theory," colloquially known as "the grey book." Derives the free energy formula in the realisable case along with other results concerning generalisation properties of Bayesian inference and maximum a posteriori inference.
  • Watanabe 2018 "Mathematical Theory of Bayesian Statistics," colloquially known as "the green book." An alternative presentation of the free energy formula generalised to the non-realisable case, among other results. Compared to the grey book, the green book has an updated presentation of the main results, but does not contain all of the details of the proofs of the main results from the grey book.

While the theoretical foundation of SLT is described across many research papers by Watanabe and others, the main results are collected in self-contained form in these monographs. Watanabe offers a set of lecture slides (Watanabe 2023) which may serve as a useful guide to the "big picture" while working through the details in the books. Other key papers include Watanabe 2007; Watanabe 2013. See Watanabe 2024 for a more detailed survey.

5.2 Recent work on singular deep learning

Over the last few years, a community of researchers have pursued the application of SLT to advancing the science and safety of deep learning. Some of the ideas behind this research are discussed by Hoogland et al. 2023; Skalse 2023; Pepin Lehalleur et al. 2025; Furman 2026. We briefly survey some key topics in this emerging literature.

Characterising and estimating degeneracy in practice. We have seen examples of parameter–function map degeneracy in simple neural networks. Symmetries of neural network parameter–function maps have long been studied, however often the emphasis has been on discrete or globally continuous symmetries rather than additional symmetries localised to subsets of parameter space (see Farrugia-Roberts 2022, § 2.3, for a survey). For two-layer hyperbolic tangent networks, Farrugia-Roberts 2024 characterises the regions of parameter space which display additional degeneracy, and Farrugia-Roberts 2023 characterises degenerate directions in the parameter–function map.

As discussed, analytically calculating the (local) learning coefficient for deep neural networks is challenging. However, precise formulas have been derived for multi-layer deep linear networks (Aoyagi & Watanabe 2005; Aoyagi 2024), two-layer hyperbolic tangent networks (Aoyagi 2009), and certain other architectures. These results assume data is generated from a known "teacher" model.

In practice, we lack knowledge of the true data generating process, and we use more complex architectures. Much work has therefore built on the foundational methods of estimating the local learning coefficient with scalable Markov chain Monte Carlo methods (Lau et al. 2025; Hitchcock & Hoogland 2025). For a practical introduction to learning coefficient estimation, see Furman 2023. Chen & Murfet 2025 characterises the sensitivity of local learning coefficient estimation to patterns in sequence models.

Bayesian phase transitions and stagewise development. As we have discussed, Watanabe's free energy formula suggests Bayesian deep learning should undergo Bayesian phase transitions under certain conditions. Carroll 2021 studied Bayesian phase transitions in small ReLU networks, and Chen et al. 2023 studied Bayesian phase transitions in a small feature autoencoder (the "toy model of superposition" from Elhage et al. 2022).

In practice, we use stochastic gradient-based optimisation, rather than Bayesian learning, to train neural networks. However, the Bayesian case serves as a model system from which we can derive empirically testable predictions. Chen et al. 2023 formulate the Bayesian antecedent hypothesis, the empirical conjecture that observed phase transitions in trained neural networks correspond to Bayesian phase transitions modelled by Watanabe's free energy formula. Chen et al. 2023 study such dynamical phase transitions in their toy autoencoder and observe a temporal correspondence between phase changes and estimated LLC increases consistent with the free energy formula.

Wang et al. 2024; Hoogland et al. 2025 scale this methodology to transformers trained on natural language, finding similar stagewise development phenomena with changes in behaviour and internal structure accompanied by LLC changes. Panickssery & Vaintrob 2023; Hoogland et al. 2025; Carroll et al. 2025; Urdshals & Urdshals 2025 also study developmental stages in transformers trained on synthetic data. Elliott et al. 2026 extends this study to a case of goal misgeneralisation in deep reinforcement learning.

Degeneracy, interpretability, and patterning. The LLC provides a single number representing the effective dimensionality of a model. We can derive from the same principles—asymptotic properties of the posterior that reflect degeneracies in the model—more fine-grained tools for probing the internal computational structures of neural networks and how they depend on data.

  • Weight- and data-refined LLCs: Wang et al. 2025 compute LLCs of individual transformer modules (e.g., different attention heads) or with respect to different subsets of a data set (e.g., natural language versus code). Observing these refined quantities over training reveals modules developing different structures specialising to different kinds of data.
  • Susceptibilities: Drawing inspiration from electromagnetic susceptibilities in physics Baker et al. 2025; Wang et al. 2025; Gordon et al. 2026 develop and apply a methodology for computing loss susceptibilities so as to reveal more fine-grained information about how model internals relate to data.
  • Bayesian influence functions: Similarly, drawing inspiration from training data attribution in statistics, Kreer et al. 2025; Lee et al. 2025; Adam et al. 2025 develop a Bayesian generalisation of classical influence functions that allows the influence functions to be sensitive to higher-order degeneracy in the model.

Weight- and data-refined LLCs are themselves LLCs with a different model or data set, and so the same scalable Markov chain Monte Carlo methods can be used to estimate them as for LLCs. Moreover, like the LLC, susceptibilities and Bayesian influence functions can be approximated as expectations over a localised posterior distribution, and so similar estimation methods can be used for these quantities too.

Wang & Murfet 2026 develop a methodology, patterning, for making targeted changes to the training distribution so as to elicit certain changes in the development of neural network internal structure or generalisation behaviour.

Foundations of singular deep learning.

There has been some work on developing the foundational theory of SLT and deep learning.

For example, Elliott et al. 2026 generalise Watanabe's free energy formula from Bayesian inference to a generalised non-stationary energy-based inference setting, so as to account for stagewise development in deep reinforcement learning.

Beyond the setting of Bayesian inference, the general role degeneracy plays in the learning dynamics of stochastic gradient-based optimisation remains to be characterised.

Finally, there has been some attempt to theoretically investigate the links between degeneracy in deep learning and computational structure in models.

Clift et al. 2021; Waring 2021; Xu 2021; Murfet 2024; Murfet & Troiani 2025 study degeneracies in a statistical model based on a parameterisation of the space of Turing machine programs, exploring links between degeneracy and computational structure.

Lau 2025, Chapter 5 and Urdshals et al. 2025 develop a theory of minimum description length in degenerate statistical models.

References

Maxwell Adam, Zach Furman, and Jesse Hoogland (2025). The Loss Kernel: A Geometric Probe for Deep Learning Interpretability. arXiv:2509.26537.

Miki Aoyagi and Sumio Watanabe (2005). Stochastic complexities of reduced rank regression in Bayesian estimation. Neural Networks.

Miki Aoyagi (2009). Log canonical threshold of Vandermonde matrix type singularities and generalization error of a three layered neural network in Bayesian estimation. International Journal of Pure and Applied Mathematics.

Miki Aoyagi (2024). Consideration on the learning efficiency of multiple-layered neural networks with linear units. Neural Networks.

Garrett Baker, George Wang, Jesse Hoogland, and Daniel Murfet (2025). Structural Inference: Interpreting Small Language Models with Susceptibilities. arXiv:2504.18274.

Liam Carroll (2021). Phase Transitions in Neural Networks. School of Mathematics and Statistics, the University of Melbourne.

Liam Carroll, Jesse Hoogland, Matthew Farrugia-Roberts, and Daniel Murfet (2025). Dynamics of Transient Structure in In-Context Linear Regression Transformers. arXiv:2501.17745.

Zhongtian Chen and Daniel Murfet (2025). Modes of Sequence Models and Learning Coefficients. arXiv:2504.18048.

Zhongtian Chen, Edmund Lau, Jake Mendel, Susan Wei, and Daniel Murfet (2023). Dynamical versus Bayesian Phase Transitions in a Toy Model of Superposition. arXiv:2310.06301.

James Clift, Daniel Murfet, and James Wallbridge (2021). Geometry of Program Synthesis. arXiv:2103.16080.

Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah (2022). Toy Models of Superposition. Transformer Circuits Thread.

Chris Elliott, Einar Urdshals, David Quarel, Matthew Farrugia-Roberts, and Daniel Murfet (2026). Stagewise Reinforcement Learning and the Geometry of the Regret Landscape. arXiv:2601.07524.

Matthew Farrugia-Roberts (2022). Structural Degeneracy in Neural Networks. School of Computing and Information Systems, the University of Melbourne.

Matthew Farrugia-Roberts (2023). Functional Equivalence and Path Connectivity of Reducible Hyperbolic Tangent Networks. Advances in Neural Information Processing Systems 36.

Matthew Farrugia-Roberts (2024). Losslessly Compressible Neural Network Parameters. Workshop on Machine Learning and Compression.

Zach Furman (2023). Introduction to RLCT estimation.

Zach Furman (2026). Deep learning as program synthesis.

Andrew Gordon, Garrett Baker, George Wang, William Snell, Stan van Wingerden, and Daniel Murfet (2026). Towards Spectroscopy: Susceptibility Clusters in Language Models. arXiv:2601.12703.

Rohan Hitchcock and Jesse Hoogland (2025). From Global to Local: A Scalable Benchmark for Local Posterior Sampling. arXiv:2507.21449.

Jesse Hoogland, Alexander Gietelink Oldenziel, Daniel Murfet, and Stan van Wingerden (2023). Towards Developmental Interpretability.

Jesse Hoogland, George Wang, Matthew Farrugia-Roberts, Liam Carroll, Susan Wei, and Daniel Murfet (2025). Loss Landscape Degeneracy and Stagewise Development in Transformers. Transactions on Machine Learning Research.

Philipp Alexander Kreer, Wilson Wu, Maxwell Adam, Zach Furman, and Jesse Hoogland (2025). Bayesian Influence Functions for Hessian-Free Data Attribution. arXiv:2509.26544.

Edmund Lau and Zhongtian Chen (2023). Singular Learning Theory: The Low Road.

Edmund Lau (2025). A Singular Perspective on Machine Learning. School of Mathematics and Statistics, the University of Melbourne.

Edmund Lau, Zach Furman, George Wang, Daniel Murfet, and Susan Wei (2025). The Local Learning Coefficient: A Singularity-Aware Complexity Measure. The 28th International Conference on Artificial Intelligence and Statistics.

Jin Hwa Lee, Matthew Smith, Maxwell Adam, and Jesse Hoogland (2025). Influence Dynamics and Stagewise Data Attribution. arXiv:2510.12071.

Daniel Murfet and Liam Carroll (2023). Singular Learning Theory: The High Road.

Daniel Murfet and Will Troiani (2025). Programs as Singularities. arXiv:2504.08075.

Nina Panickssery and Dmitry Vaintrob (2023). Investigating the learning coefficient of modular addition.

Simon Pepin Lehalleur, Jesse Hoogland, Matthew Farrugia-Roberts, Susan Wei, Alexander Gietelink Oldenziel, George Wang, Liam Carroll, and Daniel Murfet (2025). You Are What You Eat--AI Alignment Requires Understanding How Data Shapes Structure and Generalisation. arXiv:2502.05475.

Einar Urdshals and Jasmina Urdshals (2025). Structure Development in List-Sorting Transformers. arXiv:2501.18666.

Einar Urdshals, Edmund Lau, Jesse Hoogland, Stan van Wingerden, and Daniel Murfet (2025). Compressibility Measures Complexity: Minimum Description Length Meets Singular Learning Theory. arXiv:2510.12077.

George Wang and Daniel Murfet (2026). Patterning: The Dual of Interpretability. arXiv:2601.13548.

George Wang, Matthew Farrugia-Roberts, Jesse Hoogland, Liam Carroll, Susan Wei, and Daniel Murfet (2024). Loss landscape geometry reveals stagewise development of transformers. High-dimensional Learning Dynamics 2024: The Emergence of Structure and Reasoning.

George Wang, Jesse Hoogland, Stan van Wingerden, Zach Furman, and Daniel Murfet (2025). Differentiation and Specialization of Attention Heads via the Refined Local Learning Coefficient. International Conference on Learning Representations.

George Wang, Garrett Baker, Andrew Gordon, and Daniel Murfet (2025). Embryology of a Language Model. arXiv:2508.00331.

Thomas Waring (2021). Geometric Perspectives on Program Synthesis and Semantics. School of Mathematics and Statistics, the University of Melbourne.

Sumio Watanabe (2007). Almost all learning machines are singular. IEEE Symposium on Foundations of Computational Intelligence.

Sumio Watanabe (2009). Algebraic Geometry and Statistical Learning Theory. Cambridge University Press.

Sumio Watanabe (2013). A widely applicable Bayesian information criterion. The Journal of Machine Learning Research.

Sumio Watanabe (2018). Mathematical Theory of Bayesian Statistics. Chapman and Hall/CRC.

Sumio Watanabe (2023). Singular Learning Theory, parts (1) and (2).

Sumio Watanabe (2024). Recent Advances in Algebraic Geometry and Bayesian statistics. Information Geometry.

Susan Wei, Daniel Murfet, Mingming Gong, Hui Li, Jesse Gell-Redman, and Thomas Quella (2023). Deep Learning Is Singular, and That's Good. IEEE Transactions on Neural Networks and Learning Systems.

Adrian K. Xu (2021). Smooth relaxation preserving Turing machines. arXiv:2106.00956.