Manuscript Offprint
arXiv:2610.13123Why Heavy-Tailed Weight Spectra Predict Model Quality
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Joseph Wilson
School of Mathematics and Physics
University of Queensland
joseph.wilson1@uqconnect.edu.au
Liam Hodgkinson
School of Mathematics and Statistics
University of Melbourne
Fred Roosta
CIRES and School of Mathematics and Physics
University of Queensland
Chris van der Heide
Dept. of Electrical and Electronic Engineering
University of Melbourne
Zhichao Wang
ICSI and Department of Statistics
University of California, Berkeley
Michael W. Mahoney
ICSI, LBNL and Department of Statistics
University of California, Berkeley
Abstract
A solid understanding of the predictive success of deep neural networks (DNNs) remains elusive. For example, while many data-dependent metrics exist that seek to predict model quality of DNNs, these metrics may be expensive to compute for large datasets and/or may be impossible to compute when training datasets are not released. A practical and effective predictor of model quality involves analyzing DNN weight matrices, as prior work has established that heavy-tailed spectral distributions in trained weight matrices can be strongly predictive of model quality. However, such metrics lack a rigorous statistical justification. In this work, we aim to understand why these metrics perform well, from a statistical perspective. To do so, we employ a probabilistic framework to derive the marginal likelihood for a DNN, evaluated using only the final layer weights. Across large-scale convolutional DNNs and LLMs, we find that this marginal likelihood predicts model quality. To understand the role heavy-tailed spectra play in predictive performance, we derive the limiting log-marginal likelihood for spectra that follow the (heavy-tailed) High-Temperature Marchenko-Pastur (HTMP) distribution. We show that this limiting quantity is convex in a heaviness parameter, and we derive an optimal heaviness that empirically predicts over-fitting for large-scale DNNs.
1 Introduction
Since the introduction of AlexNet (Krizhevsky et al., 2012), an understanding of the mechanisms behind the predictive success of deep neural networks (DNNs) has lagged behind empirical advancements (Zhang et al., 2021). For example, generalization is one way to try to quantify this; in contrast to classical statistical learning theory (SLT), however, large heavily over-parameterized DNNs generalize well after training to near zero-loss. This phenomenon extends the classical U-shaped bias-variance curve to the well-known double-descent curve (Belkin et al., 2019). The recent success of large language models (LLMs) further complicates the picture: foundation models are often under-parameterized, and do not attain zero-loss (Hoffmann et al., 2022). Instead, the performance
40th Conference on Neural Information Processing Systems (NeurIPS 2026).


Figure 1: Plots of (BFE-W) versus test accuracy, for (left) torchvision models trained on ImageNet-1K, (middle) Pythia models, and (right) Qwen3.5 models. Test dataset is given in brackets.
of LLMs seems to be (empirically) well-governed by neural scaling laws (Kaplan et al., 2020; Hoffmann et al., 2022), the theoretical underpinnings of which are not well understood (Boopathy & Fiete, 2024).
Tools for attempting to estimate model quality of DNNs are extensive. Classical statistical techniques using complexity measures such as the Rademacher complexity, Vapnik–Chervonenkis (VC) dimension, and uniform stability have been largely unsuccessful (Zhang et al., 2017). The celebrated PAC-Bayes bounds (McAllester, 2003) provide improved generalization bounds, yet do not provide a sufficient explanation of generalization (Lotfi et al., 2022a; Livni & Moran, 2020). A related quantity is the marginal likelihood of a DNN, which is connected to both PAC-Bayes bounds (Germain et al., 2016) and leave-k-out cross-validation (Fong & Holmes, 2020). Immer et al. (2021) demonstrated correlation with model quality for large DNNs, although certain caveats have been reported (Lotfi et al., 2022b). This quantity is important in SLT (Konishi & Kitagawa, 2008), since from it the Bayesian Information Criterion and Watanabe–Akaike Information Criterion can be derived. For singular models (e.g., DNNs), the Widely Applicable Bayesian Information Criterion (Watanabe, 2013) was developed; it can predict quality of pre-training for downstream tasks (Munn & Wei, 2025). These information criteria are derived in the regime where number of data-points , for fixed parameter dimension p; but this is no longer a valid assumption for modern deep learning (Couillet & Liao, 2022). To account for this, the Interpolating Information Criterion (IIC) (Hodgkinson et al., 2023b,c) was developed for models that attain zero-loss, although we should note that the IIC depends on an implicit regularizer for DNNs, whose full characterization remains a challenging open problem.
These techniques for predicting model quality are data-dependent, which presents multiple issues for their practical use. Firstly, computation on massive training sets can become infeasible (Ameli et al., 2025a,b). Secondly, foundation models are often trained on undisclosed or proprietary datasets (Singh et al., 2025), limiting the ability for comparisons across frontier labs. In response, a novel line of work has considered using DNN weight matrices in isolation (data-independent, i.e., without training or test data) for predicting model quality (Martin & Mahoney, 2020; Yang et al., 2023). Motivation arose from the Heavy-Tailed Mechanistic Universality (HT-MU) (Martin & Mahoney, 2019, 2020) and Heavy-Tailed Self-Regularization (HT-SR) theories (Martin & Mahoney, 2021). These related approaches are phenomenological, or semi-empirical, theories that are motivated by statistical mechanics (Martin & Mahoney, 2017, 2021), and they are based on the empirical observation that spectra of trained DNN weight matrices exhibit heavy-tails. Metrics derived from the “heaviness” of the spectral tail are surprisingly strong predictors of model quality for both computer vision (Martin et al., 2021) and language models (Yang et al., 2023). Such metrics can identify DNN layers that are “under-trained,” allowing for layer-wise learning (Zhou et al., 2023) or pruning (Lu et al., 2024). Motivated by this, Hodgkinson et al. (2025) recently developed the High-Temperature Marchenko-Pastur (HTMP) spectral distribution, which (among other things) is appropriate for modeling (heavy-tailed spectra of) weight matrices after training. This probabilistic model exhibits heavy-tailed spectra for weight matrices that do not necessarily possess heavy-tailed elements, a phenomenon observed in practice (Martin & Mahoney, 2021), and it can reproduce neural scaling laws for generalization error.

