                                                                 Deep Learning is Not So Mysterious or Different


                                                                                           Andrew Gordon Wilson
                                                                                            New York University


                                                                 Abstract                                    Our position is that none of these phenomena are dis-
                                                                                                             tinct to neural networks, or particularly mysterious.
                                              Deep neural networks are often seen as different
                                                                                                             Moreover, while some generalization frameworks such as
                                              from other model classes by defying conventional
                                                                                                             VC dimension (Vapnik, 1998) and Rademacher complexity
arXiv:2503.02113v2 [cs.LG] 10 Jul 2025




                                              notions of generalization. Popular examples of
                                                                                                             (Bartlett & Mendelson, 2002) do not explain these phenom-
                                              anomalous generalization behaviour include be-
                                                                                                             ena, they are formally described by other long-standing
                                              nign overfitting, double descent, and the success
                                                                                                             frameworks such as PAC-Bayes (McAllester, 1999; Catoni,
                                              of overparametrization. We argue that these phe-
                                                                                                             2007; Dziugaite & Roy, 2017), and even simple countable
                                              nomena are not distinct to neural networks, or
                                                                                                             hypothesis generalization bounds (Valiant, 1984; Shalev-
                                              particularly mysterious. Moreover, this general-
                                                                                                             Shwartz & Ben-David, 2014; Lotfi et al., 2024a). In other
                                              ization behaviour can be intuitively understood,
                                                                                                             words, understanding deep learning does not require re-
                                              and rigorously characterized, using long-standing
                                                                                                             thinking generalization, and it never did.
                                              generalization frameworks such as PAC-Bayes
                                              and countable hypothesis bounds. We present                    We are not aiming to argue that deep learning is fully under-
                                              soft inductive biases as a key unifying principle              stood, to comprehensively survey works on understanding
                                              in explaining these phenomena: rather than re-                 deep learning phenomena, or to assign historical priority to
                                              stricting the hypothesis space to avoid overfitting,           any work for explaining some phenomenon. We are also not
                                              embrace a flexible hypothesis space, with a soft               claiming to be the first to note that any of these phenomena
                                              preference for simpler solutions that are consis-              can be reproduced using other model classes. In fact, we
                                              tent with the data. This principle can be encoded              want to make clear that there has been significant progress in
                                              in many model classes, and thus deep learning is               understanding what is often perceived as mysterious general-
                                              not as mysterious or different from other model                ization behaviour in deep learning, and contrary to common
                                              classes as it might seem. However, we also high-               belief, much of this behaviour applies outside of deep learn-
                                              light how deep learning is relatively distinct in              ing and can be formally explained using frameworks that
                                              other ways, such as its ability for representation             have existed for decades. The textbooks wouldn’t need to
                                              learning, phenomena such as mode connectivity,                 be re-written had they paid attention to what was already
                                              and its relative universality.                                 known about generalization, decades ago! Instead, we need
                                                                                                             to bridge communities, and acknowledge progress.
                                                                                                             Indeed, we will aim to introduce the simplest examples
                                         1. Introduction                                                     possible, often basic linear models, to replicate these phe-
                                         “The textbooks must be re-written!”                                 nomena and explain the intuition behind them. The hope
                                                                                                             is that by relying on particularly simple examples, we can
                                         Deep neural networks are often considered mysterious and            drive home the point that these generalization behaviours
                                         different from other model classes, with behaviour that can         are hardly distinct to neural networks and can in fact be
                                         defy the conventional wisdom about generalization. When             understood with basic principles. For example, in Figure 1,
                                         asked what makes deep learning different, it is common to           we show that benign overfitting and double descent can be
                                         point to phenomena such as overparametrization, double              reproduced and explained with simple linear models.
                                         descent, and benign overfitting (Zhang et al., 2021; Nakkiran
                                         et al., 2020; Belkin et al., 2019; Shazeer et al., 2017).           We will also treat all of these phenomena collectively,
                                                                                                             through a unifying notion of soft inductive biases. While
                                           Correspondence to:                                                inductive biases are often thought of as restriction biases —
                                         Andrew Gordon Wilson <andrewgw@cims.nyu.edu>.
                                                                                                             constraining the size of a hypothesis space for improved data
                                         Proceedings of the 42 nd International Conference on Machine        efficiency and generalization — there is no need for restric-
                                         Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025         tion biases. Instead, we can embrace an arbitrarily flexible
                                         by the author(s).

                                                                                                         1
                                                                                                                                                                                                                                                                                                    ×107




                                                                                                                                                                   Marginal Likelihood Estimate




                                                                                                                                                                                                                                                                Marginal Likelihood Estimate
                                                                                                                                                                                                  −0.45                                                                                        −1
 1.0                                              4                                       3                                                                                                                                                   45
                                                                                                                                                                                                                                                                                                                                                         80
                Unregularized                                                                                                                                                                     −0.50                                       40
                                                                                          2                                                                                                                                                                                                    −2
                Order Dependent                   3




                                                                                                                                                                                                                                                   Test Error




                                                                                                                                                                                                                                                                                                                                                                          Test Error
 0.5            Regularization                                                                                                                                                                                                                35
                                                                                                                                                                                                  −0.55                                                                                                                                                  60
                                                                                          1                                                                                                                                                                                                    −3
                                                                                                                                                                                                                                              30
                                                  2
                                                                                                                                                                                                  −0.60
 0.0                                                                                      0                                                                                                                                                   25                                                                                                         40
                                                                                                                                                                                                                                                                                               −4
                                                  1                                                                                                                                               −0.65
                                                                                                                                                                                                                                              20
                                                                                      −1
                                                                                                                                                                                                                                                                                               −5                                                        20