Epoch = 60
Epoch = 120
Epoch = 180
Epoch = 33000
Epoch = 63000
Epoch = 123000
Epoch = 143000
Figure 2: The ESD (gray) and fitted HTMP distribution (red dotted lines), for the final-layer weights of (top) ResNet50 trained on CIFAR-100, and (bottom) Pythia-12B trained on Pile.
In this work, we aim to understand—from a statistical perspective—why heavy-tailed weight spectra predict model quality. To do so, we reframe and derive certain aspects of HT-SR for DNNs using the tools of SLT and Random Matrix Theory (RMT). Doing so will in turn allow DNN theory to more readily use and build upon the HT-SR phenomenology. To this end, we employ a stochastic modeling framework for DNN training, and a weights and features (i.e., final activations) decomposition, to derive the marginal likelihood for trained features . We then show that can be evaluated using only final-layer weights. Defining the Bayes free energy as , we observe the following behavior:
For the trained weights W, m outputs, and correctly chosen regularization parameter ,
is strongly predictive of model quality for large-scale computer vision and language models.
We illustrate the predictive quality of this metric for many large models in Figure 1. As this metric only requires the spectrum of W, i.e., it does not require access to training or testing data, we can then explore a central question from HT-SR: why does the heaviness in the spectral tail of weight matrices predict model quality? To answer this, we employ the HTMP distribution, with heaviness parameters , , to derive the deterministic limit of , under the double-asymptotic scaling of RMT. From this quantity, we find two key spectral parameters predict model quality:
Theorem (Informal). Under the HTMP, for fixed , there exists an optimal ratio ; once this optimal ratio is achieved, is strictly decreasing in .
In a series of experiments, we observe that for large DNNs, correlates with test error very well during training. In addition, for trained Computer Vision (CV) models, the ratio controls underfitting / overfitting. In contrast, trained LLMs attain the optimal ratio early; and increasing during training then correlates with improved performance. These results provide a probabilistic connection between spectral properties and model quality.
Contributions. To summarize, in this work, we do the following:
-
Derive the equivalent trained last-layer weights formulation of the Bayes free energy of a DNN.
-
Empirically demonstrate strong correlation of this free energy with model quality.
-
Derive the limiting free energy under HTMP, and find the minimizing HTMP parameters.
-
Empirically show that training of DNNs corresponds to optimization of HTMP parameters.
Section 2 provides necessary background. In Section 3, we derive and provide an empirical evaluation. In Section 4, we find the limit of this quantity under the HTMP distribution, and we show how this quantity can be optimized; this is then connected to the training of practical DNNs. Finally, a conclusion and discussion is given in Section 5. In the Appendix, we give proofs for the theoretical results, experimental details, further discussions, and further experimental and theoretical results. Code to reproduce the experiments can be accessed here.
Implicit regularization. While explicit forms of regularization for DNNs are often employed, certain aspects of a DNN such as architecture choice (e.g., depth) or optimization scheme (small-batch SGD) may implicitly (Mahoney & Orecchia, 2011; Mahoney, 2012) bias a DNN towards parameter values that generalize better. For homogeneous DNNs on linearly separable data, steepest descent with respect to any norm will implicitly minimize the parameter norm past the point of interpolation (Tsilivis et al., 2026). Small-batch SGD is thought to bias DNNs towards flatter minima during training, improving generalization (Keskar et al., 2017), although this idea has received criticism (Dinh et al., 2017; Yao et al., 2020, 2021). The Geometric Complexity (GC) (Dherin et al., 2022), defined by a discrete version of the Dirichlet Energy (Jost, 2017), is a measurement of geometric smoothness that encompasses many previous notions of smoothness and seems to be correlated with model quality. A related object (Munn & Wei, 2025) is the Real Log Canonical Threshold from the Singular Learning Theory of Watanabe (2009), and its local approximation, the Local Learning Coefficient (Lau et al., 2025) which also seems to correlate with model quality. We emphasize that these implicit regularization metrics depend on training data.
Heavy-tailed self-regularization (HT-SR). HT-SR (Martin & Mahoney, 2021) posits that the empirical spectral distributions (ESD) of trained weight matrices follow a power-law (PL) ( ), or exponentially-truncated PL (ET-PL) ( ) in the tail, due to complex correlations learnt during training, for some chosen minimum eigenvalue . Using the fitted value, in Martin et al. (2021), it was shown that for trained matrices , where , the metrics , , and , averaged over weights in a network, were strongly predictive of model-quality for CV tasks, when comparisons are made within-group. HT-SR can be heuristically derived based on ideas from the statistical mechanics of learning (Martin & Mahoney, 2017, 2021; Martin & Hinrichs, 2025).
Entropic regularization framework. Define the stochastic minimization operation, , with temperature and prior distribution , for , and , as
Here, is the set of probability distributions on the support of . We denote the minimizing density over parameters as , provided it exists and is unique. Such probabilistic frameworks of training have been considered previously (Xie et al., 2022; Sonthalia et al., 2024). Note that (1) optimizes a PAC-Bayes bound on the test-error when is the training loss (Hodgkinson et al., 2025, Appendix B.), and it is related to the variational inference performed during stochastic gradient descent (Chaudhari & Soatto, 2018).
3 Free energy for trained weights
In this section, we first derive , the negative log-marginal for interpolating trained features, that can be evaluated using only trained final-layer weights. We then show that this quantity correlates very well with model quality for many large DNNs.
Notation. Consider a DNN f : , for inputs and parameters . We take training dataset , for , and loss function . We denote the concatenations of training data as , . In our setting, it will be useful to consider a decomposition of a DNN into its non-linear features and final-layer weights. We denote the function space of features as ; then we write , for inputs , final-layer weights , and feature function . The functional form of the DNN is . We can represent the function evaluated on training inputs as , where is the concatenation . We denote the matrix-normal distribution by .
3.1 Optimal features under interpolation for ridge regression
The exact training dynamics of large DNNs are highly complex, prohibiting careful analysis. To simplify analysis, we consider training f on , using the entropic regularization framework in (1), for loss function , and . Under this framework, optimal feature density is
provided the minimum exists and is unique. By Hodgkinson et al. (2025, Proposition 3.1), , where is the marginal (Gibbs) likelihood with prior , . So, we observe that trained features concentrate around regions with high marginal likelihood. Under our loss function and prior, we can explicitly compute (calculations are given in Appendix A) the negative log marginal for the trained features (i.e., Bayes Free Energy):
where , and .
3.2 Evaluation of free energy using final-layer weights
For trained features , the Bayes Free Energy can be used to measure model quality; while this is not novel, the following extension is: under certain assumptions, for training temperature , the Bayes Free Energy for well-trained features can be evaluated using only the final-layer weights , up to some additive terms that cancel when comparing Bayes Free Energy between models trained on the same dataset. Taking concentrates the marginal likelihood on the sub-manifold of interpolators; this concentration approach was used to derive the IIC (Hodgkinson et al., 2023b).
Assumption 1 (Interpolation). For trained features , assume , and . Further, assume that trained weights are given by , and that .
This minimum-norm interpolating solution is key; contains all necessary information about the relationship between features and targets. These assumptions have strong motivations: under our entropic regularization training framework, taking such that ensures , and the same result applies in the deterministic optimization setting (Golub & Pereyra, 1973). Further, in a sufficiently over-parameterized multiclass logistic regression setting, Wang et al. (2021) show trained weights “interpolate” the centered training outputs. Under neural collapse assumptions (Papyan et al., 2020), these results extend to over-parameterized neural networks. Using this interpolating relationship, we can now evaluate (2) using only the final-layer weights.
Theorem 1. Define . Then, under Assumption 1, as ,
The proof of this theorem is given in Appendix B. We observe that the final three terms will cancel as when comparing models trained on the same dataset. Dropping the dependence of on m, dropping the constant terms that cancel (except for a Gaussian entropy term), and correctly normalizing the trace and log-determinant terms, we arrive at the relative free energy:
(BFE-W)
Thus, we have derived, under an entropic regularization framework, a data-free metric that directly measures model quality of the underlying DNN features. We see that (BFE-W) involves a trade-off between and , controlled by parameter (prior scale). The advantage of (BFE-W) over (2) for comparing models is immediate: (BFE-W) does not require access to training or validation data, and W is often of a much smaller size than .
Note that when , is rank-deficient. In practice, one might add a small ridge-parameter for (BFE-W), i.e., . However, one can also derive a dual formulation of (BFE-W), to obtain:
The full asymptotic expansion is given along with its derivation in Lemma 2 in Appendix B.2. While this free energy does not immediately allow for comparison between models with differing , we will see that it still correlates surprisingly well with model quality, across models with differing .
Remark 1. To ensure (BFE-W) correlates with the posterior predictive loss, one can set (Hodgkinson et al., 2023b,a; Lotfi et al., 2022b; MacKay, 1992). Taking a derivative immediately gives . Interestingly, at this scale,
Hence, at the optimal regularizer, the free energy is measuring the log-ratio of the arithmetic spectral mean versus geometric spectral mean. This is trivially minimized at (up to a scalar multiple), where has orthonormal columns; this corresponds to the case when . Outside of this “optimal-learning scenario,” behavior is non-trivial.
3.3 Empirical evaluation
Here, we empirically demonstrate the correlation of (BFE-W) with model quality.
Computer vision (CV). We take a large number of high-performing models, across different architecture types (e.g., ResNet, DenseNet etc.) from the torchvision model zoo that have been pretrained on ImageNet-1K, where test accuracy and model weights are provided. We set for each model. In Figure 1 (left), we present (BFE-W) versus top-5 test accuracy, where we see a strong Spearman correlation of across groups .
Large language models (LLMs). We employ both the Pythia project (Biderman et al., 2023) models (410M, 1B, 1.4B, 2.8B, 6.9B, and 12B), as well as the Qwen3.5 suite (Qwen Team, 2026) (2B, 4B, 9B, 35B, 122B, and 397B). In Figure 1 (middle) we compare the dual (BFE-W) against LAMBADA (Paperno et al., 2016) test accuracy for the Pythia models, where we see a solid correlation of . In Figure 1 (right), we repeat this for the Qwen3.5 models, using the MMLU-Pro benchmark (Wang et al., 2024a); here we see a stronger correlation of . This is strong evidence that for both CV models and LLMs, (BFE-W) is, perhaps surprisingly, strongly predictive of model quality.
We also compare against the HT-SR metrics in Appendix I.1 for the CV models, where (BFE-W) shows much stronger correlation. Note that for CV, two model classes did not show correlation between (BFE-W) and accuracy. Firstly, models that used dropout before the final-layer weight did not show correlation, as dropout prevents complex correlations from occurring in final-layer
There is also strong correlation within groups.

PYTHIA-1B PILE
PYTHIA-12B PILE

Figure 3: Test CE, (BFE-W) and , vs. epochs. Model quality during training is highly correlated with BFE. Further, closely approximates (BFE-W).
weights (Srivastava et al., 2014). Secondly, vision transformers did not show correlation. This could be because division of vision transformers at the last-layer into features and weights may be too crude. See Appendix I.2 for results showing this (alongside HT-SR metrics, which perform as poorly). The extension to such models is left for future work.
4 Heavy-tails and free energy
In the previous section, (BFE-W) was derived for the final-layer weights. In this section, we will relax this condition, and consider (BFE-W) for all weights of a DNN. We will observe in the sequel that (BFE-W) for deeper DNN weights can still correlate very well with model quality, and we will give theoretical motivation (in Appendix F.2). Thus, equipped with a metric, (BFE-W), that explicitly connects trained weights of a DNN to model quality, we will use the machinery of RMT to investigate the question of why—from a statistical perspective—the spectral shape of heavy-tailed weights is so strongly predictive of model performance. We give details on the spectral shape of trained weights; we then use this to analyze how (BFE-W) is optimized for certain spectral parameters, under an RMT limit; and we conclude with empirical validation for large-scale DNNs.
4.1 Trained weight spectra
The spectrum of weight matrices before and after training differs substantially (Martin & Mahoney, 2021). The ESD of weight matrices , where , for DNNs at initialization converges to the Marchenko-Pastur distribution ( ), with aspect ratio . After training, the spectrum of weight matrices is often well-modeled by the HTMP distribution (see Hodgkinson et al. (2025, Proposition 5.3)), which admits heavy-tails.
Assumption 2. For (e.g., Convolutional, Dense, etc.) in a DNN, in the limit as , , the spectral distribution of converges weakly in probability to the distribution, where .
Definition 1. If spec , then spec .
See Figure 2 for empirical validation of this assumption for large DNNs. We provide further details on the HTMP distribution in Appendix C, as well as some mild integrability assumptions.
Under the standard initialization schemes for DNNs (e.g., Xavier, He, Glorot initializations).
As , such that .
RESNET50 CIFAR100

RESNET50 CIFAR10
PYTHIA-1B PILE
PYTHIA-12B PILE

Figure 4: Test error, (BFE-W) and vs. fitted and . For CV, (purple cross) aligns with minimum error. For LLMs, is attained early, and increasing lowers test error.
4.2 Limiting free energy
We now find the deterministic limit of (BFE-W) under RMT scaling. This quantity will allow us to connect spectral shape qualities of trained weights to model quality, through the empirically observed correlation between (BFE-W) and model quality in Section 3.3.
Theorem 2. Under Assumption 2, Assumption 4, and Assumption 5,
where is the Tricomi confluent hypergeometric function.
The proof of Theorem 2 is found in Appendix D.3. Now, this deterministic limit depends nontrivially on several parameters. Hence, we would like to find a parameter combination through which analysis is simplified. To this end, and to investigate the question of why heavier-tails correspond to improved model quality, note that the density of follows
Hence, under , either increasing or decreasing (while keeping the other parameter fixed) will give heavier tails. A natural quantity to consider is therefore the scale-based heaviness . We now present a result which states that there exists, under certain assumptions, an optimal scale-based heaviness ; once this optimal is achieved, increasing will decrease the limiting free energy. The proof is given in Appendix E.2.
Theorem 3. For in (3), we have the following results:
a. For fixed , the first moment and the Shannon transform (defined in Definition 2) are both increasing in .
b. For fixed , and for , is strictly convex and coercive in , and there exists a unique optimal ratio for which reaches its minimum.
c. For , at , is strictly decreasing in .
Under Assumption 2, Assumption 4 and Assumption 5, we see that the competing terms in (BFE-W) are increasing and decreasing, respectively, with h, due to the following identities:

Figure 5: Fitted HTMP parameters at each epoch, for ResNet50 (trained on CIFAR-10 and CIFAR-100), Pythia-1B and Pythia-12B models. All weights are final-layer weights, except for ResNet50 CIFAR-10, where flattened convolutional weight at the third layer is used.
In practice, the spectral gap is non-zero, and hence we must impose further assumptions on the parameterization of , , . We see in Figure 5 that for CV models, and are approximately inversely proportional over training epochs; under this assumption, we have the following lemma, whose proof is given in Appendix E.3.
Lemma 1. Under HTMP , if for , then .
4.3 Using HTMP to understand training dynamics
We now employ the theoretical results above to explain learning dynamics for large DNNs. Further experimental results can be found in Appendix H.
CV. We consider ResNet50, trained on both CIFAR-100 and CIFAR-10, for 200 epochs. After reaching zero training loss (99% accuracy is reached at epoch 20 and 25 respectively), each training epoch corresponds to a new trained model. In Figure 3(top) we plot the test cross-entropy versus (BFE-W) and , for the final-layer weights (CIFAR-100) and the flattened convolutional weight at the third layer (CIFAR-10, due to small dimension of final weights). We take , where is the epoch when test error is minimized. Interestingly, taking at each epoch gives poor correlation for these CV models (see Appendix F.3 for an in-depth discussion about the choice of ). Using , we observe that (BFE-W) and very closely follow the test error curve, with correlations of and , respectively.
In Figure 5 (left), stays mostly fixed for each model, while decreases during training epochs . In Figure 4, we plot test error, and the empirical and asymptotic free energy, against . We plot the optimal ratio from Lemma 1, and observe that the minimum test error occurs when . Thus, is directly measuring the level of underfitting / overfitting of the model.
LLM. We repeat this process for the Pythia-1B and Pythia-12B models, trained on Pile. We plot the empirical and asymptotic free energies using the EmbedOut weights of the model (final-connected weights). We plot the free energy against the cross-entropy for the OpenAI curated LAMBADA test dataset (Paperno et al., 2016). We compute using the same process as for the CV models above. We see again that we have very close adherence of the free energies with the test error, with correlations of and , respectively. Note that in all figures, epochs of training for Pythia models refers to steps of training.
The spectral behaviour of these LLMs contrasts that of the CV models; in Figure 5 (middle, right), we observe that follows very closely the optimal from Lemma 1 (remembering that ), while increases during training. As predicted in Theorem 3 for small , we see in Figure 4 (bottom) that this increase in results in a decreasing free energy, which correlates with a decrease in test error. This dual optimization is distinct from the training dynamics for CV models, suggesting an inherent difference in learning dynamics.
5 Conclusion & discussion
HT-SR theory posits that the spectral distributions of DNN weight matrices can predict model quality. In this work, we validate this claim through a probabilistic framework; we derive a data-free metric, the Bayes Free Energy evaluated using only the final-layer weights, and we empirically show that this metric is strongly predictive of model quality, for both CV models and LLMs. To understand why heavy-tailed weight matrices may generalize better, we derive the deterministic limiting quantity of this metric under the assumption that weight spectra follow the recently proposed HTMP distribution. We then show that this free energy is convex in the scale-based heaviness parameter, , and that an optimal parameter exists. Once this optimal parameter is attained, we show increasing monotonically decreases free energy (correlating with improved model quality). We empirically find that CV model training correlates with optimizing ; in contrast, LLM models optimize early, and instead increasing correlates with improved performance. Thus, we provide results that mirror the findings of the HT-SR theory; that optimal model quality can be observed in the shape of weight spectra.
Limitations & future work. There are several limitations of our work; some of these limitations present clear paths for future work. Firstly, we note that (BFE-W) was only derived for final-layer weights, and for regression. Further, the dual formulation of (BFE-W) cannot immediately be compared across models with different activation dimension . Providing a remedy to these limitations is a promising avenue for future work. Further work could also involve extending (BFE-W) to models that use Dropout before the final-layer, or Vision Transformer models, as these models did not show correlation between (BFE-W) and model quality.
We also note that a limitation of our framework is that for CV models during training, the prior precision parameter must be tuned post-hoc to optimize correlation. Deriving a-priori would allow one to measure HTMP parameters during training, and to early-stop when . Further future work should also involve attempting to theoretically derive the HTMP parameters for certain classes of DNNs, or to show how certain training mechanisms affect these spectral parameters. Our framework would then elucidate how these mechanisms optimize model quality, through the free energy connection.
Acknowledgments and Disclosure of Funding
Liam Hodgkinson is supported by the Australian Research Council through a Discovery Early Career Researcher Award (DE240100144). Fred Roosta was partially supported by the Australian Research Council through an Industrial Transformation Training Centre for Information Resilience (IC200100022). Zhichao Wang is supported by the National Science Foundation under Grant No. DMS-1928930, as a resident at the Simons Laufer Mathematical Sciences Institute in Berkeley, California, in Spring 2025. Michael W. Mahoney acknowledges partial support from DARPA, DOE, NSF, and ONR. We also thank Charles Martin for helpful conversations.
References
Kumar K Agrawal, Arnab Kumar Mondal, Arna Ghosh, and Blake Richards. -ReQ: Assessing representation quality in self-supervised learning by measuring eigenspectrum decay. Advances in Neural Information Processing Systems, 35:17626–17638, 2022.
Siavash Ameli, Chris van der Heide, Liam Hodgkinson, and Michael W. Mahoney. Spectral estimation with free decompression. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025a.
Siavash Ameli, Chris van der Heide, Liam Hodgkinson, Fred Roosta, and Michael W. Mahoney. Determinant estimation under memory constraints and neural scaling laws. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 1367–1400. PMLR, 2025b.
Alexander Atanasov, Blake Bordelon, Jacob A. Zavatone-Veth, Courtney Paquette, and Cengiz Pehlevan. Two-point deterministic equivalence for stochastic gradient dynamics in lin-ear models. Advances in Theoretical and Mathematical Physics, 30(1):3–39, 2026. doi:10.4310/ATMP.260412235902.
Jimmy Ba, Murat A Erdogdu, Taiji Suzuki, Zhichao Wang, Denny Wu, and Greg Yang. High-dimensional asymptotics of feature learning: How one gradient step improves the representation. Advances in Neural Information Processing Systems, 35:37932–37946, 2022.
Zhidong Bai. Methodologies in spectral analysis of large dimensional random matrices, a review. Statistica Sinica, 9(3):611–677, 1999. URL https://www3.stat.sinica.edu.tw/statistica/j9n3/j9n31/j9n31.htm.
Peter L Bartlett, Philip M Long, Gábor Lugosi, and Alexander Tsigler. Benign overfitting in linear regression. Proceedings of the National Academy of Sciences, 117(48):30063–30070, 2020.
Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019.
Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, pp. 2397–2430. PMLR, 2023.
Akhilan Boopathy and Ila Fiete. Unified neural network scaling laws and scale-time equivalence. arXiv preprint arXiv:2409.05782, 2024.
Pratik Chaudhari and Stefano Soatto. Stochastic gradient descent performs variational inference, converges to limit cycles for deep networks. In 2018 Information Theory and Applications Workshop (ITA), pp. 1–10. IEEE, 2018.
Romain Couillet and Zhenyu Liao. Random Matrix Methods for Machine Learning. Cambridge University Press, 2022.
Benoit Dherin, Michael Munn, Mihaela Rosca, and David Barrett. Why neural networks find simple solutions: The many regularizers of geometric complexity. Advances in Neural Information Processing Systems, 35:2333–2349, 2022.
Laurent Dinh, Razvan Pascanu, Samy Bengio, and Yoshua Bengio. Sharp minima can generalize for deep nets. In International Conference on Machine Learning, pp. 1019–1028. PMLR, 2017.
DLMF. NIST Digital Library of Mathematical Functions. https://dlmf.nist.gov/, Release 1.2.4 of 2025-03-15. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth words: Transformers for image recognition at scale. International Conference on Learning Representations, 2021.
Zhou Fan and Zhichao Wang. Spectra of the conjugate kernel and neural tangent kernel for linear-width neural networks. Advances in Neural Information Processing Systems, 33:7710–7721, 2020.
Edwin Fong and Chris C Holmes. On the marginal likelihood and cross-validation. Biometrika, 107(2):489–496, 2020.
Pascal Germain, Francis Bach, Alexandre Lacoste, and Simon Lacoste-Julien. PAC-Bayesian theory meets Bayesian inference. Advances in Neural Information Processing Systems, 29, 2016.
Gene H Golub and Victor Pereyra. The differentiation of pseudo-inverses and nonlinear least squares problems whose variables separate. SIAM Journal on Numerical Analysis, 10(2):413–432, 1973.
Pedro Gonzalez-Rodriguez, Miguel Moscoso, and Manuel Kindelan. Laurent expansion of the inverse of perturbed, singular matrices. Journal of Computational Physics, 299:307–319, 2015.
Bai-Ni Guo, Feng Qi, Jiao-Lian Zhao, and Qiu-Ming Luo. Sharp inequalities for polygamma functions. Mathematica Slovaca, 65(1):103–120, 2015. doi: 10.1515/ms-2015-0010.
Arjun K Gupta and Daya K Nagar. Matrix variate distributions, volume 104. CRC Press, 1999.
Liam Hodgkinson, Chris van der Heide, Fred Roosta, and Michael W Mahoney. Monotonicity and double descent in uncertainty estimation with Gaussian processes. In International Conference on Machine Learning, pp. 13085–13117. PMLR, 2023a.
Liam Hodgkinson, Chris van der Heide, Robert Salomone, Fred Roosta, and Michael W Mahoney. The interpolating information criterion for overparameterized models. arXiv preprint arXiv:2307.07785, 2023b.
Liam Hodgkinson, Chris van der Heide, Robert Salomone, Fred Roosta, and Michael W Mahoney. A PAC-Bayesian perspective on the interpolating information criterion. NeurIPS 2023 Workshop on Mathematics of Modern Machine Learning, 2023c.
Liam Hodgkinson, Zhichao Wang, and Michael W. Mahoney. Models of heavy-tailed mechanistic universality. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 23290–23329. PMLR, 2025. URL https://proceedings.mlr.press/v267/hodgkinson25a.html.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Thomas Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karén Simonyan, Erich Elsen, Oriol Vinyals, Jack Rae, and Laurent Sifre. An empirical analysis of compute-optimal large language model training. In Advances in Neural Information Processing Systems, volume 35, pp. 30016–30030, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/c1e2faff6f588870935f114ebe04a3e5-Abstract.html.
Yuanzhe Hu, Kinshuk Goel, Vlad Killiakov, and Yaoqing Yang. Eigenspectrum analysis of neural networks without aspect ratio bias. International Conference on Machine Learning, 2025.
Alexander Immer, Matthias Bauer, Vincent Fortuin, Gunnar Rätsch, and Mohammad Emtiyaz Khan. Scalable marginal likelihood estimation for model selection in deep learning. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 4563–4573. PMLR, 2021. URL https://proceedings.mlr.press/v139/immer21a.html.
Mourad EH Ismail, Jean Letessier, and Galliano Valent. Linear birth and death models and associated Laguerre and Meixner polynomials. Journal of Approximation Theory, 55(3):337–348, 1988.
Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. Advances in Neural Information Processing Systems, 31, 2018.
Jürgen Jost. Riemannian Geometry and Geometric Analysis. Springer, 7 edition, 2017. doi: 10.1007/978-3-319-61860-9.
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020.
Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=H1oyRlYgg.
Sadanori Konishi and Genshiro Kitagawa. Information criteria and statistical modeling. Springer, 2008.
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems, volume 25, 2012.
Edmund Lau, Zach Furman, George Wang, Daniel Murfet, and Susan Wei. The local learning coefficient: A singularity-aware complexity measure. In Proceedings of the 28th International Conference on Artificial Intelligence and Statistics, volume 258 of Proceedings of Machine Learning Research, pp. 244–252. PMLR, 2025. URL https://proceedings.mlr.press/v258/1au25a.html.
Zhenyu Liao and Michael W. Mahoney. Random matrix theory for deep learning: Beyond eigenvalues of linear models. IEEE Signal Processing Magazine, 43(2):93–106, 2026.
Zhenyu Liao, Romain Couillet, and Michael W Mahoney. A random matrix analysis of random Fourier features: Beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent. In Advances in Neural Information Processing Systems, volume 33, pp. 13939–13950, 2020.
Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 10012–10022, 2021.
Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, et al. Swin Transformer V2: Scaling up capacity and resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12009–12019, 2022.
Roi Livni and Shay Moran. A limitation of the PAC-Bayes framework. Advances in Neural Information Processing Systems, 33:20543–20553, 2020.
Sanae Lotfi, Marc Finzi, Sanyam Kapoor, Andres Potapczynski, Micah Goldblum, and Andrew G Wilson. PAC-Bayes compression bounds so tight that they can explain generalization. Advances in Neural Information Processing Systems, 35:31459–31473, 2022a.
Sanae Lotfi, Pavel Izmailov, Gregory Benton, Micah Goldblum, and Andrew Gordon Wilson. Bayesian model selection, the marginal likelihood, and generalization. In International Conference on Machine Learning, pp. 14223–14247. PMLR, 2022b.
Haiquan Lu, Yefan Zhou, Shiwei Liu, Zhangyang Wang, Michael W Mahoney, and Yaoqing Yang. AlphaPruning: Using heavy-tailed self regularization theory for improved layer-wise pruning of large language models. In Advances in Neural Information Processing Systems, volume 37, pp. 9117–9152, 2024.
David JC MacKay. Bayesian interpolation. Neural Computation, 4(3):415–447, 1992.
M. W. Mahoney. Approximate computation and implicit regularization for very large-scale data analysis. In Proceedings of the 31st ACM Symposium on Principles of Database Systems, pp. 143–154, 2012.
M. W. Mahoney and L. Orecchia. Implementing regularization implicitly via approximate eigenvector computation. In Proceedings of the 28th International Conference on Machine Learning, pp. 121–128, 2011.
C. H. Martin and M. W. Mahoney. Traditional and heavy-tailed self regularization in neural network models. In Proceedings of the 36th International Conference on Machine Learning, pp. 4284–4293, 2019.
Charles Martin. WeightWatcher. https://github.com/CalculatedContent/WeightWatcher, 2024.
Charles H Martin and Christopher Hinrichs. SETOL: A semi-empirical theory of (deep) learning. arXiv preprint arXiv:2507.17912, 2025.
Charles H Martin and Michael W Mahoney. Rethinking generalization requires revisiting old ideas: statistical mechanics approaches and complex learning behavior. arXiv preprint arXiv:1710.09553, 2017.
Charles H Martin and Michael W Mahoney. Heavy-tailed universality predicts trends in test accuracies for very large pre-trained deep neural networks. In Proceedings of the 2020 SIAM International Conference on Data Mining, pp. 505–513. SIAM, 2020.
Charles H Martin and Michael W Mahoney. Implicit self-regularization in deep neural networks: Evidence from random matrix theory and implications for learning. Journal of Machine Learning Research, 22(165):1–73, 2021.
Charles H Martin, Tongsu Peng, and Michael W Mahoney. Predicting trends in the quality of state-of-the-art neural networks without access to training or testing data. Nature Communications, 12(1):4122, 2021.
David McAllester. Simplified PAC-Bayesian margin bounds. In Learning Theory and Kernel Machines: 16th Annual Conference on Learning Theory and 7th Kernel Workshop, COLT/Kernel 2003, Washington, DC, USA, August 24-27, 2003. Proceedings, pp. 203–215. Springer, 2003.
Song Mei and Andrea Montanari. The generalization error of random features regression: Precise asymptotics and the double descent curve. Communications on Pure and Applied Mathematics, 75(4):667–766, 2022.
James A Mingo and Roland Speicher. Free probability and random matrices, volume 35. Springer, 2017.
Michael Munn and Susan Wei. A Bayesian model selection criterion for selecting pretraining checkpoints. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 45256–45271. PMLR, 2025. URL https://proceedings.mlr.press/v267/munn25a.html.
Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc-Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The LAMBADA dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1525–1534, 2016.
Vardan Papyan, Xiao Y Han, and David L Donoho. Prevalence of neural collapse during the terminal phase of deep learning training. Proceedings of the National Academy of Sciences, 117(40):24652–24663, 2020.
Qwen Team. Qwen3.5: Towards native multimodal agents, February 2026. URL https://qwen.ai/blog?id=qwen3.5.
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
Aaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan McLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, et al. OpenAI GPT-5 system card. arXiv preprint arXiv:2601.03267, 2025.
Rishi Sonthalia, Jackie Lok, and Elizaveta Rebrova. On regularization via early stopping for least squares regression. arXiv preprint arXiv:2406.04425, 2024.
Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 15(1):1929–1958, 2014.
Mingxing Tan and Quoc Le. EfficientNetV2: Smaller models and faster training. In International Conference on Machine Learning, pp. 10096–10106. PMLR, 2021.
Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, Mark Sandler, Andrew Howard, and Quoc V Le. MnasNet: Platform-aware neural architecture search for mobile. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2820–2828, 2019.
Nikolaos Tsilivis, Eitan Gronich, Julia Kempe, and Gal Vardi. Flavors of margin: Implicit bias of steepest descent in homogeneous neural networks. Journal of Machine Learning Research, 27(104):1–37, 2026. URL https://jmlr.org/papers/v27/25-0634.html.
Antonia M. Tulino and Sergio Verdú. Random matrix theory and wireless communications. Foundations and Trends in Communications and Information Theory, 1(1):1–182, 2004.
Ke Wang, Vidya Muthukumar, and Christos Thrampoulidis. Benign overfitting in multiclass classification: All roads lead to interpolation. Advances in Neural Information Processing Systems, 34:24164–24179, 2021.
Yubo Wang, Xueguang Ma, Ge Zhang, Yuansheng Ni, Abhranil Chandra, Shiguang Guo, Weiming Ren, Aaran Arulraj, Xuan He, Ziyan Jiang, et al. MMLU-Pro: A more robust and challenging multi-task language understanding benchmark. In Advances in Neural Information Processing Systems, volume 37, pp. 95266–95290, 2024a.
Zhichao Wang, Denny Wu, and Zhou Fan. Nonlinear spiked covariance matrices and signal propagation in deep neural networks. In The Thirty Seventh Annual Conference on Learning Theory, pp. 4891–4957. PMLR, 2024b.
Sumio Watanabe. Algebraic geometry and statistical learning theory, volume 25. Cambridge University Press, 2009.
Sumio Watanabe. A widely applicable Bayesian information criterion. The Journal of Machine Learning Research, 14(1):867–897, 2013.
Alexander Wei, Wei Hu, and Jacob Steinhardt. More than a toy: Random matrix models predict how real-world neural representations generalize. In International Conference on Machine Learning, pp. 23549–23588. PMLR, 2022.
Joseph Wilson, Chris van der Heide, Liam Hodgkinson, and Fred Roosta. Is the last layer sufficient for uncertainty quantification? In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 135094–135132. PMLR, 2026.
Zeke Xie, Qian-Yuan Tang, Yunfeng Cai, Mingming Sun, and Ping Li. On the power-law Hessian spectrums in deep learning. arXiv preprint arXiv:2201.13011, 2022.
Yaoqing Yang, Ryan Theisen, Liam Hodgkinson, Joseph E. Gonzalez, Kannan Ramchandran, Charles H. Martin, and Michael W. Mahoney. Test accuracy vs. generalization gap: Model selection in NLP without accessing training or testing data. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pp. 3011–3021. Association for Computing Machinery, 2023. doi: 10.1145/3580305.3599518.
Zhewei Yao, Amir Gholami, Kurt Keutzer, and Michael W Mahoney. PyHessian: Neural networks through the lens of the Hessian. In 2020 IEEE International Conference on Big Data (Big Data), pp. 581–590. IEEE, 2020.
Zhewei Yao, Amir Gholami, Sheng Shen, Mustafa Mustafa, Kurt Keutzer, and Michael Mahoney. AdaHessian: An adaptive second order optimizer for machine learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 10665–10673, 2021.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=Sy8gdB9xx.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning (still) requires rethinking generalization. Communications of the ACM, 64(3):107–115, 2021.
Yefan Zhou, Tianyu Pang, Keqin Liu, Charles H. Martin, Michael W. Mahoney, and Yaoqing Yang. Temperature balancing, layer-wise weight analysis, and neural network training. In Advances in Neural Information Processing Systems, volume 36, pp. 63542–63572, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/c8a4dd7d9e13583d714ce8580da7bbc7-Abstract-Conference.html.
Appendices
A Derivation of feature marginal likelihood for ridge-regression 17
A.1 Marginal likelihood derivation 17
A.2 Bayes free energy for regression 17
B Derivation of BFE-W 17
B.1 Primal form 18
B.2 Dual form 18
C High-Temperature Marchenko-Pastur distribution 20
C.1 Derivation of CDF for HTMP 21
D Derivation of limiting free energy 22
D.1 Shannon transform 22
D.2 First and second moments 23
D.3 Proof of Theorem 2. 24
E Proofs for convexity and optimality of free energy 24
E.1 Optimality of free energy under ratio 24
E.2 Proof of Theorem 3. 26
E.3 Proof of Lemma 1. 26
E.4 Auxiliary lemma 26
F Further details 26
F.1 Connection of BFE-W to previous implicit regularization metrics 27
F.2 Motivation for application of BFE-W for deeper layer weights 27
F.3 Choice of precision parameter 27
F.4 Relation of optimal HTMP parameters to heavy-tailed results in literature 28
G Experimental details 28
G.1 ResNets during training 28
G.2 Fitting the HTMP 28
H Further experimental results 29
H.1 Permuted label experiment 29
H.2 Extra ResNet and Pythia models 29
H.3 ESDs 29
H.4 Correlation of free energy with model quality across depth 29
I Further empirical results for free energy 30
I.1 Comparison to HT-SR metrics 30
I.2 When last-layer free energy does not predict model quality 32
A Derivation of feature marginal likelihood for ridge-regression
In this section, we first derive the marginal (Gibbs) likelihood for features , under the training framework detailed in Section 3.1. We then provide the Bayes Free Energy, which is the negative log of the marginal likelihood.
A.1 Marginal likelihood derivation
The marginal (Gibbs) likelihood in this setting is given by , for loss function , and . As is only defined up to constants of proportionality, we redefine the marginal likelihood as
This will simplify the calculations.
Remark 2. The marginal (Gibbs) likelihood for this ridge-regression setting was derived in Hodgkinson et al. (2025); however, we provide a different derivation, using integrals of matrix-normals. Further, Hodgkinson et al. (2025) provides the derivation of for . We take .
Now, note that is the likelihood of the model . Then,
We can write the model as , where and . The sum of matrix normals is a matrix normal, and we are integrating out . Thus, using standard matrix-normal properties (Gupta & Nagar, 1999),
Therefore,
A.2 Bayes free energy for regression
We define the Bayes Free Energy as the negative log of the marginal likelihood, i.e., . Taking , and , we can compute that
B Derivation of BFE-W
In this section, we first prove Theorem 1, and then derive the dual formulation. To prove these results, we rely on asymptotic expansions of and , for singular matrix and perturbative parameter .
B.1 Primal form
Proof of Theorem 1. Under our rank assumptions and interpolation assumptions, is equivalent to . Let . We consider the trace and log-determinant terms in (2) separately.
For the trace term, for , we get the following singular asymptotic expansion around for positive semi-definite (Gonzalez-Rodriguez et al., 2015),
Noting that is a projection onto the kernel of , and noting that , we get that
For the log-determinant term, using the Weinstein-Aronszajn identity: for , , . and the Taylor expansion of the log-determinant of an invertible matrix around I, we see that
Combining these terms, we get the following asymptotic expansion for (2), for , evaluated using the weights
☐
B.2 Dual form
If , then Assumption 1 is invalid. Instead, we take the following, very similar, set of assumptions.
Assumption 3 (Dual Interpolation). For trained features , assume and . Further, assume that trained weights are given by , and that .
Note that we allow for rank , to allow for comparison across different models, with different . This point will be expanded upon later. We then have the following lemma, whose statement and proof follows very closely that of Theorem 1.
Lemma 2. Define . Then, under Assumption 3, as ,
Before proving Lemma 2, we require a lemma on factorization of pseudo-determinants.
Lemma 3 (Pseudo-Determinant Factorization). Let be symmetric positive semi-definite matrices with and . Then,
Proof. Take the compact spectral decompositions
where have orthonormal columns, and are diagonal matrices containing the non-zero eigenvalues of and , respectively. Since , the columns of and are orthonormal bases for the same subspace. Hence, there exists an orthogonal such that . Therefore,
Since is non-singular, its eigenvalues are precisely the non-zero eigenvalues of AB. Thus,
where we used .
We now prove the dual expansion of (2).
Proof of Lemma 2. Under the rank and interpolation assumptions, is equivalent to , and . Let . We consider the trace and log-determinant terms in (2) separately.
For the trace term, the exact derivation from the proof of Theorem 1 can be used, to get that
For the log-determinant term, we note the following spectral identity for matrix , where :
Thus, also using the expansion for small ,
(by Lemma 3).
Combining these terms, we get the following asymptotic expansion for (2), for , evaluated using the weights
Note that unlike the primal formulation, we cannot easily compare the dual expansion across models with differing . For models trained on the same dataset, with the same final activation dimension , and full-rank features (i.e., ), taking the difference of the asymptotic expansions in Lemma 2, and then re-normalizing by , will result in the following relative dual free energy:
(DUAL BFE-W)
However, in Figure 1, we see that even for models with different activation dimension , this dual free energy shows strong correlation with model quality, for models in the Pythia suite of LLMs and the Qwen3.5 suite. Deriving an asymptotic expansion that allows for direct comparison across models with differing activation dimension is left for future work.
C High-Temperature Marchenko-Pastur distribution
In this section, we give details on the HTMP distribution (Hodgkinson et al., 2025). Take a random matrix with beta-Laguerre ensemble of size , defined by its joint eigenvalue density function
for some , and , where . Let . As the ensemble size , the empirical spectral distribution (ESD) of will converge to either the Marchenko-Pastur (MP) distribution, or the HTMP distribution, depending on the limit of . We first consider the case when (equivalently ), where the ESD of converges to the MP distribution, with probability density function
(MP)
where , and . In this case, we have the following result.
Theorem 4 (Hodgkinson et al. (2025)). If as and , then the ESD of beta-Laguerre ensemble , defined by (4), converges weakly to the Marchenko-Pastur distribution , whose probability density function is with parameter , defined in (MP).
If, instead, the temperature , then we arise at the high-temperature MP distribution, as stated in the following result.
Theorem 5 (Hodgkinson et al. (2025)). Assume as and , then the ESD of beta-Laguerre ensemble , defined by (4), converges weakly to a probability distribution on with probability density function defined as
where is the Tricomi confluent hypergeometric function (DLMF). This limiting spectrum is the distribution, with parameter .
Remark 3. By Hodgkinson et al. (2025, Theorem E.1), as such that . This—coupled with the fact that the model can exhibit heavy-tailed ESDs, while not exhibiting heavy-tailed elements—means that the distribution should well-model most stages of DNN training.
The Stieltjes transform of a probability distribution is given by . For the HTMP distribution , the Stieltjes transform is given by a result from Ismail et al. (1988), as follows:
Hodgkinson et al. (2025, Proposition 5.3) states that under certain assumptions, as such that , the limiting ESD of converges to , for parameters ( here is separate from the parameter of the beta-Laguerre ensemble). We denote the limiting ESD of as , where
(HTMP)
It is immediate that the Stieltjes transform for (HTMP) is given by
It will not cover bulk + spike distributions common for older DNNs; see Martin & Mahoney (2021) for the 5+1 phases.
C.1 Derivation of CDF for HTMP
We now derive the cumulative distribution function (CDF) for (HTMP).
Lemma 4 (CDF HTMP). The CDF for the density function is given by
where denotes the continuous, unwrapped argument, and .
Proof. Let , and . Note that . Now we can write the CDF through the Stieltjes inversion formula (Bai, 1999, Eq. 3.2),
As is supported on , . We write in its polar form, , where we take as the continuous argument. We can then write
Hence,
Now, (DLMF). For , and , and , hence, , so . Thus,
Now, in Section G.2 we discuss fitting the HTMP by minimizing Kolmogorov-Smirnov distance, i.e. by minimizing the pointwise supremum of the HTMP CDF to the empirical CDF. To do this efficiently, it will be useful to be able to compute the principal argument of ; then, an unwrapping process on a grid of inputs will return the continuous argument. Hence, we present the following result, which provides the real and imaginary parts of ; further, these parts only involve functions that can be easily computed numerically (i.e. they do not require complex arguments). However, note that this form only holds when is not an integer.
Lemma 5 (Non-Integer Evaluation of HTMP CDF). Let . For , , , and ,
Then,
Proof. By Kummer's transformation (DLMF, Eq. 13.2.42), we can write
Kummer's function is entire (DLMF, §13.2); further, letting denote the principal logarithm,
Therefore,
☐
D Derivation of limiting free energy
In this section, we will derive the limiting expression of (BFE-W), as given in Theorem 2. We will assume weights , that follow Assumption 2. Further, as this assumption only gives weak convergence, we require the following integrability assumptions.
Assumption 4 (Uniform Integrability). Assume for some .
Assumption 5 (Logarithmic Integrability). Denote as the ESD for . Then, assume
Note that Assumption 4 is a standard moment assumption in RMT. For Assumption 5, this controls the convergence of when . Both assumptions are valid for non-degenerate Wishart matrices.
To derive the limiting expression for as , we require the limiting expressions for and as . These terms relate to the first moment and the Shannon transform of (HTMP).
D.1 Shannon transform
The limiting log-determinant of , under our spectral assumptions, is given by the Shannon transform of (HTMP). We now derive this.
Definition 2. The Shannon transform of distribution is given by , for (Tulino & Verdú, 2004).
Lemma 6 (Derivation of Shannon Transform for HTMP). For , the Shannon transform is given by
Further, we have the following limit,
Proof. We have the following identity (Tulino & Verdú, 2004):
To compute the Shannon transform, we require the anti-derivative of the integrand in the final expression in (6), i.e., some function such that . Note that (DLMF). From this, we can write the Stieltjes transform as follows:
where . Hence,
and thus
We now need to consider the asymptotics of , to compute the integral in (6). Note from DLMF, as with . Hence,
Hence, the Shannon transform of the limiting spectral density of is given by
Finally, note that for , as (DLMF). Hence,
D.2 First and second moments
The limiting trace of , under our spectral assumptions, is given by the first moment of (HTMP). We derive this now (as well as the second moment).
Lemma 7 (First and Second Moment). Denoting as the moment of the distribution, i.e., ,
Proof of Lemma 7. For probability measures with finite first and second moments, and , we have the following expansion of the Stieltjes transform, for argument (Mingo & Speicher, 2017),
Hence, for (HTMP), the first and second moments and of are given by
An application of Lemma 11 then gives the result.
D.3 Proof of Theorem 2
We can now derive the limiting form of (BFE-W), by combining Lemma 7 and Lemma 6; the result is stated in Theorem 2.
Proof of Theorem 2. From Assumption 2, Assumption 4 and Assumption 5, coupled with Lemma 7 and Lemma 6, we have that
☐
E Proofs for convexity and optimality of free energy
Having derived the limiting deterministic quantity for (BFE-W), under Assumption 2, Assumption 4, Assumption 5, we now provide various results and proofs on the behaviour of with respect to and . This section will culminate with the proof of Theorem 3.
E.1 Optimality of free energy under ratio
Here, we give various results for the case when we are either controlling , for some given , or optimizing after has attained its optima. In the general case , we are able to show that the Shannon transform is strictly increasing in ; trivially, the first moment is also strictly increasing in .
Lemma 8 (Increasing Shannon Transform). For fixed , the Shannon transform for (HTMP), , is strictly increasing in .
Proof. Under the chain rule,
Now, as is the Stieltjes transform of a normalized probability distribution ((HTMP)), then for , for non-degenerate . Hence,
and is strictly increasing in .
If we take minimum eigenvalue , then we can also show that for fixed , an optimal ratio exists. To show this, we show strict convexity and coercivity of , and then derive the optimal .
Lemma 9 (Strict Convexity, Coercivity and Optimality of ). For fixed , and , then is strictly convex and coercive in . Further, is minimized at ; equivalently .
Proof. From Lemma 6,
Strict convexity is immediate by seeing that
To see coercivity, note that for , , i.e., . Further, for , . Hence, . Thus, is coercive in . As is strictly convex and coercive, a unique minimum exists. Then,
giving , or equivalently .
Thus, for a fixed , an optimal parameter exists (given as a ratio ). We are now interested in seeing how behaves in , for that follows the optimal ratio manifold. As we will see, the behavior is surprisingly simple.
Lemma 10. At , is strictly decreasing in .
Proof. We take the derivative of with respect to :
Define . Then, defining , , where , we have that
Hence, to show that , we only need to show that is strictly increasing. We take the derivative
From Guo et al. (2015), we get that for . Hence, , and we have the result.
Interestingly, this tells us how to reach the infimum of . We present the optimal joint infimum in the following corollary.
Corollary 1. The joint infimum, is reached for and , i.e., , such that .
Proof. For each , Lemma 9 says that . Along this path, Lemma 10 gives us that is strictly decreasing in . Thus, we have the result.
Remark 4. From Theorem 3 and Corollary 1, we see that the infimum of occurs for such that . Under this limit, . Note however that (BFE-W) was derived from models that interpolate the training data; for DNNs, corresponds to the spectrum of randomly initialized weights, which generally will not interpolate complex training sets. Hence, is mostly inaccessible for trained weights (at least for sufficiently complex learning tasks). Instead, for trained weights constrained to the interpolation manifold, (BFE-W) prefers minimum distributional distance to .
E.2 Proof of Theorem 3
For Theorem 3, we see that this result can be proved by combining Lemma 8, Lemma 9 and Lemma 10.
E.3 Proof of Lemma 1
In the main text, we see that to fit the spectral distributions of trained weight matrices, often one can take , for proportionality constants that differ between models. Under this assumption, we can derive the optimal ratio. The result is given in Lemma 1, and we now give the proof.
Proof of Lemma 1. For , for some , the Tricomi term in no longer relies on or . Hence, for some , we can take . Rearranging for gives the result.
E.4 Auxiliary lemma
We require a result on the asymptotic expansion of ratios of Tricomi functions.
Lemma 11. For such that ,
Proof of Lemma 11. We first give the proof for . We use the asymptotic expansion of the Tricomi Confluent Function as such that (DLMF),
where denotes the rising factorial symbol. Leading terms will cancel, leaving
where , . We use a power series expansion of the denominator in terms of , using the Geometric series expansion
Hence,
For the negative case, we note that has a branch cut on the real-negative axis. However, we can write . Substituting this into the above asymptotic expansion
The negative factors will cancel in numerator and denominator of , except for a single negative multiplicative factor (arising from exponent of ). Hence, we have the result.
F Further details
In this section, we provide further theoretical and experimental details which we could not include in the main body.
F.1 Connection of BFE-W to previous implicit regularization metrics
To understand why (BFE-W) correlates so strongly with model quality, we can understand its connection to previous measurements of implicit regularization. Firstly, is an HT-SR weight metric. This term also provides a connection to the Geometric Complexity (Dherin et al., 2022); and this term is implicitly regularized after interpolation for gradient flow training (Tsilivis et al., 2026). Secondly, while the log-determinant is less common in the literature, a key term in the IIC is , where is the empirical Neural Tangent Kernel (Jacot et al., 2018). This measures the complexity of f through the volume of the distribution of functions induced by parameter Jacobian of f. The second term in (BFE-W) instead measures the volume of functions induced by the last-layer weights, i.e., a functional complexity, and is the information gain for a Gaussian model with kernel .
F.2 Motivation for application of BFE-W for deeper layer weights
While (BFE-W) was derived for final-layer weights, we can motivate the use for weights from deeper layers. Specifically, for deeper weights , (BFE-W) corresponds to the Bayes free energy for an auxiliary Gaussian Process with precision matrix , for artificial outputs of whitened isotropic noise. Once interpolation has occurred, this model measures the inherent spectral geometry of through the trace and log-determinant, and so it is directly measuring the implicit bias inherent in the learned weights. Examining the spectrum of weights to measure implicit model bias is a core aspect of HT-SR that motivated HTMP. Even though this auxiliary energy is not the Bayes free energy for the original dataset and prior-likelihood pair, we see in Figure 3 that for the third-layer convolutional weight of a ResNet50 trained on CIFAR-10, (BFE-W) correlates surprisingly well with test accuracy during training, once training loss has plateaued. We see similar results for ResNet18 and ResNet34 on CIFAR-10 in Figure 7. In Figure 11, we plot the correlation of (BFE-W) with model quality across all layers, for ResNet50 on CIFAR-100 and all Pythia models. Interestingly, we see that every deeper layer for ResNet50 correlates very well with model quality ( ). For the Pythia models, the Dense weight matrices seem to correlate very well across all layers and model sizes; however, for QueryKey weight matrices, the results are more mixed.
F.3 Choice of precision parameter
To select when comparing model quality with (BFE-W) across epochs of training t, we take two general approaches:
-
As detailed in Remark 1, we set at each epoch .
-
Let denote the epoch when test error is minimized. Then, we set , i.e., remains constant.
We find in our experiments that the second option works best for CV models. In fact, taking the first option for results in a very poor correlation for the CV models. In comparison, both options work for the LLM models. To see why, we note the following. By Lemma 7, . Thus, . As , then if we set , then . Hence, by selecting , we are explicitly assuming that is already at its optimal value . As seen in Figure 4 and Figure 8, moving through directly correlates with under- and over-fitting in CV models; taking destroys this behavior. In comparison, we see in Figure 5 and Figure 9 that for the LLM models, at each epoch. Hence, taking does not alter the correlation. Similar behaviour has arisen in the literature: in Martin et al. (2021), the spectral size correlated strongly with model quality for well-trained networks within a model class, alongside metrics such as the tail exponent . In comparison, Yang et al. (2023) demonstrated that for LLMs, was anti-correlated with model quality, suggesting that spectral size plays a differing role for measuring model quality of LLMs versus CV models.
Being able to correctly predict the optimal value, i.e., , would enable our framework to accurately measure the amount of overfitting during training, and it is an important avenue for future work.
F.4 Relation of optimal HTMP parameters to heavy-tailed results in literature
We now detail similarities between the optimal scale-based heaviness derived in Theorem 3 and Lemma 1 and those derived in the literature.
While previous work in the heavy-tailed literature consider mainly the tail behavior (Bartlett et al., 2020; Agrawal et al., 2022), the fact that the first moment is proportional to suggests that a distribution's mean shares importance with tail behavior. This also suggests deeper connections between heavy-tailed metrics and Geometric Complexity (Dherin et al., 2022), discussed previously. We see that the optimal heaviness in Theorem 3 is a function of the aspect ratio ; dependence of heavy-tails on the aspect ratio was argued for in Hu et al. (2025). If we consider normalized heaviness (i.e., ), we find . This is remarkably similar to the work of Bartlett et al. (2020), where the minimum-norm solution for over-parameterized linear regression provides good generalization performance if power-law exponent on the linear feature covariance is equal to 1. A similar finding for DNNs was shown in Agrawal et al. (2022). Defining , optimal heaviness places us in the moderately-heavy tailed universal class of HT-SR, which is expected to perform well (Martin & Mahoney, 2021). The clear numerical connection between these previous works and ours is surprising and motivating, despite our differing definitions and matrices.
G Experimental details
G.1 ResNets during training
The ResNet models used were each trained for 200 epochs on the CIFAR-10 / CIFAR-100 dataset. For the optimizer, stochastic gradient descent was used, with momentum 0.9, batch size 100, learning rate 0.02, and weight-decay 0.0001. No data-augmentation nor dropout was used, so as not to “over-regularize” the weight matrices, preventing clear heavy-tailed ESD shapes. We followed the experimental details of (Hodgkinson et al., 2025), and we normalized the input data to have zero mean and unit variance per channel, as well as normalized each input vector x to have norm , where . We initialized the networks using the LeCun normal initialization. Each network was randomly initialized and trained 3 times. Checkpoints were taken every 5 epochs. These models were run on an H100 GPU.
G.2 Fitting the HTMP
To fit the HTMP distribution to the ESD for spec( ), for trained weight matrix , we firstly fix . For some weight matrices, we trim the top and bottom 5 eigenvalues, as these extreme eigenvalues can make fitting more difficult.
Let be the eigenvalues of . Using the HTMP CDF from Lemma 4, denoted , we minimize the two-sided Kolmogorov-Smirnov distance,
In many cases, we can directly match the empirical and theoretical first moment, using the first HTMP moment from Lemma 7, and set
Then,
To compute , then if is not an integer, then we can take , and compute the principal argument
where , and and are the imaginary and real parts of , given in Lemma 5. Then, as , we can use an unwrapping operation (implemented numerically in common computing packages), that takes a set , and adds integer multiples of to the values in this set whenever the principal argument has passed through the boundary cut. This will return a set , such that .
In the case when is an integer, one must instead compute using complex numerical functions (such as the implementation of in the mpmath package), in order to compute the CDF. This process is numerically much slower.
H Further experimental results
In this section, we will give further experimental details, that did not fit in the main body.
H.1 Permuted label experiment
We now demonstrate that even on a task where no feature learning can occur, (BFE-W) closely follows model quality; further, the HTMP analysis of Theorem 3 and Lemma 1 can still predict the optimal model over training. For this task, we train ResNet18 on CIFAR-10 where all training labels have been randomly permuted. Hence, training inputs are now independent of training outputs . For this task, the Bayes optimal accuracy is 10%, i.e., random guessing for 10 classes. Instead of accuracy, the appropriate metric to consider is cross-entropy on the test dataset. An optimal model will produce a prediction of softmax( ) = for each input in a test dataset.
In Figure 6 (top left) we see that HTMP still provides an excellent fit to the weight matrices in this case. Here, the weight matrix used for analysis is the third-layer convolutional weight matrix. We plot test error, empirical and asymptotic free energy against training epochs in Figure 6 (top right), for , where we see a very strong correlation ( ). We mark with a dotted line the epoch when training accuracy reaches 99%, which we loosely interpret as interpolation. While the absolute scale of free energy does not differentiate between the untrained and trained models, once we constrain to interpolating epochs, the free energy very closely predicts test error.
Importantly, we also see in Figure 6 (bottom left) that after interpolating on the permuted training set, the optimal model corresponds to the one whose HTMP ratio is closest to (in Figure 6(bottom right) we see that the assumptions of Lemma 1 are valid). Thus, even in this artificial learning task, our framework allows us to find what spectral properties the model is trying to optimize.
H.2 Extra ResNet and Pythia models
Here, we provide further experimental evidence for the applicability of Theorem 3 and Lemma 1 for analyzing training dynamics of large DNNs. Specifically, we repeat the analysis for ResNet18 and ResNet34 trained on CIFAR-10, and for the Pythia 2.8B and Pythia 6.9B models. We see in Figure 7, Figure 8 and Figure 9 that for CV models, overfitting is a function of moving through , whereas for the LLM models, during training, and so increasing results in an improved model fit.
H.3 ESDs
Here, we provide ESDs for ResNet50 trained on CIFAR-10 and Pythia-1B trained on Pile, to accompany the results given in Figure 3. Note that the ESD for the other two models in Figure 3 were given in Figure 2.
H.4 Correlation of free energy with model quality across depth
Though we derived (BFE-W) for the final-layer weights, a natural question is whether the correlation between free energy and model quality also holds for weights from deeper layers. We have already seen evidence of this in Figure 3 for ResNet50 on CIFAR-10, where the free energy evaluated on the third-layer convolutional weight matrix correlated very strongly with model quality. We also provide theoretical motivation in Appendix F.2. Here, we provide extensive evaluation of