−0.5                                                                                                                                                                                              −0.70                                       15
                                                  0                                   −2
                                                                                                                                                                                                          0    5k   10k 12k 15k   20k   25k                                                          0     5k 10k   20k    30k   40k    50k
         −0.5           0.0            0.5                1        2         3                −2     −1          0                            1                2                                               # Altered Labels                                                                                # Altered Labels

         (a) Simple Data                               (b) Structured Data                         (c) Noisy Data                                                                                    (d) GP on CIFAR-10                                         (e) ResNet-20 on CIFAR-10
              3.5                                                                                         94
                                                                            Test Risk                                                                                                                                                                                                               Test Risk                            3.5
                                                                                                                                                     1.4




                                                                                                                                                                                                                                                                                                                                               Effective Dimensionality
              3.0




                                                                                                               Effective Dimensionality
                                                                            Train Risk                    92                                                                                                                                                                                        Train Risk
                                                                                                                                                     1.2                                                                                                                                                                                 3.0
              2.5                                                           Effective Dimensionality                                                                                                                                                                                                Effective Dimensionality
                                                                                                          90                                                                                                                                                                                                                             2.5
                                                                            (Hessian)                                                                1.0                                                                                                                                            (Parameter Covariance)
              2.0




                                                                                                                                              Risk
       Risk




                                                                                                                                                                                                                                                                                                                                         2.0
                                                                                                          88                                         0.8
              1.5                                                                                                                                                                                                                                                                                                                        1.5
                                                                                                                                                     0.6
                                                                                                          86
              1.0                                                                                                                                                                                                                                                                                                                        1.0
                                                                                                                                                     0.4
                                                                                                          84                                                                                                                                                                                                                             0.5
              0.5                                                                                                                                    0.2
                                                                                                                                                                                                                                                                                                                                         0.0
              0.0                                                                                         82                                         0.0
                    0             10         20               30       40            50              60                                                    0                             25                   50           75           100                        125                                      150           175          200
                                                          Width                                                                                                                                                             Number of Features

                                                      (f) ResNet-18                                                                                                                                           (g) Linear Random Features

  Figure 1. Generalization phenomena associated with deep learning can be reproduced with simple linear models and understood.
  Top: Benign Overfitting. A 150th order polynomial with order-dependent regularization reasonably describes (a) simple and (b) complex
  structured data, while also being able to perfectly fit (c) pure noise. (d) A Gaussian process exactly reproduces the CIFAR-10 results in
  Zhang et al. (2016), perfectly fitting noisy labels, but still achieving reasonable generalization. Moreover, for both the GP and (e) ResNet,
  the marginal likelihood, directly corresponding to PAC-Bayes bounds (Germain et al., 2016), decreases with more altered labels, as in
  Wilson & Izmailov (2020). Bottom: Double Descent. Both the (f) ResNet and (g) linear random feature model display double descent,
  with effective dimensionality closely tracking the second descent in the low training loss regime as in Maddox et al. (2020).


   hypothesis space, combined with soft biases that express a                                                                                     paper. We then briefly introduce several general frameworks
   preference for certain solutions over others, without entirely                                                                                 and definitions in Section 3, preliminaries through which
   ruling out any solution, as illustrated in Figure 3. Frame-                                                                                    we examine generalization phenomena in the next sections.
   works such as PAC-Bayes embody this view of inductive                                                                                          Throughout the paper, we particularly contrast PAC-Bayes
   biases, capable of producing non-vacuous generalization                                                                                        and the countable hypothesis frameworks in Section 3.1,
   bounds on models with even billions of parameters, as long                                                                                     which do characterize these generalization phenomena, with
   as these models have a prior preference for certain solu-                                                                                      other generalization frameworks such as Rademacher com-
   tions over others (Lotfi et al., 2024b). Broadly speaking,                                                                                     plexity and VC dimension in Section 3.3 which do not. We
   a large hypothesis space, combined with a preference for                                                                                       then discuss benign overfitting, overparametrization, double
   simple solutions, provides a provably useful recipe for good                                                                                   descent in Sections 4, 5, 6, alternative views in Section 7,
   performance, as in Figure 2.                                                                                                                   and distinctive features and open questions in Section 8.
   There are also other phenomena of recent interest, such as
   scaling laws and grokking, which are not our focus, because                                                                                    2. Soft Inductive Biases
   these are not typically treated as inconsistent with gener-
                                                                                                                                                  We often think of inductive biases as restriction biases: con-
   alization theory, or distinct to neural networks. However,
                                                                                                                                                  straints to the hypothesis space aligned with a problem of
   we note the PAC-Bayes and countable hypothesis general-
                                                                                                                                                  interest. In other words, there are many settings of param-
   ization frameworks of Section 3 also describe LLMs, and
                                                                                                                                                  eters that may fit the data and provide poor generalization,
   even Chinchilla scaling laws (Hoffmann et al., 2022; Finzi
                                                                                                                                                  so restrict the hypothesis space to settings of parameters
   et al., 2025). Moreover, deep learning of course is different
                                                                                                                                                  that are more likely to provide good generalization for the
   in other ways. In Section 8, we discuss relatively distinc-
                                                                                                                                                  problem we are considering. Moreover, since the hypothesis
   tive features of deep neural networks, such as representa-
                                                                                                                                                  space is smaller, it will become more quickly constrained by
   tion learning, mode connectivity, and broadly successful
                                                                                                                                                  the data, since we have fewer solutions to “rule out” with the
   in-context learning.
                                                                                                                                                  addition of new data points. Convolutional neural networks
  We open with a discussion of soft inductive biases in Sec-                                                                                      provide a canonical example: we start from an MLP, re-
  tion 2, which provide a unifying intuition throughout the                                                                                       move parameters, and enforce parameter sharing, to provide


                                                                                                                                          2
                                                    compression
                                            zs          }|         {        Figure 4. Achieving good generalization with soft inductive bi-
   expected risk       empirical risk
                                                                            ases. Left: A large hypothesis space, but no preference amongst
                                                 K(h) log 2 + log 1δ
      z }| {              z }| {
      R(h)         ≤      R̂(h)         +   ∆                               solutions that provide the same fit to the data. Therefore, training
                                                          2n                will often lead to overfit solutions that generalize poorly. Middle:
Figure 2. Generalization phenomena can be formally charac-                  Soft inductive biases guide training towards good generalization by
terized by generalization bounds. Generalization can be upper               representing a flexible hypothesis space in combination with pref-
bounded by the empirical risk and compressibility of a hypothesis           erences between solutions, represented by different shades. Right:
h, as in Section 3.1. The compressibility, formalized in terms              Restricting the hypothesis space can help prevent overfitting by
of Kolmogorov complexity K(h), can be further upper bounded                 only considering solutions that have certain desirable properties.
by a model’s filesize. Large models fit the data well, and can              However, by limiting expressiveness, the model cannot capture the
be effectively compressed to small filesizes. Unlike Rademacher             nuances of reality, hindering generalization.
complexity, these bounds do not penalize a model for having a hy-
pothesis space H that can fit noise, and describe benign overfitting,
double descent, and overparametrization. They can even provide              bias the model towards translation equivariance without any
non-vacuous bounds on LLMs, as in Lotfi et al. (2024a) above.               hard constraint. A naive way to provide a soft ConvNet bias
                                                                            would be to start with an MLP, and then introduce a regular-
                                            Soft Inductive Bias             izer that penalizes both the norms of any parameters that do
                                                                            not exist in a ConvNet, and the distance between any param-
         Restriction Bias                                                   eters that would otherwise be shared in a ConvNet. We can
                                                                            control this bias through the strength of the regularization.
                                                                            Residual pathway priors provide a more practical and gen-
                                                                            eral mechanism for turning hard architectural constraints
                                                                            into soft inductive biases (Finzi et al., 2021).
                                                                            We refer to the general idea of having a preference for cer-
                                                                            tain solutions over others, even if they fit the data equally
Figure 3. Soft inductive biases enable flexible hypothesis spaces           well, as a soft inductive bias. We contrast soft biases with
without overfitting. Many generalization phenomena can be un-               more standard restriction biases, which instead place hard
derstood through the notion of soft inductive biases: rather than           constraints on the hypothesis space. We illustrate the con-
restricting the solutions a model can represent, specify a prefer-          cept of soft inductive biases in Figure 3, and show how soft
ence for certain solutions over others. In this conceptualization,          inductive biases influence the training process in Figure 4.
we enlarge the hypothesis space with hypotheses that have lower             Regularization, as well as Bayesian priors over model pa-
preference in lighter blue, rather than restricting them entirely.
                                                                            rameters, provide mechanisms for creating soft inductive
There are many ways to implement soft inductive biases. Rather
than use a low order polynomial, use a high order polynomial
                                                                            biases. However, regularization is not typically used to relax
with order-dependent regularization. Alternatively, rather than             architectural constraints, and as we will see, soft biases are
restrict a model to translation equivariance (e.g., ConvNet), have          more general, and can be induced by the architecture.
a preference for invariances through a compression bias (e.g., a            As a running example, consider a large polynomial, but
transformer, or RPP with ConvNet bias). Overparametrization is
                                                                            where we regularize the higher order coefficients more than
yet another way to implement a soft bias.
                                                                            the lower order coefficients.
                                                                                               PJ         In other words, we fit the data
                                                                            with f (x, w) = j=0 wj xj and we have a regularizer on
a hard constraint for locality and translation equivariance.                wj that increases in strength with j. Finally, we have a data
                                                                            fit term that is formed from a likelihood involving f (x, w),
But restriction biases are not only unnecessary, they are                   p(y|f (x, w)). So our total loss is:
arguably undesirable. We want to support any solution that
could describe the data, which means embracing a flexible                     Loss = data fit + order dependent complexity penalty
hypothesis space. For example, we may suspect the data are
only approximately translation equivariant. We can instead                  which, for example, could take the form L(w)                     =

                                                                        3
− log p(y|f (x, w)) + j γ j wj2 , γ > 1. For classification,
                         P
                                                                        ant model for molecules, which are rotation invariant. After
the observation model p(yi |f (xi , w)) = softmax(f (xi , w))           exposure to only a very small amount of data, the soft bias
would give rise to cross-entropy for − log p(y|f (x, w)). In            would converge to near-perfect rotation equivariance, since
regression, p(yi |f (xi , w)) = N (f (xi , w), σ 2 ) would give         the model is encouraged (but not constrained) to represent
rise to the squared error data fit, divided by 1/(2σ 2 ).               the data with symmetries, and it can do so exactly, even with
                                                                        a small amount of data. Moreover, in cases where the data
If we take the order of the polynomial J to be large, then we
                                                                        only contained an approximate symmetry, or no symmetry
have a flexible model. But the model has a simplicity bias:
                                                                        at all, the RPP approach would significantly outperform a
due to the order dependent complexity penalty, it will try to
                                                                        model with hard symmetry constraints.
fit the data using the lower order terms as much as possible,
and then only use the higher order terms if needed. For                 Surprisingly, vision transformers after training can be even
example, imagine a simple 1d regression problem, where                  more translation equivariant than convolutional neural net-
the data fall onto a straight line. For large J, there are many         works (Gruver et al., 2023)! This finding may seem im-
settings of the coefficients {wj } that will perfectly fit the          possible, as ConvNets are architecturally constrained to be
data. But the model will prefer the simple straight line fit            translation equivariant. However, in practice equivariance is
with wj = 0 for j ≥ 2 because it’s consistent with the data             broken by aliasing artifacts. Equivariance symmetries pro-
and incurs the lowest penalty, as in Figure 1 (top left). In            vide a mechanism for compressing the data, and as we will
effect, we have relaxed the hard restriction bias of a low-             discuss in later sections, transformers have a soft inductive
order polynomial, and turned it into a soft inductive bias.             bias for compression.
Such a model is also effective for any size of training set: on
                                                                        It is our view that soft inductive biases, rather than constrain-
small datasets it is competitive with models that have hard
                                                                        ing the hypothesis space, are a key prescription for building
constraints, on large datasets it is competitive with relatively
                                                                        intelligent systems.
unconstrained models, as depicted in Figure 5.
While ℓ2 and ℓ1 (or Lasso) regularization is standard prac-             3. Generalization Frameworks
tice, it is not used as a prescription for building models
of arbitrary size. The idea of order-dependent regulariza-              We have so far argued that we intuitively want to embrace a
tion is less known. Rasmussen & Ghahramani (2000) show                  flexible hypothesis space, because it represents our honest
the Bayesian marginal likelihood (evidence), the probabil-              beliefs that real-world data will have sophisticated structure.
ity of generating the training data from the prior, favours             But in order to have good generalization, we must have a
higher-order Fourier models with a similar order-dependent              prior bias towards certain types of solutions, even if we are
parameter prior. A prior over parameters p(w) induces a                 allowing for any type of solution. While the generalization
prior over functions p(f (x, w)), and from the Bayesian per-            phenomena we discuss defy some conventional wisdom
spective it is this prior over functions that controls the gener-       around overfitting and notions of generalization such as
alization properties of the model (Wilson & Izmailov, 2020).            Rademacher complexity, as argued in Zhang et al. (2016;
An order-dependent prior gives rise to a prior over func-               2021), they are entirely aligned with this intuition.
tions that may likely generate the data, even for high-order
                                                                        It turns out these phenomena are also formally charac-
models. On the other hand, six years after Rasmussen &
                                                                        terized by generalization frameworks that have existed for
Ghahramani (2000), the canonical textbook Bishop (2006)
                                                                        many decades, including PAC-Bayes (McAllester, 1999;
argues in Chapter 3, page 168, that the marginal likelihood
                                                                        Guedj, 2019; Alquier et al., 2024) and simple countable
is aligned with conventional notions of model selection, pre-
                                                                        hypothesis bounds (Valiant, 1984; Shalev-Shwartz & Ben-
cisely because it chooses a polynomial of intermediate order,
                                                                        David, 2014). We introduce these frameworks in Section 3.1.
rather than a small or large polynomial. In actuality, this
                                                                        We then define effective dimensionality in Section 3.2 which
textbook result is simply an artifact of a bad prior: it uses an
                                                                        we will return to later in the paper for intuition. Finally, we
isotropic parameter prior (analogous to ℓ2 regularization),
                                                                        introduce frameworks that do not describe these phenomena
and a high-order polynomial with an isotropic parameter
                                                                        in Section 3.3, but have greatly impacted the conventional
prior is unlikely to generate the data. Had Bishop (2006)
                                                                        wisdom in thinking about generalization.
chosen an order-dependent prior, the marginal likelihood
could have preferred an arbitrarily high-order model.                   This section briefly introduces some definitions and general-
                                                                        ization frameworks — preliminaries through which we will
In Residual Pathway Priors (RPP) (Finzi et al., 2021), it was
                                                                        examine generalization phenomena in later sections.
shown that a soft bias for equivariance constraints is often
as effective as a model that had been perfectly constrained
for a given problem. For example, a soft bias for rotation
equivariance would work as well as a rotationally equivari-


                                                                    4
            102                                               102                                                            102

            101                                               101                                                            101
Test RMSE




                                                  Test RMSE




                                                                                                                 Test RMSE
            100                                               100                                                            100

        10 1                                              10 1                                                           10 1

        10 2        20    40     60    80   100           10 2         20    40        60       80     100               10 2      20      40        60       80   100
                      # Training Samples                                # Training Samples                                             # Training Samples
                  (a) Degree 2 Polynomial                           (b) Degree 15 Polynomial                                             (c) Cosine



Figure 5. Flexibility with a simplicity bias can be appropriate for varying data sizes and complexities. We use 2nd, 15th, and
regularized 15th order polynomials to fit three regression problems with varying training data sizes, generated from the functions described
in (a)-(c). We use a special regularization penalty that increases with the order of the polynomial coefficient. We show the average
performance ± 1 standard deviation over 100 fits of 100 test samples. By increasing complexity only as needed to fit the data, the
regularized 15th order polynomial is as good or better than all other models for all data sizes and problems of varying complexity.


3.1. PAC-Bayes and countable hypothesis bounds                                        elementary proof of this bound in Appendix C.
PAC-Bayes and countable hypothesis bounds provide a com-                              We can derive informative bounds through a Solomonoff
pelling approach for large and even overparametrized mod-                             prior P (h) = 2−K(h|A) /Z (Solomonoff, 1964), where K is
els, since they are focused on which hypotheses are likely,                           the prefix-free Kolmogorov complexity of h taking as input
rather than merely the size of the hypothesis space (Catoni,                          model architecture A, and the normalizing constant Z ≤ 1
2007; Shalev-Shwartz & Ben-David, 2014; Dziugaite &                                   by the Kraft inequality (Kraft, 1949). Substituting this prior
Roy, 2017; Arora et al., 2018b; Pérez-Ortiz et al., 2021;                            into Eq. (1),
Lotfi et al., 2022a). They harmonize with the notion of soft
                                                                                                                                                compression
inductive biases in Section 2, which provide a mechanism                                                                           zs               }|              {
                                                                                       expected risk       empirical risk
for achieving good generalization with an arbitrarily large                                 z }| {            z }| {
                                                                                                                                         K(h|A) log 2 + log 1δ
hypothesis space combined with preferences for certain so-                                  R(h)       ≤      R̂(h)          +     ∆                                    .
lutions over others independently of their fit to the data.                                                                                           2n
                                                                                                                                                                     (2)
Theorem 3.1 (Countable Hypothesis Bound). Consider
a bounded risk R(h, x) ∈ [a, a + ∆], and a countable
hypothesis space h ∈ H for which           have a prior P (h).                        The prefix-free Kolmogorov complexity of hypothesis h,
                                   Pwen                                               K(h), is the length of the shortest program that produces
Let the empirical risk R̂(h) = n1 i=1 R(h, xi ) be a sum
over independent random variables R(h, xi ) for a fixed                               h for a fixed programming language (Kolmogorov, 1963).
hypothesis h. Let R(h) = E[R̂(h)] be the expected risk.                               While we cannot compute the shortest program, we can
Then, with probability at least 1 − δ,                                                absorb the architecture and any constant not determined by
                             s                                                        the data into the prior, by working with K(h|A). We can
                                       1
                                 log P (h)  + log 1δ                                  then convert from the prefix-free to standard Kolmogorov
         R(h) ≤ R̂(h) + ∆                            .     (1)                        complexity, to compute the upper bound
                                         2n
                                                                                                     log 1/P (h) ≤ K(h|A) log 2                                      (3)
This bound is related to the finite hypothesis bound, but
                                                                                                                        ≤ C(h) log 2 + 2 log C(h)                    (4)
includes a prior P (h) and a countable rather than finite
hypothesis space (Ch 7.3, Shalev-Shwartz & Ben-David,                                 where C(h) is the number of bits required to represent hy-
2014). We can think of the prior as a weighting function                              pothesis h using some pre-specified coding. Therefore even
that weights certain hypotheses more highly than others.                              large models with many parameters that represent hypothe-
Importantly, we can use any prior to evaluate the bound: it                           ses with a low empirical risk and a small compressed size
need not have generated the true hypothesis for the data,                             can achieve strong generalization guarantees.
contain the true hypothesis, or even be used by the model
that is trained to find some hypothesis h∗ . If the model uses                        PAC-Bayes bounds can further reduce the number of bits
                                                                                                            1
a prior quite different from the prior used to evaluate Eq. (1),                      required from log2 P (h)  to KL(Q ∥ P ) by considering a
then the bound will simply become loose. We include an                                distribution of desirable solutions Q. If we are agnostic

                                                                                  5
to the specific element of Q we sample, we can recover                 In general, there are common misconceptions about PAC-
bits that could then be used to encode a different message.            Bayes and countable-hypothesis bounds. For example,
Since PAC-Bayes bounds with a point-mass posterior Q can               they do apply to models with deterministic parameters,
recover a bound similar to Eq. (1) (Lotfi et al., 2022b), we           rather than only distributions over parameters. Moreover,
will sometimes refer to both bounds as PAC-Bayes. We also              recent bounds become tighter, not looser, with larger models.
note that marginal likelihood, which is the probability of             We discuss several misconceptions in Appendix A. It is also
generating the training data from the model prior, directly            worth noting that these bounds are not only non-vacuous for
corresponds to a PAC-Bayes bound (Germain et al., 2016;                large neural networks, but also can be surprisingly tight. For
Lotfi et al., 2022b).                                                  example, Lotfi et al. (2022a) upper bound the classification
                                                                       error of a model with millions of parameters on CIFAR-
These generalization frameworks have been adapted to pro-
                                                                       10 at 16.6% with at least 95% probability, which is fairly
vide non-vacuous generalization guarantees on models that
                                                                       respectable performance on this benchmark.
have millions, or even billions, of parameters. They ap-
ply to deterministically trained models, and have also been
adapted to LLMs, to accommodate the unbounded bits-per-                3.2. Effective Dimensionality
dimension (nats-per-token) loss, stochastic training, and              Effective dimensionality provides a useful intuition for ex-
dependence across tokens (Lotfi et al., 2023; 2024b; Finzi             plaining generalization phenomena. The  P effective    dimen-
et al., 2025). Moreover, computing these bounds is straight-           sionality of a matrix A is Neff (A) = i λiλ+α   i
                                                                                                                          , where λi
forward. For example: (i) train a model to find hypothesis             are the eigenvalues of A, and α is a regularization parameter.
h∗ , using any optimizer; (ii) measure the empirical risk              The effective dimensionality measures the number of rela-
R̂(h∗ ) (e.g., training loss); (iii) measure the filesize of the       tively large eigenvalues. The effective dimensionality of the
stored model for C(h∗ ); (iv) substitute Eq. (4) into Eq. (2).         Hessian of the loss, evaluated for parameters w, measures
In words, we can interpret these generalization bounds as:             the number of sharp directions in the loss landscape — the
                                                                       number of parameters determined from the data.
Expected Risk ≤ Empirical Risk + Model Compressibility                 Solutions with lower effective dimensionality are flatter,
                                                                       meaning that the associated parameters can be perturbed
where compressibility provides a formalization of complex-             without significantly increasing the loss. Flatness is not
ity. In Figure 2, adapted from Lotfi et al. (2023), we vi-             the only factor influencing generalization, and flatness as
sualize how each term contributes to the bound. This rep-              measured by the Hessian is not parametrization invariant
resentation of the bounds also provides a prescription for             meaning it is easy to find and construct examples where
building general-purpose learners: combine a flexible hy-              flatter solutions do not generalize better (e.g., Dinh et al.,
pothesis space with a bias for low Kolmogorov complexity.              2017). On the other hand, many standard procedures are not
A flexible model will be able to achieve low empirical risk            parametrization invariant (e.g., SGD and ℓ2 regularization),
(training loss) on a wide variety of datasets. Being able              and the connection between flatness and generalization is
to compress these models will then provably lead to good               not a spurious empirical association. We have a mechanistic
generalization. Goldblum et al. (2024) show that neural                understanding of why flatness can lead to better generaliza-
networks, especially large transformers, tend to be biased             tion: flatter solutions are more compressible, have better
towards low Kolmogorov complexity, and so is the distribu-             Occam factors, tend to lead to wider decision boundaries,
tion over real-world data. For this reason, a single model             and tighter generalization bounds (Hinton & Van Camp,
can achieve good generalization over many real-world prob-             1993; Hochreiter & Schmidhuber, 1997; MacKay, 2003;
lems.                                                                  Keskar et al., 2016; Izmailov et al., 2018; Foret et al., 2020;
Indeed, even within a maximally flexible hypothesis space              Maddox et al., 2020).
consisting of all possible programs, if we choose a hypoth-            Like Rademacher complexity, the effective dimension is not
esis that fits the data well and has low complexity then we            a generalization bound in itself, but it is an intuitive quantity
will be guaranteed to generalize by the countable hypothesis           that can be formally incorporated into generalization bounds
bound in Eq. (1). We can relate this insight to Solomonoff             (MacKay, 2003; Dziugaite & Roy, 2017; Maddox et al.,
induction, which provides a maximally overparametrized                 2020; Jiang et al., 2019). It is also closely related to other
procedure, with no limit on the complexity or number of                concepts that frequently arise in explaining generalization
parameters a hypothesis can have, but formalizes an ideal              phenomena, such as the effective rank of a model (Bartlett
learning system (Solomonoff, 1964; Hutter, 2000). By as-               et al., 2020), and sloppy models (Quinn et al., 2022).
signing exponentially higher weights to simpler (shorter)
programs, Solomonoff induction ensures that even though                We will return to effective dimensionality for intuition when
the hypothesis space is enormous, the chosen hypothesis                discussing generalization phenomena.
will be simple if it fits the data well.

                                                                   6
3.3. Other Generalization Frameworks                                     polynomial model with order-dependent regularization in
                                                                         Section 2. In our likelihood, we will drive σ to a small value,
Rademacher complexity (Bartlett & Mendelson, 2002) ex-
                                                                         so the model will prioritize fitting the data (squared error is
actly measures the ability for a model to fit uniform
                                                                         multiplied by a large number). However, the model strongly
{+1, −1} random noise. Similarly, the VC dimension (Vap-
                                                                         prefers using the lower order terms, since the norms of co-
nik et al., 1994) measures the largest integer d such that the
                                                                         efficients are increasingly penalized with the order of the
hypothesis space H can fit (“shatter”) any set of d points
                                                                         coefficient. Simple structured data will be fit with simple
with {+1, −1} labels. The fat-shattering dimension (Alon
                                                                         structured compressible functions that will generalize, but
et al., 1997) fatγ (H) refines the VC dimension to fitting
                                                                         the model will adapt its complexity as needed to fit the data,
(“shattering”) labels by some margin γ. Unlike PAC-Bayes,
                                                                         including pure noise, as shown in Figure 1 (top). In other
all of these frameworks penalize the size of the overall hy-
                                                                         words, if understanding deep learning requires rethinking
pothesis space H, suggesting a prescription for restriction
                                                                         generalization, then understanding this simple polynomial
biases, rather than the soft inductive biases of Section 2.
                                                                         does too, for this polynomial exhibits benign overfitting!
We discuss these frameworks further in Appendix B, with
a comparative summary in Table 1. We note that while
                                                                         Formal generalization frameworks. Benign overfitting
Rademacher complexity in itself does not describe these
                                                                         is also characterized by PAC-Bayes and countable hypothe-
phenomena, it could be combined with a prior that would
                                                                         sis bounds, which are formal and long-standing frameworks
lead to informative bounds for expressive model classes.
                                                                         for characterizing generalization. We can evaluate these
                                                                         bounds for neural networks that exhibit benign overfitting,
4. Benign Overfitting                                                    providing non-vacuous generalization guarantees (Dziugaite
                                                                         & Roy, 2017; Zhou et al., 2018; Lotfi et al., 2022a). More-
Benign overfitting describes the ability for a model to fit
                                                                         over, as we describe in Section 3, these generalization frame-
noise with no loss, but still generalize well on structured
                                                                         works can precisely define how large neural networks are
data. It shows that a model can be capable of overfitting
                                                                         simple, through Kolmogorov complexity. In fact, larger
data, but won’t tend to overfit structured data. The paper
                                                                         neural networks often have an even stronger bias for low
understanding deep learning requires re-thinking general-
                                                                         Kolmogorov complexity solutions (Goldblum et al., 2024).
ization (Zhang et al., 2016) drew significant attention to this
phenomenon by showing that convolutional neural networks
could fit images with random labels, but generalize well on              Mix of signal and noise. The ability to fit a mix of signal
structured image recognition problems such as CIFAR. The                 and noise, but still achieve respectable generalization, can
result was presented as contradicting what we know about                 also be reproduced and is characterized by the generaliza-
generalization, based on frameworks such as VC dimen-                    tion frameworks in Section 3.1. In particular, we can exactly
sion and Rademacher complexity, and distinct to neural                   reproduce the mixed noisy-label experiment in Zhang et al.
networks. The authors conclude with the claim: “We argue                 (2021) for CIFAR-10 in Figure 1(d)(e), following Wilson
that we have yet to discover a precise formal measure under              & Izmailov (2020). Here a Gaussian process (GP) is fit
which these enormous models are simple.” Five years later,               to CIFAR-10 with no training error but increasing num-
the authors maintain the same position, with an extended                 bers of altered labels. Generalization is reasonable, and
paper entitled understanding deep learning (still) requires              steadily degrades with increasing numbers of altered labels.
re-thinking generalization (Zhang et al., 2021). Similarly,              Importantly, both the GP and ResNet marginal likelihoods
Bartlett et al. (2020) note “the phenomenon of benign over-              decrease, and the marginal likelihood directly aligns with
fitting is one of the key mysteries uncovered by deep learning           PAC-Bayes generalization bounds (Germain et al., 2016).
methodology: deep neural networks seem to predict well,
even with a perfect fit to noisy training data.”                         Research on benign overfitting. There is by now a large
                                                                         body of work studying and reproducing benign overfitting
However, benign overfitting behaviour can be reproduced                  with other model classes. Yet the conventional wisdom of
with other model classes, can be understood intuitively, and             benign overfitting as a mysterious and deep learning specific
is described by rigorous frameworks for characterizing gen-              phenomenon, one that still requires rethinking generaliza-
eralization that have existed for decades.                               tion, persists. It is not our intention, nor would it be possible,
                                                                         to cover all of this work here, but we note some of the key
Intuition. Intuitively, in order to reproduce benign over-               developments. Dziugaite & Roy (2017) show non-vacuous
fitting, we just need a flexible hypothesis space, combined              and vacuous PAC-Bayes bounds for neural networks trained
with a loss function that demands we fit the data, and a                 on structured and noisy MNIST, respectively. Smith & Le
simplicity bias: amongst solutions that are consistent with              (2018) demonstrate benign overfitting for logistic regression
the data (i.e., fit the data perfectly), the simpler ones are pre-       on MNIST, interpreting the results using Bayesian Occam
ferred. For a moment, consider regression, and the simple                factors (MacKay, 2003). Several studies analyze two-layer

                                                                     7
networks (e.g., Cao et al., 2022; Kou et al., 2023). Wilson          5.1. Is the success of overparametrization surprising?
& Izmailov (2020) exactly reproduce the experiments in
                                                                     There is seemingly little consensus on whether over-
Zhang et al. (2016) with Gaussian processes and Bayesian
                                                                     parametrization is in fact surprising. On the one hand, it
neural networks, and explain the results using marginal like-
                                                                     is known and understood within certain circles that models
lihood. Bartlett et al. (2020) show that linear regression
                                                                     with an arbitrarily large number of parameters can gener-
models can reproduce benign overfitting. They understand
                                                                     alize; indeed, pursuing the limits of large models has been
this phenomenon by studying the rank of the data covariance
                                                                     a guiding principle in non-parametrics for decades (e.g.,
matrix, and minimum-norm least squares solutions.
                                                                     MacKay, 1995; Neal, 1996a; Rasmussen, 2000; Rasmussen
                                                                     & Ghahramani, 2000; Beal et al., 2001; Rasmussen &
Conclusion. Understanding deep learning (still) requires             Ghahramani, 2002; Griffiths & Ghahramani, 2005; Williams
rethinking generalization (Zhang et al., 2021) proposes the          & Rasmussen, 2006). At the same time, overparametriza-
test: “For any purported measure of generalization, we can           tion has been a defining feature of neural networks. And
now compare how it fares on the natural data versus the              many papers, especially theory papers, open by exclaim-
randomized data. If it turns out to be the same in both cases,       ing surprise that deep neural networks can generalize given
it could not possibly be a good measure of generalization for        that they have more parameters than datapoints, particu-
it cannot even distinguish learning from natural data (where         larly in light of benign overfitting: e.g., “A mystery about
generalization is possible) from learning on randomized              deep nets is that they generalize despite having far more
data (where no generalization is possible).” PAC-Bayes and           parameters than the number of training samples...” (Arora
the countable hypothesis bounds clearly pass this test, and          et al., 2018a). Moreover, many generalization bounds also
also provide a “precise formal measure under which these             become increasingly loose, and eventually vacuous, as we
enormous models are simple”, while Rademacher complex-               increase the number of parameters (Jiang et al., 2019).
ity and VC dimension do not. Moreover, this generalization           However, more recently, there have also been generalization
behaviour is intuitively understandable from the perspective         bounds that become tighter as we increase the number of
of soft inductive biases, embracing a flexible hypothesis            parameters (Lotfi et al., 2022a; 2024b). While LLMs are
space combined with a compression bias.                              in many cases not overparametrized, parameter counting
                                                                     is more prevalent than ever. And presentations of double
5. Overparametrization                                               descent (Section 6) are often based on parameter counting.

Now that we have covered soft biases, and benign overfitting,        5.2. Why does increasing parameters help performance?
it is likely becoming increasingly intuitive that a model
with many parameters will not necessarily overfit the data.          There are two reasons, flexibility and compression. We
Parameter counting, in general, is a poor proxy for model            have discussed how models with high flexibility and a com-
complexity. Indeed, before the resurgence of deep learning           pression bias will provably provide good generalization
in 2012, it was becoming commonplace to embrace models               (Section 3). Increasing the number of parameters in a neural
with many parameters: “it is now common practice for                 network straightforwardly increases its flexibility. Perhaps
Bayesians to fit models that have more parameters than the           more surprisingly, increasing the number of parameters also
number of data points...” (MacKay, 1995).                            increases a compression bias: that is, models with more pa-
                                                                     rameters can be stored with less total memory after training
We are not interested in the parameters in isolation, but            than models with fewer parameters after training.
rather how the parameters control the properties of the func-
tions we use to fit the data. We have already seen how               Maddox et al. (2020) found that larger models after training
arbitrarily large polynomials do not overfit the data, as long       had fewer effective parameters than smaller models, by mea-
as they have a simplicity bias. Gaussian processes also pro-         suring effective dimensionality of the Hessian (Section 3.2).
vide compelling examples. A GP with an RBF kernel can                In more recent work, Goldblum et al. (2024) also show that
be derived from an infinite sum ofPdensely dispersed radial          larger language models have a stronger simplicity bias —
                                      ∞                              they generate sequences with lower Kolmogorov complex-
basis functions ϕi : f (x, w) =       i=1 wi ϕi (x) (MacKay,
1998). Similarly, using central limit theorem arguments, we          ity — and that this bias is an important feature in good
can derive GP kernels corresponding to infinite single and           performance and good in-context learning across multiple
multi-layer neural networks (Neal, 1996b; Lee et al., 2017;          different settings and modalities.
Matthews et al., 2018) (the first of these being an infamous         But why do larger models appear to have a stronger com-
NeurIPS rejection!). Indeed, GPs are typically more flexi-           pression bias? While this is a fascinating open question,
ble than any standard neural network, but often have their           there are some clues and intuitions. Bartlett et al. (2020)
strongest performance relative to other model classes on             show that overparametrized least-squares models increas-
small datasets, due a strong (but soft) simplicity bias.

                                                                 8
                    Overparametrization                                         eralization, but then begins to overfit the data. The second
                                                                                descent, which gives rise to the name “double descent”, is
                                                                                referred to as the “modern interpolating regime”.
                                                                                Double descent was introduced to the modern machine learn-
                                                                                ing community by Belkin et al. (2019), and prominently
                                                                                studied for deep neural networks in Nakkiran et al. (2020).
        High loss   Low loss, overfitting   Low loss, good generalization
                                                                                It is often considered one of the great mysteries of deep
                                                                                learning, with the second descent challenging the conven-
                                                                                tional wisdom around generalization. If increasing model
Figure 6. Increasing parameters improves generalization. By
                                                                                flexibility is leading to overfitting in the classical regime,
increasing the number of parameters, flat solutions, which typically
provide simpler compressible explanations of the data, occupy a
                                                                                how can further increasing flexibility alleviate overfitting?
greater relative volume of the total hypothesis space — leading                 Belkin et al. (2019) even speculates on reasons for the “his-
to an implicit soft inductive bias for these simple solutions. Even             torical absence” of double descent.
though overparametrized models often represent many hypotheses                  But double descent is hardly a modern deep learning phe-
(e.g., parameter settings) that overfit the data, they can represent
                                                                                nomenon. The original introduction of double descent sur-
many more that fit the data well and provide good generalization.
Overparametrization can simultaneously increase the size of the
                                                                                prisingly dates back three decades earlier, at least to Opper
hypothesis space, and the bias for simple solutions.                            et al. (1989), and was also presented in Opper et al. (1990),
                                                                                LeCun et al. (1991), and Bös et al. (1993). It can also be
                                                                                understood and reproduced using other model classes. In
                                                                                fact, the Belkin et al. (2019) paper itself demonstrates dou-
ingly favour small-norm solutions with low effective rank                       ble descent with random forests and random feature models
(more in Section 6). As we increase the number of parame-                       in addition to two-layer fully-connected neural networks.
ters, we can also exponentially increase the volume of flat
solutions in the loss landscape, making them more easily ac-                    Following Maddox et al. (2020), consider Figure 1 (bottom
cessible (Huang et al., 2019), which is empirically supported                   left), showing cross-entropy loss on CIFAR-100 with in-
by larger models having smaller effective dimensionality                        creases in the width of each layer of a ResNet-18, training
(Maddox et al., 2020). This also helps explain why the im-                      to convergence. In the underparametrized regime (yellow),
plicit biases of stochastic optimization, contrary to common                    train and test loss both decrease, as increases in flexibility
belief, are not necessary for generalization in deep learning:                  enable the model to capture more useful information con-
even though some parameter settings overfit the data, they                      tent in the data, which increases the effective dimensionality
are vastly outnumbered in volume by the parameter settings                      (Section 3.2) of the Hessian of the trained parameters. In the
that fit the data well and also generalize well. Indeed, Geip-                  the transition regime (pink), the training loss is still decreas-
ing et al. (2021) found that full-batch gradient descent could                  ing, and the information content in the trained parameters of
perform nearly as well as SGD for training large residual                       the model is still increasing, leading to a continued increase
networks, and Chiang et al. (2022) further showed that even                     in effective dimensionality. However, the way the model is
guess and check — randomly sampling parameter vectors                           capturing structure is leading to some overfitting, increasing
and stopping once a low-loss solution was found — can                           the test loss. In the interpolation regime (green), where num-
provide competitive generalization with stochastic training.                    ber of parameters exceed the number of data points, test loss
                                                                                again decreases with increases in parameters. Importantly,
There is often a perceived tension between flexibility and                      in this second descent, all models achieve a perfect fit to the
inductive biases, with the assumption that more flexible                        data, and therefore increased flexibility cannot be the reason
models must have weaker inductive biases. But as we have                        that the models with more parameters achieve better gener-
seen, the larger and more flexible models often have stronger                   alization. Instead, as we continue to increase the number of
inductive biases, which we illustrate in Figure 6.                              parameters, the volume of compressible flat solutions grows,
                                                                                making these solutions more discoverable during training.
6. Double Descent                                                               The effective dimensionality of the solutions thus decreases,
                                                                                and generalization will improve.
Double descent typically refers to generalization error (or
loss) that decreases, then increases, then again decreases,                     In Figure 1 (bottom right) we show double descent for the
with increases in the number of model parameters. The                           mean-squared error of a linear model, Xw = y, where X
training loss is typically close to zero near the beginning of                  is an n × d matrix of features, w represents d parameters,
the second descent. The first decrease and then increase cor-                   and y are the n datapoints. This model uses weakly infor-
responds to a “classical regime”, where the model initially                     mative features y + ϵ, where ϵ ∼ N (0, 1). Once d > n,
captures more useful structure in the data, improving gen-                      the model can interpolate the data perfectly with infinitely

                                                                            9
many parameter settings w. Bartlett et al. (2020) shows that             “where the learning algorithm is allowed to output a distri-
the least squares solution w∗ = (X ⊤ X)−1 X ⊤ y provides                 bution over parameters, new generalization bounds were
the minimum ℓ2 norm solution amongst parameter settings                  also derived”. As we discussed in Section 3, PAC-Bayes
that perfectly fit the data, favouring simpler models that rely          and countable hypothesis bounds can apply to deterministi-
primarily on the most informative directions in the feature              cally trained models. They additionally provide a rigorous
space. We can also consider the effective dimensionality                 conceptual understanding of this generalization behaviour,
of the parameter covariance matrix (inverse Hessian), or,                and have existed for many decades. The basic idea behind
equivalently, the number of relatively small eigenvalues of              the bounds is even described in well-known textbooks, for
the Hessian X ⊤ X. Using the Marchenko-Pastur distribu-                  example Shalev-Shwartz & Ben-David (2014, Chapter 7.3).
tion in random matrix theory (Marchenko & Pastur, 1967;                  However, these frameworks must not have been broadly
Dobriban & Wager, 2018), we can predict in this setting                  known or internalized, and the deterministic variants as non-
that the small eigenvalues will get larger as the number of              vacuous bounds on large networks became more visible
parameters d increases past n, which in turn decreases the               somewhat later, for example in Lotfi et al. (2022a).
variance error (in the bias-variance decomposition) of the
                                                                         The implicit regularization of neural networks differs,
model (Hastie et al., 2022), leading to better generalization.
                                                                         for instance, from our running example of a large polyno-
Curth et al. (2023) provides a detailed analysis of double de-
                                                                         mial with order-dependent regularization. However, both
scent in classical statistical models, including a generalized
                                                                         types of regularization are examples of soft inductive biases,
notion of effective parameters.
                                                                         and we have discussed how increasing the size of a neural
As with benign overfitting, these notions of simplicity can be           network can increase its implicit regularization. Moreover,
formally characterized using countable hypothesis or PAC-                this implicit regularization is reflected in the generalization
Bayes bounds. It is also possible to track double descent                frameworks of Section 3, and characterized by quantities
with formal PAC-Bayes bounds, as in Lotfi et al. (2022a,                 such as effective dimension. Implicit regularization is also
Figure 7). In the second descent, larger models achieve                  not specific to neural networks, and applies to our random
similar empirical risk, but can be more compressible.                    feature linear model in Section 6. Moreover, contrary to con-
                                                                         ventional wisdom, the implicit regularization of stochastic
7. Alternative Views                                                     optimizers is not likely to play a major role in deep learning
                                                                         generalization, as discussed in Section 5. On the other hand,
The alternative view is that benign overfitting, double de-              we are still in the early stages of understanding precisely
scent, and overparametrization, are largely modern deep                  how and why scale and other factors influence the implicit
learning phenomena that require rethinking generalization.               regularization in neural networks.
How did this alternative view (which is quite mainstream!)               Overall, these phenomena are certainly intriguing and wor-
arise in the first place?                                                thy of (further) study. But they are not indescribable by
                                                                         every known generalization framework, nor are they spe-
The bias-variance trade-off decomposes expected gener-
                                                                         cific to deep learning, as is so often claimed.
alization loss into the expected data fit (the bias) and the
expected square difference between fits (the variance), over
the data generating distribution. Constrained models tend to             8. What is Different or Mysterious?
have high bias and low variance, and unconstrained models
                                                                         If these phenomena aren’t distinct to deep neural networks,
tend to have low bias and high variance, suggesting the “U
                                                                         then what is?
shaped” curve in the classical regime of double descent.
Accordingly, textbooks do indeed warn “a model with zero                 Deep neural networks are certainly different from other
training error is overfit to the training data and will typically        model classes, and in many ways they are not well under-
generalize poorly” (Hastie et al., 2017). But “trade-off” is             stood. Their empirical performance alone sets them apart.
a misnomer: models such as our order-dependent polyno-                   Indeed, the substantial disparity in performance between
mial in Section 2, or ensembles (Bishop, 2006; Wilson &                  deep convolutional neural networks and the next leading
Izmailov, 2020), can have low bias and low variance.                     approaches on ImageNet is responsible for renewed interest
                                                                         in (and the subsequence dominance of) this model class
Rademacher complexity, which measures the ability for
                                                                         (Krizhevsky et al., 2012). But if they are not in fact dis-
a function class to fit uniform ±1 labels, will not lead to
                                                                         tinguished by overparametrization, benign overfitting, or
meaningful generalization bounds for models that perform
                                                                         double descent, what does make these models different?
benign overfitting. Similar reasoning applies to VC and
fat-shattering dimensions. But even in the more recent retro-            To conclude, we briefly highlight some, but surely not all,
spective “...still requires re-thinking generalization” (Zhang           particularly salient properties and generalization behaviours
et al., 2021) there is only a single sentence on PAC-Bayes:              that are relatively distinctive to neural networks.

                                                                    10
8.1. Representation Learning                                            is perfectly fine if we have enough datapoints distributed
                                                                        densely enough for interpolation to work well: if we have
Representation learning is largely what sets neural networks
                                                                        many examples of 59 and 61 degree rotations, interpolation
apart from other model classes. What does representation
                                                                        will work reasonably well for predicting a 60 degree rota-
learning actually mean?
                                                                        tion. But through representation learning, a neural network
Most model classes can be expressed as an inner product                 will be able to accurately predict a 60 degree rotation from
of parameters w and basis functions ϕ: f (x, w) = w⊤ ϕ(x).              having seen only distant angles (Wilson et al., 2016).
While the function class may be highly flexible (in some
                                                                        Representation learning, however, is not unique to neural
cases more so than any neural network we can fit in mem-
                                                                        networks. It’s not uncommon to see claims about what
ory) (Williams & Rasmussen, 2006), and the basis functions
                                                                        neural networks can do that kernel methods cannot (e.g.,
non-linear, the basis functions typically are a priori fixed.
                                                                        Allen-Zhu & Li, 2023). Nearly always these contrasts are
For example, we may be using a polynomial basis, Fourier
                                                                        implicitly assuming that the kernel is fixed. But in fact ker-
basis, or radial basis. Beyond possibly a few hyperparam-
                                                                        nel learning is a rich area of research (Bach et al., 2004;
eters, such as the width of a radial basis, the basis func-
                                                                        Gönen & Alpaydın, 2011; Wilson & Adams, 2013; Wilson
tions do not typically have many of their own parameters
                                                                        et al., 2016; Belkin et al., 2018; Yang & Hu, 2020). And
that are learned from data. Neural networks, by contrast,
                                                                        there is no need to view kernel methods and neural net-
specify an adaptive basis: f (x, w) = w⊤ ϕ(x, v) where v
                                                                        works as competing. In fact, they are highly complementary.
are a relatively large set of parameters to be learned (the
                                                                        Kernel methods provide a mechanism to use models with
weights of the neural network) that significantly control
                                                                        an infinite number of basis functions, and neural networks
the shape of the basis functions, typically through a hierar-
                                                                        provide a mechanism for adaptive basis functions. There
chical formulation involving successive matrix multiplica-
                                                                        is no reason we cannot have infinitely many adaptive basis
tions passed through pointwise non-linearities σ: f (x, w) =
                                                                        functions! Deep kernel learning (Wilson et al., 2016) pre-
Wp+1 σ(Wp . . . σ(W2 σ(W1 x)) . . . ). Here, ϕ(x, v) =
                                                                        cisely provides this bridge, and was initially demonstrated
σ(Wp . . . σ(W2 σ(W1 x)) . . . ), and v = W1 , . . . , Wp .
                                                                        on the very orientation angle problem we considered here.
At first glance, it may seem unnecessary to learn basis func-           This approach has recently seen a resurgence of interest
tions. After all, as we saw in Section 5, we can achieve as             for epistemic uncertainty representation that only requires a
much flexibility as we need — universal approximators —                 single forward pass through the network.
with fixed basis functions, through kernels. But by learning
                                                                        Neural networks are also not the only way to do representa-
the basis functions, we are effectively learning the kernel —
                                                                        tion learning. In low-dimensional spaces, for example, it can
a similarity metric for our particular problem. Being able
                                                                        be effective to interpolate on spectral densities (learning the
to learn a similarity metric is profoundly important for high
                                                                        salient frequencies of the data) as a mechanism for kernel
dimensional natural signals (images, audio, text, . . . ), where
                                                                        learning (Wilson & Adams, 2013; Benton et al., 2019).
standard notions of similarity, such as Euclidean distance,
break down. This notion of representation learning as simi-             But neural networks are a relatively efficient way to learn
larity learning transcends the standard basis function view of          adaptive basis functions, especially in high dimensions. It’s
modelling. For example, it also applies to procedures such              not entirely clear why, either. Not only do neural networks
as k-nearest neighbours (knn), where performance hinges                 learn a notion of distance, this distance measure changes
on choosing a fixed distance measure, which ideally could               depending on where we are in input space x — it is non-
instead be learned.1                                                    stationary. Non-stationary metric learning is notoriously
                                                                        difficult without making certain assumptions that are well-
To consider a simple example of representation learning,
                                                                        aligned with data (Wilson & Adams, 2013). Fundamentally,
suppose we wish to predict the orientation angle of a face.
                                                                        neural networks provide hierarchical representations for
Faces with similar orientation angles may have very differ-
                                                                        data, and these hierarchies are often a natural representa-
ent Euclidean distances of their pixel intensities. But the
                                                                        tion of real-world problems. As we will discuss in the next
internal representation of a neural network can learn that,
                                                                        Section 8.2, they also provide a strong bias for low Kol-
for the task at hand, they should be represented similarly. In
                                                                        mogorov complexity that could align well with natural data
other words, the Euclidean distances between deep layers,
                                                                        distributions.
rather than raw inputs, for faces with similar orientation
angles will be similar. This ability to learn similarity met-
                                                                        8.2. Universal Learning
rics is necessary for extrapolation — making predictions far
away from the data. Euclidean distances on the raw inputs               Historically, the conventional wisdom is to build specialized
   1                                                                    learners with assumptions constrained to specific problem
    While k-nearest neighbours could be derived from a basis
function view, it’s not the most natural interpretation.                settings. For example, if we are modelling molecules, we
                                                                        could hard-code rotation invariance — and talk with do-

                                                                   11
                                           >5                                                     >5      100                                       >5
  80
                                                    60
                                           5                                                      5        80                                       5

  60
                                           2.3                                                    2.3                                               2.3
                                                    40                                                     60

  40                                       1.1                                                    1.1                                               1.1
                                                                                                           40
                                           0.54     20                                            0.54                                              0.54
  20                                                                                                       20
                                           0.28                                                   0.28                                              0.28

   0                                                 0                                                      0
                                           0.17                                                   0.17                                              0.17

 −20                                       0.11                                                   0.11    −20                                       0.11
                                                   −20
                                           0.065                                                  0.065                                             0.065
       −20   0   20   40   60   80   100                 −20   0   20   40        60   80   100                 −20   0   20   40   60   80   100



Figure 7. Modes in the neural network landscape are connected along curves. Three different two-dimensional subspaces of the
ℓ2 -regularized cross-entropy loss landscape of a ResNet-164 on CIFAR-100 as a function of network weights. The horizontal axis remains
fixed, anchored to the optima of two independently trained networks, while the vertical axis varies across panels. Left: Conventional
assumption of isolated optima. Middle and Right: Alternative planes where optima are connected via simple curves while maintaining
near-zero loss. Mode connectivity is relatively distinct to deep neural networks. Figure adapted from Garipov et al. (2018).


main experts to understand the other constraints we want                          shot time series forecasts relative to purpose-built time series
to impose on our model. This approach is often motivated                          models trained on time series data (Gruver et al., 2024)!
from the no free lunch theorems (Wolpert, 1996; Wolpert
                                                                                  In other words, not only are neural networks learning rich
& Macready, 1997; Shalev-Shwartz & Ben-David, 2014),
                                                                                  representations of data, they are learning representations that
which say that every model is equally good in expectation
                                                                                  are relatively universal across real-world problems, com-
over all datasets drawn uniformly. These theorems typically
                                                                                  pared to other model classes. We emphasize that for in-
imply that if a model performs well on one problem, it has
                                                                                  context learning, these are not fixed representations. During
to perform poorly on other problems, leading to the desire
                                                                                  pre-training, transformers learn to learn, discovering induc-
for highly tailored assumptions.
                                                                                  tive principles such as Occam’s razor (Gruver et al., 2024;
However, developments in deep learning have run exactly                           Goldblum et al., 2024). In the GP analogy, we can think of
contrary to this conventional wisdom! We have seen a con-                         the pre-trained transformer as a large mixture of GP experts,
fluence of models — a move from hand-crafted feature                              with different kernels. Conditioned on the downstream
engineering (SWIFT, HOG, etc.), to neural networks spe-                           dataset, the transformer selects the appropriate combina-
cialized to particular domains (CNNs for vision, RNNs for                         tion of kernels, based on what it has seen in pre-training.
sequences, MLPs for tabular data, . . . ), to transformers for
everything. This result can be explained by both neural                           8.3. Mode Connectivity
networks models, and the distribution of naturally occur-
ring data (rather than data sampled uniformly), having a                          Mode connectivity is a surprising phenomenon that is rel-
bias for low Kolmogorov complexity. Surprisingly, even                            atively distinct to neural networks (Garipov et al., 2018;
models designed for specific domains, such as convolutional                       Draxler et al., 2018; Frankle et al., 2020; Freeman & Bruna,
neural networks for image recognition, provably have in-                          2017; Adilova et al., 2023). If we re-train a neural net-
ductive biases for completely different modalities of data,                       work multiple times with different initializations, it was
such as tabular data, due to this bias (Goldblum et al., 2024).                   believed that we would converge to isolated local optima,
Starting with a neural network trained on one problem, it                         with significant loss barriers between them. However, it was
is possible to derive non-vacuous generalization bounds for                       discovered that there are simple paths between these differ-
performance on other problems and even other modalities,                          ent solutions that maintain essentially zero training loss, as
through upper bounding Kolmogorov complexity.                                     illustrated in Figure 7 (Garipov et al., 2018; Draxler et al.,
                                                                                  2018). In other words, it is a misnomer to even refer to the
Indeed, in-context learning, the ability for a model to learn                     converged solutions as local optima! Importantly, the pa-
without updating its parameters, works distinctly well for                        rameter settings along mode connecting curves correspond
neural networks. In some sense many classical models are                          to different functions that will make different predictions
also performing in-context learning, or something close to                        on test points, rather than representing degeneracies in the
it: when we use a Gaussian process with a fixed RBF ker-                          model specification, such as parameter symmetries.
nel, condition on some training data, and then sample the
posterior predictive, we are doing conditional generation                         Mode connectivity has profound implications for under-
without updating the model representation. But the rela-                          standing generalization in deep learning. Indeed, histori-
tive universality of in-context learning for transformers is                      cally one of the most common objections to deep learning
unprecedented. For example, a standard LLM pre-trained                            is the extreme multimodality of the loss landscapes (train-
on text completion can surprisingly make competitive zero-                        ing objectives). Mode connectivity shows instead that the


                                                                             12
solutions that we are finding in practice are all connected            possible for an optimizer to still find bad optima under such
together. Accordingly, understanding mode connectivity                 a loss landscape, it would have to be actively adversarial.
and developing practical procedures inspired by this phe-              Far from adversarial, stochastic optimization has biases that
nomenon has become a vibrant area of research (e.g., Kudi-             can indeed improve generalization. But, importantly, these
tipudi et al., 2019; Frankle et al., 2020; Benton et al., 2021;        biases are not necessary for respectable generalization. Of
Zhao et al., 2020; Ainsworth et al., 2022).                            course, stochastic optimization is much more computation-
                                                                       ally practical than the alternatives. No one is suggesting
Mode connectivity has also inspired popular optimization
                                                                       we use guess and check! Moreover, developing optimizers
procedures such as stochastic weight averaging (SWA) (Iz-
                                                                       which generalize better under a given computational budget
mailov et al., 2018), which in turn inspired model soups
                                                                       is a particularly exciting research direction, especially with
(Wortsman et al., 2022), and the area of model merging
                                                                       recent results showing the rise of second-order optimizers
(Ainsworth et al., 2022; Yang et al., 2024).
                                                                       (Liu et al., 2025; Vyas et al., 2024). Finally, the general-
But, like representation learning, mode connectivity is not            ization bounds of Section 3.1 can be evaluated regardless
entirely unique to neural networks (e.g., Kanoh & Sugiyama,            of whether the model uses stochastic optimization, and in-
2024). However, mode connectivity is largely a deep learn-             deed these bounds track the benign overfitting behaviour of
ing phenomenon, clearly only applicable to sophisticated               Gaussian processes, which perform Bayesian inference.
non-convex loss landscapes.
                                                                       What is the relationship between structural risk min-
                                                                       imization and soft inductive biases? SRM is a way to
9. Discussion                                                          encode a soft inductive bias, but is more narrowly focused,
                                                                       and often differently motivated. SRM is often used as a
Overparametrization, benign overfitting, and double descent
                                                                       mechanism to reduce VC dimension, trading off data fit
are intriguing phenomena, worthy of (further) study. How-
                                                                       with model complexity. It is not typically used as a pre-
ever, contrary to widely held beliefs, they are consistent with
                                                                       scription for arbitrarily flexible models, and indeed model
long-standing frameworks for understanding generalization,
                                                                       selection tools with priors corresponding to standard ℓ2 reg-
reproducible using other model classes, and intuitively un-
                                                                       ularization suggest we should use intermediate order models
derstandable. Going forward, we hope we can help bring
                                                                       (Bishop, 2006). A key point in this paper is that we can
different communities closer together, so that a variety of
                                                                       embrace models that fit data perfectly (including noise) but
perspectives and generalization frameworks are less at risk
                                                                       still have a bias for simplicity. Other ways of implementing
of being overlooked.
                                                                       soft inductive biases include overparametrization, Bayesian
Grokking and scaling laws are other phenomena of recent in-            priors and marginalization, the optimizer, and architectural
terest, similarly fascinating and worth understanding further.         specification.
But unlike the phenomena we consider in this paper, they
                                                                       Should we use a different sized model depending on
are not typically presented as evidence we need to re-think
                                                                       how much pre-training data are available? Assuming
generalization frameworks, or as deep learning phenom-
                                                                       the dataset is fixed (but of arbitrary size), and we want the
ena. And indeed, it is being shown that scaling laws and
                                                                       best performance, then no. Our beliefs about the process
grokking apply to linear models (Lin et al., 2024; Atanasov
                                                                       that generated the data are typically independent of how
et al., 2024; Miller et al., 2023; Levi et al., 2023). Impor-
                                                                       many training points we happen to have access to, and we
tantly, PAC-Bayes and countable hypothesis bounds are also
                                                                       should honestly represent our beliefs in our model. A large
consistent with large LLMs, as we saw in Figure 2, and re-
                                                                       model can achieve good performance for all data sizes, as
cent work even shows that these bounds describe Chinchilla
                                                                       long as it combined with a simplicity bias, as we saw in the
scaling laws (Finzi et al., 2025).
                                                                       polynomial example.
What is the role of the optimizer in deep learning gener-
                                                                       Can restriction biases have computational benefits?
alization? There is a conventional wisdom that the green
                                                                       While we are primarily considering the principles of model
and pink colours in Figure 6 are essentially inverted, and
                                                                       construction in an idealized setting, where computation is
that the main reason deep learning works is because the
                                                                       not a constraint, restriction biases such as sparsity and pa-
implicit biases of stochastic optimizers cause them to tra-
                                                                       rameter sharing can be a practical design decision for com-
verse a relatively small subspace of low loss solutions with
                                                                       putational reasons. However, even when considering compu-
good generalization. However, it has been shown that full
                                                                       tation, restriction biases can be undesirable. Indeed, recent
batch gradient descent, and even guess and check, stopping
                                                                       work shows that parameter sharing can be a poor principle
when the loss falls below a threshold, can find solutions with
                                                                       for compute-optimal scaling (Potapczynski et al., 2024).
similar or only slightly worse generalization as stochastic
optimization (Geiping et al., 2021; Chiang et al., 2022), in           How can we better understand generalization in deep
alignment with Figure 6 (right). While in principle it is              learning? There are many fascinating open questions in

                                                                  13
deep learning generalization. As an approach, we believe it            approach. In International Conference on Machine Learn-
is promising to analyze the solutions neural networks actu-            ing, 2018a.
ally reach to explain their behaviours. The generalization
bounds of Section 3.1 are fully empirical, non-asymptotic,           Arora, S., Ge, R., Neyshabur, B., and Zhang, Y. Stronger
and can be evaluated using a single sample. We view be-                generalization bounds for deep nets via a compression ap-
ing able to empirically evaluate the bounds as essential in            proach. In International conference on machine learning,
determining how much of the empirical model behaviour                  pp. 254–263. PMLR, 2018b.
is actually explained by the theory. We have found the
Solomonoff prior particularly useful for evaluating descrip-         Atanasov, A., Zavatone-Veth, J. A., and Pehlevan, C. Scal-
tive generalization bounds. Solomonoff induction uses a                ing and renormalization in high-dimensional regression.
maximally overparametrized model, containing every pos-                arXiv preprint arXiv:2405.00592, 2024.
sible program, but formalizes an ideal learning system that
assigns exponentially higher weights to shorter programs.            Bach, F. R., Lanckriet, G. R., and Jordan, M. I. Multiple
In the future, it would be enlightening to investigate prop-           kernel learning, conic duality, and the smo algorithm. In
erties of priors that may lead to tighter bounds, ever more            Proceedings of the twenty-first international conference
closely describing deep learning generalization. It would              on Machine learning, pp. 6, 2004.
be particularly exciting to move beyond Kolmogorov com-
                                                                     Bartlett, P. L. and Mendelson, S. Rademacher and Gaussian
plexity as a measure of information content, in order to
                                                                       complexities: Risk bounds and structural results. Journal
distinguish between incompressibility due to randomness
                                                                       of Machine Learning Research, 3(Nov):463–482, 2002.
versus incompressibility due to structural complexity.
Acknowledgements: We thank Shikai Qiu, Pavel Izmailov,               Bartlett, P. L., Long, P. M., Lugosi, G., and Tsigler, A.
Marc Finzi, Gautam Kamath, Micah Goldblum, Alan                        Benign overfitting in linear regression. Proceedings of
Amin, Jacob Andreas, Alex Alemi, Lucas Beyer, Mikhail                  the National Academy of Sciences, 117(48):30063–30070,
Belkin, Sanae Lotfi, Martin Marek, Sanyam Kapoor, Patrick              2020.
Lopatto, Preetum Nakkiran, Thomas Dietterich, and Sad-
hika Malladi for helpful discussions. This work was sup-             Beal, M. J., Ghahramani, Z., and Rasmussen, C. E. The
ported in part by NSF CAREER IIS-2145492, NSF CDS&E-                   infinite hidden markov model. In Advances in Neural
MSS 2134216, NSF HDR-2118310, BigHat Biosciences,                      Information Processing Systems, 2001.
Capital One, and an Amazon Research Award.
                                                                     Belkin, M., Ma, S., and Mandal, S. To understand deep
                                                                       learning we need to understand kernel learning. In Inter-
References                                                             national Conference on Machine Learning, pp. 541–549.
Adilova, L., Fischer, A., and Jaggi, M. Layerwise linear               PMLR, 2018.
  mode connectivity. arXiv preprint arXiv:2307.06966,
                                                                     Belkin, M., Hsu, D., Ma, S., and Mandal, S. Reconciling
  2023.
                                                                       modern machine-learning practice and the classical bias–
Ainsworth, S. K., Hayase, J., and Srinivasa, S. Git re-basin:          variance trade-off. Proceedings of the National Academy
  Merging models modulo permutation symmetries. arXiv                  of Sciences, 116(32):15849–15854, 2019.
  preprint arXiv:2209.04836, 2022.
                                                                     Benton, G., Maddox, W. J., Salkey, J., Albinati, J., and
Allen-Zhu, Z. and Li, Y. Backward feature correction: How              Wilson, A. G. Function-space distributions over kernels.
  deep learning performs deep (hierarchical) learning. In              Advances in Neural Information Processing Systems, 32,
  The Thirty Sixth Annual Conference on Learning Theory,               2019.
  pp. 4598–4598. PMLR, 2023.
                                                                     Benton, G., Maddox, W., Lotfi, S., and Wilson, A. G. G.
Alon, N., Ben-David, S., Cesa-Bianchi, N., and Haussler,
                                                                       Loss surface simplexes for mode connecting volumes and
  D. Scale-sensitive dimensions, uniform convergence, and
                                                                       fast ensembling. In International Conference on Machine
  learnability. Journal of the ACM (JACM), 44(4):615–631,
                                                                       Learning, pp. 769–779. PMLR, 2021.
  1997.
Alquier, P. et al. User-friendly introduction to PAC-Bayes           Bishop, C. M. Pattern Recognition and Machine Learning.
  bounds. Foundations and Trends® in Machine Learning,                 Springer, 2006.
  17(2):174–303, 2024.
                                                                     Bös, S., Kinzel, W., and Opper, M. Generalization ability
Arora, S., Ge, R., Neyshabur, B., and Zhang, Y. Stronger               of perceptrons with continuous outputs. Physical Review
  generalization bounds for deep nets via a compression                E, 47(2):1384, 1993.

                                                                14
Cao, Y., Chen, Z., Belkin, M., and Gu, Q. Benign overfitting         Freeman, C. D. and Bruna, J. Topology and geometry
  in two-layer convolutional neural networks. In Advances              of half-rectified network optimization. In International
  in Neural Information Processing Systems, 2022.                      Conference on Learning Representations, 2017.

Catoni, O. PAC-Bayesian supervised classification: the               Garipov, T., Izmailov, P., Podoprikhin, D., Vetrov, D. P., and
  thermodynamics of statistical learning. arXiv preprint               Wilson, A. G. Loss surfaces, mode connectivity, and fast
  arXiv:0712.0248, 2007.                                               ensembling of dnns. volume 31, 2018.

Chiang, P.-y., Ni, R., Miller, D. Y., Bansal, A., Geiping,           Geiping, J., Goldblum, M., Pope, P. E., Moeller, M., and
  J., Goldblum, M., and Goldstein, T. Loss landscapes                  Goldstein, T. Stochastic training is not necessary for
  are all you need: Neural network generalization can be               generalization. arXiv preprint arXiv:2109.14119, 2021.
  explained without the implicit bias of gradient descent.           Germain, P., Bach, F., Lacoste, A., and Lacoste-Julien,
  In The Eleventh International Conference on Learning                 S. PAC-Bayesian theory meets bayesian inference. Ad-
  Representations, 2022.                                               vances in Neural Information Processing Systems, 29,
                                                                       2016.
Curth, A., Jeffares, A., and van der Schaar, M. A u-turn
  on double descent: Rethinking parameter counting in                Goldblum, M., Finzi, M., Rowan, K., and Wilson, A. G.
  statistical learning. In Advances in Neural Information             The no free lunch theorem, kolmogorov complexity, and
  Processing Systems, 2023.                                            the role of inductive biases in machine learning. In Inter-
                                                                       national Conference on Machine Learning, 2024.
Dinh, L., Pascanu, R., Bengio, S., and Bengio, Y. Sharp min-
  ima can generalize for deep nets. In International Con-            Gönen, M. and Alpaydın, E. Multiple kernel learning algo-
  ference on Machine Learning, pp. 1019–1028. PMLR,                    rithms. The Journal of Machine Learning Research, 12:
  2017.                                                                2211–2268, 2011.

Dobriban, E. and Wager, S. High-dimensional asymptotics              Griffiths, T. and Ghahramani, Z. Infinite latent feature
  of prediction: Ridge regression and classification. The              models and the Indian buffet process. In Advances in
 Annals of Statistics, 46(1):247–279, 2018.                            Neural Information Processing Systems, 2005.

Draxler, F., Veschgini, K., Salmhofer, M., and Hamprecht,            Gruver, N., Finzi, M., Goldblum, M., and Wilson, A. G. The
  F. Essentially no barriers in neural network energy land-            lie derivative for measuring learned equivariance, 2023.
  scape. In International conference on machine learning,            Gruver, N., Finzi, M., Qiu, S., and Wilson, A. G. Large
  pp. 1309–1318. PMLR, 2018.                                           language models are zero-shot time series forecasters.
                                                                       Advances in Neural Information Processing Systems, 36,
Dziugaite, G. K. and Roy, D. M. Computing nonvacuous
                                                                       2024.
  generalization bounds for deep (stochastic) neural net-
  works with many more parameters than training data. In             Guedj, B. A primer on PAC-Bayesian learning. arXiv
  Uncertainty in Artificial Intelligence, 2017.                        preprint arXiv:1901.05353, 2019.

Finzi, M., Benton, G., and Wilson, A. G. Residual pathway            Hastie, T., Tibshirani, R., and Friedman, J. The elements
  priors for soft equivariance constraints. Advances in Neu-           of statistical learning: data mining, inference, and predic-
  ral Information Processing Systems, 34:30037–30049,                  tion, 2017.
  2021.
                                                                     Hastie, T., Montanari, A., Rosset, S., and Tibshirani, R. J.
Finzi, M., Kapoor, S., Granziol, D., Gu, A., De Sa, C.,                Surprises in high-dimensional ridgeless least squares in-
  Kolter, Z., and Wilson, A. G. Compute-optimal llms                   terpolation. Annals of statistics, 50(2):949, 2022.
  provably generalize better with scale. International Con-          Hinton, G. E. and Van Camp, D. Keeping the neural net-
  ference on Learning Representations, 2025.                           works simple by minimizing the description length of the
                                                                       weights. In Proceedings of the sixth annual conference
Foret, P., Kleiner, A., Mobahi, H., and Neyshabur, B.
                                                                       on Computational learning theory, pp. 5–13, 1993.
  Sharpness-aware minimization for efficiently improving
  generalization. arXiv preprint arXiv:2010.01412, 2020.             Hochreiter, S. and Schmidhuber, J. Flat minima. Neural
                                                                       computation, 9(1):1–42, 1997.
Frankle, J., Dziugaite, G. K., Roy, D., and Carbin, M. Linear
  mode connectivity and the lottery ticket hypothesis. In            Hoeffding, W. Probability inequalities for sums of bounded
  International Conference on Machine Learning, pp. 3259–              random variables. The collected works of Wassily Hoeffd-
  3269. PMLR, 2020.                                                    ing, pp. 409–426, 1994.

                                                                15
Hoffmann, J., Borgeaud, S., Mensch, A., Buchatskaya, E.,              LeCun, Y., Kanter, I., and Solla, S. A. Eigenvalues of covari-
  Cai, T., Rutherford, E., Casas, D. d. L., Hendricks, L. A.,           ance matrices: Application to neural-network learning.
 Welbl, J., Clark, A., et al. Training compute-optimal                  Physical Review Letters, 66(18):2396, 1991.
  large language models. arXiv preprint arXiv:2203.15556,
  2022.                                                               Lee, J., Bahri, Y., Novak, R., Schoenholz, S. S., Penning-
                                                                        ton, J., and Sohl-Dickstein, J. Deep neural networks as
Huang, W. R., Emam, Z., Goldblum, M., Fowl, L.,                         Gaussian processes. arXiv preprint arXiv:1711.00165,
 Terry, J., Huang, F., and Goldstein, T. Understanding                  2017.
  generalization through visualizations. arXiv pre-print
  arXiv:1906.03291, 2019.                                             Levi, N., Beck, A., and Bar-Sinai, Y. Grokking in linear
                                                                        estimators–a solvable model that groks without under-
Hutter, M. A theory of universal artificial intelligence based          standing. arXiv preprint arXiv:2310.16441, 2023.
  on algorithmic complexity. arXiv preprint cs/0004001,
  2000.                                                               Li, C., Farkhoor, H., Liu, R., and Yosinski, J. Measuring
                                                                        the intrinsic dimension of objective landscapes. arXiv
Izmailov, P., Podoprikhin, D., Garipov, T., Vetrov, D.,                 preprint arXiv:1804.08838, 2018.
  and Wilson, A. G.       Averaging weights leads to
  wider optima and better generalization. arXiv preprint              Li, M. and Vitányi, P. An introduction to Kolmogorov com-
  arXiv:1803.05407, 2018.                                               plexity and its applications, volume 3. Springer, 2008.

Jiang, Y., Neyshabur, B., Mobahi, H., Krishnan, D., and               Lin, L., Wu, J., Kakade, S. M., Bartlett, P. L., and Lee, J. D.
   Bengio, S. Fantastic generalization measures and where               Scaling laws in linear regression: Compute, parameters,
   to find them. arXiv preprint arXiv:1912.02178, 2019.                 and data. arXiv preprint arXiv:2406.08466, 2024.

Kanoh, R. and Sugiyama, M. Linear mode connectiv-                     Liu, J., Su, J., Yao, X., Jiang, Z., Lai, G., Du, Y., Qin, Y.,
  ity in differentiable tree ensembles. arXiv preprint                  Xu, W., Lu, E., Yan, J., et al. Muon is scalable for LLM
  arXiv:2405.14596, 2024.                                               training. arXiv preprint arXiv:2502.16982, 2025.

Keskar, N. S., Mudigere, D., Nocedal, J., Smelyanskiy,                Lotfi, S., Finzi, M., Kapoor, S., Potapczynski, A., Goldblum,
  M., and Tang, P. T. P. On large-batch training for deep               M., and Wilson, A. G. PAC-Bayes compression bounds
  learning: Generalization gap and sharp minima. arXiv                  so tight that they can explain generalization. Advances
  preprint arXiv:1609.04836, 2016.                                      in Neural Information Processing Systems, 35:31459–
                                                                        31473, 2022a.
Kolmogorov, A. N. On tables of random numbers. Sankhyā:
  The Indian Journal of Statistics, Series A, pp. 369–376,            Lotfi, S., Izmailov, P., Benton, G., Goldblum, M., and Wil-
  1963.                                                                 son, A. G. Bayesian model selection, the marginal likeli-
                                                                        hood, and generalization. In International Conference on
Kolmogorov, A. N. Three approaches to the quantitative                  Machine Learning, pp. 14223–14247. PMLR, 2022b.
  definition ofinformation’. Problems of information trans-
  mission, 1(1):1–7, 1965.                                            Lotfi, S., Finzi, M., Kuang, Y., Rudner, T. G., Goldblum, M.,
                                                                        and Wilson, A. G. Non-vacuous generalization bounds
Kou, Y., Chen, Z., Chen, Y., and Gu, Q. Benign overfitting              for large language models. In International Conference
  in two-layer relu convolutional neural networks. In Ad-               on Machine Learning, 2023.
  vances in Neural Information Processing Systems, 2023.
                                                                      Lotfi, S., Finzi, M., Kuang, Y., Rudner, T. G., Goldblum, M.,
Kraft, L. G. A device for quantizing, grouping, and coding              and Wilson, A. G. Non-vacuous generalization bounds
  amplitude-modulated pulses. PhD thesis, Massachusetts                 for large language models. In International Conference
  Institute of Technology, 1949.                                        on Machine Learning, 2024a.

Krizhevsky, A., Sutskever, I., and Hinton, G. E. Imagenet             Lotfi, S., Kuang, Y., Amos, B., Goldblum, M., Finzi, M.,
  classification with deep convolutional neural networks.               and Wilson, A. G. Unlocking tokens as data points for
  Advances in neural information processing systems, 25,                generalization bounds on larger language models. In Ad-
  2012.                                                                 vances in Neural Information Processing Systems, 2024b.

Kuditipudi, R., Wang, X., Lee, H., Zhang, Y., Li, Z., Hu, W.,         MacKay, D. J. Probable networks and plausible predictions?
  Ge, R., and Arora, S. Explaining landscape connectivity              A review of practical Bayesian methods for supervised
  of low-cost solutions for multilayer nets. Advances in               neural networks. Network: computation in neural sys-
  neural information processing systems, 32, 2019.                     tems, 6(3):469–505, 1995.

                                                                 16
MacKay, D. J. Introduction to Gaussian processes. In                 Quinn, K. N., Abbott, M. C., Transtrum, M. K., Machta,
 Bishop, C. M. (ed.), Neural Networks and Machine Learn-               B. B., and Sethna, J. P. Information geometry for mul-
 ing, chapter 11, pp. 133–165. Springer-Verlag, 1998.                  tiparameter models: New perspectives on the origin of
                                                                       simplicity. Reports on Progress in Physics, 86(3):035901,
MacKay, D. J. Information theory, inference and learning               2022.
 algorithms. Cambridge university press, 2003.
                                                                     Rasmussen, C. and Ghahramani, Z. Occam’s razor. Ad-
Maddox, W. J., Benton, G., and Wilson, A. G. Rethinking
                                                                       vances in neural information processing systems, 13,
 parameter counting in deep models: Effective dimension-
                                                                       2000.
 ality revisited. arXiv preprint arXiv:2003.02139, 2020.
                                                                     Rasmussen, C. and Ghahramani, Z. Infinite mixtures of
Marchenko, V. and Pastur, L. A. Distribution of eigenvalues
                                                                       Gaussian process experts. In Advances in Neural Infor-
 for some sets of random matrices. Mat. Sb.(NS), 72(114):
                                                                       mation Processing Systems 14: proceedings of the 2002
 4, 1967.
                                                                       conference, volume 2, pp. 881. MIT Press, 2002.
Matthews, A. G. d. G., Rowland, M., Hron, J., Turner, R. E.,
 and Ghahramani, Z. Gaussian process behaviour in wide               Rasmussen, C. E. The infinite Gaussian mixture model.
 deep neural networks. In International Conference on                  In Advances in Neural Information Processing Systems,
 Learning Representations, 2018.                                       2000.

McAllester, D. A. PAC-Bayesian model averaging. In                   Shalev-Shwartz, S. and Ben-David, S. Understanding ma-
 Proceedings of the twelfth annual conference on Compu-                chine learning: From theory to algorithms. Cambridge
 tational learning theory, pp. 164–170, 1999.                          university press, 2014.

Miller, J., O’Neill, C., and Bui, T. Grokking beyond neural          Shazeer, N., Mirhoseini, A., Maziarz, K., Davis, A., Le,
 networks: An empirical exploration with model complex-                Q., Hinton, G., and Dean, J. Outrageously large neural
 ity. arXiv preprint arXiv:2310.17247, 2023.                           networks: The sparsely-gated mixture-of-experts layer.
                                                                       arXiv preprint arXiv:1701.06538, 2017.
Nakkiran, P., Kaplun, G., Bansal, Y., Yang, T., Barak, B.,
  and Sutskever, I. Deep double descent: Where bigger                Smith, S. L. and Le, Q. V. A bayesian perspective on gener-
  models and more data hurt. In International Conference               alization and stochastic gradient descent. In International
  on Learning Representations, 2020.                                   Conference on Learning Representations, 2018.

Neal, R. Bayesian Learning for Neural Networks. Springer             Solomonoff, R. J. A formal theory of inductive inference.
  Verlag, 1996a. ISBN 0387947248.                                      part i. Information and control, 7(1):1–22, 1964.

Neal, R. M. Priors for infinite networks. Bayesian learning          Valiant, L. G. A theory of the learnable. Communications
  for neural networks, pp. 29–53, 1996b.                               of the ACM, 27(11):1134–1142, 1984.

Opper, M., Kleinz, J., Kohler, H., and Kinzel, W. Basins             Vapnik, V., Levin, E., and LeCun, Y. Measuring the vc-
  of attraction near the critical storage capacity for neural          dimension of a learning machine. Neural computation, 6
  networks with constant stabilities. Journal of Physics A:            (5):851–876, 1994.
 Mathematical and General, 22(9):L407, 1989.
                                                                     Vapnik, V. N. Adaptive and learning systems for signal pro-
Opper, M., Kinzel, W., Kleinz, J., and Nehl, R. On the                 cessing communications, and control. Statistical learning
  ability of the optimal perceptron to generalise. Journal             theory, 1998.
  of Physics A: Mathematical and General, 23(11):L581,
 1990.                                                               Vyas, N., Morwani, D., Zhao, R., Shapira, I., Brandfon-
                                                                       brener, D., Janson, L., and Kakade, S. Soap: Improving
Pérez-Ortiz, M., Rivasplata, O., Shawe-Taylor, J., and                and stabilizing shampoo using adam. arXiv preprint
   Szepesvári, C. Tighter risk certificates for neural net-           arXiv:2409.11321, 2024.
   works. Journal of Machine Learning Research, 22(227):
   1–40, 2021.                                                       Williams, C. K. and Rasmussen, C. E. Gaussian processes
                                                                      for machine learning. the MIT Press, 2(3):4, 2006.
Potapczynski, A., Qiu, S., Finzi, M., Ferri, C., Chen, C.,
  Goldblum, M., Bruss, C. B., De Sa, C. M., and Wilson,              Wilson, A. and Adams, R. Gaussian process kernels for
  A. G. Searching for efficient linear layers over a continu-         pattern discovery and extrapolation. In International
  ous space of structured matrices. In Advances in Neural             conference on machine learning, pp. 1067–1075. PMLR,
  Information Processing Systems, 2024.                               2013.

                                                                17
Wilson, A. G. and Izmailov, P. Bayesian deep learning and
 a probabilistic perspective of generalization. Advances
 in neural information processing systems, 33:4697–4708,
 2020.
Wilson, A. G., Hu, Z., Salakhutdinov, R., and Xing, E. P.
 Deep kernel learning. In Artificial intelligence and statis-
 tics, pp. 370–378. PMLR, 2016.

Wolpert, D. H. The lack of a priori distinctions between
 learning algorithms. Neural computation, 8(7):1341–
 1390, 1996.
Wolpert, D. H. and Macready, W. G. No free lunch theo-
 rems for optimization. IEEE transactions on evolutionary
 computation, 1(1):67–82, 1997.
Wortsman, M., Ilharco, G., Gadre, S. Y., Roelofs, R.,
 Gontijo-Lopes, R., Morcos, A. S., Namkoong, H.,
 Farhadi, A., Carmon, Y., Kornblith, S., et al. Model
 soups: averaging weights of multiple fine-tuned models
 improves accuracy without increasing inference time. In
 International conference on machine learning, pp. 23965–
 23998. PMLR, 2022.
Yang, E., Shen, L., Guo, G., Wang, X., Cao, X., Zhang, J.,
  and Tao, D. Model merging in llms, mllms, and beyond:
  Methods, theories, applications and opportunities. arXiv
  preprint arXiv:2408.07666, 2024.
Yang, G. and Hu, E. J. Feature learning in infinite-width
  neural networks. arXiv preprint arXiv:2011.14522, 2020.

Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals,
  O. Understanding deep learning requires rethinking gen-
  eralization. In International Conference on Learning
  Representations, 2016.
Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals, O.
  Understanding deep learning (still) requires rethinking
  generalization. Communications of the ACM, 64(3):107–
  115, 2021.
Zhao, P., Chen, P.-Y., Das, P., Ramamurthy, K. N., and Lin,
  X. Bridging mode connectivity in loss landscapes and
  adversarial robustness. arXiv preprint arXiv:2005.00060,
  2020.
Zhou, W., Veitch, V., Austern, M., Adams, R. P., and Orbanz,
  P. Non-vacuous generalization bounds at the ImageNet
  scale: a PAC-Bayesian compression approach. arXiv
  preprint arXiv:1804.05862, 2018.




                                                                18
A. Common Misconceptions about PAC-Bayes                                (Li et al., 2018). The bounds are often describing a model
                                                                        that is practically compelling, rather than an unrealistic
There are several common misconceptions about PAC-                      model reduction; (2) the ability to compress larger neu-
Bayes and countable hypothesis bounds.                                  ral networks into lower dimensional subspaces is informa-
Misconception: PAC-Bayes only applies to stochastic net-                tive about generalization; (3) the more recent non-vacuous
works, rather than the deterministically trained networks               bounds are not compression bounds, such as the bounds on
we use in practice, since it characterizes the expected gen-            billion parameter LLMs in Lotfi et al. (2024b) and Finzi
eralization of a posterior sample. However, the posterior               et al. (2025).
need not be the Bayes posterior, and we can evaluate the                Misconception: Kolmogorov complexity is not com-
PAC-Bayes bound with a point-mass posterior and a discrete              putable and so generalization bounds based on a
hypothesis space: using the relative entropy definition of              Solomonoff prior cannot be evaluated. The prefix-free
the KL divergence, KL(Q ∥ P ) = H(Q, P ) − H(Q), the                    Kolmogorov complexity K(h) represents the shortest pro-
                                         1
cross-entropy H(Q, P ) becomes log2 P (h)    and the entropy            gram in bits to represent h using some pre-specified coding.
H(Q) or “surprise” in seeing a sample from a point mass                 While we cannot compute the shortest program, we can
Q is zero, recovering a bound very similar to the countable             upper bound the shortest program by the stored filesize of
hypothesis bound. Alternatively, the countable hypothesis               the model and a constant given by terms that do not depend
bound directly applies to deterministically trained models.             on the data, such as the size of the (e.g., Python) script
Misconception: the countable hypothesis bound doesn’t                   we use to load and run the model. We can absorb these
apply to models with continuous parameters. The neu-                    constant terms that do not depend on the data, represented
ral networks we use are in fact programs on a computer,                 by A, into the Solomonoff prior, by working with K(h|A).
and therefore must represent a finite hypothesis space. The             We can then in turn upper bound the non prefix-free (stan-
weights can only take a finite number of values determined              dard) Kolmogorov complexity C (conditioned on A) by the
by the precision, such as floating point. There is a related            stored filesize of the trained model to compute informative
misconception that the countable hypothesis bounds must                 generalization bounds.
then be loose because there are many hypotheses repre-                  Incidentally, a profound property of Kolmogorov complex-
sented by floating point neural network parameter values.               ity is that it measures the absolute information independently
However, the form of the bounds makes clear that we should              of the programming language or Universal Turing Machine
avoid strictly measuring the number of hypotheses and in-               used. We can write a compiler that translates the code of
stead understand generalization from the perspective of                 one language to another without reference to any partic-
which hypotheses are a priori likely. Indeed, these bounds              ular strings. In particular, the invariance theorem upper
can be tighter for larger models representing more hypothe-             bounds the difference in Kolmogorov complexity under any
ses (Lotfi et al., 2024a).                                              two Universal Turing Machines by the shortest possible
Misconception: these bounds become loose as we in-                      compiler (Kolmogorov, 1965; Li & Vitányi, 2008). Such
crease the number of parameters. While many bounds,                     a compiler would typically be at most on the order of kilo-
including some PAC-Bayes bounds, do have parameter                      bytes, which is negligible compared to typical ML datasets
counting terms (Jiang et al., 2019), this is not true of all            which can be terabytes.
PAC-Bayes or countable hypothesis bounds. Indeed, re-                   Misconception: the bounds only hold if the prior P (h)
cent bounds can become tighter with increasing numbers                  is not misspecified. The bound does not require that the
of model parameters (Lotfi et al., 2022a; 2024a;b) because              prior be used to generate the correct hypothesis, or con-
larger models can have a stronger compression bias, leading             tain the hypothesis, or even be used by the model we are
to a decreased complexity penalty in the bound.                         bounding. It simply provides a mechanism to compute the
Misconception: tight neural network bounds are for un-                  bound. If, for example, the prior used in the bound favours
realistic model compressions. There is a form of bound,                 simple solutions, and the model has a prior that favours
referred to as a compression bound, which bounds the gen-               complex solutions, we will merely have a looser bound. The
eralization of a model whose parameters have been com-                  assumptions of the bound apply to the models we are us-
pressed into a lower-dimensional space. It is true that this ap-        ing in practice, including, for instance, the CIFAR benign
proach had early success in achieving non-vacuous bounds                overfitting experiments of Zhang et al. (2016).
for larger neural networks on larger datasets (Zhou et al.,
2018; Lotfi et al., 2022a). However, there are a few miscon-            B. Other Generalization Frameworks
ceptions to address: (1) the compression techniques used,
such as forming linear subspaces of the parameter space,                Rademacher complexity (Bartlett & Mendelson, 2002) ex-
famously perform often nearly as well as the original model             actly measures the ability for a model to fit uniform


                                                                   19
{+1, −1} random noise. In particular, the Rademacher                       C. Countable Hypothesis Bound
complexity of a hypothesis space H and an   Pinput
                                                n
                                                      sample
                                                                           Theorem C.1. Consider a bounded risk R(h, xi ) ∈ [a, a +
{xi , . . . , xn } is R(H) = Eσ suph∈H n1 i=1 σi h(xi ) ,
                                                           

where σi are i.i.d. Rademacher random variables ({+1, −1}                  ∆] and a countable hypothesis space h ∈ H for which we
with equal probability). The expected risk of a hypothesis                                          Pn not depend on {xi }. Let the
                                                                           have a prior P (h) that does
h is then bounded as R(h) ≤ R̂(h) + 2R(H) + C, where                       empirical risk R̂(h) = n1 i=1 R(h, xi ) be a sum over in-
C is a constant defined by the loss function, n, and the                   dependent random variables R(h, xi ) for a fixed hypothesis
confidence 1 − δ of the bound. Thus, if the model has a                    h. Let R(h) = E[R̂(h)] be the expected risk.
hypothesis space H that can fit the Rademacher noise, then                 With probability at least 1 − δ:
the Rademacher generalization bound will be uninformative                                             r
— unless it is adapted to include a prior that assigns higher                                            log 1/P (h) + log 1/δ
                                                                                  R(h) ≤ R̂(h) + ∆                             .    (5)
density to certain solutions over others, much like how we                                                        2n
move from a standard finite hypothesis bound with a uni-
form prior over hypotheses to a countable hypothesis bound                 Proof (Lotfi et al., 2024a). As nR̂(h) is the sum of inde-
with arbitrary prior in Appendix C.                                        pendent and bounded random variables, we can apply Ho-
                                                                           effding’s inequality (Hoeffding, 1994) for a given choice of
Similarly, the VC dimension (Vapnik et al., 1994) measures                 h. For any t > 0
the largest integer d such that the hypothesis space H can
fit (“shatter”) any set of d points with {+1, −1} labels (e.g.,               P (R(h) ≥ R̂(h) + t) = P (nR(h) ≥ nR̂(h) + nt)
classify these points in all 2d possible ways). If the VC                     P (R(h) ≥ R̂(h) + t) ≤ exp (−2nt2 /∆2 ).
dimension H is d, then the expected q generalization  error is
                                        d log(n)
                                                                          We will choose t(h) differently for each hypothesis h ac-
bounded as R(h) ≤ R̂(h) + O                 n     . Thus, mod-             cording to
els with large hypothesis spaces have uninformative VC                                   exp (−2nt(h)2 /∆2 ) = P (h)δ.
generalization bounds.
                                                                           Solving for t(h), we have
The fat-shattering dimension (Alon et al., 1997) fatγ (H)                                        r
refines the VC dimension to fitting (“shattering”) labels by                                       log 1/P (h) + log 1/δ
                                                                                       t(h) = ∆                                     (6)
some margin γ (or the function having all possible values                                                    2n
within some range [yi − γ, yi + γ] for each target yi ). The               This bound holds for a fixed hypothesis h. However, for
fat-shattering dimensionq
                        is closely related to Rademacher                   an h∗ ({x}) constructed using the training data, the random
                             fatγ (H)                                      variable
complexity: R(H) ≤ cγ            n    . We can bound expected
                                                                                                   n
                                                                                                  1X
                                            q
                                                fatγ (H) log(n)
generalization as R(h) ≤ R̂(h) + O                     n          .                     R̂(h∗ ) =       R(h∗ ({x}), xi ),
                                                                                                  n i=1
With larger γ, the fat-shattering dimension d will decrease,
as the constraints are harder to satisfy. The ability to fit               cannot be decomposed as a sum of independent random
noise, and a flexible hypothesis space, can be explained                   variables. Since h∗ ∈ H, if we can bound the probability
by the fat-shattering dimension if the model can only fit                  that R(h) ≥ R̂(h) + t(h) for any h, then the bound also
noise with small but not larger γ; however, the fat-shattering             holds for h∗ .
dimension is in general difficult to compute for arbitrary                 Applying   a union over the events
                                                                                                              S     
                                                                                                                     R(h) ≥ R̂(h) +
                                                                                                                h∈H
neural networks.                                                                
                                                                           t(h) , we have
We provide a comparative summary of different generaliza-                                                      [ 
                                                                           P (R(h∗ ) ≥ R̂(h∗ ) + t(h∗ )) ≤ P
                                                                                                                                       
                                                                                                                    R(h) ≥ R̂(h) + t(h)
tion bounds in Table 1.
                                                                                                               h∈H
                                                                                                             X                          
                                                                                                         ≤         P R(h) ≥ R̂(h) + t(h)
                                                                                                             h∈H
                                                                                                             X
                                                                                                         ≤         P (h)δ = δ.
                                                                                                             h∈H

                                                                           Therefore we conclude that for any h (dependent on x or
                                                                           not), with probability at least 1 − δ,
                                                                                                       r
                                                                                                          log 1/P (h) + log 1/δ
                                                                                  R(h) ≤ R̂(h) + ∆                              .
                                                                                                                   2n


                                                                      20
                                                   Table 1. Summary of Generalization Bounds
Bound Type       Measure    Generalization Bound                                    Introduced   Interpretation
                                                            q
                                                                log(2/δ)
Rademacher       Rn (H)     R(h) ≤ R̂(h) + 2Rn (H) + 3             2n               2000s        Measures expected maximum correlation any h ∈ H can achieve with
                                                                                                 uniform {+1, −1} samples. Does not explain overparametrization,
                                                                                                 benign overfitting, or double descent.
                                               q               
                                                     d log(n)
VC Dimension     d          R(h) ≤ R̂(h) + O             n                          1990s        Measures number d uniform {+1, −1} samples any h can fit. Does
                                                                                                 not explain overparametrization, benign overfitting, or double descent.
                                               q                      
                                                     fatγ (H) log(n)
Fat Shattering   fatγ (H)   R(h) ≤ R̂(h) + O                n                       1990s        Refines VC for real-valued functions and margin γ. Possibly describes
                                                                                                 benign overfitting for larger γ, but can be hard to evaluate.
                                              q                           
                                                    KL(Q∥P )+log(n/δ)+2
PAC-Bayes        KL(Q∥P )   R(h) ≤ R̂(h)+O                 2n−1                     1990s        Generalization is controlled by which solutions are likely under the prior,
                                                                                                 rather than size of the hypothesis space. Describes overparametrization,
                                                                                                 benign overfitting, and double descent.
                                               q                          
                                                     log 1/P (h)+log 1/δ
Finite           P(h)       R(h) ≤ R̂(h) + O                  2n                    1980s        Generalization is controlled by which solutions are likely under the prior.
Hypothesis                                                                                       Applies to deterministic models. Prior can be evaluated through bound on
                                                                                                 Kolmogorov complexity given by storage space of trained model. Non-
                                                                                                 vacuous bounds for million and billion parameter neural nets. Bounds
                                                                                                 often improve for larger models. Describes overparametrization, benign
                                                                                                 overfitting, double descent.



D. Experimental Details                                                             All other figures are conceptual figures.
In Figure 1(a)(b)(c), we use a 150th Porder polynomial
with order-dependent regularization j 2j wj2 (green) to
fit regression data generated from (a) sin(x) cos(x2 ), (b)
x + cos(πx), (c) N (0, 1) noise.
Figure 1(d)(e) is adapted from Wilson & Izmailov (2020),
which uses a Gaussian process with an RBF kernel, and
a PreResNet-20 and isotropic prior p(w) = N (0, α2 I)
and Laplace marginal likelihood, and in turn replicates the
CIFAR-10 noisy label experiment in Zhang et al. (2016).
Figure 1(f) is adapted from Maddox et al. (2020) and uses a
ResNet-18 with increasing layer width, measures train loss,
test loss, and effective dimensionality for α = 1. Similar
to Maddox et al. (2020), in Figure 1(g) we use the random
feature least squares model Xw = y with each column of
Xi = yi + ϵ where ϵ ∼ N (0, 1). We measure MSE, and
use α = 10 to compute the effective dimensionality of the
parameter covariance matrix (inverse Hessian).
Figure 2 is adapted from Lotfi et al. (2024a), and evalu-
ates the countable-hypothesis bounds with upper bound on
Kolmogorov complexity in Section 3 for LLMs of various
sizes.
Figure 5 fits two 15th order polynomials and one 2nd order
polynomial to data generated from a 2nd order polynomial,
15th order polynomial, and cos( 32 πx). One of the 15th
P polynomials
order               uses the order-dependent regularization
         2 2 2
   j 0.01 j wj . Train and test input locations are sampled
from N (0, 1). The number of test samples is 100 and the
number of train samples range from 10 to 100. For each
train sample size, we re-generate data 100 times, and record
the RMSE and its standard deviation (represented by shade).
A similar result was shown in Goldblum et al. (2024).


                                                                               21