RESNET18 CIFAR10
RESNET18
RESNET18 CIFAR10

Figure 6: For ResNet18, trained on permuted CIFAR-10 dataset, we have the (top left) ESD (gray) and fitted HTMP distribution (red dotted lines), (top right) test CE, (BFE-W) and , vs. epochs, where the epoch at which training accuracy reaches 0.99 is indicated with a vertical dotted line, (bottom left) test CE, (BFE-W) and , vs. for interpolating epochs, and (bottom right) fitted HTMP parameters. Even for a task where there is no feature learning, our framework holds surprisingly well. Here, the weight matrix used for analysis is the third-layer convolutional weight.
correlation of free energy with model quality for deeper weights, across all weights of ResNet50 on CIFAR-100, and for Dense and QueryKey matrices at every layer for all Pythia models. We measure correlation from epoch 20 and epoch 43000 respectively, so that training loss effects can be removed (remember (BFE-W) is derived for interpolating models). We provide the results in Figure 11. Interestingly, (BFE-W) for every weight for ResNet50 on CIFAR-100 correlates very strongly with model quality. We also see that is approximately constant across layers, and that distinct patterns emerge based on convolutional ordering (i.e., Conv 1 vs. Conv 2 weights seem to roughly double , and similarly for Conv 2. vs Conv. 3). For the Pythia models, the results are not as clear. For some models (e.g., Pythia 2.8B), both QueryKey and Dense weight matrices at every layer show excellent correlation between (BFE-W) and model quality; in contrast Pythia-12B QueryKey weights show a very strong anti-correlation with model quality across most layers. This figure demonstrates that many weights can be used to evaluate (BFE-W), though some care needs to be taken. Further, the relationship of across layers and convolutional weights suggests that one may be able to derive the value of based off of model parameters; this would allow for a priori prediction of when overfitting would occur.
I Further empirical results for free energy
I. 1 Comparison to HT-SR metrics
We now directly compare (BFE-W) to the HT-SR metrics of Martin et al. (2021), as defined in Section 2. In this work, the metrics were computed using the WeightWatchers (WW) package

PYTHIA-2.8B PILE
PYTHIA-6.9B PILE

Figure 7: Test CE, (BFE-W) and , vs. epochs. Model quality during training is highly correlated with BFE. Further, closely approximates (BFE-W). Extra experimental results to accompany Figure 3.

PYTHIA-2.8B PILE
PYTHIA-6.9B PILE

K
K
Figure 8: Test error, (BFE-W) and vs. fitted and . For CV, (purple cross) aligns with minimum error. For LLMs, is attained early, and increasing lowers test error. Extra experimental results to accompany Figure 4.
(Martin, 2024). To ensure fair comparison, we use the legacy version of WW (version 0.2.7) which is used in Martin et al. (2021). We compare (BFE-W) (primal) against , , , , (PL exponent), and (ET-PL truncation).
Firstly, in Table 1, we compare (BFE-W) against the HT-SR metrics for the DNNs featured in Martin et al. (2021), i.e., ResNet, VGG and DenseNet. We compare using the legacy model weight checkpoints used in Martin et al. (2021). The reported correlations are Spearmans correlation. We see that, as expected, both within-group correlation and across-group correlation is approximately

Figure 9: Fitted HTMP parameters at each epoch. Extra experimental results to accompany Figure 5.

Figure 10: The ESD (gray) and fitted HTMP distribution (red dotted lines), for (top) the third-layer convolutional weight of ResNet50 trained on CIFAR-10, and (bottom) the EmbedOut weight of Pythia-1B trained on Pile.
similar (and very strong) across (BFE-W) and the HT-SR metrics, with the exception of VGG; as stated in Section 3.3, VGG employs dropout before the final-layer weights, and hence (BFE-W) performs very poorly on these models. Due to this, (BFE-W) has the opposite correlation with model quality across these groups. Further, we see that and are poor predictors of model quality.
We now compare (BFE-W) for all torchvision models that are not dropout or vision transformer models. We use the most updated model weights as provided by torchvision, as of May 2026. The results are displayed in Table 2. Here, while (BFE-W) correlates very strongly, we see that the HT-SR metrics now do not predict model quality across model classes. There is still some correlation within-group, i.e., for ResNeXt and Wide ResNet, though we observe that (BFE-W) is the most consistent predictor. Of particular note is that these metrics no longer predict test accuracy for ResNets. As the current available weights have been finely optimized for performance, it is perhaps the case that the weights have become over-regularized in some sense, and so one must develop further metrics (e.g., (BFE-W)) to evaluate test performance. We again see that and are poor predictors of model quality.
I. 2 When last-layer free energy does not predict model quality
As detailed in Section 3.3, certain classes of models do not show strong correlation between (BFE-W) and model quality for CV.
Dropout. Models that use dropout directly before the final-layer weights, such as VGG (Simonyan & Zisserman, 2015), EfficientNet (Tan & Le, 2021), and MNASNet (Tan et al., 2019), do not show good correlation. This could be because the addition of dropout violates the features and weights decomposition of a neural network, or perhaps because dropout prevents complex correlations in the final-layer weights from occurring.

Layer / block
Regularization
QueryKey Weight
Dense Weight

Layer
Layer
Figure 11: Correlation of (BFE-W) with model quality for deeper weights, across (top) all weights of ResNet50 on CIFAR-100, and (bottom) for Dense and QueryKey matrices at every layer for all Pythia models. For the Pythia models, model quality is measured by log perplexity for the LAMBADA test dataset. We also provide the value for all ResNet50 weights. We see that a significant proportion of deeper weights show a very strong correlation with model quality.
Table 1: Spearman correlation of model quality metrics with top-5 ImageNet test accuracy for Legacy models. Combined pools all models in this type. The and are the fitted PL and ET-PL parameters.
| Model | BFE-W | ||||||
|---|---|---|---|---|---|---|---|
| DenseNet | -0.80 | -1.00 | -1.00 | -1.00 | -1.00 | 0.00 | 0.40 |
| ResNet | -0.90 | -1.00 | -1.00 | -1.00 | -1.00 | -0.70 | 1.00 |
| VGG | 0.81 | -0.90 | -0.98 | -0.98 | -0.98 | 0.95 | 0.95 |
| Combined | 0.48 | -0.88 | -0.89 | -0.87 | -0.87 | 0.54 | 0.86 |
Vision Transformers. Vision transformers, e.g., ViT (Dosovitskiy et al., 2021) and Swin (Liu et al., 2021, 2022), also do not show good correlation. We conjecture that a clear decomposition of vision transformers into features (final activations) and weight (final layer) does not hold (though it does for language transformers).
We provide the correlations for (BFE-W), as well as the HT-SR metrics, in Table 3 and Table 4. For Vision Transformers, the HT-SR metrics are also poor predictors of model quality. However, though correlation is only mild (), the HT-SR metrics are much stronger predictors than (BFE-W) for the Dropout models. Interestingly, and still do not show consistent correlation.
Table 2: Spearman correlation of model quality metrics with top-5 ImageNet test accuracy for CV (non-dropout) models. Combined pools all models in this type. The and are the fitted PL and ET-PL parameters.
| Model | BFE-W | ||||||
|---|---|---|---|---|---|---|---|
| ConvNeXt | |||||||
| DenseNet | |||||||
| Inception | |||||||
| RegNet | |||||||
| ResNeXt | |||||||
| ResNet | |||||||
| ShuffleNet | |||||||
| Wide ResNet | |||||||
| Combined |
Table 3: Spearman correlation of model quality metrics with top-5 ImageNet test accuracy for Dropout models. Combined pools all models in this type. The and are the fitted PL and ET-PL parameters.
| Model | BFE-W | ||||||
|---|---|---|---|---|---|---|---|
| EfficientNet | |||||||
| MNASNet | |||||||
| MobileNet | |||||||
| VGG | |||||||
| Combined |
Table 4: Spearman correlation of model quality metrics with top-5 ImageNet test accuracy for Vision Transformer models. Combined pools all models in this type. The and are the fitted PL and ET-PL parameters.
| Model | BFE-W | ||||||
|---|---|---|---|---|---|---|---|
| Swin | |||||||
| ViT | |||||||
| Combined |