Manuscript Offprint
arXiv:2608.28948From the Loss Landscape to Diverse Feature Learning in Neural Networks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
BY
DAVID ARAM YUNIS
A thesis submitted
in partial fulfillment of the requirements
for the degree of
Doctor of Philosophy in Computer Science
at the
TOYOTA TECHNOLOGICAL INSTITUTE AT CHICAGO
Chicago, Illinois
September, 2026
Thesis Committee:
Matthew R. Walter (Thesis Advisor)
Michael Maire
David McAllester
Mikhail Belkin
Abstract

Figure 1: The hat structure of the loss landscape of neural networks. We demonstrate this structure, provide a preliminary explanation for it, and leverage the explanation to improve practical neural networks.
Over the course of the last decade, neural networks have grown from an academic curiosity to moving the markets of nations. Despite this explosion in both research and deployment, relatively little is understood about how they achieve the solutions they do. This is both scientifically relevant, and pressing for society. When neural networks make decisions across self-driving, construction, law, hiring and health, there have been and will continue to be unintended consequences.
However, attempting to generalize the failures of the largest and most important production systems makes for a very difficult task. Yet signs of these failures exist at all scales of neural networks, so we should be able to study a much more tractable setting. All neural networks must undergo an optimization process, called training, to be useful. To a great degree, understanding neural networks is understanding their optimization: through what process and exposure to which data did they arrive at their results. Yet our knowledge on this topic as a field is quite imprecise. In particular, a curious phenomenon called mode connectivity, the ability to connect neural networks in the loss surface (Figure 1), defies explanation entirely.
This dissertation elucidates, explains and exploits this special structure in the loss landscape.
We begin by deepening the phenomenon of mode connectivity. We show that it is
ii both more complex and general than previously expected, and also that it defies common theoretical explanations previously put forth. Mode connectivity separates neural networks from the simple models of the past.
To explain the phenomenon, we propose an empirical approach centered on the spectral dynamics of weights—the behavior of singular values and vectors during optimization. Beyond offering an explanation for the strange structure of the loss landscape, these spectral dynamics connect a broad variety of phenomena, including grokking, lottery tickets, memorization and regularization. Such a large degree of common connections has been lacking in neural network phenomenology.
Armed with the powerful lens of spectral dynamics, we turn our attention to diverse feature learning, aiming to enlarge the information neural networks extract from data. We find that this spectral perspective allows us to overcome spurious correlations in simple settings, without any specialized assumptions common to prior work about task, loss or architecture. We then build on this understanding to improve the training of more practical neural networks, scaling to language modeling.
We hope these results can serve as a blueprint for the study of neural networks in the years to come.
iii
A mi papá.
iv
Acknowledgments
It is hard for me to say that my PhD was very enjoyable. Between the many twists and turns, failed submissions, and even the sheer amount of doubt about the work in the coming pages, I had a tough time. But it was deeply fulfilling. For the vast majority of my degree, I suffered in various ways for various reasons, and in many of those moments of darkness the brightness came from the people around me. There is meaning in the struggle with others around. I owe these people many thanks.
First, to my advisor Matt Walter... what can I say? It's no exaggeration that I owe my career to Matt. As an overconfident bright-eyed undergrad, he took me on and gave me a space to grow. In the early days of graduate school, I went astray and spent years working on other topics, but he was happy to take me back into the lab even when I was a washed-up third-year with no papers to my name. He indulged my stubbornness and my curiosity for the wide range of topics I explored, and was willing to let me run with this thesis among many who doubted my work. I'm still not sure how it happened, but he has my deep, deep gratitude. He has been a role model for research, for collaboration, for interdisciplinary work, for outreach, and for balance between work and life. I hope you have the pleasure of working with him. Bonus points if it's on actual robots.
To each of my committee members, I also owe thanks. Like Matt, Michael Maire was willing to take me on in that terrible third year when I was lacking papers and low on confidence. I appreciated his precise insight, his support in my transition and his ability to always dig deeper for a new experiment. I hope a little of that has rubbed off on me. On my first interaction with David McAllester on visit day, he turned his monitor around, pointed at GPT-2 outputs, and told me "don't do theory." Perhaps without that push I wouldn't have found my current love of experiments. Certainly, this dissertation wouldn't exist in its current form. My conversations with David in his corner office were a particular joy, whether on AI and society, information theory, or automated theorem proving. They broadened my horizons. Lastly, thank you to Misha Belkin. Specifically for optimism and interest when this work was a few plots on a laptop. His presentation of double descent at TTIC was one of the best talks I saw during graduate school, and a positive conversation for 30 minutes in a hotel lobby before he had to head to the airport carried me through years of doubts from others. It has been my deep satisfaction to involve him more formally in the tail end of this work, to be able to discuss like a peer, and to visit UCSD for a fantastic week in the California sun dreaming of feature learning. Thank you.
The TTIC and UChicago intellectual communities were enabling places to do research. I was able to touch so many aspects of machine learning in such a small building, and I'm thankful for the people, especially the students, who helped me to do this. Thanks to Falcon Dai for introducing me to machine learning and bringing me into the lab. For many discussions on research and learning to dream big. To Chip Schaff for showing me
v the ropes, and a target for what research engineering should look like. To Andrea Daniele for his company, for filling the lab with robots and making the rest of us look better for it. Thank you to Shane Settle and Shubham Toshniwal for their advice during COVID, for their support in sticking with the program when everything lost all structure, and for reminding me that whatever I had was plenty to get through it. I am thankful they stood in my corner. Thanks to Pedro Savarese for being a role model a few years ahead, and inspiring me to take a leap for my own interests to see where I would land. For his thoughtfulness and the seriousness with which he took my early and dumb ideas. To Takuma Yoneda who first supported my strange ideas when I moved back to Matt's group, at a time when I had very low confidence. And for a colleague to discuss with. To Sudarshan Babu for late night conversations, for humor, for sharing the suffering, for company. To Kshitij Patel for his early collaboration in all of this work, for his groundedness and willingness to try to see the value. Thank you to Gal Vardi for his dogged support of the middle chapter of this dissertation. To Jungo Kasai for his help in navigating the internship market, and for demonstrating the value of a network. To Kevin Stangl and Nick Kolkin for breakfasts, and help with orienting myself on the tail end of the program. To Sam Buchanan for curiosity and lots of enriching conversations. Thanks to Pushkar Shukla for his friendship, for his parallel experience that helped me to see I was not alone.
I also want to thank the broader TTIC community. Rose Bradford made a huge effort over Christmas break one year sorting out my fellowship when it was standing in the way of an internship. She continued to sacrifice at other times for me and I am thankful. Thank you to Asha for being a pleasure on the late nights and for making TTIC comfortable to work in. Thanks to Mary Marre for her steadfast support of me throughout the program, for alerting me to any leftovers when I was in need. Thank you to Chrissy Novak, Amy Minick, Erica Cocom and Alicia McClarin for their super-responsiveness and for making lots of administrative work breezey that could easily become a complete drag. Thanks to Adam Bohlander for his tireless teachings from a land before LLMs. It was a unique pleasure to get a message from him about trying new tech in his office, and I always walked out knowing something more than when I walked in. Thank you to Jerry for his bright energy, in the dark of winter, year after year, even when I was deep in the hole. I am grateful.
A special thanks to Xiao Zhang for our collaboration midway through the PhD. When we started working together, I was scrambling for a way to survive, and I'm very glad I caught your hand when I did. That project put wind in my sails, and though it was unrelated, gave me the confidence to attack this thesis again. Thank you for the reminder that sometimes all one needs is a great collaborator, and the rest will come.
From my professional colleagues, I want to thank Rui Shen for hiring me for an internship when I was having trouble in the program, and for encouraging me to go back to graduate school and fight for my degree. Thanks to Andrew Anderson for his faith in me as a colleague, even early on, and for some friendship in the suburban summer of New York. Thank you to Fantine Huot for her support, groundedness, and the way she showed me how to achieve professional balance. Thanks to Joshua Maynez, Sian Gooding, and Q Green for a sense of belonging in a workplace, a strange thing I did not imagine. Thank you to Mirella Lapata for cutting humor, and straight and practical advice for job searching. Thanks to Sohee Wang for camaraderie during the late nights in the office chasing a dream.
It took a long time, but as the PhD wrapped up, things started to improve. In particular, I spent a delightful final year working in Matt's lab, and besides the fun of doing my work and knowing it was my work, I enjoyed interacting with a new group of students. Thank you to Xiaodan Du, Tianchong Jiang, Luzhe Sun, Vincent Tan, Teddy Ayalew, Haoran Chen,
vi
Hung Le, Sam Wheeler, Jingtian Ji, and Richard Xu. It was a pleasure to work with you all, give a little bit of advice, and learn from another generation while I reflected on all of my early mistakes. I miss the long walks to lunch in the summertime. I miss the heated conversations even after two hours of sitting at group meetings. I hope that you all drew something meaningful from our interactions, and that my experience was useful beyond myself. I am thankful for your faith in me.
Besides all of the academic and professional ties above, I have personal ones to thank. My dear friends: Miles Grogger, Lucas Penido, Kevin Li, Lucas Fagen, Jainaha Srikumar, Phil Blok. Thank you for being there through my worst times, and for being there in my finest hour. I will treasure the memory of the full room at my defense very fondly. I am grateful you put up with me. I am grateful for your undying faith in me. Thank you to Sensei Winston, and the rest of the Karate Club for a constancy, a practice, and an iron will that applied directly to this degree. Osu! Gracias a mi Abuela por su confianza en mí. Y al resto de la familia en Colombia, en particular mi tío Iván, mi prima Alicia y mi Abuelo. Estar y hablar con ustedes siempre fue un descanso. Thanks to my sister Catherine for her lightness, and for a series of vignettes in the sunsets of LA. Meals over a shared table, a reminder of who we are, grounding me even when I was floating aimlessly in the work. To my mom for being an example in letting the world glance off of her. For the plants, the garden, the kitchen, and an attitude toward work of getting it done. To my dad, for reminding me over the years, and always in the way I needed but not always how I wanted, that the thing that matters most is that you never give up.
Like other journeys before mine, my PhD has been a series of decisions to not drop out. One in the first year with COVID. Another in the second year with nothing to show for a research agenda while many peers moved forward. Another after an internship when it seemed I had little to come back to. Another when very senior researchers questioned whether what I was doing was at all worthwhile, and I had to find a new agenda. Another when a series of papers all went through three to four rounds of rejection. Another when the reception after acceptance was nonexistent. I think now that the most important thing was to hang on, and it is only because of the people above and those I'm inevitably forgetting that I was able to do so. I am thankful that I was surrounded by so many great people during these times. It would have been much harder to keep going without their hands on my back. I hope you enjoy the result of their support in the following pages.
vii
viii
5 Overcoming Spurious Correlations through Diverse Feature Learning 38
5.1 Introduction ..... 39
5.2 Simplicity Bias and Spectral Dynamics ..... 40
5.2.1 Projected Gradient Descent for Diverse Feature Learning ..... 41
5.2.2 Experiments ..... 41
5.3 Diverse Feature Learning in Representation Space ..... 43
5.3.1 A Problem with Projected Gradient Descent ..... 45
5.3.2 Inter-Example Similarity as a Measure of Functional Diversity ..... 46
5.4 Diverse Feature Learning in Output Space ..... 50
5.4.1 Negative Correlation Learning ..... 50
5.4.2 Boosting Incorrect Predictions ..... 51
5.4.3 Boosting Low-Entropy Predictions ..... 52
5.4.4 Ensemble Weighting ..... 53
5.5 Related Work ..... 54
5.5.1 Leveraging Downstream Information ..... 54
5.5.2 Relying on Pretrained Models ..... 54
5.5.3 Architectural Modifications ..... 55
5.5.4 Objective and Optimization Approaches ..... 55
5.5.5 Ensembling ..... 55
5.6 Discussion ..... 56
6 Conclusion ..... 57
A Convex Mode Connectivity ..... 74
A.1 Task Details ..... 74
A.2 Metric Calculation Details ..... 74
B Spectral Dynamics ..... 76
B.1 Explanation of Balancedness ..... 76
B.2 Experimental Details ..... 76
B.2.1 Image Classification with VGG ..... 76
B.2.2 Image Generation with UNets ..... 77
B.2.3 Speech Recognition with LSTMs ..... 77
B.2.4 Language Modeling with Transformers ..... 78
B.2.5 Spectral Dynamics with Scale (Pythia) ..... 78
B.2.6 Weight Decay Experiments ..... 79
B.2.7 Grokking Experiments ..... 79
B.2.8 Random Label Experiments ..... 80
B.2.9 Magnitude Pruning Experiments ..... 81
B.2.10 LMC Experiments ..... 82
B.2.11 Perturbed LMC Experiments ..... 82
B.3 Limitations ..... 82
B.4 Additional Experiments ..... 83
B.4.1 Effect of initialization scale ..... 83
B.4.2 Effect of learning rate ..... 83
B.4.3 Individual seed plots for grokking ..... 83
B.4.4 Full alignment matrix evolution ..... 83
B.4.5 Image classification ..... 83
ix
B.4.6 ..... 83
B.5 Compute Resources ..... 83
B.6 Code Sources ..... 84
C Diverse Feature Learning ..... 89
C.1 PGD Experiments with Image Classification ..... 89
C.2 CKA Experiments with Image Classification ..... 89
C.3 Ensembling in Language Modeling ..... 90
C.3.1 CKA ..... 90
C.3.2 NCL ..... 90
C.3.3 Focal weighting ..... 90
C.3.4 Entropy weighting ..... 90
C.4 Ensemble Weighting ..... 90
X
List of Tables
5.1 Probing accuracy for CIFAR on middle layers for an ensemble of 5 models drawn from early or late rounds of PGD. We see that early rounds are substantially worse at extracting CIFAR information from the middle of the model, reinforcing the argument that PGD forces the model to learn more. 43
5.2 OOD linear probing accuracy between different methods. We observe the same effect as Zhang and Bottou (2023), that random ensembles (CAT) are much stronger than a large model that is parameter advantaged, but PGD ensembles do not appear to improve over random. 46
5.3 Top-1 OOD accuracy for random ensembles (CAT) v.s. CKA ensembles. We see that CKA improves by a substantial margin over CAT in the linear probing setup. 47
5.4 OOD cross entropy for random ensembles (CAT) v.s. CKA ensembles under many different variations. Unlike the image classification case, we are unable to find a version of CKA that outperforms random ensembles. 48
5.5 OOD cross entropy for random ensembles v.s. NCL ensembles We see no significant difference to random ensembles. NCL JSD corresponds to using Jensen-Shannon divergence for difference. MSE corresponds to MSE for the probability distribution, and Top-1 corresponds to only considering the difference between probabilities of the correct class. 51
5.6 OOD cross entropy for random ensembles v.s. Focal scaling ensembles We see no significant difference to random ensembles. Top-p corresponds to scaling the top-p of the tokens by sequence by a constant additive factor. 52
5.7 OOD cross entropy for random ensembles v.s. entropy scaling ensembles We see no significant difference to random ensembles. Top-p corresponds to scaling the top-p of the tokens by sequence by a constant additive factor. 53
5.8 OOD cross entropy for different ensemble weighting methods on the Entropy top-p runs. We use these as the base as we expect there may be nonuniformity compared to the Random ensembles. 53
A.1 Summary of tasks studied in this chapter. 74
xi
List of Figures
1 The hat structure of the loss landscape of neural networks. We demonstrate this structure, provide a preliminary explanation for it, and leverage the explanation to improve practical neural networks. ..... ii 2.1 Schematic of different varieties of loss landscapes. Color denotes height, where lower is better. (a): Convex loss. It is possible to find a path to the global minimum through local steps, when a ball is dropped in the landscape it will roll to the bottom. (b): Nonconvex loss. Unlike the convex case, a ball may get stuck in a particular local minimum without finding the global minimum. Neural networks are generally nonconvex, making optimization more difficult than the convex case. ..... 5 3.1 The algorithmic procedure and graphic for measuring convex mode connectivity. ..... 9 3.2 Top row: The empirical probability that a sample inside the convex hull (Convex) or a random perturbation around the endpoint (Random) have lower loss than their closest endpoints vs. the split epoch ( in Algorithm 1) for the many different trajectories. After an initial phase of training, the probability of lower loss inside the hull quickly converges to one, the loss inside the hull is always better than at the endpoints. Bottom row: Parameter distances between pairs of points in the CMC procedure. The distance between pairs of endpoints is of the same order of magnitude as other distances for all tasks. In other words, the apparent scale of convexity is similar to that of the total trajectory. Error bars for probabilities are computed by empirical standard deviations and , hence are not meaningful when values stretch greater than 1 or less than 0. . . . . 3.3 Singular values for the matrix of stacked endpoints of the mode. We examine endpoints split after the point when the hull center performs better than the endpoints (see Figure 3.2). For points in space, the shape they define can have at most dimensions. We see in all cases that the magnitudes do not decay to zero until component . In the case that there are outputs and (ResNet), we see a roughly uniform mode. In cases with (SIREN, LeNet, and LeNet-m), it does not appear that there is any special fragmenting at . In particular, the LeNet plot is over 300 endpoints, and the tail does not look as if it will decay to zero any time soon. The computational expense of these experiments limits how many endpoints we train. . . . . .
xii
3.4 Top row: The ratio of smallest to largest eigenvalue of the Hessian throughout training. This ratio is almost always negative, but quite small, making any local non-convexity appear unimportant. Bottom row: Probability of a convex line of loss between a pair of updates. Notice that this probability is close to 1 for the entire optimization, typically before the LMC regime in Figure 3.2.
3.5 Top row: Average accuracies at the endpoints of training (Endpoint), inside the convex mode defined by the endpoints (Convex), and at random directions around endpoints (Random). Notice that after a late enough split, samples in the hull are better than the endpoints. Bottom row: Average training accuracy over runs (Accuracy) compared to common points predicted correctly within a mode (Intra mode) and common points predicted correctly between hulls (Inter mode). We see that for models with an imperfect training accuracy, intra mode agreement is substantially lower than accuracy, and inter mode agreement is even lower. This suggests that endpoints of a mode are not similar functions.
4.1 (a) Schematic for the spectral dynamics of a weight matrix. As training proceeds, top singular vectors become stable and top singular values grow disproportionately large. (b) Singular value evolution for a single intermediate matrix parameter in a Transformer, where each line is a single singular value. Darker colors correspond to larger singular values while lighter ones correspond to smaller values. We see a disproportionate trend where large singular values grow larger faster. (c) Previous works use SV basis alignment between layers to prove similar theoretical results, however actual alignment between consecutive layers is weak, which we describe in Section 4.5. We explore these spectral dynamics of weights and connect them to generalization, regularization, and seemingly unrelated phenomena like linear mode connectivity.
4.2 Grokking and Spectral Dynamics. Top row: Grokking for Transformers on modular addition (Nanda et al., 2023) for a single seed due to different convergence times. See Figure B.7 for averaging over multiple seeds. Bottom row: Grokking for a 12-layer MLP on MNIST (Fan et al., 2024). (a) Training and validation error. Shaded regions correspond to standard deviation, where large deviations are due to different seeds converging at different times. (b) A visualization of singular value evolution for the first attention parameter and the second MLP layer, where each line represents a single singular value and the color represents the rank. (c) Effective rank of all layers (matrix parameters) over time (Eqn. 4.1). (d) A visualization of the alignment (Eqn. 4.3) between the embedding and the first attention parameter, and the first and second MLP layers, where the y-axis corresponds to index i of the diagonal. We see that grokking co-occurs with a transition to low-rank weights. In addition, there is an alignment that begins early in training that evolves up the diagonal. In the image classification case, we see a similar rank transition, though alignment does not evolve up the diagonal (see Figure B.8).
12
13
15
19
xiii
4.3 Top row: Singular value evolution for a single matrix in the middle of each model. Each line represents a singular value, darker colors are larger values, while lighter colors are smaller values. Notice the unequal evolution where top singular values grow at a disproportionate rate. Bottom row: Normalized effective rank (Eqn. 4.1) evolution visualized in color for all matrix parameters across architectures and time. As we move down the y-axis, the depth of the parameters in the model increases, while the x-axis tracks training time. The axis label "Layer" is shorthand for "matrix parameter". For example, in the Transformer we visualize each of the parameters for each block. Notice decreasing effective rank with training time across nearly all parameters, though the magnitude differs across layers (indicated by absolute color). The block-like patterns for VGG are likely due to different channel dimension sizes. The banding in the UNet, LSTM, and Transformer is due to the differences between convolutional and linear layers, residual block connections, and attention and fully connected layers, respectively. The sharp transitions through training in VGG are due to learning rate decays.
4.4 Top row: Training loss. Bottom row: Validation loss. Red is the full model. Blue is post-training pruning the bottom half of the SVD for every matrix in the model that is not the final layer. Green is post-training pruning the top half of the SVD. Notice that for all models, keeping the top half of the SVD is close to the full model performance, supporting the idea that the top directions provide a good approximation to the function. We specifically avoid pruning the final layer as for some tasks it is so low-rank that pruning further affects performance in an anomalous way (Frankle et al., 2020).
4.5 Neighboring layer alignment of singular vectors. Top row: The diagonal of the alignment matrix (Eqn. 4.3) vs. training time for a single pair of matrices in the middle of each model. We see a small amount of alignment in the top ranks between layers shortly after training begins, but this becomes more diffuse over time. Bottom row: Alignment metric (Eqn. 4.4) for pairs of matrices for depth vs. training time. It is hard to make out a global trend across models, though the LSTM shows a weak signal around Epoch 1 when the initial alignment occurs, and the Transformer case has a banding pattern with depth due to alignment between the query and key matrices that have no nonlinearity in between.
4.6 Singular value evolution for a single matrix and normalized effective rank (Eqn. 4.1) across matrices over time, where the rows use differing amounts of weight decay. From top to bottom, for VGG we use coefficients , while for other networks we use coefficients . Higher weight decay coefficients promote more aggressive rank minimization. VGG uses SGD with momentum, while the rest use AdamW (Loshchilov and Hutter, 2017), which may explain the earlier norm collapse. We provide an additional version with shared color bars in Figure B.10.
4.7 Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training, unlike in the random label case. We emphasize this alignment occurs despite the nonlinearities.
22
23
24
25
26
xiv
4.8 Top row: Barrier size (Eqn. B.1) vs. split step. Middle row: singular vector agreement for a single matrix parameter between branch endpoints that share a common trunk. Bottom row: summary statistic for singular vector agreement across layers vs. split step. We see that as models exhibit LMC, they also share a small number of top singular vectors. We only show agreement for 100 dimensions as the rest are near zero. ..... 27
4.9 Dynamics with random labels for VGG. Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training. The results are less stark in the VGG case, but similar to the MLP. ..... 28
4.10 Dynamics with random labels for LSTM. Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training. Though the LSTM does not fit the random labels perfectly, the results are qualitatively similar to the other cases. ..... 29
4.11 Top row: Singular vector agreement for a single matrix in the middle of each model (diagonal of Eqn. 4.5). Notice top singular vectors become stable in direction earlier. Bottom row: Summary score for each matrix across architectures. As we move down the y-axis, the depth of the parameters in the model increases, while the x-axis tracks training time. The sharp transition midway through training in the VGG case is likely due to a 10x learning rate decay. ..... 30
4.12 Pruning results for VGG. Top row: Magnitude pruning. Bottom row: random pruning. (a): Training loss. We see that at 5% sparsity magnitude pruning is significantly better than random pruning of the same layerwise sparsity. (b): Singular vector alignment pre- and post-pruning at the end of training for a single layer (the 3rd convolution). We see that magnitude pruning approximates many more top singular vectors than random pruning at the same sparsity. (c): Singular vector alignment score pre- and post-pruning across all layers. Agreement is higher across all layers for magnitude pruning, though curiously deeper layers do not agree, likely as later layers are wider so weights are lower magnitude and more will be pruned by the unstructured process. (d): Singular vector alignment between the pruned and unpruned models along the training trajectory. We see that the magnitude pruning still has similar dynamics in its top singular vectors, while random pruning does not. (e): Singular vector alignment score between pruned and unpruned models across layers and time. Again evolution is similar for early layers with magnitude pruning, and completely different for random pruning. 32
4.13 Pruning results for LSTM. Top row: Magnitude pruning. Bottom row: random pruning. See Figure 4.12 for details. Results are quite similar for the LSTM at 25% pruning as the VGG in Figure 4.12. ..... 33
XV
4.14 Top row: Barrier size vs. split step. Middle row: singular vector agreement for a single matrix parameter between branch endpoints that do not share a common trunk, but do share split time and branch data order. Bottom row: summary statistic for singular vector agreement across layers. We see that when branches do not share a common trunk, there is neither LMC nor singular vector agreement, even though the optimization is otherwise the same. ..... 34
4.15 Top row: Barrier size vs. perturbation magnitude. Middle row: singular vector agreement for a single matrix parameter between branch endpoints vs. perturbation magnitude. Bottom row: summary statistic for singular vector agreement across layers with perturbation magnitude. We see that whereas without perturbation models would exhibit LMC after training, with increasing perturbations the LMC property disappears simultaneously with the agreement in top singular vectors. ..... 36
5.1 Examples from the MNIST-CIFAR dataset in Shah et al. (2020). ..... 40
5.2 Evaluation protocol for experiments. After training on MNIST-CIFAR, we swap the classes of either the MNIST half, or the CIFAR half of the image and evaluate on that setting. When models rely entirely on MNIST, error on the swapped task degrades to 100%, and similarly for CIFAR. On the right we plot the errors over successive rounds of PGD. We see that models start to learn CIFAR after the early rounds of PGD, coming to rely quite heavily on CIFAR in later rounds. Spikes correspond to restarting a new round of training. ..... 42
5.3 Left: Training and validation error for successive rounds with our proposed PGD method on top singular vectors. Right: Swapped-class errors throughout rounds. We see that as the round number increases, validation error decreases due to the complexity of the task increasing. In addition, the model increasingly relies more on CIFAR, as the swapped CIFAR error goes from near 0 to 60% and above. This indicates the model is learning to extract more complex signals which are less predictive but still useful. ..... 43
5.4 First layer singular vectors over rounds of PGD training. Each set of columns corresponds to the MNIST and CIFAR halves of the reshaped singular vector. Descending down the rows corresponds to increasing rank index when sorted by singular value. We see initially that the first layer singular vectors form digit classifiers exclusively. In middle rounds the network focuses on higher and higher frequency signals in MNIST. In late rounds, all but the high frequency signals are present in MNIST, hence the model starts to leverage the CIFAR half of the image. ..... 44
5.5 Left: Training and validation error for successive rounds with PGD where we flatten the gradient and singular vectors before projection. Right: Swapped-class errors throughout rounds. We see that no new features are learned when ignoring the matrix structure of the parameters, so the spectral design is critical. ..... 45
5.6 Left: Training and validation error for successive rounds with Muon. Right: Swapped-class errors throughout rounds. Even though Muon is incentivized to give relatively more gradient to less prominent features (through higher-rank upweighting), it is insufficient for picking up CIFAR. ..... 45
xvi
5.7 Linear CKA (Kornblith et al., 2019) between layers for random ensembles (CAT) and PGD ensembles. The values are quite similar, suggesting that PGD is managing to find similar solutions as simple random reruns, possibly permutations of the original weights. Hence, PGD does not capture every notion of diversity. 46
5.8 CKA for representation vectors and gradient vectors for the task loss alone at different layers for image classification. Left: We see that representation and gradient CKA are reasonably high for CAT. Right: The same, but for the CKA-trained models. We see that using CKA greatly affects the representation CKA as it optimizes for this, and it also affects the task gradient CKA. . . . . 49
5.9 CKA between the gradient vectors for the task loss alone at different layers for language modeling. Left: We see CKA between representations and between gradients, which are both high for the CAT models. Right: The same, but for the CKA-trained models. We see that while representation CKA is low, gradient CKA is unaffected by our CKA objective, unlike image classification. 50
A.1 Training loss curves for all tasks. When cross-referencing with Figure 3.2, we see that the first split point that leads to a convex hull is quite early, long before the loss has converged, and often before it has even halved. 75
B.1 Spectral dynamics of Pythia suite. From top to bottom we examine the 160m, 410m, 1.4b and 2.8b parameter models. Notably, much less noise appears in the alignment plot with increasing scale. Presumably this could be due to the fact that larger dimensional vectors have higher probability to be orthogonal, which may play a role in making optimization easier. We see stronger alignment score (Eqn. 4.4) in all layers in the larger model, perhaps because of that cleaner signal. 79
B.2 Diagonal of alignment for a single pair over time (Eqn. 4.3) and alignment metric across pairs of matrices over time (Eqn. 4.4) where the y-axis represents depth. From top to bottom, for VGG we use coefficients {0, 0.001, 0.01, 0.1}, while for other networks we use coefficients {0, 0.1, 1, 10}. We see that the maximum alignment magnitude is higher with large weight decay, and in particular, the Transformer has the strongest alignment even when nonlinearities separate the MLP layers. 80
B.3 Training loss over time, where the rows use differing amounts of weight decay. From top to bottom, for VGG we use coefficients {0, 0.001, 0.01, 0.1}, while for other networks we use coefficients {0, 0.1, 1, 10}. We see that it is still possible to achieve low training loss under high weight decay, and as we increase the amount of weight decay, the gap between pruned and unpruned parameters closes, lending support to the idea that the parameters become lower rank. 81
xvii
B.4 Grokking and Spectral Dynamics in Modular addition. Top row: 30% data and no weight decay. 2nd row: 30% data and weight decay 1.0 (grokking), using hyperparameters from Nanda et al. (2023). 3rd row: 70% data with no weight decay (slingshot), using hyperparameters from Thilak et al. (2022). Bottom row: 90% data and no weight decay. (a): Training and validation error. (b): Singular value evolution is visualized for the first attention parameter, where each line represents a single singular value and the color represents the rank. (c): Effective rank of all layers (Eqn. 4.1). (d): Alignment (Eqn. 4.3) between the embedding and the first attention parameter is also visualized, where the y-axis corresponds to index i of the diagonal. One can see that grokking co-occurs with low-rank weights. In addition, there is an alignment that begins early in training that evolves up the diagonal. Without weight decay and with less data, neither grokking nor the other phenomena occur during the entire training budget, but using more data, even without weight decay, leads to low-rank solutions from the beginning of training. The slingshot case follows a similar trend, though the validation loss is gradually fit. Across cases with good generalization, parameters are lower rank, and alignment is also more prevalent in the top ranks. ..... 85 B.5 Varying initialization scale affects the dynamics of an MLP trained on CIFAR10. From top to bottom we use default PyTorch initialization multiplied by the constants {0.001, 0.01, 0.05, 0.1, 0.5, 1.0}. Notably, alignment occurs slightly more strongly with smaller initialization, as predicted by Woodworth et al. (2020) for deep linear models. ..... 86 B.6 The effect of varying learning rate on an MLP trained on CIFAR10. From top to bottom we use learning rates {0.001, 0.01, 0.1}. Notably, alignment increases with larger learning rate, agreeing with the deep linear setting in Ghosh et al. (2025). ..... 87 B.7 Plots for averages of 3 seeds of grokking modular addition with Transformers (Figure 4.2). We see a stark transition to low-rank when validation error decreases. ..... 87 B.8 Alignment matrix (Eqn. 4.3) over time. We see that the majority of signal is concentrated in the diagonal, an example of why we consider the diagonal in the rest of the work. ..... 87 B.9 Different architectures all trained on CIFAR10. From top to bottom, MLP, LeNet-5 and VGG-16. We see roughly consistent spectral dynamics across architectures within the same task. ..... 88 B.10 Duplicate of Figure 4.6 with shared color scaling between settings. ..... 88
xviii
Chapter 1
Introduction
In the past decade, neural networks have exploded onto the scene. What started with early experiments in speech recognition (Seide et al., 2011; Hinton et al., 2012) and image classification (Krizhevsky et al., 2012; Russakovsky et al., 2015) has led to massive language models (Achiam et al., 2023). The transition from research to product is firmly underway: ChatGPT, at its core a language model, is one of the fastest growing applications ever (Ouyang et al., 2022; OpenAI, 2022). In the past few years the model deployment has continued relentlessly, with the rise of coding assistants (Chen et al., 2021; Anthropic, 2025). Self-driving cars are deployed in many cities (Kusano et al., 2025). Weather models based on large-scale neural networks have supplanted traditional methods (Alet et al., 2025). Large campaigns to revolutionize fields are underway in drug discovery (Jumper et al., 2021) and materials science (Merchant et al., 2023). Genuinely novel mathematical results have now been proven entirely by machine (OpenAI, 2026). We are in the midst of a dizzying and breathtaking transformation in technology.
Along with the tremendous amount of research in the field in the past decade, there has been an enormous capital investment (KKR Global Macro & Asset Allocation, 2025). This is due to a fundamental observation since the ImageNet competition (Russakovsky et al., 2015) that larger models tend to perform better (Krizhevsky et al., 2012; Simonyan and Zisserman, 2014; He et al., 2016). Such a trend continued (Sun et al., 2017), leading to its formalization as scaling laws (Hestness et al., 2017; Kaplan et al., 2020) for predicting increase in performance with both model size and data. The natural conclusion, then, is that more data and more computation means a better problem solver. Thus there is a straightforward recipe for converting dollars into better models by buying more computers and paying for more data. Taken to its limit, this has led neural networks to occupy a gigantic place in our economy (Tunguz, 2026).
Yet, as these algorithms penetrate all aspects of our societies, with the benefits there are commensurately large risks and social repercussions (Bender et al., 2021; Bommasani et al., 2021). When employment, health, and legal questions are decided by these algorithms (D'Amour et al., 2022), it is critical to have some sense of how they work. Moreover, without a fundamental understanding of deep learning, it will be very difficult to solve such questions.
As an example, take simplicity bias (Rahaman et al., 2019; Shah et al., 2020; Pezeshki et al., 2021). This very basic issue, where neural networks latch on to simple aspects of the data even when more complex features may be useful, was first investigated at a small scale. Yet at a large scale, it transforms into discussions of biases against social groups (Bender et al., 2021; D'Amour et al., 2022) and adversarial examples (Hendrycks et al., 2021). The fundamental hammer that we have to combat something like simplicity bias is a relatively simple one: collect more data and hope scaling laws drive performance (Hestness et al., 2017; Kaplan et al., 2020; Mazeika et al., 2024). Through this process, we close the gap between train and test scenarios. Yet such an approach hits practical walls in changing distributions (Zhang and Bottou, 2023), requires extreme amounts of data, and is scientifically unsatisfying. That is to say, despite the ever-growing investment, the hole in our understanding bites us.
And this is only one such issue. We know that very simple neural networks can represent any function of interest (Cybenko, 1989), but there remain many mysteries in actually finding these solutions. Even though it can be framed very straightforwardly, the actual optimization problem can have complex hidden qualities, often called implicit bias (Neyshabur et al., 2014). Though ridge regression is well understood (Marquardt and Snee, 1975), basic questions on how to generalize this to neural networks with weight decay (Hanson and Pratt, 1988; Krogh and Hertz, 1991; Zhang et al., 2018a) have only partial answers (Van Laarhoven, 2017; Andriushchenko et al., 2023; Yaras et al., 2023b). Perhaps most vexing, we lack a complete explanation for how neural networks generalize, despite having the capacity to perfectly memorize the training data (Zhang et al., 2021). Such an explanation may allow us to design better algorithms. However, a lack of understanding makes the deployment of neural networks vulnerable to uninterpretable errors (Szegedy et al., 2013; Ilyas et al., 2019; Hendrycks et al., 2021; D'Amour et al., 2022; Zou et al., 2023).
Much work has been done toward this understanding. There is a large body of theoretical work on many of the preceding topics, but these studies are often limited to special settings like deep linear networks (Arora et al., 2018, 2019) or infinite-width systems (Jacot et al., 2018), and arguments rely on unsubstantiated or impractical assumptions like near-zero initialization. On the empirical side, a growing body of work in interpretability has attempted to reverse-engineer neural networks (Rahaman et al., 2019; Barak et al., 2022; Nanda et al., 2023), but given the difficulty of the task, researchers focus on small scale with bespoke methodology that is challenging to scale. A body of empirical work aims to understand the behavior of larger networks (Zhang et al., 2021; Huh et al., 2022; Yu and Wu, 2023), and compromises by focusing on more abstract objects like the gram matrix (Huh et al., 2022) or the Neural Tangent Kernel (NTK) (Fort et al., 2020). But due to the complexity of contemporary networks, it is very difficult to connect this broad body of literature into a coherent view, and many phenomena remain poorly understood.
We are interested in a broad understanding of neural networks that can be applied to practical systems. Through that understanding we aim at a more principled way to deal with distribution shifts and low data scenarios. In the following chapters, we describe a line of work that starts with a confusion regarding the loss landscape and ends with a simple definition of feature learning. We close with a method that uses this definition to overcome simplicity bias and break the data wall of deep learning.
1.1 Contributions
This dissertation is structured as follows:
-
Chapter 2: We give introductory background around the core phenomenon of Linear Mode Connectivity (LMC) that drives the trajectory of the following chapters.
-
Chapter 3: We show that there are high dimensional, diverse convex modes in the loss landscape of many neural networks that cannot be trivially explained, extending the phenomenon of linear mode connectivity.
-
Chapter 4: We find that these high dimensional modes can be explained by stable low rank dynamics of top singular vectors (spectral dynamics) and that these dynamics unify a host of confusing phenomena related to generalization and regularization.
-
Chapter 5: We use spectral dynamics to improve the training of neural networks, in particular by overcoming simplicity bias through the use of ensembles, with direct implications for low data regimes.
-
Chapter 6: We conclude by discussing the implications of these results at the time of their development, and in the years to come.
Chapter 2
Background
Neural networks are omnipresent today, and we have known for a very long time that they can approximate any function of interest (Cybenko, 1989). Yet in theory their optimization is difficult (Blum and Rivest, 1988), so the critical question is how we actually find the optimal solution. It is well known that many, often infinite minima exist in the neural network loss landscape (Choromanska et al., 2015; Kawaguchi, 2016). Yet, only some solutions generalize well (Zhang et al., 2021; Keskar et al., 2016), raising questions about how and why common optimization algorithms find the solutions they do and how one might design algorithms that find better solutions.
One way to understand optimization is through the loss landscape, the total set of trajectories a neural network can traverse. Many researchers have studied this landscape in the past (Keskar et al., 2016; Dinh et al., 2017; Li et al., 2018; Jiang et al., 2019; Fort and Jastrzebski, 2019). The vast literature is due to a variety of strange properties neural network loss landscapes exhibit which are not present in prior models, due to nonconvex structure of the landscape. To explain this strangeness we have to define convex structure.
Prior to neural networks, a large body of research focused on convex optimization problems. Such problems are, intuitively, defined by the ability to connect any two minima by a linear path, and find equivalent or better solutions along that path. To be precise, if is a loss function where lower indicates better quality, and are two sets of parameters for a neural network, and :
In particular, this implies that no matter where one begins in the landscape, it is always possible to find a path to an optimum via small steps without getting stuck. If you drop a ball in this landscape, it will eventually roll to the bottom. Such a property allows for a complex and beautiful theory of optimization, and extremely efficient algorithms (Vandenberghe, 2004). See Figure 2.1 (a) for an intuitive picture.
Unfortunately, useful neural networks are nonconvex. This means that there are many possible optima in the loss landscape not connected by paths, like separate craters in the surface (see Figure 2.1 (b)). In particular, it is possible to get stuck at suboptimal points depending on where one starts, and how one descends. Besides being provable in specific cases (Sontag and Sussmann, 1989), this is also empirically confirmed for neural networks of interest (Li et al., 2018; Frankle et al., 2020). The rough intuition is that, due to the multiple

(a) Convex Loss
(b) Nonconvex Loss
Figure 2.1: Schematic of different varieties of loss landscapes. Color denotes height, where lower is better. (a): Convex loss. It is possible to find a path to the global minimum through local steps, when a ball is dropped in the landscape it will roll to the bottom. (b): Nonconvex loss. Unlike the convex case, a ball may get stuck in a particular local minimum without finding the global minimum. Neural networks are generally nonconvex, making optimization more difficult than the convex case.
layers of linear transforms, it is possible to permute one layer, then permute the following in a corresponding way such as to not alter the solution. The same is true for rescaling, but linearly interpolating between these solutions is worse than either endpoint (Dinh et al., 2017). Moreover, different hyperparameters can lead to different minima (Keskar et al., 2016).
Despite the nonconvexity in the loss landscape, one interesting empirical property that has been observed is mode connectivity which suggests more structure than arbitrary complexity. Mode connectivity refers to the ability to find nonlinear paths of low loss that connect two minima in the loss landscape that were derived from the same initialization. Draxler et al. (2018) and Garipov et al. (2018) found that such paths could be quite simple in structure: piecewise continuous with only a few segments. The ability to connect different parts of the loss landscape may appear surprising due to the nonconvexity, but theoretical work showed that, with sufficient capacity, it is possible to find paths of even piecewise linear structure (Kuditipudi et al., 2019) through smoothly pushing one optimum into the excess capacity, then slowly interpolating to the other.
However, such a theoretical argument still requires nonlinear paths. More surprising, then, was the discovery of linear mode connectivity (LMC), where two optima started from the same initialization could be connected by a linear path of low loss (Nagarajan and Kolter, 2019). The existence of this linear path implies that optimization appears to stay in a convex subspace, contrary to the seeming nonconvexity we have been discussing. Instead of exploring the entire landscape, the behavior of optimization appears quite structured.
Yet Nagarajan and Kolter's results only applied to a very small-scale experiment. It was unclear at the time whether they were specific to some experimental details, or a more gen-eral property of neural networks. Frankle et al. (2020) showed that linear mode connectivity indeed held true for a larger class of neural networks under a modified protocol, indicating the observation was nontrivial. Their modified experiment added a small amount of shared optimization before splitting the two trajectories. After splitting, they train both as usual to their stopping points. This process differs slightly from that of Nagarajan and Kolter due to the shared optimization, but still indicates that optimization is quite well-behaved after a short amount of time.
It is worth asking whether the observation made by Frankle et al. (2020) is trivial: is the apparent convexity due to very small distances after the shared optimization? Even the nonconvex loss functions should be locally convex when one zooms in far enough, so this explanation could make the phenomenon completely uninteresting. The evidence, however, suggests this is not the case as the distance between initialization and the end of shared training (the split point) is of the same magnitude as that between the split point and optima, and between optima. So LMC is a nontrivial kind of convexity, a point which we will reinforce in our experiments.
Additionally, LMC seems to appear broadly across more optimization settings and architectures. Neyshabur et al. (2020) showed that LMC is also present when the initialization is taken from a pretrained model on a separate task. Thus the optimization landscape is limited by prior training on very loosely-related tasks. Juneja et al. (2022) demonstrated similar results for Transformers in language tasks, beyond the simple image classification setting used for all prior work.
Though the phenomenon is intriguing in its own right, there are also practical applications to LMC beyond understanding the loss landscape. Wortsman et al. (2022) and Li et al. (2022) showed that the convexity suggested by LMC can lead to better model performance via finding the optimal point in between solutions (model averaging). Rame et al. (2022) found that such model averaging could be useful beyond a single task for out-of-distribution generalization. Moreover Ilharco et al. (2022) demonstrated that model-averaging could be used to combine tasks into a single model.
So LMC is a surprising phenomenon given the seeming nonconvexity of optimization. It is also a general phenomenon and does not have trivial theoretical explanations. Additionally, LMC can be leveraged for practical benefits. Yet the question remains: why does LMC occur? In the following chapters, we investigate this question in detail, finding that the explanation is connected to a host of other phenomena in the literature through low-rank dynamics. Which in turn allows us to propose a new method for improved feature learning. Let us begin with LMC.
Chapter 3
On Convexity and Linear Mode Connectivity in Neural Networks
Yunis et al. (2022)
In many cases, neural networks trained with stochastic gradient descent (SGD) that share an early and often small portion of the training trajectory have solutions connected by a linear path of low loss. This phenomenon, called linear mode connectivity (LMC), has been leveraged for pruning and model averaging in large neural network models, but it is not well understood how broadly or why it occurs. LMC suggests that SGD trajectories somehow end up in a “convex” region of the loss landscape and stay there. In this work, we confirm that this eventually does happen by finding a high-dimensional convex hull of low loss between the endpoints of several SGD trajectories. But to our surprise, simple measures of convexity do not show any obvious transition at the point when SGD will converge into this region. To understand this convex hull better, we investigate the functional behaviors of its endpoints. We find that only a small number of correct predictions are shared between all endpoints of a hull, and an even smaller number of correct predictions are shared between the hulls, even when the final accuracy is high for every endpoint. Thus, we tie LMC more tightly to convexity, and raise several new questions about the source of this convexity in neural network optimization.
3.1 Introduction
Many researchers have studied the loss landscape of neural networks (Keskar et al., 2016; Li et al., 2018; Dinh et al., 2017; Jiang et al., 2019; Neyshabur et al., 2020; Fort and Jastrzebski, 2019) in the past decade. Linear mode connectivity (LMC), i.e., the existence of linear paths of low loss between solutions of optimization, was likely first observed by Nagarajan and Kolter (2019) between two small networks with the same initialization but different data orders for stochastic gradient descent (SGD). Frankle et al. (2020) subsequently demonstrated that LMC occurs in larger vision models when branch trajectories with different data orders are split from a shared early portion of training with a common data order.
Such LMC behavior would be expected if the loss landscape were convex, as, by definition, any two points in a convex region could be connected by a linear path of lower loss. Even if the entire loss landscape were non-convex, but SGD converged to a convex region at some point in training, LMC would still hold due to local convexity. Given this simple explanation, and possible specificity of prior work, we explore across a broader range of architectures and optimizers, asking several questions regarding LMC:
-
Is LMC really indicating that the loss surface is convex between the endpoints? We find a convex hull of low loss defined by the endpoints of many SGD trajectories and show that its dimension is large. This shows that LMC is not a property of any two endpoints, but the entire loss-landscape around a “mode” indeed looks convex. This gives more credence to the explanation for LMC through convexity.
-
Is the optimization problem approximately convex after the point at which we expect LMC? We see that the Hessian nearly always has negative eigenvalues but their relative magnitude doesn’t change much, and in between stochastic updates the training loss looks convex. Neither of these metrics changes significantly throughout training, so even if they indicate optimization is nearly convex, they fail to identify the start of LMC.
-
How are the functions corresponding to linearly connected parameters related? We probe deeper into the source of LMC. We see that the number of shared correct predictions between convex hulls is not close to the shared correct predictions among endpoints of a hull, even when the training accuracy is high, suggesting that the ability to interpolate between parameters is only loosely related to functional similarity.
3.2 Convex Mode Connectivity
Linear mode connectivity was defined for a pair of branch trajectories. Instead of a pair, we split into branches and sample convex combinations of the endpoints to better understand the loss inside the convex hull of these endpoints. Algorithm 1 presents this convex mode connectivity (CMC) procedure, which is a slight modification of the original LMC procedure (Frankle et al., 2020).
In Figure 3.2, we plot the probability that convex combinations of hull parameters have better training loss than hull endpoints, and likewise for random perturbations around hull endpoints. Notably, like LMC, after some point in training, random convex combinations become better than endpoint averages, while random perturbations are almost always worse—strong evidence that LMC describes a convex region in the loss surface. We call
Initialize weights with , and seed for data order with ; Train steps with algorithm to yield ; Sample new data order seeds ; Train for steps: ; for do Sample and compute ; Find closest endpoint ; Sample random perturbation ; Compute perturbed parameter ; Measure and ; end
Compute and ;
Algorithm 1: Convex mode procedure

Figure 3.1: The algorithmic procedure and graphic for measuring convex mode connectivity.
the time after this first point in training the LMC regime. We verify these observations in a regression task (SIREN) and a few different networks trained to classify CIFAR-10. For more details on the task selection, see Appendix A.1.
In order to understand the space that this mode takes up in parameter space, we stack all the parameters into a matrix and take its SVD. We then plot the singular values of this matrix as a measure of the volume spanned by the endpoints for the different tasks. We see in Figure 3.3, that for all tasks for which we train sufficient branches, there does not appear to be a sharp cutoff in the magnitude plot corresponding to the number of classes or the hidden dimension. The only cutoffs occur when there are not enough endpoints to see any higher dimension ( points define an object of dimension at most ). This tells us that we are seeing a non-degenerate convex mode in the loss landscape, and that the particular region does not seem related to the Hessian subspace identified by Gur-Ari et al. (2018), or to other simplices of low loss achieved via additional optimization (Fort et al., 2019; Benton et al., 2021).
3.3 Measures of Convexity
One natural explanation for the previously demonstrated convex hulls is that, after some point in training, the trajectory enters a convex “basin” and the rest of the time is spent inside this region. However, previous work has shown that the linear interpolation between points early on the training trajectory and at the end can exhibit large increases in training loss (Frankle, 2020; Vlaar and Frankle, 2022), making such an explanation tenuous.
Still, the loss could locally be behaving more “convexly” after some early point in training. In order to test this, we examine the bottom part of the Hessian spectrum and the convexity of the training loss between two possible stochastic updates at a point (see Appendix A.2

Init to split Split to end Between ends

(a) SIREN
(b) LeNet
(c) LeNet-m
(d) ResNet
Figure 3.2: Top row: The empirical probability that a sample inside the convex hull (Convex) or a random perturbation around the endpoint (Random) have lower loss than their closest endpoints vs. the split epoch (k in Algorithm 1) for the many different trajectories. After an initial phase of training, the probability of lower loss inside the hull quickly converges to one, the loss inside the hull is always better than at the endpoints. Bottom row: Parameter distances between pairs of points in the CMC procedure. The distance between pairs of endpoints is of the same order of magnitude as other distances for all tasks. In other words, the apparent scale of convexity is similar to that of the total trajectory. Error bars for probabilities are computed by empirical standard deviations and , hence are not meaningful when values stretch greater than 1 or less than 0.
for details). We see in Figure 3.4 that the Hessian shows only a small amount of local non-convexity throughout training and that the measurement of convexity between pairs of updates makes training always appear locally convex, making neural network optimization look quite well-behaved. None of the curves show distinguishing features at the LMC point (see Figure 3.2). Rather than believing that there is a particular point in training at which a difference in SGD updates causes the trajectories to diverge, it seems the eventual convergence to different convex hulls happens much more gradually.
3.4 Diversity of Endpoints
Figure 3.2 (bottom) and prior work have shown that endpoints that exhibit LMC are far apart in parameter space with respect to the total trajectory length (Nagarajan and Kolter, 2019; Frankle et al., 2020). A natural question is whether these distances are deceptive and the endpoints are actually “functionally similar”. It is well known that with clever scaling, one can transform a set of parameters into another set, and the distance between the two will be large, while the functions they describe will remain the same. Such scaling was

(a) SIREN
(b) LeNet
(c) LeNet-m
(d) ResNet
Figure 3.3: Singular values for the matrix of stacked endpoints of the mode. We examine endpoints split after the point when the hull center performs better than the endpoints (see Figure 3.2). For points in space, the shape they define can have at most dimensions. We see in all cases that the magnitudes do not decay to zero until component . In the case that there are outputs and (ResNet), we see a roughly uniform mode. In cases with (SIREN, LeNet, and LeNet-m), it does not appear that there is any special fragmenting at . In particular, the LeNet plot is over 300 endpoints, and the tail does not look as if it will decay to zero any time soon. The computational expense of these experiments limits how many endpoints we train.
employed by Dinh et al. (2017) to make the case that two equivalent functions could have very different sharpness. Another way to preserve functionality is through permutations of rows of weight matrices. Entezari et al. (2021) hypothesize that such permutations can map unconnected endpoints into the same mode and Ainsworth et al. (2022) show this is true for wide networks, but not the case for standard ResNets, which Benzing et al. (2022) concurrently confirm. Still, these works do not characterize the behavior within a mode.
Let be the set of correct predictions for endpoint of a convex hull, where indexes over different hulls. The set of correct predictions on the training set common to all endpoints is . The set of correct predictions common between hulls is . Comparing to provides a proxy measurement of the similarity between the functions for two different hulls. Figure 3.5 reveals that there is a substantial gap between , , and for functions that do not interpolate the data perfectly, suggesting only a fraction of the predictions within a mode are shared, and only a fraction of those are shared across hulls. We also see that accuracy improves inside the convex hull, so it is not the case that the loss improvement we saw previously is driven by better performance on a common set of points shared across the whole mode. Rather, it seems like there is a large collection of points in the data for which it is possible to flip predictions easily without incurring increases in the loss. Additionally, the poor agreement between hulls suggests that permutations either are not a sufficient explanation for the similarity between hulls, or that they only preserve the function on a relatively small set of predictions.
3.5 Discussion
In this chapter, we present some dichotomous evidence for local convexity in the neural network loss landscape. We show that trajectories that split after a point early in training define a convex hull of low loss in the loss landscape. On one hand, this might be taken as evidence for the loss landscape being (weakly) convex after this early point in training. But

(a) SIREN
(b) LeNet
(c) LeNet-m
(d) ResNet
Figure 3.4: Top row: The ratio of smallest to largest eigenvalue of the Hessian throughout training. This ratio is almost always negative, but quite small, making any local non-convexity appear unimportant. Bottom row: Probability of a convex line of loss between a pair of updates. Notice that this probability is close to 1 for the entire optimization, typically before the LMC regime in Figure 3.2.
on the other, we cannot detect such a point with simple proxies for convexity. In particular, our measures indicate no increase in the convexity of the function before or after the split point that gives rise to LMC. Failure to measure a difference could be due to sparse sampling of our metrics, but it might also indicate that neural network optimization is much more convex than we might expect. Probing the mode, it seems the convexity in training loss and error is not due to a large subset of shared predictions on the training set, but rather a diverse set of functions that are amenable to interpolation.
Prior work has shown that, on the scale of the optimization trajectory, the neural network loss landscape does not appear convex (Li et al., 2018; Frankle, 2020; Vlaar and Frankle, 2022), yet a large convex hull appears at the end of training. Given that hulls only agree on a small subset of predictions, yet interpolation is possible, studying the behavior of the convex hull while training on the subset of the data corresponding to predictions that are and are not shared may provide more insight.
There may also be a relationship between LMC and neural collapse (Papyan et al., 2020), a recently identified tendency in classifiers to collapse the output feature space to a set of class means over the course of training. It could be the case that interpolating within a given convex hull corresponds to minimal disturbances to class means, but interpolating between convex hulls corresponds to changing the location of class means in feature space. If such a relationship existed, neural collapse might provide an early metric for detecting the first iteration after which a convex hull will exist, which would allow for parallelization of training without the extra computational cost needed to identify the LMC regime.
The deep nature of this phenomenon, and its commonality across settings, suggests that there must be a similarly common explanation in terms of the optimization of neural networks. So the critical question is why? Why do we see this high dimensional convex mode across all neural networks studied? And why is it still the case even given the constant nonconvexity and the functional dissimilarity?

(a) LeNet
(b) LeNet-m
(c) ResNet
Figure 3.5: Top row: Average accuracies at the endpoints of training (Endpoint), inside the convex mode defined by the endpoints (Convex), and at random directions around endpoints (Random). Notice that after a late enough split, samples in the hull are better than the endpoints. Bottom row: Average training accuracy over runs (Accuracy) compared to common points predicted correctly within a mode (Intra mode) and common points predicted correctly between hulls (Inter mode). We see that for models with an imperfect training accuracy, intra mode agreement is substantially lower than accuracy, and inter mode agreement is even lower. This suggests that endpoints of a mode are not similar functions.
We find a clue to answering the convex mode puzzle through the low-rank dynamics of deep linear models. In particular, Arora et al. (2019) show that, under certain technical assumptions, one can derive an equation for the dynamics of singular values and vectors of the product matrix. In effect, larger singular values grow larger faster, so there is an implicit low-rank dynamic with increasing depth.
Thus, we hypothesize that similar low-rank dynamics in nonlinear neural networks are responsible for LMC. Intuitively, the idea is that as large singular values become stable, when trajectories are split in the LMC procedure, the dynamics of those top vectors remain stable. Thus at the end of training, models that can be averaged will share their top singular vectors. The following chapter details this development.
Chapter 4
Approaching Deep Learning through the Spectral Dynamics of Weights
Yunis et al. (2024)
We study the spectral dynamics of weights—the behavior of singular values and vectors during optimization—showing that they clarify and link many phenomena in deep learning. Through extensive experiments, covering small-scale “grokking” to large-scale tasks like image classification with ConvNets, image generation with UNets, speech recognition with LSTMs, and language modeling with Transformers, we identify a consistent bias with three key ingredients. First, singular values evolve unequally leading to rank minimization. As a result, top singular vectors stabilize well before the end of training, and lastly this happens without displaying alignment between neighboring layers used in several theoretical results. We show how this bias tracks the transition to generalization in grokking. We demonstrate more generally that weight decay enhances rank minimization beyond its role as a norm regularizer in practical systems. Moreover, we show that these spectral dynamics distinguish random label training from true labels, offering a novel perspective on this longstanding conundrum. Additionally, these dynamics reveal structure in well-performing sparse subnetworks (lottery tickets) and the shape of the loss surface through linear mode connectivity. Our findings suggest that spectral dynamics provide a coherent view that links the behavior of neural networks across diverse settings.

(a) SV Schematic
(b) SVs
(c) Alignment Schematic
Figure 4.1: (a) Schematic for the spectral dynamics of a weight matrix. As training proceeds, top singular vectors become stable and top singular values grow disproportionately large. (b) Singular value evolution for a single intermediate matrix parameter in a Transformer, where each line is a single singular value. Darker colors correspond to larger singular values while lighter ones correspond to smaller values. We see a disproportionate trend where large singular values grow larger faster. (c) Previous works use SV basis alignment between layers to prove similar theoretical results, however actual alignment between consecutive layers is weak, which we describe in Section 4.5. We explore these spectral dynamics of weights and connect them to generalization, regularization, and seemingly unrelated phenomena like linear mode connectivity.
4.1 Introduction
We find a task- and architecture-agnostic view to link many disparate phenomena in deep learning, simultaneously studying image classification with ConvNets, image generation with UNets, speech recognition with LSTMs and language modeling with Transformers. Through extensive experiments, we examine the dynamics (i.e., evolution over training) of singular values and singular vectors of weight matrices—the spectral dynamics of weights. We observe a few key properties: singular values evolve unequally, with larger ones evolving faster. As a result, top singular vectors stabilize much faster. Finally, for top ranks we see alignment between neighboring layers' singular vectors, though this varies somewhat with the setting. We preview these phenomena in Figure 4.1. We are motivated to study these dynamics specifically as optimization is the fundamental process driving deep learning (Nagarajan and Kolter, 2019; Zhang et al., 2021), neural networks at their core are chained matrices and nonlinearities, and the SVD is fundamental to every matrix. The following paragraphs detail how these properties connect to generalization and the mode connectivity phenomenon.
As a test bed for understanding generalization, Power et al. (2022) introduce the “grokking” phenomenon, where a small-scale model applied to arithmetic tasks initially achieves essentially zero training loss but performs poorly on validation data, then with much more training suddenly minimizes the validation loss (see Figure 4.2). In particular, Nanda et al. (2023) showed that in modular arithmetic, the feature learning that occurs during grokking could be reverse-engineered entirely from the final weight matrices. Although this description is precise, it is limited to arithmetic tasks. In Section 4.4, we notice a task-agnostic view of grokking, observing that the drop in validation loss during grokking coincides with the simultaneous discovery of low-rank solutions across all weight matrices in the network, whether it be modular arithmetic or image classification. We also find that this transition relies on weight decay, echoing existing works (Lyu et al., 2023; Liu et al., 2023) as neither grokking nor low-rank weights occur without sufficient weight decay.
Though the common tie between low-rank weights and generalization in grokking suggests an intriguing explanation for generalization, grokking is typically studied on synthetic tasks with very small-scale models like single-layer Transformers or small MLPs and requires very particular hyperparameter settings (Power et al., 2022; Nanda et al., 2023; Gromov, 2023; Kumar et al., 2023). If our perspective is to be useful, we should obtain similar results in larger systems. Thus, we turn to common empirical tasks drawn from the literature like image classification, image generation, speech recognition and language modeling as well as varied and larger networks like VGG (Simonyan and Zisserman, 2014), UNet (Ronneberger et al., 2015), LSTM (Hochreiter and Schmidhuber, 1997) and multi-layer Transformers (Vaswani et al., 2017).
In Section 4.5, we demonstrate that spectral dynamics are biased toward effective rank minimization across various practical neural networks in complex settings. Although this behavior echoes theoretical predictions in the deep linear setting, we find that the behavior of networks disagrees with a common theoretical assumption about low-rank dynamics: the alignment of singular vectors in consecutive layers (Saxe et al., 2014; Arora et al., 2018, 2019; Milanesi et al., 2021). Thus, the rank minimization mechanism differs from what the theory describes. Our hyperparameters are drawn from existing literature, thus the trend toward rank minimization coincides with well-generalizing networks across settings, echoing the observations in grokking.
One particularly notable ingredient for grokking was an extreme level of weight decay. In Section 4.6, we empirically connect rank minimization to weight decay, showing that weight decay promotes rank minimization across architectures and tasks, echoing findings in Section 4.4. In addition, in some cases, weight decay also appears to promote singular vector alignment in consecutive weight matrices despite the nonlinearities between layers. Although weight decay explicitly penalizes norm, studying spectral dynamics allows us to observe these effects on rank and alignment. Such effects may lead to better generalization bounds by understanding the reason weight decay is useful, as the most obvious norm-based explanations are insufficient (Andriushchenko et al., 2023).
To further probe the rank-generalization connection, we turn to the classic memorization experiments of Zhang et al. (2021), who demonstrated that even small networks can memorize random labels, thus any arguments about generalization cannot be capacity-based alone. In Section 4.7 and Appendix 4.8, we show that training with random labels leads to high-rank solutions, while rank with true labels is much lower. We also find that while random labels do not align consecutive layers, true labels do, which is surprising given the nonlinearities between layers. This echoes prior discussion on rank and generalization. Through spectral dynamics, we see a clear distinction between generalizing and memorizing networks, which provides a foothold toward better theoretical understanding.
Our results suggest that viewing neural networks through the lens of spectral dynamics can shed light on several generalization-related phenomena, but there are broader connections. We return to the topic of the previous chapters. Linear mode connectivity (LMC) and its connection to the lottery ticket hypothesis (Frankle and Carbin, 2018; Nagarajan and Kolter, 2019; Frankle et al., 2020; Neyshabur et al., 2020). We find that global magnitude pruning, a standard procedure for finding lottery tickets, preserves top singular vectors and acts like low-rank pruning. We also see that the ability to interpolate between models in LMC strongly correlates with sharing top singular vectors. With these results, we note that the two phenomena can be seen as aspects of the spectral dynamics of weights, bringing them under the umbrella of Chapter 3. For detailed discussions, see Section 4.7 and
Section 4.9.
To summarize the discussion above, we study spectral dynamics along a few lines:
-
How does generalization interact with rank? We find grokking, a phenomenon of sudden generalization, is intimately linked to rank minimization (Section 4.4).
-
What about generalization and rank in standard settings? We show rank minimization is a general phenomenon in more complex tasks and architectures (Section 4.5).
-
If rank and generalization are tightly connected, what about common regularizations? We find that the extremely common weight decay, a norm regularization, enhances the rank minimization behavior (Section 4.6), further tying rank to generalization.
-
Given the connection between rank and generalization, what about pure memorization? We see that memorizing random labels through training yields high-rank, unaligned parameters compared to true-label training (Section 4.7).
-
If it is so central, how does rank minimization relate to the puzzle of linear mode connectivity? Top singular vectors are preserved when performing magnitude pruning and while linearly interpolating between connected modes (Section 4.7), which provides an explanation for the complex convex mode connectivity of Chapter 3.
All of these phenomena and effects have previously been studied in isolation to varying degrees. By approaching deep learning through spectral dynamics, we aim to inform existing small-scale theoretical and experimental results, and link them to a much broader literature. Our hope is that this will provide a deeper footing for further theory and practice.
4.2 Related Work
4.2.1 Singular Value Dynamics
Prior work on deep linear networks (Arora et al., 2019; Milanesi et al., 2021) suggests that rank minimization may better describe implicit regularization in deep matrix factorization than simple matrix norms. See Arora et al. (2018) (Appendix A) for a detailed argument. However, a critical assumption in these works is “balanced initialization.” This means that for consecutive matrices and in the product matrix , we have at initialization. Decomposing these matrices with SVDs and leveraging orthogonality leads to matching left and right singular vectors between consecutive matrices. See Appendix B.1 for a detailed explanation. Consequently, the product of the diagonals will evolve in a closed-form manner, with larger singular values growing faster than smaller ones. As shown by Arora et al. (2019), this translates to rank-minimizing behavior with increasing depth in the matrix products. This formula is also empirically validated for linear matrix factorization problems. Similar results have been derived for tensor products and other structured settings (Saxe et al., 2014; Yaras et al., 2023a). Ji and Telgarsky (2019) show that alignment between layers will happen specifically for deep linear networks with infinite training. Still, there is no reason to believe standard networks obey this balancedness condition under practical initialization procedures. In Section 4.5, we explore how these conclusions and assumptions hold for much larger, practical neural networks that are far from linear.
4.2.2 Low-Rank Properties
Another line of research focuses on more general low-rank biases. Early work explored norms as an implicit bias (Gunasekar et al., 2017). Theoretical analyses reveal that norms or closed-form functions of weights might be insufficient to explain implicit regularization, but they do not necessarily contradict the possibility of rank minimization (Razin and Cohen, 2020; Vardi and Shamir, 2021). Numerous studies investigate low-rank biases in various matrices, including the Jacobian (Pennington et al., 2018), weight matrices (Le and Jegelka, 2021; Martin and Mahoney, 2020, 2021; Frei et al., 2022; Ongie and Willett, 2022), Gram matrix (Huh et al., 2022), and features (Yu and Wu, 2023; Feng et al., 2022). Additionally, research suggests that dynamics influence the decay of rank (Li et al., 2020; Chen et al., 2023b; Wang and Jacot, 2023). Orthogonally, weight decay has a long history as a regularizer explicitly penalizing parameter norm, which can be used for norm-based generalization bounds (Bartlett, 1996), but these bounds do not seem to explain the success of practical systems (Nagarajan and Kolter, 2019; Jiang et al., 2019). Some works establish connections between weight decay and rank minimization in idealized settings (Ziyin et al., 2022; Galanti et al., 2022; Zangrando et al., 2024; Ergen and Pilanci, 2023; Parhi and Nowak, 2023; Shenouda et al., 2023), which may be connected to generalization (Razin and Cohen, 2020). We are particularly interested in how far these connections extend beyond ideal settings to practice.
Though these prior results are interesting in their own right, our goal is to link them together on a much broader suite of experiments and show further unexplored consequences.
4.3 Common Quantities
Throughout the rest of the chapter we will rely on a number of common quantities for our analysis. Inspired by work in the deep linear case (Saxe et al., 2014; Arora et al., 2019; Milanesi et al., 2021; Yaras et al., 2023b), we track the evolution of singular values for individual weight matrices. To gain a high-level overview of all matrix parameters, we compute the (normalized) effective rank of a matrix W (Roy and Vetterli, 2007) with rank R as
where 's are the singular values of matrix W and EffRank(W) is the entropy of the normalized singular value distribution. As the probability mass concentrates, the effective rank decreases. We plot NormEffRank(W) to compare across layers and time.
In addition, inspired by the assumptions of balancedness made by prior work (Arora et al., 2018, 2019), we examine the alignment of consecutive weight matrices in the Transformer. To examine and quantify this alignment between SVDs of consecutive matrices in

(a) Error
(b) SV Evolution
(c) Effective Rank
(d) Alignment
Figure 4.2: Grokking and Spectral Dynamics. Top row: Grokking for Transformers on modular addition (Nanda et al., 2023) for a single seed due to different convergence times. See Figure B.7 for averaging over multiple seeds. Bottom row: Grokking for a 12-layer MLP on MNIST (Fan et al., 2024). (a) Training and validation error. Shaded regions correspond to standard deviation, where large deviations are due to different seeds converging at different times. (b) A visualization of singular value evolution for the first attention parameter and the second MLP layer, where each line represents a single singular value and the color represents the rank. (c) Effective rank of all layers (matrix parameters) over time (Eqn. 4.1). (d) A visualization of the alignment (Eqn. 4.3) between the embedding and the first attention parameter, and the first and second MLP layers, where the y-axis corresponds to index i of the diagonal. We see that grokking co-occurs with a transition to low-rank weights. In addition, there is an alignment that begins early in training that evolves up the diagonal. In the image classification case, we see a similar rank transition, though alignment does not evolve up the diagonal (see Figure B.8).
a network at training time t, i.e.,
we compute the inner products between neighboring singular vectors,
where the absolute value is taken to ignore sign flips in the SVD computation. We then plot the diagonal of this matrix over time, which we focus on because we observed the most signal here. See Appendix B.4.4 for more details. These plots give us a sense as to whether simultaneous diagonalization occurs at least in the top ranks. For exact details on how alignment is computed for different architectures and layers more complex than the fully connected case, see Appendix B.2.
We not only employ the alignment matrix defined in Eqn. 4.3, but also derive and plot a scalar measure. We focus on the top diagonal entries as we observed they typically contained the most structure (see Figure B.8 for an example):
For specific details on calculating this measure in diverse architectures and complex layers (beyond fully connected layers), please see Appendix B.2.
4.4 Grokking and Rank Minimization
Power et al. (2022) first noticed a surprising phenomenon they called “grokking” where models quickly fit the training data on toy tasks, then after a long period of training, very quickly generalize on the validation data (see Figure 4.2). Later, others found that this phenomenon can occur on a logarithmic timescale (Thilak et al., 2022) in simpler models and different datasets (Liu et al., 2022; Gromov, 2023; Kumar et al., 2023; Xu et al., 2023). In addition, weight decay seems to be a critical ingredient (Lyu et al., 2023; Liu et al., 2023; Tan and Huang, 2023).
Motivated by experimental results that show the importance of weight decay for grokking (Power et al., 2022; Lyu et al., 2023; Liu et al., 2023), and theoretical work that connects low-rank weights, generalization and weight decay (Razin and Cohen, 2020; Galanti et al., 2022; Timor et al., 2023; Yaras et al., 2023b; Zangrando et al., 2024), we evaluate the potential connection between parameter rank and grokking in neural networks. Low-rank weights would naturally complement other descriptions such as Fourier decomposition (Nanda et al., 2023), the simplification of linear decision boundaries (Humayun et al., 2024), the connection to double descent (Davies et al., 2022), and the discovery of a sparse solution (Merrill et al., 2023).
We replicate grokking in two settings: a single-layer Transformer for modular addition (Nanda et al., 2023), and a 12-layer MLP for MNIST image classification (Fan et al., 2024) (see Appendix B.2 for details). We select these settings as they are somewhat more realistic than other tasks, require more complex architectures, and display grokking on a linear time scale.
In Figure 4.2, we see a tight connection: the sudden drop in validation loss coincides precisely with the onset of low-rank behavior in the singular values. Examining inter-layer alignment during training, we observe that the final low-rank solution gradually emerges from the model's middle ranks. As we show later, in the absence of weight decay, no low-rank solution seems to develop (Figure B.4). Additionally, when using 90% of the data and no weight decay, generalization still coincides with effective rank minimization. Fan et al. (2024) noted that in deep MLPs, grokking coincided with a feature rank decrease, which agrees with the parameter rank decrease that we see here. The careful reader will also note that Nanda et al. (2023) previously showed that the particular solution found in modular addition is a low-rank Fourier decomposition, so our observations on low-rank weights will follow, yet the same structure also applies to the MLP where such reverse-engineering is difficult. In the following sections, we argue that rank minimization is a perspective that can be applied in more complex settings when one does not know what to look for in the weights. It may thus be possible to interpret the neural network via the top ranks (Praggastis et al., 2022). Specifically, we will show in Section 4.6 that large amounts of weight decay have a strong rank-regularizing effect, so one way to understand grokking is that the network first memorizes the training data, and with further training the rank regularization of weight decay pushes toward generalization.
4.5 Spectral Dynamics Across Tasks
Inspired by the results on grokking and prior work on deep linear networks that studies the evolution of the SVD of the weight matrices (Saxe et al., 2014; Arora et al., 2018, 2019; Milanesi et al., 2021; Yaras et al., 2023a), we apply the same analysis to larger, more practical systems. We show that the trends we saw in the analysis of grokking mostly hold true across networks and tasks at a much larger scale, though our findings do deviate from theoretical settings.
4.5.1 Methodology
Our experiments aim to examine reasonably sized neural networks across a variety of tasks. We select models and tasks that are representative of current applications. Specifically, we consider:
-
Image classification with CNNs (VGG-16 (Simonyan and Zisserman, 2014)) on CIFAR10 (Krizhevsky, 2009);
-
Image generation through diffusion with UNets (Ronneberger et al., 2015) on MNIST (LeCun, 1998);
-
Speech recognition with LSTMs (Hochreiter and Schmidhuber, 1997) on LibriSpeech (Panayotov et al., 2015); and
-
Language modeling with Transformers (Vaswani et al., 2017) on Wikitext-103 (Merity et al., 2016).
Training hundreds of runs for each of the settings above is computationally expensive, limiting the scale of models we can explore. We primarily adopt hyperparameters from existing literature, with minor modifications for simplicity. This ensures that any correlations observed are likely a reflection of common practices, and not bias introduced on our part. We also provide evidence with larger language models (up to 3B parameters) in Appendix B.2.5, from the Pythia suite (Biderman et al., 2023).
The primary evidence in this section comes from computing the SVDs of weight matrices within the models; we disregard 1D bias and normalization parameters in our analysis. Previous research suggests that these parameters are not always crucial for performance (Zhang et al., 2018b; Mohan et al., 2019; Karras et al., 2023), and many large models do not use them (Raffel et al., 2020; Grattafori et al., 2024). As the matrices are the vast majority of the parameters, we believe they are the primary object of interest and it is worthwhile focusing on them. Due to the large number of matrices in these models, we present plots of individual layers' matrix parameters and statistics that summarize behavior across layers for conciseness. We generated hundreds of thousands of plots during this study, making it impossible to include them all. Full experimental details, including the choice of hyperparameters, are available in Appendix B.2.

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.3: Top row: Singular value evolution for a single matrix in the middle of each model. Each line represents a singular value, darker colors are larger values, while lighter colors are smaller values. Notice the unequal evolution where top singular values grow at a disproportionate rate. Bottom row: Normalized effective rank (Eqn. 4.1) evolution visualized in color for all matrix parameters across architectures and time. As we move down the y-axis, the depth of the parameters in the model increases, while the x-axis tracks training time. The axis label "Layer" is shorthand for "matrix parameter". For example, in the Transformer we visualize each of the parameters for each block. Notice decreasing effective rank with training time across nearly all parameters, though the magnitude differs across layers (indicated by absolute color). The block-like patterns for VGG are likely due to different channel dimension sizes. The banding in the UNet, LSTM, and Transformer is due to the differences between convolutional and linear layers, residual block connections, and attention and fully connected layers, respectively. The sharp transitions through training in VGG are due to learning rate decays.
4.5.2 Effective Rank Minimization
Building on theoretical (Saxe et al., 2014; Arora et al., 2019; Milanesi et al., 2021; Boix-Adserà et al., 2023; Yaras et al., 2023a) and empirical (Dittmer et al., 2019; Martin and Mahoney, 2020, 2021; Boix-Adserà et al., 2023) findings, we investigate effective rank minimization across larger models and a more diverse array of tasks. Figure 4.3 reveals a consistent trend: the effective rank of network parameters generally decreases throughout training, regardless of the specific parameter or network architecture. This suggests a progressive “simplification” of the network as training progresses.
We further conduct a singular-value pruning experiment to explore the relationship between low-rank behavior and model performance. We prune either the top or bottom half of the singular values for each weight matrix in the network and then evaluate the pruned model at each training step. Given their importance in space, we expect the top singular values to capture the information most critical to the network's function. Figure 4.4 confirms this, demonstrating that the pruned parameters, without further training, can

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.4: Top row: Training loss. Bottom row: Validation loss. Red is the full model. Blue is post-training pruning the bottom half of the SVD for every matrix in the model that is not the final layer. Green is post-training pruning the top half of the SVD. Notice that for all models, keeping the top half of the SVD is close to the full model performance, supporting the idea that the top directions provide a good approximation to the function. We specifically avoid pruning the final layer as for some tasks it is so low-rank that pruning further affects performance in an anomalous way (Frankle et al., 2020).
closely approximate the full model's performance. It is not necessarily obvious that pruning would have this effect. In particular, simultaneously pruning lower components across all layers may lead to losing some critical signal that must be passed between layers, or it could be that small-magnitude singular values may provide some important regularizing noise. This result is reminiscent of prior work that uses low-rank approximations for efficiency or performance (Yu et al., 2017; Sharma et al., 2023; Chen et al., 2024), or work that explicitly optimizes for low-rank networks (Wang et al., 2021; Schotthöfer et al., 2022). Here we point out that the reason this is possible is due to the dynamics of the singular values themselves. In later sections, we will rely on this observation that large singular values are more critical to the function of the network.
4.5.3 Alignment of Singular Vectors Between Layers
Similar to the analysis of grokking, we investigate the alignment between consecutive layers in the larger neural networks considered in this section.
Figure 4.5 reveals a key finding: the theoretical assumption of balanced initialization, which posits aligned singular value decompositions (SVDs) between weight matrices (Arora et al., 2018; Saxe et al., 2014), does not hold true at the start of training in these larger networks. Additionally, unlike in the linear case discussed in Du et al. (2018), the alignment does not appear to remain static throughout training. However, a weak signal of alignment in the top ranks develops and disappears. We are very far from the theoretical settings of

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.5: Neighboring layer alignment of singular vectors. Top row: The diagonal of the alignment matrix (Eqn. 4.3) vs. training time for a single pair of matrices in the middle of each model. We see a small amount of alignment in the top ranks between layers shortly after training begins, but this becomes more diffuse over time. Bottom row: Alignment metric (Eqn. 4.4) for pairs of matrices for depth vs. training time. It is hard to make out a global trend across models, though the LSTM shows a weak signal around Epoch 1 when the initial alignment occurs, and the Transformer case has a banding pattern with depth due to alignment between the query and key matrices that have no nonlinearity in between.
prior work (Du et al., 2018; Arora et al., 2019; Mulayoff and Michaeli, 2020) that use balanced or near-zero initialization, and the strange trends mean that existing theoretical models do not capture the complexities of neural network training.
4.6 The Effect of Weight Decay
In light of the previously observed evolution of singular values, we investigate a proposed effect of weight decay. Though weight decay explicitly penalizes the norm of weights, there is evidence that complicates the connection between the norm and generalization for neural networks (Razin and Cohen, 2020; Andriushchenko et al., 2023), meaning that we do not have a full understanding as to why weight decay may be useful. Alternatively, some theoretical (Boix-Adserà et al., 2023; Razin and Cohen, 2020; Yaras et al., 2023a; Timor et al., 2023; Ongie and Willett, 2022; Galanti et al., 2022; Zangrando et al., 2024) and empirical works (Galanti et al., 2022; Boix-Adserà et al., 2023) propose a connection between weight decay, generalization and the rank of matrices in constrained settings. Still, comprehensive evidence for larger empirical networks is missing.
We speculate on the intuition behind the mechanism in more practical settings. In its simplest form, weight decay involves the optimization: , where , and are the singular values of weight matrix with rank . We saw

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.6: Singular value evolution for a single matrix and normalized effective rank (Eqn. 4.1) across matrices over time, where the rows use differing amounts of weight decay. From top to bottom, for VGG we use coefficients , while for other networks we use coefficients . Higher weight decay coefficients promote more aggressive rank minimization. VGG uses SGD with momentum, while the rest use AdamW (Loshchilov and Hutter, 2017), which may explain the earlier norm collapse. We provide an additional version with shared color bars in Figure B.10.
previously that larger singular values of neural networks grow faster (Fig. 4.3, top row) and that the top singular vectors are much more useful for minimizing task loss than the bottom ones (Fig. 4.4). Thus, with minor weight decay regularization, one straightforward solution for the network may be to minimize the rank of a given weight matrix while preserving the top singular values to minimize . Timor et al. (2023) argue for a similar effect in simple systems: if all singular values are less than one, the norm of activations will shrink with depth, so as depth grows very large, any input signal will converge to zero, making it impossible to learn. Thus, it is better for a few singular values to be sufficiently large while the rest can be very small.
Figure 4.6 shows that adding weight decay produces this exact low-rank behavior, while too much weight decay leads to complete norm collapse. The exact choice of “too much” varies across architectures and tasks. Despite the low-rank regularization, we do not see particularly tight alignment (Eqn. 4.3) in the top singular vectors, except in the highest weight decay Transformer (see Figure B.2 in the Appendix). The alignment in this case is reminiscent of the balancedness condition (Arora et al., 2018, 2019; Du et al., 2018), though the Transformer considered here has nonlinearities and a much more complex structure.
Orthogonally, we provide additional evidence in Appendix B.2, where Figure B.3 shows that the solutions with moderate weight decay can perform better than without, while with very high weight decay models still generalize, even though they are much lower rank. To a very rough degree, lower rank leads to better generalization and a smaller training-validation gap, though when rank is pushed too low the performance collapses as

(a) Train Err.
(b) Val. Err.
(c) SVs
(d) Eff. Rank
(e) Alignment
Figure 4.7: Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training, unlike in the random label case. We emphasize this alignment occurs despite the nonlinearities.
the model can no longer use any capacity. In general, different tasks may have different minimal ranks necessary. Language modeling may require some form of memorization for long-tail words and thus a low-rank solution may be impossible, while 10-class image classification may not have this property. Still, we note that the role of weight decay in improving generalization is tied up with its function as a rank regularizer. In addition, although we lack precise tools to interpret complex models entirely, when there are only a few ranks per matrix, it may become possible to extend analysis efforts (Nanda et al., 2023; Praggastis et al., 2022) to more complex domains.
4.7 Additional Connections
Here we briefly preview some connections between spectral dynamics and additional phenomena.
Memorization vs. Generalization: In Figure 4.7, we replicate the core memorization experiment of Zhang et al. (2021), which highlighted the ability of modern neural networks to memorize even random labels perfectly. We find that when training with random labels, we obtain networks with higher-rank final parameters as opposed to when training with true labels. Thus, the spectral dynamics can distinguish between memorization (of random labels) and generalization in this simple experiment. We also see an alignment (Eqn. 4.3) structure between the middle layers that disappears with random labels, perhaps as it is necessary in order for the network to pass signals from input to output. This echoes the pattern of grokking in Section 4.4, where generalization came with a transition to low-rank and alignment in middle layers. We expand this experiment to more settings in Appendix 4.8 with additional figures.
Lottery Tickets: On very small networks, Frankle and Carbin (2018) found the existence of sparse sub-networks via magnitude pruning, keeping only the top of weights globally by magnitude, that could train to similar performance as the full network. This was

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.8: Top row: Barrier size (Eqn. B.1) vs. split step. Middle row: singular vector agreement for a single matrix parameter between branch endpoints that share a common trunk. Bottom row: summary statistic for singular vector agreement across layers vs. split step. We see that as models exhibit LMC, they also share a small number of top singular vectors. We only show agreement for 100 dimensions as the rest are near zero.
particularly surprising as they could find such networks with 1 – 10% of the weights, indicating much of the capacity was unnecessary. For larger image classification networks, Frankle et al. (2020) observed that in order to find such sparse subnetworks, it was necessary to train until the end in order to acquire the pruning mask that could be used retroactively in training. This curious observation still lacks a compelling explanation. We show that such global magnitude pruning functions similarly to low-rank pruning, thus the lottery ticket masks found by rewinding (Frankle et al., 2020) are effectively low-rank masks for the singular components that will become important at the end of training. Training the masked network leads to similar dynamics in these components. However, taking masks from too early in training leads to poor approximation of these final components and simultaneously stunts training. We provide detail on this discussion in Appendix 4.9.
Linear Mode Connectivity (LMC): Linear Mode Connectivity (Nagarajan and Kolter, 2019; Frankle et al., 2020) refers to the property that models that share a portion of the training trajectory can be averaged in weight-space to yield a stronger model (Wortsman et al., 2022; Ramesh et al., 2022). This phenomenon indicates that, after some training,

(a) Train Err.
(b) Val. Err.
(c) SVs
(d) Eff. Rank
(e) Alignment
Figure 4.9: Dynamics with random labels for VGG. Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training. The results are less stark in the VGG case, but similar to the MLP.
the loss surface is quite convex in a subspace, even though the optimization problem is theoretically highly non-convex. As prior work has found, fine-tuning from pre-trained models stays in this convex space (Neyshabur et al., 2020; Li et al., 2022; Sadrtdinov et al., 2023), an explanation for what underlies LMC could help to clarify the role of pre-training, and may lead to faster fine-tuning. We show that LMC is tied with singular vector sharing. In particular, when models display LMC, they share top singular vectors between weights (see Figure 4.8), and when they do not they also do not share parameters (Appendix 4.9.3). We argue this is an outcome of the early stability of top singular vectors, which arises due to the unequal evolution of singular values. It is also straightforward to explain the large Euclidean distance between checkpoints (Frankle et al., 2020; Yunis et al., 2022) that can be averaged, as they only share a very small portion of the parameter space. Thus, LMC, and by extension, model-averaging, is deeply intertwined with the dynamics of singular values that we explore in Section 4.5. The full discussion is deferred to Appendix 4.9.
4.8 Spectral Dynamics with Random Labels
Given the observations connecting generalization and rank thus far, and the enlightening view on the implicit effects of weight decay, we are interested in seeing whether the perspective developed sheds any light on the classic random label memorization experiments of Zhang et al. (2021).
Similar to Zhang et al. (2021), we train an MLP, a VGG, and an LSTM to fit random or true labels. Please see Appendix B.2 for the details regarding the experimental setup. Zhang et al. (2021) decay the learning rate to zero, and the random label experiments only converge late in training. Consequently, we use a constant learning rate to avoid confounding factors. We see in Figure 4.7 that both cases for the MLP are able to achieve zero error, though with different singular value evolution and alignment (Eqn. 4.3) in the middle layer.

(a) Train Err.
(b) Val. Err.
(c) SVs
(d) Eff. Rank
(e) Alignment
Figure 4.10: Dynamics with random labels for LSTM. Top row: results with true labels. Bottom row: results with random labels. We see that the middle layers have a lower effective rank (Eqn. 4.1) when using true labels and that alignment (Eqn. 4.3) in the middle layers persists throughout training. Though the LSTM does not fit the random labels perfectly, the results are qualitatively similar to the other cases.
Surprisingly in Figure 4.7, we see that with true labels the inner layers are low rank, while with random labels they are much higher rank. This may be explained by the shared structure in the true classes of the dataset, which manifests in the parameters. Even more surprisingly, we find here that even without weight decay, inner layers align with true labels, while with random labels, this alignment occurs and then disappears with more training. This is particularly intriguing as there are non-linearities that could theoretically separate the network from the linear case, and yet strong alignment occurs despite that. Such alignment has not yet been leveraged by existing theory, and might provide structured assumptions for new understanding. Results on the VGG (Figure 4.9) and LSTM (Figure 4.10) are qualitatively quite similar, though weaker in alignment. In summary, these results suggest that viewing generalization through the lens of rank and alignment may be fruitful, deepening the connection previously revealed.
4.9 Beyond Generalization
We have seen over the course of many experiments that deep models are biased toward low rank, and that there is a tempting connection between rank minimization and generalization. Still, spectral dynamics may have broader connections. In the following subsections, we explore lottery tickets (Frankle and Carbin, 2018) and linear mode connectivity (Frankle et al., 2020) in greater detail. Beyond shedding further light on neural networks, these phenomena have implications for more efficient inference and storage, as well as understanding the importance of pretraining (Neyshabur et al., 2020). We find that lottery tickets are a sparse approximation of final-checkpoint top singular vectors. The ability to linearly interpolate between faraway checkpoints and improve performance coincides strongly with top singular vector sharing between checkpoints. Such observations may form a foundation for a better understanding compression and model averaging (Wortsman et al., 2022; Ilharco

Figure 4.11: Top row: Singular vector agreement for a single matrix in the middle of each model (diagonal of Eqn. 4.5). Notice top singular vectors become stable in direction earlier. Bottom row: Summary score for each matrix across architectures. As we move down the y-axis, the depth of the parameters in the model increases, while the x-axis tracks training time. The sharp transition midway through training in the VGG case is likely due to a 10x learning rate decay.
et al., 2022).
4.9.1 Top Singular Vectors Become Stable Earlier
Before we explore the phenomena, we first make another observation that will be helpful. As top singular values grow disproportionately large, it would be natural that top singular vectors become stable in direction as the gradients remain small. To demonstrate this, for a given matrix in the network at training time , we compute
where is the final step of training, and the absolute value is taken to ignore sign flips in the SVD computation. We then plot the diagonal of this matrix over time. We also use a scalar measure of the diagonal to summarize like in the alignment case: . In Figure 4.11, we see that top singular vectors converge in direction earlier than bottom vectors.
4.9.2 Lottery Tickets Preserve Final Top Singular Vectors
As large singular vectors will become stable late in training, we wonder about the connection to magnitude pruning and the lottery ticket hypothesis. Frankle and Carbin (2018) first showed evidence for the lottery ticket hypothesis, the idea that there exist sparse sub-networks of neural networks that can be trained to a comparable performance as the full network, where the sparse mask is computed from the largest magnitude weights of the network at the end of training. Frankle et al. (2020) build further on this hypothesis and notice that, for larger networks, the masking cannot begin at initialization, but rather at some point early in training. Still, the mask must come from the end of training.
The reason for this particular choice of mask may be connected to the dynamics we previously observed. Specifically, at the end of training large singular values are disproportionately larger, so high-magnitude weights may correspond closely to weights in the top singular vectors. If magnitude masks were computed at the beginning, the directions that would become the top singular vectors might be prematurely masked as they have not yet stabilized, which may prevent learning on the task.
Here we train an unmasked VGG-16 (Simonyan and Zisserman, 2014) on CIFAR10, then compute either a random mask, or a global magnitude mask from the end of training, and rewind to an early point (Frankle et al., 2020) to start sparse retraining. We also do the same with an LSTM (Hochreiter and Schmidhuber, 1997) on LibriSpeech (Panayotov et al., 2015). Please see Appendix B.2 for details. In Figures 4.12 and 4.13, we plot the singular vector agreement (SVA, Eqn. 4.5) between the final model, masked and unmasked, where we see exactly that magnitude masks preserve the top singular vectors of parameters, and with increasing sparsity fewer directions are preserved. Even though prior work has remarked that it is possible to use low-rank approximations for neural networks (Yu et al., 2017), and others have explicitly optimized for low-rank lottery tickets (Wang et al., 2021; Schotthöfer et al., 2022), we rather are pointing out that the magnitude pruning procedure seems to recover a low-rank approximation though it was intended to be "unstructured."
We also compute the singular vector agreement (SVA) between the masked model trajectory and the original unmasked model trajectory (diagonal of Eqn. 4.5). We see in Figures 4.12 and 4.13 that there is no agreement between the bottom singular vectors at all, but there is still loose agreement in the top singular vectors. Thus, it seems the mask allows the dynamics of only the top singular vectors to remain similar, which we know are most important from the pruning analysis in Figure 4.4.
Preserving top singular vectors by pruning seems like a natural outcome of large matrices regardless of the mask, so as a control, we follow exactly the same protocol except we generate the mask randomly with the same layerwise sparsity. We can see in Figures 4.12 and 4.13 that this results in much lower preservation of top singular vector dynamics, and also performs worse, as in (Frankle et al., 2020). It would not be surprising that random pruning is worse if simply evaluated at the end of training, but masking is applied quite early in training at epoch 4 of 164 long before convergence, so it's striking that the network now fails to learn further even though it is far from convergence. We interpret this as evidence that the mask has somehow cut signal flow between layers, so it is now impossible for the network to learn further, while magnitude pruning and rewinding still allows signals to pass that eventually become important. Examining the SVD dynamics of neural network weights allows us to see all of this structure that was hidden previously.
4.9.3 Spectral Dynamics and Linear Mode Connectivity
We come to the final phenomenon that we seek to describe: linear mode connectivity. Linear mode connectivity (LMC) is the property that one can interpolate linearly between two different minima in weight space and every parameter set along that path performs well, which gives the impression that the loss surface of neural networks is somehow convex

(a) Loss
(b) Pruned SVA
(c) All Layers
(d) SVA evol.
(e) All Layers
Figure 4.12: Pruning results for VGG. Top row: Magnitude pruning. Bottom row: random pruning. (a): Training loss. We see that at 5% sparsity magnitude pruning is significantly better than random pruning of the same layerwise sparsity. (b): Singular vector alignment pre- and post-pruning at the end of training for a single layer (the 3rd convolution). We see that magnitude pruning approximates many more top singular vectors than random pruning at the same sparsity. (c): Singular vector alignment score pre- and post-pruning across all layers. Agreement is higher across all layers for magnitude pruning, though curiously deeper layers do not agree, likely as later layers are wider so weights are lower magnitude and more will be pruned by the unstructured process. (d): Singular vector alignment between the pruned and unpruned models along the training trajectory. We see that the magnitude pruning still has similar dynamics in its top singular vectors, while random pruning does not. (e): Singular vector alignment score between pruned and unpruned models across layers and time. Again evolution is similar for early layers with magnitude pruning, and completely different for random pruning.
despite its theoretical nonconvexity. This was first demonstrated in small networks with the same initialization (Nagarajan and Kolter, 2019), then expanded to larger networks and connected to lottery tickets (Frankle et al., 2020; Paul et al., 2022). Entezari et al. (2021) first conjecture that two arbitrary minima show LMC up to permutation, and demonstrate it in simple models. Others expanded this to wide models (Ainsworth et al., 2022; Jordan et al., 2022; Qu and Horvath, 2024), and permutation connectivity can be proven in various ways (Kuditipudi et al., 2019; Brea et al., 2019; Simsek et al., 2021; Ferbach et al., 2023). Still, these conditions and results do not hold for standard models (Qu and Horvath, 2024). LMC has also been exploited for model-averaging and performance gains (Wortsman et al., 2022; Ilharco et al., 2022; Rame et al., 2022). Still despite all of this work, we lack a description for why LMC occurs. In particular: why is there a convex, high dimensional (Yunis et al., 2022) basin that models find shortly in training (Frankle et al., 2020), or after pretraining (Neyshabur et al., 2020; Sadrtdinov et al., 2023)? We do not answer this question in full, but find a deep connection through the dynamics of singular vectors.

(a) Loss
(b) Pruned SVA
(c) All Layers
(d) SVA evol.
(e) All Layers
Figure 4.13: Pruning results for LSTM. Top row: Magnitude pruning. Bottom row: random pruning. See Figure 4.12 for details. Results are quite similar for the LSTM at 25% pruning as the VGG in Figure 4.12.
Linear Mode Connectivity Correlates with Top Singular Vector Agreement
We saw in Figure 4.11 that top singular vectors converge in direction earlier. We also know that for models to display LMC, they need to share an early part of the training trajectory. Perhaps the top singular vectors become stable after this early stage, so we might expect mode-connected solutions to share these components. To examine this, we plot agreement between the singular vectors of the weight matrices at either endpoint of branches:
spawned from the same initialization in training. If the branches are split from an initialization on a trunk trajectory , we call the split point or epoch. We visualize the diagonal of vs. split epoch, where the absolute value is taken to ignore sign flips in SVD computation.
The technical definition of LMC requires measuring the bump, or barrier, in the loss surface along the linear interpolation between final checkpoints (Frankle et al., 2020). To measure this precisely, we use the definition from Neyshabur et al. (2020), which is the maximum deviation from a linear interpolation in the loss, an empirical measure for convexity in this linear direction. When this deviation is 0, we consider the checkpoints to exhibit LMC. Please see Appendix B.2.10 for details on the calculation. Given evidence in Figure 4.4 that top components are the most important for prediction, and that top components become stable before training has finished, it is plausible that LMC is connected to the stability of top singular vectors in the later portion of training.
This would mean that checkpoints that do not exhibit the LMC property should not share top singular vectors, while checkpoints that do exhibit the LMC property should

Figure 4.14: Top row: Barrier size vs. split step. Middle row: singular vector agreement for a single matrix parameter between branch endpoints that do not share a common trunk, but do share split time and branch data order. Bottom row: summary statistic for singular vector agreement across layers. We see that when branches do not share a common trunk, there is neither LMC nor singular vector agreement, even though the optimization is otherwise the same.
share top singular vectors. We see in Figure 4.8 that this is the case across models and tasks, where the alignment between endpoints is much stronger in top singular vectors. We also see no LMC and poor agreement in top components between branches that have initializations from different trunk trajectories, but with the same split epoch and the same branch data order in Figure 4.14. Thus, these top directions are not a unique property of the architecture and data, but rather are dependent on initialization. It is notable that concurrent work (Ito et al., 2024) arrives at a similar conclusion: permutation solvers between optima match top singular vectors. Though the conclusions are similar, their experiments are primarily conducted on smaller scale settings, and only for permutation matching at the end of training. Here we connect these observations to the optimization behavior of SVDs throughout training, tying our previous observations on generalization in with weight averaging.
Perturbing Breaks Linear Mode Connectivity and Singular Vector Agreement Simultaneously
To make the connection between top singular vectors and LMC even tighter, we intervene in the training process. If we add random perturbations to destabilize the components that will become the top components long before they have converged, and if singular vector agreement is tied to LMC, we would like to see that final models no longer exhibit the LMC property. Indeed this is the case. In Figure 4.15, when increasingly large random perturbations are applied, the barrier between final checkpoints increases and the LMC behavior disappears. Please see Appendix B.2 for details. In addition, the previously-strong singular vector agreement disappears simultaneously. Thus it seems this agreement is tied to linear mode connectivity.
We speculate that, due to the results in Figure 4.4 that show the top half of the SVDs are much more critical for performance, if these components are shared then interpolating will not affect performance much. Rather, interpolation will eliminate the orthogonal bottom components which may only make a minor impact on performance. If however the top components are not shared, then interpolating between two models will remove these components, leading to poor performance in between. Such observations may help in explaining the utility of pretraining (Neyshabur et al., 2020), weight averaging (Rame et al., 2022; Wortsman et al., 2022; Ilharco et al., 2022) or the use of LoRA (Huh et al., 2022) to replace full finetuning. Studying spectral dynamics allows us to see this deep structure.
4.10 Discussion
We provide an empirical perspective to understand deep learning through SVD dynamics. We first note a tendency toward rank minimization on a small scale in grokking, then expand these findings to practical networks and tasks. In addition, we find that weight decay, though it explicitly penalizes norm, implicitly promotes this low-rank bias. We also show that training with random or true labels differs in the rank and alignment of solutions found by optimization, echoing the rank-generalization connection during grokking. We go beyond remarks on generalization and show that magnitude pruning for lottery tickets acts similarly to low-rank pruning, and LMC coincides with the sharing of top singular vectors between checkpoints.
A comprehensive theory for all these results remains elusive. Our goal in this work is to provide these observations as a platform for a deeper understanding of deep learning. Notably, the observed spectral dynamics appear consistent across diverse settings, even without restrictive assumptions like balanced initialization, linearity, or small weight scales. This suggests a common underlying mechanism that further theoretical work may be able to model. One limitation of our study is the focus on linear alignment between neighboring layers. In linear systems, this alignment is a proxy for the network's ability to pass signals from input to output, but once nonlinearities are introduced, it is unclear how this proxy applies. We would guess there is still alignment in larger systems, but it may need to be viewed post-activation for particular examples. This is a promising direction for future exploration.
On the empirical side, several interesting problems present themselves. Interpretability of neural networks is a growing area of research (Nanda et al., 2023), and there already exist efforts to interpret singular vectors of convolutional weights (Praggastis et al., 2022). There may also be connections to other unexplained phenomena such as double descent (Belkin

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure 4.15: Top row: Barrier size vs. perturbation magnitude. Middle row: singular vector agreement for a single matrix parameter between branch endpoints vs. perturbation magnitude. Bottom row: summary statistic for singular vector agreement across layers with perturbation magnitude. We see that whereas without perturbation models would exhibit LMC after training, with increasing perturbations the LMC property disappears simultaneously with the agreement in top singular vectors.
et al., 2019; Nakkiran et al., 2021; Davies et al., 2022) or adversarial examples (Szegedy et al., 2013; Ilyas et al., 2019; Hendrycks et al., 2021). For example, is it actually the case that low-rank models are more robust? The answers to these questions may help design better optimizers or diagnose deployment risks in the wild. There are also concerns of safety (Bai et al., 2022; Mazeika et al., 2024) that a better understanding of neural networks can alleviate (Burns et al., 2023; Park et al., 2024). In particular with low-rank models, interpretability may become easier as there is much less model to study. We present this large empirical exploration in an effort to deepen scientific understanding, provide fertile ground for new theoretical assumptions, and offer inspiration for better engineering. We believe the developed perspective will be useful in bridging gaps between many different attempts to explain neural networks.
So we have seen that low rank dynamics are tightly related to the development of the convex mode and ties nicely with prior work on lottery tickets (Frankle et al., 2020). Given their central role in neural network optimization, we believe that such low-rank dynamics can be understood as the primary feature learning that happens during optimization. This fits nicely with previous work leveraging low-rank pruning for compression and performance (Yu et al., 2017; Sharma et al., 2024), and other studies that show different modes (defined by different low-rank cores) learn different functions (Lubana et al., 2023). We now turn to using these spectral dynamics to overcome simplicity bias. The key idea is that the low-rank bias can be used as a definition for simplicity bias, meaning by manipulating the spectral dynamics we can overcome spurious correlations. The following chapter details this approach.
Chapter 5
Overcoming Spurious Correlations through Diverse Feature Learning
We pursue a generic method to learn more diverse features from existing data, without task-specific augmentations or reliance on external information. Due to simplicity bias, such feature learning is often blocked in standard optimization. Taking inspiration from spectral dynamics as a definition for simplicity bias, we demonstrate that projected gradient descent off of top singular vectors suffices to learn complex features in an agnostic way in a difficult testbed. In more complex cases, we show large benefits for diversity losses, without the drawbacks or assumptions of prior work. We also show that such benefits extend into language modeling, beyond the commonly-studied classification setting.
5.1 Introduction
Neural networks show simplicity bias (Rahaman et al., 2019; Huh et al., 2021; Pezeshki et al., 2021), which on a large scale can be responsible for issues of class bias and adversarial hacking of features (Zou et al., 2023; Rumbelow and Watkins, 2023).
One way to understand this is that the optimization objective encourages neural networks to find a set of features to solve a given task, but the dynamics of optimization lead only to the minimal set of features (Pezeshki et al., 2021). Intuitively, gradients are very small for examples that are already well learned, so there is no incentive to learn more features for those examples. A classic demonstration of this is networks learning to classify cows by the presence of grass in the background (Beery et al., 2018). If grass is always present, why pay attention to the cow?
Many methods have been proposed to diversify feature learning. One general approach upsamples misclassified examples (Liu et al., 2021; Zhang et al., 2022), but such methods ignore further information from examples already correctly classified. Other methods try to enforce some notion of disagreement using information about the test distribution (Pagliardini et al., 2022; Lee et al., 2022; To et al., 2025), but this requires a particular test distribution which may not be known ahead of time. Zhang and Bottou (2023) show that the simple ensembles of parallel training runs have significant diversity in their representations, when compared to single runs of larger models, but such a method still falls prey to simplicity biases for any individual run.
As far as we know, there is no generic solution to the problem of simplicity bias. Pezeshki et al. (2021) suggest a regularizer that makes competing correlations less imbalanced, but this requires a dataset design where a single simple feature is not perfectly predictive. Shah et al. (2020) demonstrate that increased model size, adversarial training, and standard regularization techniques are also insufficient. For any particular data distribution, it might be possible to design specific augmentations that address spurious correlations, for example masking backgrounds in the case of cows on grass, but it may not be clear how to do this in general tasks like language modeling.
At the end of the day, what we are left with is the ability to collect more and more data and grow the training distribution to encompass all possible combinations of features, hoping that we learn diverse features through brute force scaling (Kaplan et al., 2020). This is an accurate reflection of current practice in training large language models, where diverse and large data appears to be the most critical component (Brown et al., 2020; Achiam et al., 2023).
Instead we propose a method to overcome simplicity bias generically in neural networks. First, we posit that the most important features can be found in the top ranks of neural network weights given extensive historical evidence of concentration during optimization and performance during pruning (see Chapter 4). Next we perform an iterative process, training a neural network, collecting its top features (the top ranks of its weights) and then running subsequent rounds of training with projected gradient descent off of those directions so as to force the neural network to learn new features. Though naive in nature, we find that this iterative process is sufficient to discover more diverse features in a case of extreme simplicity bias. We then explore scaling of this method to more complex tasks, developing deeper understanding along the way.
In particular, we ask and answer the following questions:
- Can we use our understanding of spectral dynamics to address spurious correlations? We find that a projected gradient descent method based on our understanding

Figure 5.1: Examples from the MNIST-CIFAR dataset in Shah et al. (2020).
of spectral dynamics can force a neural network to extract more information from the data without relying on any task-specific information;
-
Does this method scale to larger networks? We then scale this method to larger image classification networks, and find that it fails, but a related method takes its place, showing substantial improvement over prior methods;
-
Can we apply this to even more complex tasks? We then move to language modeling, where we find the task is too difficult for the assumptions of our prior methods. Even though the rich feature structure exists in language modeling, we demonstrate that optimization makes it very difficult to take advantage of this structure. Through an extensive raft of experiments we explore this space, and make prescriptions for the future.
5.2 Simplicity Bias and Spectral Dynamics
We begin with a simple model system, drawn from prior work. Shah et al. (2020) showed, through carefully crafted datasets, that neural networks exploit the simplest features in a dataset, even if a more complex feature may hold useful information.
In particular, they introduced MNIST-CIFAR, a binary classification dataset with a controlled structure. Each example combines two images, one from MNIST, and one from CIFAR. Class 1 corresponds to a concatenation of an MNIST 0 and a CIFAR car, while class 2 corresponds to an MNIST 1 and a CIFAR truck. Both the MNIST and CIFAR classes are perfectly correlated with the label (Figure 5.1).
Shah et al. (2020) trained a variety of networks on this dataset, and showed that even with scale, regularization, adversarial training, and ensembling, no model paid attention to the CIFAR half of images. The predictions of the trained models were entirely dependent on the MNIST half. Large perturbations or substitutions in the CIFAR half did not change the result.
We use this MNIST-CIFAR task to illustrate the benefit of spectral dynamics as feature learning. By taking the top ranks as the most important features, we can find neural networks generically successfully pay attention to CIFAR.
5.2.1 Projected Gradient Descent for Diverse Feature Learning
Our method consists of training successive rounds of neural networks with modified optimization in each round. After a round, we accumulate a set of orthogonal directions and run projected gradient descent off of those directions for all parameters in the network in the next round. Roughly what this means is we prevent a new network from using the directions, which we believe correspond to features, of the previous rounds. Thus, the network will learn more complex and diverse features on the same data.
We train N rounds to convergence. In the first round we train normally. At the end of each round, for each parameter matrix we compute the SVD , then we stack the top ranks on the input side into a matrix:
After constructing this stack we reinitialize each and its corresponding optimization parameters, and start a new training run. With every gradient step we project the input and space of the gradients off of our previously collected like:
and the same for the parameters because of possible momentum and bias issues.
When we reach the end of a training round, we append the top directions of the new parameters to our buffer, growing an ever larger list of orthogonal directions to avoid during training. This means that optimization is impossible if the number of rounds times is greater than the rank of , but practically speaking that happens after many many rounds of training.
For the experiments, we typically use and 2000 epochs of training so that models reach convergence before computing SVDs. This method looks quite similar to prior work in continual learning (Saha et al., 2021), with a few key differences. First, we run repeated iterations on the same data, not on unrelated classes. Second, we project using the SVD of the weight matrix, not the SVD of collected activations, making our method substantially more memory efficient.
5.2.2 Experiments
We use the previously described MNIST-CIFAR (Shah et al., 2020) dataset (see Figure 5.1 for examples). We train a simple 4-layer MLP for binary classification. See Appendix C.1 for more details.
We evaluate training error and validation error as usual. We also include a few different evaluations to diagnose whether the model learns any CIFAR features, namely: 1) we evaluate swapping the classes of the MNIST portions of the input while keeping the label fixed, and 2) we evaluate swapping the CIFAR portions of the input while keeping the label fixed. If the model relies entirely on MNIST, we should see that swapping the MNIST images should flip the predictions entirely, while swapping the CIFAR portion should result in no change at all. See Figure 5.2 for an illustration.
We see the results for our PGD run in Figure 5.3. Notably, training error is near 0 for every round of training, but validation error climbs due to the reliance on more complex CIFAR

Figure 5.2: Evaluation protocol for experiments. After training on MNIST-CIFAR, we swap the classes of either the MNIST half, or the CIFAR half of the image and evaluate on that setting. When models rely entirely on MNIST, error on the swapped task degrades to 100%, and similarly for CIFAR. On the right we plot the errors over successive rounds of PGD. We see that models start to learn CIFAR after the early rounds of PGD, coming to rely quite heavily on CIFAR in later rounds. Spikes correspond to restarting a new round of training.
features. We see that swapping the MNIST digits in early rounds of training yields nearly 100% error, demonstrating a reliance entirely on MNIST. As PGD proceeds, this decreases to less than random chance, or near the total validation error. Conversely, swapping CIFAR images initially results in no change in predictions when compared to validation error, but in later rounds, swapping CIFAR yields errors above 70%. This shows that PGD successfully incentivizes later members of the ensemble to extract diverse features, exactly in line with our hopes.
In Figure 5.4, we show the evolution of the top 10 singular vectors of the first layer in the model across different rounds of training. In the first round, the top two singular vectors correspond exactly to MNIST digit detectors, while there is little signal in the CIFAR portion. Later rounds have finer and finer grained curve detectors, and a growing sensitivity in the CIFAR portion. At some point the model is forced to rely on CIFAR due to the destruction of the signal in MNIST. These visualizations concretely demonstrate that PGD is successfully blocking the simple features in MNIST-CIFAR, forcing a simple MLP to overcome its own simplicity bias.
In Figure 5.5, we examine the performance of a similar method that orthogonalizes the gradient-as-a-vector (similar to OrthoGrad (Prieto et al., 2025)). We see that this method does not result in significant learning of CIFAR. This is likely because orthogonality in such a high dimensional space is easy to satisfy trivially. Hence it is critical to take into account the matrix structure of the model. In addition we see in Figure 5.6 that Muon (Jordan et al., 2024), an optimizer designed to take advantage of features downspectrum, is also not able to take advantage of the CIFAR signal in the dataset. Thus, even more modern tricks and optimizer designs are unable to overcome the foundational issue of simplicity bias.
As our evaluations are based on swapping inputs and relying on the output predictions of the final model, it is possible that we are missing some encoding of CIFAR that is present

(a) Normal

(b) Swapped-class
Figure 5.3: Left: Training and validation error for successive rounds with our proposed PGD method on top singular vectors. Right: Swapped-class errors throughout rounds. We see that as the round number increases, validation error decreases due to the complexity of the task increasing. In addition, the model increasingly relies more on CIFAR, as the swapped CIFAR error goes from near 0 to 60% and above. This indicates the model is learning to extract more complex signals which are less predictive but still useful.
Table 5.1: Probing accuracy for CIFAR on middle layers for an ensemble of 5 models drawn from early or late rounds of PGD. We see that early rounds are substantially worse at extracting CIFAR information from the middle of the model, reinforcing the argument that PGD forces the model to learn more.
| Model | Accuracy |
|---|---|
| Early | |
| Late |
in middle layers of the model. In Table 5.1 we concatenate all representations from middle layers and train a linear probe to classify the CIFAR car vs. truck using an ensemble of models drawn from early rounds of PGD, and drawn from late ones. More details on the experimental design in Appendix C.1. We see that later models have a significantly higher probing performance than earlier ones, reinforcing the conclusion that PGD extracts diverse information in successive rounds. The absolute numbers here are likely high as the probe is near the capacity of the original model due to its size.
All of the preceding experiments were performed on a very simple model system, but we hope they give the reader a sense of the potential issue on larger scale systems. Next we turn to larger systems, and show that very similar issues still plague neural network training. We find that our naive design of PGD fails in these larger systems, so we introduce a modified method.
5.3 Diverse Feature Learning in Representation Space
Much ink has been spilled about rich or diverse feature learning in neural networks. Zhang and Bottou (2023) demonstrate the conundrum clearly at larger scale. They show that a larger neural network performs similarly to a parameter-matched ensemble of narrower

Figure 5.4: First layer singular vectors over rounds of PGD training. Each set of columns corresponds to the MNIST and CIFAR halves of the reshaped singular vector. Descending down the rows corresponds to increasing rank index when sorted by singular value. We see initially that the first layer singular vectors form digit classifiers exclusively. In middle rounds the network focuses on higher and higher frequency signals in MNIST. In late rounds, all but the high frequency signals are present in MNIST, hence the model starts to leverage the CIFAR half of the image.
networks in-distribution when all networks are trained on the same data. However, when linear probing the ensemble out of distribution on a related task, the ensemble performs substantially better. This result was shown not only for image classification, but also for self-supervised objectives and across architectures. Yang et al. (2025) expanded the conclusions to point out that, when matched for computation, the larger network still underperforms the narrower networks out of distribution.
Such a result tells us that any individual training run likely misses some information in the data, even though the model may be larger. Where it gains slightly in distribution, its features do not generalize. In a world where the deployment domain may be significantly different than the training distribution, we believe we should optimize for these generalizable features. In particular, Zhang and Bottou (2023) suggest quite strongly that current dogma for scaling individual models (Kaplan et al., 2020) misses a critical mass of features underneath the proverbial ice.
In the following sections, we borrow a similar experimental protocol to show that incentivizing diverse feature learning results in substantial improvements over simple random ensembles in larger scale settings. In particular we compare ensembles of 10 smaller models to a single larger model that is 4 times as wide (hence roughly 16 times the parameters as well as more training compute). See Appendix C.2 for more details.

(a) Normal

(b) Swapped-class
Figure 5.5: Left: Training and validation error for successive rounds with PGD where we flatten the gradient and singular vectors before projection. Right: Swapped-class errors throughout rounds. We see that no new features are learned when ignoring the matrix structure of the parameters, so the spectral design is critical.

(a) Normal

(b) Swapped-class
Figure 5.6: Left: Training and validation error for successive rounds with Muon. Right: Swapped-class errors throughout rounds. Even though Muon is incentivized to give relatively more gradient to less prominent features (through higher-rank upweighting), it is insufficient for picking up CIFAR.
5.3.1 A Problem with Projected Gradient Descent
Our first instinct is to replace the random ensembles in Zhang and Bottou (2023) with ensembles of models acquired via repeated rounds of PGD, similar to the toy case. However, we encounter an issue in more complex systems: PGD enforces orthogonality, but this does not mean the information content needs to be distinct.
For example, if most of the entries of a vector are zero, with some large values, one can find a pathologically orthogonal vector with the same large values by pushing a small negative value into the rest of the positions. This likely would represent the same semantic content, but would satisfy PGD.
In addition, one might be able to find permutations of a vector that are orthogonal, but the network could learn to remap those permutations in the next layer. We believe we encounter such an issue for the following reason: when comparing random ensembles (CAT for short) using different initializations with PGD ensembles that used the same
Table 5.2: OOD linear probing accuracy between different methods. We observe the same effect as Zhang and Bottou (2023), that random ensembles (CAT) are much stronger than a large model that is parameter advantaged, but PGD ensembles do not appear to improve over random.
| Model | Accuracy |
|---|---|
| 4x wide | |
| CAT | |
| PGD |

(a) CAT
(b) PGD
Figure 5.7: Linear CKA (Kornblith et al., 2019) between layers for random ensembles (CAT) and PGD ensembles. The values are quite similar, suggesting that PGD is managing to find similar solutions as simple random reruns, possibly permutations of the original weights. Hence, PGD does not capture every notion of diversity.
initialization, we find the OOD performance between the random and PGD ensembles to be close (Table 5.2). In addition we measure similarity between representations of different members of each ensemble using CKA (Kornblith et al., 2019), and find the intra-ensemble representational similarity to be near the same magnitude for CAT and PGD (Figure 5.7). As CKA is permutation invariant, this means that PGD ensembles are no more diverse than random ensembles, so it is very likely that PGD is rediscovering permutations of the same features.
However, we would like the functional behavior for different members of the ensemble to be different. Given the success of CKA (Kornblith et al., 2019) in gauging representational similarity, we propose to use this metric directly as an optimization objective. Minimizing CKA corresponds precisely to finding features that represent the data differently. CKA is also desirable as it avoids the permutation sensitivity of PGD. We describe our approach below.
5.3.2 Inter-Example Similarity as a Measure of Functional Diversity
Linear CKA (Kornblith et al., 2019) is a measure of the similarity between gram matrices. In order to repurpose this for maximizing diversity, at each timestep, we sample a random previously trained member of the ensemble, run a batch of examples through that network, then collect representations at middle layers. Next, we run the same batch through the model we are currently training, and collect representations at the same middle layers. Finally, we compute the average linear CKA between the two sets of features at each layer, and add that with a scalar coefficient to the training loss. As we finish training a model, we add that to the buffer of previously trained models.
To be precise, suppose we are given a batch of inner-layer representations from model in an ensemble at some layer , given by , where linear CKA is computed by
for two centered matrices .
For model 0, we train as usual. For model , at every batch we sample uniformly randomly from , then compute
for a selection of layers taken as a hyperparameter. The final loss we optimize for ensemble member becomes
with an additional coefficient for optimization. In all our experiments we tune the choice of layer as well as the coefficient . In an ideal world we would not sample a previous model, instead running CKA against all prior models simultaneously. Unfortunately, this is prohibitive either from a disk space perspective, or from a memory perspective as it requires storing intermediate representations for all prior models. Hence we rely on sampling.
Image Classification
To test our hypothesis, we begin with ImageNet to CIFAR transfer, studied in Zhang and Bottou (2023). For computational reasons we train on ImageNet64x64 (Chrabaszcz et al., 2017), and transfer via linear probing to CIFAR100 (Krizhevsky, 2009). We use a ResNet18 (He et al., 2016) as our base model, train a wider model with 4x the width multiple, and train ensembles that are width-matched (4 members) and larger (10 members) to approach parameter matching. The wider model has 181m parameters, while the original model has 11m parameters. We tune learning rates for all model sizes independently.
For CKA ensembles, we select a variety of middle layers that feed into the residual stream and compute CKA loss on average across these layers. We report the best setting over hyperparameters. More details are available in Appendix C.2.
Table 5.3: Top-1 OOD accuracy for random ensembles (CAT) v.s. CKA ensembles. We see that CKA improves by a substantial margin over CAT in the linear probing setup.
| Model | Accuracy |
|---|---|
| CAT | 0.298 ± 0.004 |
| CKA | 0.357 ± 0.003 |
We see in Table 5.3 that, like prior work (Zhang and Bottou, 2023; Yang et al., 2025), random ensembles show a significant benefit in OOD linear probing. We also find that CKA improves further upon these random ensembles by a substantial margin. By incentivizing diversity, even completely agnostic to the problem, we can find substantial gains.
Language Modeling
One possible criticism of the above experimental protocol that extends to all prior work is the focus on a discriminative objective. So we turn to the task that is currently most important in the deployment of machine learning: language modeling. This task has been previously ignored by the literature on diverse feature learning, so it's unclear whether there is something special about discriminative objectives in the prior results.
We follow the experimental protocol with slight differences. We train a Transformer (Vaswani et al., 2017) language model on BabiStories (Zhang et al., 2025). We use a model 3x the width vs. an ensemble of 6 models with 1x width as they are similar compute. For in-distribution evaluation, we measure loss on the validation dataset, while for out of distribution, we measure loss on a related dataset, Simple English Wikipedia(Coster and Kauchak, 2011). We choose this dataset as there is a high degree of lexical overlap, due to the simple language, but the topic distribution is quite different, thus any improvements must be due to learning the general structure of language. The benefit of language modeling is we don't require the linear probing protocol as it is possible to measure out-of-distribution without training any additional parameters. This also closely matches how language models are used in the wild with novel queries.
Table 5.4: OOD cross entropy for random ensembles (CAT) v.s. CKA ensembles under many different variations. Unlike the image classification case, we are unable to find a version of CKA that outperforms random ensembles.
| Model | Cross Entropy |
|---|---|
| CAT | 7.68 ± 0.02 |
| CKA | 7.69 ± 0.03 |
| CKA max-in-depth | 7.71 ± 0.02 |
| CKA token pool | 7.72 ± 0.03 |
| CKA token cloud | 7.69 ± 0.01 |
| CKA random proj. | 7.71 ± 0.05 |
In Table 5.4, we find similarly to image classification, that simple random ensembles perform better out of distribution than the larger model. This is striking given the in distribution performance is slightly worse. However, surprisingly, the prior CKA method does not perform well. In all cases we present the best results over hyperparameter tuning (see Appendix C.3).
There are numerous reasons this might be the case: we may not enable CKA on the correct modules, hence we perform a sweep over different sections (a full sweep would be combinatorial and is difficult due to computational constraints). It might also be that, due to the residual structure of transformer language models, optimizing CKA would lead to learning the same features in different layers. To narrow this down, we try a version of our objective where we encourage diversity over CKA for only the maximum pairwise similarity

(a) CAT
(b) CKA
Figure 5.8: CKA for representation vectors and gradient vectors for the task loss alone at different layers for image classification. Left: We see that representation and gradient CKA are reasonably high for CAT. Right: The same, but for the CKA-trained models. We see that using CKA greatly affects the representation CKA as it optimizes for this, and it also affects the task gradient CKA.
over many layers in the model (CKA max-in-depth). However, this still is insufficient to drive improvements over random ensembles (see Table 5.4).
Another possibility for the failure is that, as stated, our CKA works in high dimensional space, trying to make the sequence of representations different, which to be precise, is computing a matrix of inner products from dimensional vectors. There are so few samples for the size of this vector that there may be a trivial solution for the language model to find by permitting information among the tokens, so instead we consider CKA over the pooled representations from a sequence (CKA token pool), or computing a gram matrix (CKA token cloud) instead where we ask the token representations to be different. Neither of these are successful, as shown in Table 5.4.
There might still be a problem with the dimensionality of our objective, so orthogonally we try random matrix projections that optimize CKA in a low dimensional space achieved by projecting with a different random matrix at every time. This means that the model cannot just fool the objective by picking a particular set of coordinates in which to push orthogonality, still we see in Table 5.4 that this is insufficient to beat random ensembles.
We are left with the question then: why does CKA fail in language modeling where it previously succeeded.
A Problem with Optimizing CKA
We believe the answer to this question has to do with the effective difficulty of the solution. In image classification there were relatively few classes, which means that, especially toward the output of the model Papyan et al. (2020), it is possible to make the inter-example similarity low as there is a fair amount of room to move. In the case of language models, however, much more of the capacity is required for the task (it is impossible to achieve 0 training error), thus it is not easy to achieve the desired semantic dissimilarity and instead the network finds a pathological solution. The reason we know the solution is pathological is that we find that the CKA is high between the gradient vectors of the next token prediction task (Figures 5.8 and 5.9). This means that the model has learned to fool the CKA objective, while not actually altering its downstream predictions. Where representations have low

(a) CAT
(b) CKA
Figure 5.9: CKA between the gradient vectors for the task loss alone at different layers for language modeling. Left: We see CKA between representations and between gradients, which are both high for the CAT models. Right: The same, but for the CKA-trained models. We see that while representation CKA is low, gradient CKA is unaffected by our CKA objective, unlike image classification.
CKA between models, the actual output behavior is very similar.
The core issue with the CKA objective, and the previous PGD objective, is that it relies on the model's implementation of a function, and conflates the structure in high dimensional space with the model's actual function, but it's impossible to measure the actual functional change through CKA. In order to get an absolute sense on the functional difference, we have to look at the output space of the model instead.
5.4 Diverse Feature Learning in Output Space
We have made a roundabout journey to land on a much simpler definition of diversity, employed many times in prior literature. We want the outputs of different members of the ensemble to look different, because we know that if the members make different predictions, they must be defined by different functions.
5.4.1 Negative Correlation Learning
One classic way to enforce diversity in this way is negative correlation learning (NCL) (Liu and Yao, 1999). This was first defined for regression tasks. At its core NCL aims to learn an ensemble whose ensembled predictions are good at the task, while each member is distinct. See Buschjäger et al. (2020) for a recent treatment with much more context. NCL corresponds to a general structure:
where is the ensembled model from the individuals by some weighting that need not be uniform. The task loss is already defined by whatever we wish to do (language modeling in this case), so it remains to discuss the diversity loss which we want to maximize, hence the minus sign. Typically it is phrased as:
which signifies that we want to maximize the disagreement between the ensemble and any individual member. As we are working with language models, we experiment with both Jensen-Shannon Divergence (JSD) and simple mean squared error (MSE) for .
Usually NCL is for a set of models to be optimized jointly online. Prior work has shown that, especially in high dimensional deep learning, joint optimization can easily collapse to poor solutions (Jeffares et al., 2023), hence we train models sequentially as in the case of our previous PGD and CKA experiments.
In addition, we face a similar memory and disk constraint with computing , so we make the same sampling approximation as before. When training model :
where the index is sampled uniformly randomly from .
Table 5.5: OOD cross entropy for random ensembles v.s. NCL ensembles We see no significant difference to random ensembles. NCL JSD corresponds to using Jensen-Shannon divergence for difference. MSE corresponds to MSE for the probability distribution, and Top-1 corresponds to only considering the difference between probabilities of the correct class.
| Model | Cross Entropy |
|---|---|
| Random | |
| NCL JSD | |
| NCL MSE | |
| NCL correct only |
We see in Table 5.5 that our straightforward attempts at NCL are insufficient (see Appendix C.3 for tuning). In particular we hypothesize that one issue with NCL is similar to prior experiences in CKA and PGD, whereby the high dimensional probability distribution can find pathological solutions for diversity, so we restrict to only the top-1 of the output probability distribution (NCL correct only). Still we see no major improvement for the best case of each.
5.4.2 Boosting Incorrect Predictions
Another large issue with negative correlation learning is that it incentivizes models to disagree even when the label is correct. One might instead consider an even simpler boosting-like (Freund et al., 1999) method whereby we train models sequentially, and later members need to compensate for the error of previous models. This is similar in spirit to the Bonsai Method suggested by Zhang et al. (2022) on simpler image classification tasks. However, in their work, the training set was continuously pruned such that later members of the ensemble would have shrinking datasets, which leads exactly to the kind of spurious correlation issue we are trying to avoid. Rather, we believe that there are other, more complex ways to represent the same examples, hence we wish to preserve the loss on the entire distribution, but only slightly upweight for regions not covered by previous training runs.
We implement this by training successive models such that later models have their loss upweighted by the error of the ensemble, sometimes called focal loss (Lin et al., 2017). In particular, at every optimization step we sample a previously trained model, then add a weighting term to the cross entropy loss corresponding to the incorrectness of the previous model, thus errors are boosted in the loss. However, unlike Zhang et al. (2022), we preserve the original loss by the use of a small coefficient on the focal term. Suppose the output of model for token is probability vector for a vocabulary of classes, then the loss for model at token is.
with weight
where is sampled randomly and uniformly from , is a hyperparameter, and corresponds to the normalized weight in a sequence such that the weights sum to 1. We normalize so that the learning rate does not need to be tuned jointly. Thus, we shape the loss for subsequent rounds by the mistakes of previous rounds, while always giving some weight to the original task loss to avoid the overfitting issues of a shrinking sample. We normalize the weight so that we do not need to retune learning rates due to different gradient magnitudes.
Table 5.6: OOD cross entropy for random ensembles v.s. Focal scaling ensembles We see no significant difference to random ensembles. Top-p corresponds to scaling the top-p of the tokens by sequence by a constant additive factor.
| Model | Cross Entropy |
|---|---|
| Random | |
| Focal | |
| Focal top-p |
We also consider a version where the loss at a token is simply scaled by a flat factor as long as is in the top P portion of incorrect tokens in a sequence. This is so that we do not upweight errors that are large but unlearnable. We find in Table 5.6 that both of these variants are still insufficient to outperform simple random ensembles even when searching over and the proportion of top p. Find details on tuning in Appendix C.3.
5.4.3 Boosting Low-Entropy Predictions
We follow a parallel path, exploring entropy-based uncertainty instead of incorrectness, which has seen success in other areas (Wang et al., 2026). To be precise, following the general formulation of equation 5.9 and the normalization of the last section, we design a weight based on entropy as
We also experiment with a threshold version as in the previous section, where we scale the loss by when the entropy of the token distribution under a previous model is within the top-p entropies for the sequence.
Table 5.7: OOD cross entropy for random ensembles v.s. entropy scaling ensembles We see no significant difference to random ensembles. Top-p corresponds to scaling the top-p of the tokens by sequence by a constant additive factor.
| Model | Cross Entropy |
|---|---|
| Random | |
| Entropy | |
| Entropy top-p |
We find in Table 5.7 similarly to focal loss that we are unable to improve upon random ensembles. Similar arguments may apply as in the case of focal-loss: some unconfident predictions are very difficult to learn, and forcing the model to learn them may sacrifice other areas of the space.
5.4.4 Ensemble Weighting
As mentioned in the CKA section, we train multiple language models and ensemble their predictions to test the ensemble out of distribution. Throughout the prior experiments we have used uniform ensemble weighting as a straightforward baseline, taking the simple average of the probability distributions in order to compute downstream metrics, but especially in the case of entropy and focal loss, it's very possible that the models are differently calibrated, so even weighting over the distributions would not yield an ideal outcome.
As a result, we test a variety of heuristic per-token ensembling methods. Given a relevance function for a function and token , we compute a softmax distribution over all members of the ensemble with temperature . To be precise, we compute the weight of in ensemble as
As relevance metrics we choose entropy and KL distance from the ensemble distribution. To be precise, or .
Table 5.8: OOD cross entropy for different ensemble weighting methods on the Entropy top-p runs. We use these as the base as we expect there may be nonuniformity compared to the Random ensembles.
| Model | Cross Entropy |
|---|---|
| Even | |
| Entropy | |
| KL disagreement |
As seen in Table 5.8, we are unable to make gains over random ensembling in all of these cases. We also combine linearly with uniform weighting in the hopes of smoothing out spiky predictions due to overfitting, but find none of these methods superior to even weighting. See Appendix C.4 for more details on tuning.
We are unsure as to this perplexing observation that it is difficult to beat random ensembling. We believe that the root issue here is that we are again unable to tell whether low entropy or large disagreement from the ensemble is due to a correct but different prediction, or an incorrect but different prediction. The small degree to which the exact OOD evaluation numbers seem to drift suggests both effects are evenly at play. Still, this suggests that there may be room to grow along this exact axis, possibly experimenting with holdout sets for global weighting.
It is also possible that these results suggest that high-entropy or incorrect predictions primarily define the same task as the entire dataset, as cross entropy is magnified on the most difficult examples. In some sense, the difficult examples form the support-vectors of the training set, so entropy weighting recovers similar solutions. Prior work in dataset distillation indicates this may be possible (Wang et al., 2018). Then the difficulty is to find structured subsets that yield different solutions than the entire dataset, without heuristics and while avoiding possible newly-introduced spurious correlations.
5.5 Related Work
The themes of the prior chapter: simplicity bias, diversity in features and ensembling, are already well-represented in the literature. We present a non-exhaustive description of prior work, and articulate our contribution below.
5.5.1 Leveraging Downstream Information
One class of solutions to find robust neural networks is to leverage information about the downstream domain. For example, one might know broad statistics about the task distribution, or have some tiny sample to quickly adapt. For example, Wen et al. (2025) design a low rank penalty on the last layer for OOD prediction which requires group labels (Hu et al., 2018; Sagawa et al., 2019). Pagliardini et al. (2022) propose a training method to enforce diverse representations on OOD data, which requires a sample. Lee et al. (2022); Chen et al. (2023a) both require test data. Kirichenko et al. (2022) make a similar point that retraining only the final layer of a pretrained classifier on test data is very strong compared to bespoke methods. We consider access to test data to be an undesirable assumption, as we would like to extract all the information available in a dataset, agnostic to the downstream distribution.
5.5.2 Relying on Pretrained Models
A large class of methods relies on pretrained models as feature learners, evading the question of dynamics entirely. Gontijo-Lopes et al. (2021) show that ensembling features from various diverse pretrained models outperforms narrow ensembles, where the diversity is the key. Teney et al. (2022) train a set of linear heads simultaneously on top of a fixed extractor, enforcing orthogonality among the heads, but such a method fails without the pretrained model (as we saw). Tiwari and Shenoy (2023); Joshi et al. (2025) make sure that the final classification depends on features throughout a pretrained model. Niu et al. (2022) use an autoencoder based on a pretrained model's features. Izmailov et al. (2022) make the point that retraining the last layer of a pretrained model can achieve SOTA compared to more complex group robustness methods, where the architecture, hyperparameters and data of the pretrained feature extractor are the most important levers. We agree strongly with this conclusion, which is why we are interested in altering the learning dynamics of networks from scratch, instead of relying on an existing model.
5.5.3 Architectural Modifications
Another sensible approach would be to design architectures around diversity. One of the clearest examples would be mixture of experts (MoE) layers (Shazeer et al., 2017; Zhou et al., 2022). These were initially designed to make it possible to train much wider networks on less hardware through sparse routing, but can be interpreted as an ensemble inside a model. Still Dai et al. (2024) show in Section 4.3 Table 2 that a dense model as big as an MoE is slightly better, so even if experts specialize to different data, we should not expect that the features learned are more diverse. MoE alone is not enough. This is further supported by the fact that each expert sees less data than the whole, so they have a larger incentive to pick up spurious correlations. On a different and much smaller-scale note, Addepalli et al. (2023) design a two-pronged architecture to attack the MNIST-CIFAR task, but this is too task-specific to scale. To et al. (2025) force a classifier to specialize to different subsets of the original training data with constraints on the decoding. Still we believe, given the generality of the results in this document, that neural networks are subject to a common paradigm. Though architectural improvements may be helpful, they do not attack the issue underlying spurious correlations.
5.5.4 Objective and Optimization Approaches
As one might modify the architecture, researchers have also taken the approach of introducing new objectives. Sinha et al. (2021) introduce a method with multiple decoder heads that are optimized with a GAN-like contrastive loss to produce diverse representations. We believe this has similar high dimensional issues as we encountered with CKA on more complex tasks. Morwani et al. (2023) prove that 1 hidden-layer models depend on a linear subspace, then design an optimization method OrthoP which projects the input off of the low-rank solution of the previous run, like our PGD method. However, as it is naive projection without the SVD basis, it is quite easy to fool in high dimensions. Saha et al. (2021) design a PGD method quite like what we converged on for applications in continual learning, though only in input space. We are more interested in these approaches than previous buckets, but in many cases they encounter the same pitfalls that we did in prior sections.
5.5.5 Ensembling
Lastly there are many generic results for the benefit of ensembling, hence our focus in this area. Zhang and Bottou (2023) make the clear observation that an ensemble of small networks beats a single larger network OOD by a substantial margin, even though their in distribution performances are similar. Thus we are missing features in optimization. Yang et al. (2025) expands this result to the step-matched setting, finding the same conclusions. Abe et al. (2022) argue that OOD performance in deep ensembles is primarily driven by ID performance. Such an argument is supported by Mandal et al. (2026), where better optimization for individual members yields stronger results than naive scaling of the ensemble (Kondratyuk et al., 2020; Lobacheva et al., 2020; Kim et al., 2026). One very clear way to encourage diversity is to upsample the mistakes of previous models (Liu et al., 2021; Zhang et al., 2022), but in cases like MNIST-CIFAR where there are no mistakes, or where the mistake set grows ever smaller, this is likely to end in further spurious correlations. We believe the problem of generically finding a way to incentivize diversity in individual members is still quite open. The frustration of the prior chapter shows this is not a trivial task.
5.6 Discussion
Diverse feature learning means getting more out of less data. What does a world look like in which we don't need the whole internet to train language models? We believe the key to this problem is overcoming the greedy process whereby neural networks learn the simplest features first and never revisit those choices. Thus, we attack spurious correlations head on.
We begin with a simple testbed of spurious correlations, the MNIST-CIFAR task (Shah et al., 2020). We show that we can use our previously-developed spectral dynamics (Chapter 4) as a definition for simplicity bias, which leads to a method using projected gradient descent on singular vectors. This method suffices to overcome simplicity bias without the task-specific assumptions of prior work.
We then scale our method to more complex architectures and tasks, where we find that the task difficulty renders such a simple method ineffective. After finding that our method hides model-wise similarity, we turn to using that similarity metric directly as a diversity loss. We find that in larger image classification networks we are able to beat simple random ensembles, a surprisingly strong baseline that is already stronger than large models (Zhang and Bottou, 2023).
Next, we generalize this experimental protocol to language models, where we demonstrate that ensembles of small models perform better than larger models out-of-distribution, extending the observations of Zhang and Bottou (2023); Yang et al. (2025). However, our previous diversity losses do not appear to help for language models, which we elucidate through a large number of ablations.
We believe the missing piece is a way to isolate structured subsets of the data so as to find diverse solutions. Merely restricting to difficult examples either finds the same solutions as random ensembles, or encounters spurious correlations. The core difficulty is finding such structured subsets without heuristics engineered to fit the problem at hand.
Though they are still incomplete, these results suggest that there may be a new path forward for scaling computation. The basic observation that ensembles of smaller models perform better than larger ones OOD can be extended to any domain where neural networks are used, including robotics where domain shifts are common and expected. Across domains, there are many features hiding beneath the ice, waiting to be discovered.
Chapter 6
Conclusion
It is very clear in this moment that neural networks have changed and will continue to change technology and our world. Yet we have a very poor understanding of how they work. The more embedded neural networks become, the more pressing the gap. Moreso as neural networks take root in economic, social and political questions, far outside of our domain as computer scientists.
This thesis strikes at understanding neural networks. We begin with a strange phenomenon, and carry this thread all the way through to improving neural networks in the low-data regime: the critical problem that scaling has been unable to overcome by definition. Briefly, we recap the contributions of this thesis.
Chapter 3, on Convex Mode Connectivity, shows that neural network optima occupy a high dimensional simplex in the loss landscape, that this is true across a wide variety of neural networks, and that trivial mathematical explanations for this phenomenon do not apply. At the time of presentation, such complexity and generality was unexpected. A body of theoretical literature had presented simple explanations, and prior model classes do not have such nontrivial properties. Moreover, the generality and high dimensionality was genuinely perplexing as if there were so many solutions, how come our optimization process did not find them?
Chapter 4, on Spectral Dynamics, demonstrates across data, architectures, optimizers, and hyperparameters, there is a similar bias in optimization toward lower rank matrices. Such a bias might be expected in simple theoretical settings, but again the assumptions of prior work did not hold in these more complex cases, which muddied the water as to the ultimate cause. This work was a sign that something common explains the behavior of all neural networks. Moreover these spectral dynamics allow us to explain the previously stated conundrum of Convex Mode Connectivity, tying together our understanding about neural networks.
Chapter 5, on Diverse Feature Learning, used the lens of spectral dynamics to attack the problem of learning on less data, a problem for which the field currently has very few tools. In particular, the bias toward low rank matrices provided a clue as to the actual mechanics behind spurious correlations and allowed us to find a task-agnostic method for improving learning in a toy case, which we then scaled to more complex cases. The full application of this understanding still eludes us, but we are firm in our belief that this is the next frontier of neural networks.
Lastly, a note to my readers without access to immense resources. Many well-funded academics and companies would have you believe that the key to improving neural networks is simply scaling (Hestness et al., 2017; Kaplan et al., 2020). All one needs is a sufficient recipe. Then collecting more data with more parameters will provide sufficient ammunition for solving the problem. This is a powerful scaling hypothesis, attractive in its simplicity, and indeed it seems to hold when looking with a broad view across the field. From AlexNet (Krizhevsky et al., 2012), to later models like VGG (Simonyan and Zisserman, 2014), scale has almost always improved performance. AlphaGo (Silver et al., 2017) attacked the previously unimaginable game of Go, and shortly after AlphaZero (Silver et al., 2018) showed scale was the primary ingredient. Through the generations from GPT (Radford et al., 2018) to GPT2 (Radford et al., 2019) to GPT3 (Brown et al., 2020) to GPT4 (Achiam et al., 2023) it was quite clear the improvement in the model quality and output. Scale was and is a powerful lever.
However, it is a very blunt lever. VGG (Simonyan and Zisserman, 2014) was much larger than AlexNet (Krizhevsky et al., 2012), but ResNet (He et al., 2016) was a fraction of the size and more performant. MLPs can approximate ConvNets in theory, but we are unaware of empirical examples where this occurred without guidance. We do not talk to our linear regressions, rather advances in architectures have led to our current language models. Optimizers failed past a certain scale due to loss spikes (Wortsman et al., 2023), which led to new optimizers that required a deeper understanding (Jordan et al., 2024). I do believe in the bitter lesson (Sutton, 2019), but only when the initial conditions are set correctly. We may reach the edge of existing pretraining data scaling in language models (Villalobos et al., 2024). That recent advances in the field are due to downstream techniques like RL is evidence that scaling has to be thought through. RL is yielding impressive results in specific domains (Guo et al., 2025), but not in full generality (Ouyang et al., 2022; Chen et al., 2026). Even now there are many examples of more compute-efficient improvements than pure scale (Saunshi et al., 2025), including our own results in Chapter 5. And even if it were not so blunt, scale is an extremely expensive lever to pull given its diminishing returns.
This thesis charts a different path. I was and am curious if we can do more with less. It is my hope that this work is helpful to myself and others toward this goal. And it was my pleasure to skate on the edge of uncertainty in pursuit of this understanding.
Bibliography
Taiga Abe, Estefany Kelly Buchanan, Geoff Pleiss, Richard Zemel, and John P Cunningham. Deep ensembles work, but are they necessary? Advances in Neural Information Processing Systems, 35:33646–33660, 2022.
Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. GPT-4 Technical Report. arXiv preprint arXiv:2303.08774, 2023.
Sravanti Addepalli, Anshul Nasery, Venkatesh Babu Radhakrishnan, Praneeth Netrapalli, and Prateek Jain. Feature reconstruction from outputs can mitigate simplicity bias in neural networks. In The Eleventh International Conference on Learning Representations, 2023.
Samuel Ainsworth, Jonathan Hayase, and Siddhartha Srinivasa. Git Re-Basin: Merging Models modulo Permutation Symmetries. In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
Ferran Alet, Ilan Price, Andrew El-Kadi, Dominic Masters, Stratis Markou, Tom R Anderson, Jacklynn Stott, Remi Lam, Matthew Willson, Alvaro Sanchez-Gonzalez, et al. Skillful joint probabilistic weather forecasting from marginals. arXiv preprint arXiv:2506.10772, 2025.
Maksym Andriushchenko, Francesco D'Angelo, Aditya Varre, and Nicolas Flammarion. Why Do We Need Weight Decay in Modern Deep Learning? arXiv preprint arXiv:2310.04415, 2023.
Anthropic. Claude code, 2025. URL https://claude.ai. Agentic command-line coding tool released in research preview February 2025 and generally available May 2025.
Sanjeev Arora, Nadav Cohen, and Elad Hazan. On the optimization of deep networks: Implicit acceleration by overparameterization. In Proceedings of the International Conference on Machine Learning (ICML), 2018.
Sanjeev Arora, Nadav Cohen, Wei Hu, and Yuping Luo. Implicit Regularization in Deep Matrix Factorization. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, Carol Chen, Catherine Olsson, Christopher Olah, Danny Hernandez, Dawn Drain, Deep Ganguli, Dustin Li, Eli Tran-Johnson, Ethan Perez, Jamie Kerr, Jared Mueller, Jeffrey Ladish, Joshua Landau, Kamal Ndousse, Kamile Lukosuite, Liane Lovitt, Michael Sellitto, Nelson Elhage, Nicholas Schiefer, Noemi Mercado, Nova DasSarma, Robert Lasenby, Robin Larson, Sam Ringer, Scott Johnston, Shauna Kravec, Sheer El Showk, Stanislav Fort, Tamera Lanham, Timothy Telleen-Lawton, Tom Conerly, Tom Henighan, Tristan Hume, Samuel R. Bowman, Zac Hatfield-Dodds, Ben Mann, Dario Amodei, Nicholas Joseph, Sam McCandlish, Tom Brown, and Jared Kaplan. Constitutional AI: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073, 2022.
Boaz Barak, Benjamin Edelman, Surbhi Goel, Sham Kakade, Eran Malach, and Cyril Zhang. Hidden progress in deep learning: SGD learns parities near the computational limit. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Peter Bartlett. For valid generalization the size of the weights is more important than the size of the network. Advances in Neural Information Processing Systems (NeurIPS), 9, 1996.
Sara Beery, Grant Van Horn, and Pietro Perona. Recognition in terra incognita. In Proceedings of the European conference on computer vision (ECCV), pages 456–473, 2018.
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.
Emily M Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In Proceedings ACM Conference on Fairness, Accountability, and Transparency (FAccT), pages 610–623, 2021.
Gregory Benton, Wesley Maddox, Sanae Lotfi, and Andrew Gordon Gordon Wilson. Loss surface simplexes for mode connecting volumes and fast ensembling. In Proceedings of the International Conference on Machine Learning (ICML), pages 769–779, 2021.
Frederik Benzing, Simon Schug, Robert Meier, Johannes Von Oswald, Yassir Akram, Nicolas Zucchet, Laurence Aitchison, and Angelika Steger. Random initialisations performing above chance and how to find them. In OPT 2022: Optimization for Machine Learning (NeurIPS 2022 Workshop), 2022.
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 Proceedings of the International Conference on Machine Learning (ICML), 2023.
Lukas Biewald. Experiment Tracking with Weights and Biases, 2020. URL https://www.wandb.com/. Software available from wandb.com.
Sidney Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, et al. Gpt-neox-20b: An open-source autoregressive language model. In Proceedings of BigScience Episode# 5-Workshop on Challenges & Perspectives in Creating Large Language Models, pages 95–136, 2022.
Avrim Blum and Ronald Rivest. Training a 3-node neural network is NP-complete. Advances in Neural Information Processing Systems (NeurIPS), 1, 1988.
Enric Boix-Adserà, Etai Littwin, Emmanuel Abbe, Samy Bengio, and Joshua M Susskind. Transformers learn through gradual rank increase. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
Rishi Bommasani, Drew A. Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S. Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the Opportunities and Risks of Foundation Models. arXiv preprint arXiv:2108.07258, 2021.
Johanni Brea, Berfin Simsek, Bernd Illing, and Wulfram Gerstner. Weight-space symmetry in deep networks gives rise to permutation saddles, connected by equal-loss valleys across the loss landscape. arXiv preprint arXiv:1907.02911, 2019.
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in Neural Information Processing Systems (NeurIPS), 33:1877–1901, 2020.
Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. Discovering Latent Knowledge in Language Models Without Supervision. In Proceedings of the International Conference on Learning Representations (ICLR), 2023.
Sebastian Buschjäger, Lukas Pfahler, and Katharina Morik. Generalized negative correlation learning for deep ensembling. arXiv preprint arXiv:2011.02952, 2020.
Annie S Chen, Yoonho Lee, Amrith Setlur, Sergey Levine, and Chelsea Finn. Project and probe: Sample-efficient domain adaptation by interpolating orthogonal features. arXiv preprint arXiv:2302.05441, 2023a.
Feng Chen, Daniel Kunin, Atsushi Yamamura, and Surya Ganguli. Stochastic collapse: How gradient noise attracts SGD dynamics towards simpler subnetworks. In Advances in Neural Information Processing Systems (NeurIPS), 2023b.
Lei Chen, Joan Bruna, and Alberto Bietti. How Truncating Weights Improves Reasoning in Language Models. In High-dimensional Learning Dynamics 2024: The Emergence of Structure and Reasoning, 2024.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Prafulla Dhariwal, Scott Gray, Ryan Lowe, Alec Radford, Jeffrey Wu, and Wojciech Zaremba. Evaluating Large Language Models Trained on Code. arXiv:2107.03374, 2021. doi: 10.48550/arXiv.2107.03374.
Zhiqi Chen, Rui Lu, Andrew Zhao, Zhaokai Wang, Yang Yue, Shiji Song, and Gao Huang. Does reinforcement learning really incentivize reasoning capacity in llms beyond the base model? Advances in Neural Information Processing Systems (NeurIPS), 38:57654–57689, 2026.
Anna Choromanska, Mikael Henaff, Michael Mathieu, Gérard Ben Arous, and Yann LeCun. The loss surfaces of multilayer networks. In Artificial intelligence and statistics, pages 192–204. PMLR, 2015.
Patryk Chrabaszcz, Ilya Loshchilov, and Frank Hutter. A downsampled variant of imagenet as an alternative to the cifar datasets. arXiv preprint arXiv:1707.08819, 2017.
William Coster and David Kauchak. Simple English Wikipedia: a new text simplification task. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 665–669, 2011.
George Cybenko. Approximation by superpositions of a sigmoidal function. Mathematics of control, signals and systems, 2(4):303–314, 1989.
Damai Dai, Chengqi Deng, Chenggang Zhao, RX Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, Xingkai Yu, Yu Wu, et al. Deepseekmoe: Towards ultimate expert specialization in mixture-of-experts language models. arXiv preprint arXiv:2401.06066, 2024.
Alexander D'Amour, Katherine Heller, Dan Moldovan, Ben Adlam, Babak Alipanahi, Alex Beutel, Christina Chen, Jonathan Deaton, Jacob Eisenstein, Matthew D Hoffman, et al. Underspecification presents challenges for credibility in modern machine learning. Journal of Machine Learning Research, 23(226):1–61, 2022.
Xander Davies, Lauro Langosco, and David Krueger. Unifying Grokking and Double Descent. In NeurIPS ML Safety Workshop, 2022.
Laurent Dinh, Razvan Pascanu, Samy Bengio, and Yoshua Bengio. Sharp minima can generalize for deep nets. In Proceedings of the International Conference on Machine Learning (ICML), pages 1019–1028, 2017.
Sören Dittmer, Emily J King, and Peter Maass. Singular values for ReLU layers. IEEE Transactions on Neural Networks and Learning Systems, 31(9):3594–3605, 2019.
Felix Draxler, Kambis Veschgini, Manfred Salmhofer, and Fred Hamprecht. Essentially no barriers in neural network energy landscape. In Proceedings of the International Conference on Machine Learning (ICML), pages 1309–1318, 2018.
Simon S Du, Wei Hu, and Jason D Lee. Algorithmic regularization in learning deep homogeneous models: Layers are automatically balanced. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
Rahim Entezari, Hanie Sedghi, Olga Saukh, and Behnam Neyshabur. The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2021.
Tolga Ergen and Mert Pilanci. Path regularization: A convexity and sparsity inducing regularization for parallel relu networks. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
Simin Fan, Razvan Pascanu, and Martin Jaggi. Deep Grokking: Would Deep Neural Networks Generalize Better? arXiv preprint arXiv:2405.19454, 2024.
Ruili Feng, Kecheng Zheng, Yukun Huang, Deli Zhao, Michael Jordan, and Zheng-Jun Zha. Rank diminishing in deep neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Damien Ferbach, Baptiste Goujaud, Gauthier Gidel, and Aymeric Dieuleveut. Proving linear mode connectivity of neural networks via optimal transport. arXiv preprint arXiv:2310.19103, 2023.
Stanislav Fort and Stanislaw Jastrzebski. Large scale structure of neural network loss landscapes. In Advances in Neural Information Processing Systems (NeurIPS), volume 32, 2019.
Stanislav Fort, Huiyi Hu, and Balaji Lakshminarayanan. Deep ensembles: A loss landscape perspective. arXiv preprint arXiv:1912.02757, 2019.
Stanislav Fort, Gintare Karolina Dziugaite, Mansheej Paul, Sepideh Kharaghani, Daniel M Roy, and Surya Ganguli. Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the neural tangent kernel. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 5850–5861, 2020.
Jonathan Frankle. Revisiting “Qualitatively Characterizing Neural Network Optimization Problems”. arXiv preprint arXiv:2012.06898, 2020.
Jonathan Frankle and Michael Carbin. The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
Jonathan Frankle, Gintare Karolina Dziugaite, Daniel Roy, and Michael Carbin. Linear mode connectivity and the lottery ticket hypothesis. In Proceedings of the International Conference on Machine Learning (ICML), pages 3259–3269. PMLR, 2020.
Spencer Frei, Gal Vardi, Peter Bartlett, Nathan Srebro, and Wei Hu. Implicit Bias in Leaky ReLU Networks Trained on High-Dimensional Data. In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
Yoav Freund, Robert Schapire, and Naoki Abe. A short introduction to boosting. Journal-Japanese Society For Artificial Intelligence, 14(771-780):1612, 1999.
Tomer Galanti, Zachary S Siegel, Aparna Gupte, and Tomaso Poggio. SGD and weight decay provably induce a low-rank bias in neural networks. arXiv preprint arXiv:2206.05794, 2022.
Timur Garipov, Pavel Izmailov, Dmitrii Podoprikhin, Dmitry P Vetrov, and Andrew G Wilson. Loss surfaces, mode connectivity, and fast ensembling of DNNs. In Advances in Neural Information Processing Systems (NeurIPS), volume 31, 2018.
Avrajit Ghosh, Soo Min Kwon, Rongrong Wang, Saiprasad Ravishankar, and Qing Qu. Learning Dynamics of Deep Linear Networks Beyond the Edge of Stability. arXiv preprint arXiv:2502.20531, 2025.
Raphael Gontijo-Lopes, Yann Dauphin, and Ekin D Cubuk. No one representation to rule them all: Overlapping features of training methods. arXiv preprint arXiv:2110.12899, 2021.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Andrey Gromov. Grokking modular arithmetic. arXiv preprint arXiv:2301.02679, 2023.
Suriya Gunasekar, Blake E Woodworth, Srinadh Bhojanapalli, Behnam Neyshabur, and Nati Srebro. Implicit regularization in matrix factorization. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
Guy Gur-Ari, Daniel A Roberts, and Ethan Dyer. Gradient descent happens in a tiny subspace. arXiv preprint arXiv:1812.04754, 2018.
Stephen Hanson and Lorien Pratt. Comparing biases for minimal network construction with back-propagation. In Advances in Neural Information Processing Systems (NeurIPS), 1988.
Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, Robert Kern, Matti Picus, Stephan Hoyer, Marten H. van Kerkwijk, Matthew Brett, Allan Haldane, Jaime Fernández del Río, Mark Wiebe, Pearu Peterson, Pierre Gérard-Marchant, Kevin Sheppard, Tyler Reddy, Warren Weckesser, Hameer Abbasi, Christoph Gohlke, and Travis E. Oliphant. Array programming with NumPy. Nature, 585(7825):357–362, September 2020.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
Dan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt, and Dawn Song. Natural adversarial examples. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021.
Joel Hestness, Sharan Narang, Newsha Ardalani, Gregory Diamos, Heewoo Jun, Hassan Kianinejad, Md Mostofa Ali Patwary, Yang Yang, and Yanqi Zhou. Deep learning scaling is predictable, empirically. arXiv preprint arXiv:1712.00409, 2017.
Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal processing magazine, 29(6):82–97, 2012.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural Computation, 9(8):1735–1780, 1997.
Shengding Hu, Yuge Tu, Xu Han, Chaoqun He, Ganqu Cui, Xiang Long, Zhi Zheng, Yewei Fang, Yuxiang Huang, Weilin Zhao, et al. Minicpm: Unveiling the potential of small language models with scalable training strategies. arXiv preprint arXiv:2404.06395, 2024.
Weihua Hu, Gang Niu, Issei Sato, and Masashi Sugiyama. Does distributionally robust supervised learning give robust classifiers? In International Conference on Machine Learning, pages 2029–2037. PMLR, 2018.
Minyoung Huh, Hossein Mobahi, Richard Zhang, Brian Cheung, Pulkit Agrawal, and Phillip Isola. The low-rank simplicity bias in deep networks. arXiv preprint arXiv:2103.10427, 2021.
Minyoung Huh, Hossein Mobahi, Richard Zhang, Brian Cheung, Pulkit Agrawal, and Phillip Isola. The Low-Rank Simplicity Bias in Deep Networks. Transactions on Machine Learning Research, 2022.
Ahmed Imtiaz Humayun, Randall Balestriero, and Richard Baraniuk. Deep Networks Always Grok and Here is Why. arXiv preprint arXiv:2402.15555, 2024.
J. D. Hunter. Matplotlib: A 2D graphics environment. Computing in Science & Engineering, 9(3):90–95, 2007.
Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic. In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
Andrew Ilyas, Shibani Santurkar, Dimitris Tsipras, Logan Engstrom, Brandon Tran, and Aleksander Madry. Adversarial examples are not bugs, they are features. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the International Conference on Machine Learning (ICML), 2015.
Akira Ito, Masanori Yamada, and Atsutoshi Kumagai. Analysis of Linear Mode Connectivity via Permutation-Based Weight Matching. arXiv preprint arXiv:2402.04051, 2024.
Pavel Izmailov, Polina Kirichenko, Nate Gruver, and Andrew G Wilson. On feature learning in the presence of spurious correlations. Advances in Neural Information Processing Systems (NeurIPS), 35:38516–38532, 2022.
Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
Alan Jeffares, Tennison Liu, Jonathan Crabbé, and Mihaela van der Schaar. Joint training of deep ensembles fails due to learner collusion. Advances in Neural Information Processing Systems, 36:13559–13589, 2023.
Ziwei Ji and Matus Telgarsky. Gradient descent aligns the layers of deep linear networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2019.
Yiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan, and Samy Bengio. Fantastic generalization measures and where to find them. arXiv preprint arXiv:1912.02178, 2019.
Keller Jordan, Hanie Sedghi, Olga Saukh, Rahim Entezari, and Behnam Neyshabur. REPAIR: REnormalizing Permuted Activations for Interpolation Repair. In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
Gaurav Joshi, Parth Narendra Shah, and Rachit Verma. Mitigating Simplicity Bias in Neural Networks: A Feature Sieve Modification, Regularization, and Self-Supervised Augmentation Approach. In Workshop on Spurious Correlation and Shortcut Learning: Foundations and Solutions, 2025.
John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Žídek, Anna Potapenko, et al. Highly accurate protein structure prediction with AlphaFold. nature, 596(7873):583–589, 2021.
Jeevesh Juneja, Rachit Bansal, Kyunghyun Cho, João Sedoc, and Naomi Saphra. Linear Connectivity Reveals Generalization Strategies. In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
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.
Tero Karras, Miika Aittala, Jaakko Lehtinen, Janne Hellsten, Timo Aila, and Samuli Laine. Analyzing and improving the training dynamics of diffusion models. arXiv preprint arXiv:2312.02696, 2023.
Kenji Kawaguchi. Deep learning without poor local minima. In Advances in Neural Information Processing Systems (NeurIPS), volume 29, pages 586–594, 2016.
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 Proceedings of the International Conference on Learning Representations (ICLR), 2016.
Konwoo Kim, Suhas Kotha, Percy Liang, and Tatsunori Hashimoto. Pre-training under infinite compute. In International Conference on Learning Representations, pages 74596–74636, 2026.
Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. arXiv preprint arXiv:2204.02937, 2022.
KKR Global Macro & Asset Allocation. Beyond the Bubble: Why We Think AI Infrastructure Will Compound Long after the Hype. KKR Insights, November 2025. URL https://www.kkr.com/insights/ai-infrastructure.
Dan Kondratyuk, Mingxing Tan, Matthew Brown, and Boqing Gong. When ensembling smaller models is more efficient than single large models. arXiv preprint arXiv:2005.00570, 2020.
Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In Proceedings of the International Conference on Machine Learning (ICML), pages 3519–3529. PMIR, 2019.
Alex Krizhevsky. Learning multiple layers of features from tiny images. Master's thesis, University of Toronto, 2009.
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems (NeurIPS), 25, 2012.
Anders Krogh and John Hertz. A simple weight decay can improve generalization. In Advances in Neural Information Processing Systems (NeurIPS), 1991.
Rohith Kuditipudi, Xiang Wang, Holden Lee, Yi Zhang, Zhiyuan Li, Wei Hu, Rong Ge, and Sanjeev Arora. Explaining landscape connectivity of low-cost solutions for multilayer nets. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Tanishq Kumar, Blake Bordelon, Samuel J Gershman, and Cengiz Pehlevan. Grokking as the transition from lazy to rich training dynamics. arXiv preprint arXiv:2310.06110, 2023.
Kristofer D. Kusano, John M. Scanlon, Yin-Hsiu Chen, Timothy L. McMurry, Tilia Gode, and Trent Victor. Comparison of Waymo Rider-Only Crash Rates by Crash Type to Human Benchmarks at 56.7 Million Miles. Technical report, arXiv, 2025.
Thien Le and Stefanie Jegelka. Training invariances and the low-rank phenomenon: beyond linear networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2021.
Yann LeCun. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/, 1998.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Yoonho Lee, Huaxiu Yao, and Chelsea Finn. Diversify and disambiguate: Learning from underspecified data. arXiv preprint arXiv:2202.03418, 2022.
Quentin Lhoest, Albert Villanova del Moral, Yacine Jernite, Abhishek Thakur, Patrick von Platen, Suraj Patil, Julien Chaumond, Mariama Drame, Julien Plu, Lewis Tunstall, et al. Datasets: A community library for natural language processing. arXiv preprint arXiv:2109.02846, 2021.
Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
Margaret Li, Suchin Gururangan, Tim Dettmers, Mike Lewis, Tim Althoff, Noah A Smith, and Luke Zettlemoyer. Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Models. arXiv preprint arXiv:2208.03306, 2022.
Zhiyuan Li, Yuping Luo, and Kaifeng Lyu. Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning. In Proceedings of the International Conference on Learning Representations (ICLR), 2020.
Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In Proceedings of the IEEE international conference on computer vision, pages 2980–2988, 2017.
Evan Z Liu, Behzad Haghogoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In International Conference on Machine Learning, pages 6781–6792. PMLR, 2021.
Yong Liu and Xin Yao. Ensemble learning via negative correlation. Neural networks, 12(10): 1399–1404, 1999.
Ziming Liu, Ouail Kitouni, Niklas S Nolte, Eric Michaud, Max Tegmark, and Mike Williams. Towards understanding grokking: An effective theory of representation learning. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Ziming Liu, Eric J Michaud, and Max Tegmark. Omnigrok: Grokking beyond algorithmic data. In Proceedings of the International Conference on Learning Representations (ICLR), 2023.
Ekaterina Lobacheva, Nadezhda Chirkova, Maxim Kodryan, and Dmitry P Vetrov. On power laws in deep ensembles. Advances In Neural Information Processing Systems, 33: 2375–2385, 2020.
Ilya Loshchilov and Frank Hutter. Fixing weight decay regularization in Adam. arXiv preprint arXiv:1711.05101, 2017.
Ekdeep Singh Lubana, Eric J Bigelow, Robert P Dick, David Krueger, and Hidenori Tanaka. Mechanistic mode connectivity. In Proceedings of the International Conference on Machine Learning (ICML), 2023.
Kaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du, Jason D Lee, and Wei Hu. Dichotomy of early and late phase implicit biases can provably induce grokking. In Proceedings of the International Conference on Learning Representations (ICLR), 2023.
Bishwas Mandal, Shmuel Berman, Akshay Vegesna, and Samip Dahal. q0: Primitives for Hyper-Epoch Pretraining. arXiv preprint arXiv:2606.03938, 2026.
Donald W Marquardt and Ronald D Snee. Ridge regression in practice. The American Statistician, 29(1):3–20, 1975.
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 SIAM International Conference on Data Mining (ICDM), 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.
Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, et al. HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal. In Proceedings of the International Conference on Machine Learning (ICML), 2024.
Amil Merchant, Simon Batzner, Samuel S Schoenholz, Muratahan Aykol, Gowoon Cheon, and Ekin Dogus Cubuk. Scaling deep learning for materials discovery. Nature, 624(7990): 80–85, 2023.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer Sentinel Mixture Models. In Proceedings of the International Conference on Learning Representations (ICLR), 2016.
William Merrill, Nikolaos Tsilivis, and Aman Shukla. A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworks. In ICLR 2023 Workshop on Mathematical and Empirical Understanding of Foundation Models, 2023.
Paolo Milanesi, Hachem Kadri, Stéphane Ayache, and Thierry Artières. Implicit regularization in deep tensor factorization. In Proceedings of the International Joint Conference on Neural Networks (IJCNN), 2021.
Sreyas Mohan, Zahra Kadkhodaie, Eero P Simoncelli, and Carlos Fernandez-Granda. Robust and interpretable blind image denoising via bias-free convolutional neural networks. arXiv preprint arXiv:1906.05478, 2019.
Depen Morwani, Jatin Batra, Prateek Jain, and Praneeth Netrapalli. Simplicity bias in 1-hidden layer neural networks. Advances in Neural Information Processing Systems (NeurIPS), 36:8048–8075, 2023.
Rotem Mulayoff and Tomer Michaeli. Unique properties of flat minima in deep networks. In Proceedings of the International Conference on Machine Learning (ICML), 2020.
Vaishnavh Nagarajan and J Zico Kolter. Uniform convergence may be unable to explain generalization in deep learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt. Journal of Statistical Mechanics: Theory and Experiment, 2021(12), 2021.
Neel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith, and Jacob Steinhardt. Progress measures for grokking via mechanistic interpretability. arXiv preprint arXiv:2301.05217, 2023.
Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. In search of the real inductive bias: On the role of implicit regularization in deep learning. arXiv preprint arXiv:1412.6614, 2014.
Behnam Neyshabur, Hanie Sedghi, and Chiyuan Zhang. What is being transferred in transfer learning? In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Hongjing Niu, Hanting Li, Feng Zhao, and Bin Li. Roadblocks for temporarily disabling shortcuts and learning new knowledge. Advances in Neural Information Processing Systems (NeurIPS), 35:29064–29075, 2022.
Greg Ongie and Rebecca Willett. The role of linear layers in nonlinear interpolating networks. arXiv preprint arXiv:2202.00856, 2022.
OpenAI. Chatgpt, 2022. URL https://chatgpt.com. Large language model; launched November 30, 2022.
OpenAI. Ten Advances in Mathematics and Theoretical Computer Science. Technical report, OpenAI, August 2026. URL https://cdn.openai.com/pdf/ten-proofs-oai.pdf.
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems (NeurIPS), 35:27730–27744, 2022.
Matteo Pagliardini, Martin Jaggi, François Fleuret, and Sai Praneeth Karimireddy. Agree to disagree: Diversity through disagreement for better transferability. arXiv preprint arXiv:2202.04414, 2022.
Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: An ASR corpus based on public domain audio books. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5206–5210, 2015.
Vardan Papyan, XY 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.
Rahul Parhi and Robert D Nowak. Deep learning meets sparse regularization: A signal processing perspective. IEEE Signal Processing Magazine, 40(6):63–74, 2023.
Kiho Park, Yo Joong Choe, and Victor Veitch. The Linear Representation Hypothesis and the Geometry of Large Language Models. In Proceedings of the International Conference on Machine Learning (ICML), 2024.
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. PyTorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Mansheej Paul, Feng Chen, Brett W Larsen, Jonathan Frankle, Surya Ganguli, and Gintare Karolina Dziugaite. Unmasking the Lottery Ticket Hypothesis: What's Encoded in a Winning Ticket's Mask? In Proceedings of the International Conference on Learning Representations (ICLR), 2022.
Jeffrey Pennington, Samuel Schoenholz, and Surya Ganguli. The emergence of spectral universality in deep networks. In Proceedings of the International Conference on Artificial Intelligence and Statistics (AISTATS), 2018.
Mohammad Pezeshki, Oumar Kaba, Yoshua Bengio, Aaron C Courville, Doina Precup, and Guillaume Lajoie. Gradient starvation: A learning proclivity in neural networks. In Advances in Neural Information Processing Systems (NeurIPS), volume 34, 2021.
Alethea Power, Yuri Burda, Harri Edwards, Igor Babuschkin, and Vedant Misra. Grokking: Generalization beyond overfitting on small algorithmic datasets. arXiv preprint arXiv:2201.02177, 2022.
Brenda Praggastis, Davis Brown, Carlos Ortiz Marrero, Emilie Purvine, Madelyn Shapiro, and Bei Wang. The SVD of convolutional weights: a CNN interpretability framework. arXiv preprint arXiv:2208.06894, 2022.
Lucas Prieto, Melih Barsbey, Pedro AM Mediano, and Tolga Birdal. Grokking at the edge of numerical stability. arXiv preprint arXiv:2501.04697, 2025.
Xingyu Qu and Samuel Horvath. Rethink Model Re-Basin and the Linear Mode Connectivity. arXiv preprint arXiv:2402.05966, 2024.
Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al. Improving language understanding by generative pre-training, 2018.
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research, 21(140):1–67, 2020.
Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred Hamprecht, Yoshua Bengio, and Aaron Courville. On the spectral bias of neural networks. In Proceedings of the International Conference on Machine Learning (ICML), 2019.
Prajit Ramachandran, Barret Zoph, and Quoc V Le. Searching for activation functions. arXiv preprint arXiv:1710.05941, 2017.
Alexandre Rame, Matthieu Kirchmeyer, Thibaud Rahier, Alain Rakotomamonjy, Patrick Gallinari, and Matthieu Cord. Diverse weight averaging for out-of-distribution generalization. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical Text-Conditional Image Generation with CLIP Latents. arXiv preprint arXiv:2204.06125, 2022.
Noam Razin and Nadav Cohen. Implicit regularization in deep learning may not be explainable by norms. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Proceeding of the International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2015.
Olivier Roy and Martin Vetterli. The effective rank: A measure of effective dimensionality. In Proceedings of the European Signal Processing Conference (EUSIPCO), 2007.
Jessica Rumbelow and Matthew Watkins. SolidGoldMagikarp (plus, prompt generation). https://www.lesswrong.com/posts/aPeJE8bSo6rAFoLqg/solidgoldmagikarp-plus-prompt-generation, February 2023. LessWrong.
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015.
Ildus Sadrtdinov, Dmitrii Pozdeev, Dmitry P Vetrov, and Ekaterina Lobacheva. To Stay or Not to Stay in the Pre-train Basin: Insights on Ensembling in Transfer Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019.
Gobinda Saha, Isha Garg, and Kaushik Roy. Gradient Projection Memory for Continual Learning. In Proceedings of the International Conference on Learning Representations (ICLR), 2021.
Nikunj Saunshi, Nishanth Dikkala, Zhiyuan Li, Sanjiv Kumar, and Sashank J Reddi. Reasoning with latent thoughts: On the power of looped transformers. In International Conference on Learning Representations, volume 2025, pages 14855–14881, 2025.
A Saxe, J McClelland, and S Ganguli. Exact solutions to the nonlinear dynamics of learning in deep linear neural networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2014.
Steffen Schothöfer, Emanuele Zangrando, Jonas Kusch, Gianluca Ceruti, and Francesco Tudisco. Low-rank lottery tickets: Finding efficient low-rank neural networks via matrix differential equations. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Hanie Sedghi, Vineet Gupta, and Philip M Long. The Singular Values of Convolutional Layers. In International Conference on Learning Representations, 2018.
Frank Seide, Gang Li, Xie Chen, and Dong Yu. Feature engineering in context-dependent deep neural networks for conversational speech transcription. In 2011 IEEE Workshop on Automatic Speech Recognition & Understanding, pages 24–29. IEEE, 2011.
Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, and Praneeth Netrapalli. The pitfalls of simplicity bias in neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Pratyusha Sharma, Jordan T Ash, and Dipendra Misra. The truth is in there: Improving reasoning in language models with layer-selective rank reduction. arXiv preprint arXiv:2312.13558, 2023.
Pratyusha Sharma, Jordan T Ash, and Dipendra Misra. The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction. In The Twelfth International Conference on Learning Representations, 2024.
Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538, 2017.
Joseph Shenouda, Rahul Parhi, Kangwook Lee, and Robert D Nowak. Vector-valued variation spaces and width bounds for DNNs: Insights on weight decay regularization. arXiv preprint arXiv:2305.16534, 2023.
David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. nature, 550(7676):354–359, 2017.
David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, et al. A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play. Science, 362(6419):1140–1144, 2018.
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
Berfin Simsek, François Ged, Arthur Jacot, Francesco Spadaro, Clément Hongler, Wulfram Gerstner, and Johanni Brea. Geometry of the loss landscape in overparameterized neural networks: Symmetries and invariances. In Proceedings of the International Conference on Machine Learning (ICML), 2021.
Samarth Sinha, Homanga Bharadhwaj, Anirudh Goyal, Hugo Larochelle, Animesh Garg, and Florian Shkurti. Dibs: Diversity inducing information bottleneck in model ensembles. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 9666–9674, 2021.
Vincent Sitzmann, Julien Martel, Alexander Bergman, David Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In Proceedings of the International Conference on Machine Learning (ICML), 2015.
Eduardo D Sontag and Héctor J Sussmann. Backpropagation can give rise to spurious local minima even for networks without hidden layers. Complex Systems, 3(1):91–106, 1989.
Chen Sun, Abhinav Shrivastava, Saurabh Singh, and Abhinav Gupta. Revisiting unreasonable effectiveness of data in deep learning era. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 843–852. IEEE, 2017.
Rich Sutton. The Bitter Lesson. http://www.incompleteideas.net/IncIdeas/BitterLesson.html, March 2019. Incomplete Ideas (Blog).
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv:1312.6199, 2013.
Zhiquan Tan and Weiran Huang. Understanding Grokking Through A Robustness Viewpoint. arXiv preprint arXiv:2311.06597, 2023.
Damien Teney, Ehsan Abbasnejad, Simon Lucey, and Anton Van den Hengel. Evading the simplicity bias: Training a diverse set of models discovers solutions with superior ood generalization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 16761–16772, 2022.
Vimal Thilak, Etai Littwin, Shuangfei Zhai, Omid Saremi, Roni Paiss, and Joshua Susskind. The slingshot mechanism: An empirical study of adaptive optimizers and the grokking phenomenon. arXiv preprint arXiv:2206.04817, 2022.
Nadav Timor, Gal Vardi, and Ohad Shamir. Implicit regularization towards rank minimization in ReLU networks. In Proceedings of the International Conference on Algorithmic Learning Theory (ALT), 2023.
Rishabh Tiwari and Pradeep Shenoy. Overcoming simplicity bias in deep networks using a feature sieve. In International Conference on Machine Learning, pages 34330–34343. PMLR, 2023.
Minh Nguyen Nhat To, Paul F RWilson, Viet Nguyen, Mohamed Harmanani, Michael Cooper, Fahimeh Fooladgar, Purang Abolmaesumi, Parvin Mousavi, and Rahul G Krishnan. Diverse Prototypical Ensembles Improve Robustness to Subpopulation Shift. arXiv preprint arXiv:2505.23027, 2025.
Tomasz Tunguz. The 12x Bet on AI. Personal Blog, March 2026. URL https://tomtunguz.com/12x-bet-on-ai/.
Twan Van Laarhoven. L2 regularization versus batch and weight normalization. arXiv preprint arXiv:1706.05350, 2017.
Lieven Vandenberghe. Convex optimization, volume 1. Cambridge University Press, 2004.
Gal Vardi and Ohad Shamir. Implicit regularization in relu networks with the square loss. In Proceedings of the Annual Conference on Learning Theory (COLT), 2021.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
Pablo Villalobos, Anson Ho, Jaime Sevilla, Tamay Besiroglu, Lennart Heim, and Marius Hobbhahn. Position: Will we run out of data? Limits of LLM scaling based on human-generated data. In Forty-first International Conference on Machine Learning, 2024.
Tiffany J Vlaar and Jonathan Frankle. What can linear interpolation of neural network loss landscapes tell us? In Proceedings of the International Conference on Machine Learning (ICML), pages 22325–22341, 2022.
Binxu Wang and John Vastola. ML from scratch: Stable Diffusion, Day 2, 2022. URL https://colab.research.google.com/drive/1Y5wr91g5jmpCDiX-RLfWLleSBWoSuLqO?usp=sharing#scrollTo=9is-DXZYwIIi.
Hongyi Wang, Saurabh Agarwal, and Dimitris Papailiopoulos. Pufferfish: Communication-efficient models at no extra cost. Proceedings of Machine Learning and Systems, 3:365–386, 2021.
Shenzhi Wang, Le Yu, Chang Gao, Chujie Zheng, Shixuan Liu, Rui Lu, Kai Dang, Xiong-Hui Chen, Jianxin Yang, Zhenru Zhang, et al. Beyond the 80/20 rule: High-entropy minority tokens drive effective reinforcement learning for llm reasoning. Advances in Neural Information Processing Systems, 38:115452–115486, 2026.
Tongzhou Wang, Jun-Yan Zhu, Antonio Torralba, and Alexei A Efros. Dataset distillation. arXiv preprint arXiv:1811.10959, 2018.
Zihan Wang and Arthur Jacot. Implicit bias of SGD in -regularized linear DNNs: One-way jumps from high to low rank. arXiv preprint arXiv:2305.16038, 2023.
Michael L. Waskom. seaborn: statistical data visualization. Journal of Open Source Software, 6(60):3021, 2021.
Tao Wen, Zihan Wang, Quan Zhang, and Qi Lei. Elastic Representation: Mitigating Spurious Correlations for Group Robustness. arXiv preprint arXiv:2502.09850, 2025.
Blake Woodworth, Suriya Gunasekar, Jason D Lee, Edward Moroshko, Pedro Savarese, Itay Golan, Daniel Soudry, and Nathan Srebro. Kernel and rich regimes in overparametrized models. In Conference on Learning Theory, pages 3635–3673. PMLR, 2020.
Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In Proceedings of the International Conference on Machine Learning (ICML), 2022.
Mitchell Wortsman, Tim Dettmers, Luke Zettlemoyer, Ari Morcos, Ali Farhadi, and Ludwig Schmidt. Stable and low-precision training for large-scale vision-language models. Advances in Neural Information Processing Systems (NeurIPS), 36:10271–10298, 2023.
Zhiwei Xu, Yutong Wang, Spencer Frei, Gal Vardi, and Wei Hu. Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data. In Proceedings of the International Conference on Learning Representations (ICLR), 2023.
Xingyu Alice Yang, Jianyu Zhang, and Léon Bottou. These are Not All the Features You are Looking For: A Fundamental Bottleneck In Supervised Pretraining. arXiv preprint arXiv:2506.18221, 2025.
Can Yaras, Peng Wang, Wei Hu, Zhihui Zhu, Laura Balzano, and Qing Qu. Invariant Low-Dimensional Subspaces in Gradient Descent for Learning Deep Matrix Factorizations. In NeurIPS 2023 Workshop on Mathematics of Modern Machine Learning, 2023a.
Can Yaras, Peng Wang, Wei Hu, Zhihui Zhu, Laura Balzano, and Qing Qu. The Law of Parsimony in Gradient Descent for Learning Deep Linear Networks. arXiv preprint arXiv:2306.01154, 2023b.
Hao Yu and Jianxin Wu. Compressing Transformers: Features Are Low-Rank, but Weights Are Not! In Proceedings of the National Conference on Artificial Intelligence (AAAI), 2023.
Xiyu Yu, Tongliang Liu, Xinchao Wang, and Dacheng Tao. On compressing deep models by low rank and sparse decomposition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
David Yunis, Kumar Kshitij Patel, Pedro Henrique Pamplona Savarese, Gal Vardi, Jonathan Frankle, Matthew Walter, Karen Livescu, and Michael Maire. On Convexity and Linear Mode Connectivity in Neural Networks. In OPT 2022: Optimization for Machine Learning (NeurIPS 2022 Workshop), 2022.
David Yunis, Kumar Kshitij Patel, Samuel Wheeler, Pedro Savarese, Gal Vardi, Karen Livescu, Michael Maire, and Matthew R Walter. Approaching deep learning through the spectral dynamics of weights. arXiv preprint arXiv:2408.11804, 2024.
Emanuele Zangrando, Piero Deidda, Simone Brugiapaglia, Nicola Guglielmi, and Francesco Tudisco. Neural Rank Collapse: Weight Decay and Small Within-Class Variability Yield Low-Rank Bias. arXiv preprint arXiv:2402.03991, 2024.
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.
Guodong Zhang, Chaoqi Wang, Bowen Xu, and Roger Grosse. Three mechanisms of weight decay regularization. arXiv preprint arXiv:1810.12281, 2018a.
Hongyi Zhang, Yann N Dauphin, and Tengyu Ma. Fixup Initialization: Residual Learning Without Normalization. In Proceedings of the International Conference on Learning Representations (ICLR), 2018b.
Jianyu Zhang and Léon Bottou. Learning useful representations for shifting tasks and distributions. In International Conference on Machine Learning, pages 40830–40850. PMLR, 2023.
Jianyu Zhang, David Lopez-Paz, and Léon Bottou. Rich feature construction for the optimization-generalization dilemma. In International Conference on Machine Learning, pages 26397–26411. PMLR, 2022.
Jianyu Zhang, Niklas Nolte, Ranajoy Sadhukhan, Beidi Chen, and Léon Bottou. Memory mosaics. In International Conference on Learning Representations, volume 2025, pages 36412–36433, 2025.
Yanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du, Yanping Huang, Vincent Zhao, Andrew M Dai, Quoc V Le, James Laudon, et al. Mixture-of-experts with expert choice routing. Advances in Neural Information Processing Systems, 35:7103–7114, 2022.
Liu Ziyin, Botao Li, and Xiangming Meng. Exact solutions of a deep linear network. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Andy Zou, Zifan Wang, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023.
Appendix A
Convex Mode Connectivity
A.1 Task Details
SIREN (Sitzmann et al., 2020) is a fully-connected network with sine activations. It was originally designed to overcome the low-frequency bias in radiance fields. Here it is tuned to reconstruct an audio waveform, where the input is the timestep, and the output is the waveform value. We choose to study it because all prior experiments on LMC were conducted with ReLU activations, and we wished to observe a system that was not piecewise linear. For our other models, we use LeNet-5 (LeCun et al., 1998), and ResNet-20 (He et al., 2016) trained on CIFAR-10 (Krizhevsky, 2009). These combinations are some of the simplest systems for which we do not see LMC at initialization (Nagarajan and Kolter, 2019; Frankle et al., 2020; Ainsworth et al., 2022). For the sake of simplicity, all learning rates are constant in our experiments. Because the SIREN task does not include generalization, we stop training when the training loss has converged. In the case of our other models, we tune hyper-parameters and stop training when the validation error has converged, which is typically the desired criterion in practice. For hyperparameters, see Table A.1. For full training loss curves, see Figure A.1.
Table A.1: Summary of tasks studied in this chapter.
| Abbrev. | Task | Dataset | Model | Optimizer | LR | Batch size |
|---|---|---|---|---|---|---|
| SIREN | Regress. | Bach Waveform | 5-layer SIREN | Adam | 1e-5 | 8192 |
| LeNet | Classif. | CIFAR-10 | LeNet-5 | SGD | 1e-2 | 128 |
| LeNet-m | Classif. | CIFAR-10 | LeNet-5 | SGD+mom. (0.9) | 1e-2 | 128 |
| ResNet | Classif. | CIFAR-10 | ResNet-20 | SGD+mom. (0.9) | 0.1 | 128 |
A.2 Metric Calculation Details
In order to calculate Hessian eigenvalues, we use a power iteration method with Hessian vector products, like in Li et al. (2018). To measure local convexity between a pair of stochastic updates from parameters W, we compute two stochastic updates and ,

(a) SIREN
(b) LeNet
(c) LeNet-m
(d) ResNet
Figure A.1: Training loss curves for all tasks. When cross-referencing with Figure 3.2, we see that the first split point that leads to a convex hull is quite early, long before the loss has converged, and often before it has even halved.
and measure the gap
We then compute the probability that this gap is negative over many samples. This gives us a metric for the non-convexity that a single update induces, which we can measure at different points throughout training.
Appendix B
Spectral Dynamics
B.1 Explanation of Balancedness
Prior work on deep linear networks (Arora et al., 2019; Milanesi et al., 2021) suggests that rank minimization may describe implicit regularization in deep matrix factorization better than simple matrix norms. See Arora et al. (2018) (Appendix A) for a detailed argument. However, a critical assumption used in these works is "balanced initialization." This means that for consecutive matrices and in the product matrix , we have at initialization. Decomposing these matrices with SVDs and leveraging orthogonality, this simplifies to where and are orthogonal matrices. Since these are orthogonal decompositions of the same matrix, their diagonals must be equivalent, allowing for the permutation of elements with the same value. This leads to up to signs, where is a block diagonal permutation matrix that may permute the rows of equivalent diagonal elements. Notably, if all diagonal elements are distinct and and are square matrices, then up to signs. This gives us matching singular vectors for consecutive matrices.
B.2 Experimental Details
For all experiments, we use 3 random seeds and average all plots over those 3. This is relatively small, but error bars tend to be very tight, and due to the high volume of runs required for this work we lack the resources to run much more.
In order to compute alignment we consider only pairs of consecutive layers that directly feed into each other, and ignore the influence of residual connections so as to cut down on the number of comparisons. Specifics on individual architectures are given below.
B.2.1 Image Classification with VGG
We train a VGG-16 (Simonyan and Zisserman, 2014) on CIFAR-10 (Krizhevsky, 2009) for 164 epochs, following the hyperparameters and learning rate schedule in (Frankle et al., 2020), but without data augmentation as it contributes extra randomness. For the optimizer we use SGD with batch size 128, initial learning rate 0.1 and momentum of 0.9. We also decay the learning rate 3 times by a factor of 10 at epoch 82, epoch 120, and finally at epoch 160. We also use a minor amount of weight decay with coefficient 0.0001.
VGG-16 uses ReLU activations and batch normalization (Ioffe and Szegedy, 2015), and includes both convolutional and linear layers. For linear layers we simply compute the SVD of the weight matrix. For convolutional layers, the parameters are typically stored as a 4D tensor of shape for the output channels, input channels, height and width of the filters respectively. As the filters compute a transformation from each position and input channel to an output channel, we compute the SVD of the flattened tensor of shape , which maps all inputs to outputs, similar to Praggastis et al. (2022). This is not the SVD of the entire transformation of the feature map to the next feature map Sedghi et al. (2018), but rather the transformation from a set of adjacent positions to a particular position in the next layer computed by the parameters. For the individual SV evolution plot, we use the 12th convolutional layer.
In order to compute alignment of bases between consecutive convolutional layers, we need to match the dimensionality between and . For convolutional layers we are presented with a question as to how to handle the spatial dimensions and as naively the input dimension of the next layer will be a factor of larger dimension. We experimented with multiple cases, including aligning at each spatial position individually or averaging over the alignment at all spatial positions, and eventually settled at aligning the output of one layer to the center spatial input of the next layer. That is, for a 3x3 convolution mapping to a following 3x3 convolution, we compute the alignment only for position (1,1) of the next layer. This seemed reasonable to us as on average the edges of the filters showed poorer alignment overall. For the individual alignment plot, we use the alignment between the 11th and 12th convolutional layers at the center spatial position of the 12th convolutional layer.
B.2.2 Image Generation with UNets
We train a UNet (Ronneberger et al., 2015) diffusion model (Sohl-Dickstein et al., 2015; Ho et al., 2020) on MNIST (LeCun, 1998) generation. We take model design and hyperparameters from (Wang and Vastola, 2022). In particular we use a 4-layer residual UNet and train with AdamW (Loshchilov and Hutter, 2017) with batch size 128, and learning rate of 0.0003 for 100 epochs. This model uses swish (Ramachandran et al., 2017) activations and a combination of linear and convolutional, as well as transposed convolutional layers.
Computing SVDs and alignment is similar to the image classification case described above, except in the case of the transposed convolutions where an extra transpose of dimensions is needed as parameters are stored with the shape . For the individual SV evolution plot, we use the 3rd convolutional layer. For the alignment plot, we use the alignment between the 3rd and 4th convolutional layers at the center spatial position of the 4th convolutional layer.
B.2.3 Speech Recognition with LSTMs
We train a bidirectional LSTM (Hochreiter and Schmidhuber, 1997) for automatic speech recognition on LibriSpeech (Panayotov et al., 2015). We tune for a simple and well-performing hyperparameter setting. We use AdamW (Loshchilov and Hutter, 2017) with batch size 32, learning rate 0.0003 and weight decay 0.1 for 50 epochs. We also use a cosine annealing learning rate schedule from 1 to 0 over the entire 50 epochs.
The LSTM only has matrix parameters and biases, so it is straightforward to compute SVDs of the matrices. For individual SV evolution plots, we plot the 3rd layer input parameter. In the case of alignment, we make a number of connections: first down depth for the input parameters, then connecting the previous input parameter to the current hidden parameter in both directions, then connecting the previous hidden parameter to the current input parameter. In particular the LSTM parameters are stored as a stack of 4 matrices in PyTorch, and we find alignment is highest for the "gate" submatrix, so we choose that for all plots. For the individual layer alignment, we plot alignment between the 3rd and 4th layer input parameters.
B.2.4 Language Modeling with Transformers
We train a Transformer (Vaswani et al., 2017) language model on Wikitext-103 (Merity et al., 2016). We base hyperparameter choices on the Pythia suite (Biderman et al., 2023), specifically the 160 million parameter configuration with sinusoidal position embeddings, 12 layers, model dimension 768, 12 attention heads per layer, and hidden dimension 768. We use AdamW (Loshchilov and Hutter, 2017) with batch size 256, learning rate 0.0006 and weight decay 0.1. We use a context length of 2048 and clip gradients to a maximum norm of 1. We also use a learning rate schedule with a linear warmup and cosine decay to 10% of the learning rate, like Biderman et al. (2023).
For SVDs, for simplicity we take the SVD of the entire parameter that computes queries, keys and values from the hidden dimension inside the attention layer, without splitting into individual heads. This is reasonable as the splitting is done after the fact internally. We also take the SVD of the output parameters, and linear layers of the MLPs, which are 2 dimensional matrices. For the individual SV evolution plot, we plot the SVs of of the 8th layer MLP.
For alignment, we consider the alignment of and matrices, and matrices, computing alignment between heads individually then averaging over all heads. We also consider the alignment between and of the MLP block, between and of the MLP block, and between and the next attention layer. For the individual layer alignment, we plot alignment between and of the 8th layer MLP.
B.2.5 Spectral Dynamics with Scale (Pythia)
Here we apply the perspective developed in Section 4.5 to larger scale models. As we lack the resources to train these models ourselves, we leverage the Pythia (Biderman et al., 2023) family which provides training trajectories for language models across a range of scales (70m to 12b parameters). We are further constrained to the 2.8b parameter model at the largest due to memory requirements when computing SVDs and alignment.
In Figure B.1, we see similar rank dynamics across a variety of scales. We select the 7th layer MLP to compare between models as it is present at all scales. We do see an unequal evolution in singular values, but also a contraction as training proceeds for longer. The difference between scales is not very obvious, but proportionally fewer of the singular values evolve to be large in the 2.8b model as opposed to the 410m model, which one can see from the thickness of the light magenta color. The lack of alignment except for the top rank is quite consistent with earlier observations, and such alignment happens much later for the largest model.

(a) Val. Loss
(b) SVs
(c) Eff. Rank
(d) Alignment
(e) Align. Score
Figure B.1: Spectral dynamics of Pythia suite. From top to bottom we examine the 160m, 410m, 1.4b and 2.8b parameter models. Notably, much less noise appears in the alignment plot with increasing scale. Presumably this could be due to the fact that larger dimensional vectors have higher probability to be orthogonal, which may play a role in making optimization easier. We see stronger alignment score (Eqn. 4.4) in all layers in the larger model, perhaps because of that cleaner signal.
B.2.6 Weight Decay Experiments
All tasks are trained in exactly the same fashion as mentioned previously, with increasing weight decay in the set . For ease of presentation we consider a subset of settings across tasks. In Figure B.3 we include trained model performance and pruned model performance to show that, even with high levels of weight decay, models do not entirely break down. More so, the approximation of the pruned model to the full model gets better with higher weight decay.
B.2.7 Grokking Experiments
For the Transformer, we mostly follow the settings and architecture of Nanda et al. (2023), except we use sinusoidal positional encodings instead of learned.

Figure B.2: Diagonal of alignment for a single pair over time (Eqn. 4.3) and alignment metric across pairs of matrices over time (Eqn. 4.4) where the y-axis represents depth. From top to bottom, for VGG we use coefficients {0, 0.001, 0.01, 0.1}, while for other networks we use coefficients {0, 0.1, 1, 10}. We see that the maximum alignment magnitude is higher with large weight decay, and in particular, the Transformer has the strongest alignment even when nonlinearities separate the MLP layers.
For the slingshot case we follow hyperparameter settings in Thilak et al. (2022), Appendix B except with the 1-layer architecture from Nanda et al. (2023) instead of the 2-layer architecture specified. We perform addition modulo 97. The original grokking plot in Thilak et al. (2022) appears much more dramatic as it log-scales the x-axis, which we do not do here for clarity.
In the case of the deep MLP, we follow Fan et al. (2024), where we use a 12-layer MLP with ReLU activations and width 400, trained on MSE loss on MNIST (LeCun, 1998). We use 2000 examples, a batch size of 100, weight decay 0.01, and initialization scale 8 (Liu et al., 2023).
B.2.8 Random Label Experiments
We train a 4-layer MLP on CIFAR10 (Krizhevsky, 2009) with either completely random labels, or the true labels. We use SGD with momentum of 0.9 and constant learning rate of 0.001, and train for 300 epochs to see the entire trend of training. The major difference to the setting of Zhang et al. (2021) is the use of a constant learning rate, as their use of a learning rate schedule might conflate the results.
For the VGG case, we follow our previous hyperparameters, except we leave out weight decay and learning rate scheduling, instead using a constant learning rate of 0.01.
For the LSTM case, we follow our previous hyperparameters, and extend the training budget to 200 epochs allow for the random label setting to train longer. In this case, our network does not have sufficient capacity to memorize the data completely.

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure B.3: Training loss over time, where the rows use differing amounts of weight decay. From top to bottom, for VGG we use coefficients , while for other networks we use coefficients . We see that it is still possible to achieve low training loss under high weight decay, and as we increase the amount of weight decay, the gap between pruned and unpruned parameters closes, lending support to the idea that the parameters become lower rank.
B.2.9 Magnitude Pruning Experiments
We use the same VGG setup as described previously. In this case we train until the end, then compute a global magnitude mask. To do this we flatten all linear and convolutional weights into a single vector, except for the last linear layer, and sort by magnitude. Then we keep the top 5% of weights globally, and reshape back to the layerwise masks. This results in different sparsity levels for different layers, so when generating the random masks, we use the per-layer sparsities that resulted from the global magnitude mask.
To retrain the network, we rewind to epoch 4 (after the point of LMC (Frankle et al., 2020)), then continue training with the mask, always setting other weights and their gradients to 0. We average all results over 3 random seeds.
For the LSTM we follow exactly the same procedure, except our mask only reaches a level of 25% sparsity, due to larger performance degradations with higher sparsity.
B.2.10 LMC Experiments
We save 5 evenly-spaced checkpoints in the first epoch, as well as at the end of the next 4 epochs for 10 initializations in total. We train 3 trunks, and split 3 branches from each trunk for a total of 9 branches which we average all plots over.
Following Neyshabur et al. (2020), we compute the barrier between checkpoints as follows: given and that were branched from we compute
when this quantity is 0, we consider the checkpoints to exhibit LMC.
We recompute batch normalization parameters after interpolating for VGG-16, and group normalization parameters for the UNet, as these do not necessarily interpolate well (Frankle et al., 2020). We also compute singular vector agreement for the same parameter between either branch endpoint.
To plot the singular vector (dis)agreement and LMC between different modes, we make 11 evenly spaced measurements interpolating between branch endpoints that had the same split epoch, and the same branch seed, but different trunk initializations.
B.2.11 Perturbed LMC Experiments
We perturb all weights after the point of dynamics stability where we expect to see LMC at the end of training (epoch 4 is sufficiently late in all cases) using randomly sampled normal perturbations with where . We do not perturb the output layer, as this has a very substantial effect on the optimization. We also do not perturb the input layer for the Transformer as it is too computationally expensive for our resources.
B.3 Limitations
There are a few key limitations to our study. As mentioned, we lack the computational resources to run more than 3 random seeds per experiment, though we do find error bars to be quite tight in general (except for the generalization epoch in the grokking experiments). In addition, as discussed we ignore 1D parameters like biases and normalization in the neural networks, which may play additional roles. Due to computational constraints we do not consider alignment of layers across residual connections as this quickly becomes combinatorial in depth, thus there may be other interesting interactions that we do not observe. Finally, due to computational constraints we are unable to investigate full results on larger models than the 12 layer Transformer, which may have different behavior, but the results on the Pythia suite in Appendix B.2.5 are encouraging.
B.4 Additional Experiments
B.4.1 Effect of initialization scale
In Figure B.5 we explore the effect of initialization scale. Prior work (Woodworth et al., 2020) showed that in deep linear systems the choice of initialization modulated the effect of incremental learning of ranks, with smaller initialization increasing this effect. We observe that alignment is slightly stronger with smaller initialization, mirroring the theory in deep linear networks.
B.4.2 Effect of learning rate
In Figure B.6 we explore the effect of learning rate on dynamics for an MLP trained on CIFAR10. Ghosh et al. (2025) proved that balancedness may develop in deep linear systems when the learning rate is sufficiently large. We see here that the trend is mixed: learning rate 0.01 shows the strongest balancedness, and going above or below has a weaker effect.
B.4.3 Individual seed plots for grokking
For clarity, in Figure B.7 we show an average of 3 seeds of grokking modular addition with Transformers (see Figure 4.2). The transition to low error and low rank coincide.
B.4.4 Full alignment matrix evolution
We previously plotted only the diagonal of the alignment matrix (Eqn. 4.3) instead of considering off-diagonal elements. In Figure B.8 we provide the evolution of the entire alignment matrix between two layers throughout training for an MLP on CIFAR10 so as to explain why: anecdotally we did not observe much signal off-diagonal, hence the focus on the upper diagonal in Eqns 4.3 and 4.4.
B.4.5 Image classification
In Figure B.9 we provide the behavior for all networks tested in CIFAR10 side-by-side to facilitate comparison. We see across architectures that there is qualitative agreement in the trend toward rank minimization.
B.4.6
B.5 Compute Resources
All experiments are performed on an internal cluster with on the order of 100 NVIDIA RTX 2080 Ti GPUs or newer. All experiments run on a single GPU in less than 8 hours, though it is extremely helpful to parallelize across machines. We estimate that end-to-end it might take a few days on these resources to rerun all of the experiments in this chapter.
Additionally, the storage requirements for all of the checkpoints will take on the order of 10 terabytes.
B.6 Code Sources
We use PyTorch (Paszke et al., 2019) and NumPy (Harris et al., 2020) for all experiments and Weights & Biases (Biewald, 2020) for experiment tracking. We make plots with Matplotlib (Hunter, 2007) and Seaborn (Waskom, 2021). We also use HuggingFace Datasets (Lhoest et al., 2021) for Wikitext-103 (Merity et al., 2016).

(a) Error
(b) SV Evolution
(c) Effective Rank
(d) Alignment
Figure B.4: Grokking and Spectral Dynamics in Modular addition. Top row: 30% data and no weight decay. 2nd row: 30% data and weight decay 1.0 (grokking), using hyperparameters from Nanda et al. (2023). 3rd row: 70% data with no weight decay (slingshot), using hyperparameters from Thilak et al. (2022). Bottom row: 90% data and no weight decay. (a): Training and validation error. (b): Singular value evolution is visualized for the first attention parameter, where each line represents a single singular value and the color represents the rank. (c): Effective rank of all layers (Eqn. 4.1). (d): Alignment (Eqn. 4.3) between the embedding and the first attention parameter is also visualized, where the y-axis corresponds to index i of the diagonal. One can see that grokking co-occurs with low-rank weights. In addition, there is an alignment that begins early in training that evolves up the diagonal. Without weight decay and with less data, neither grokking nor the other phenomena occur during the entire training budget, but using more data, even without weight decay, leads to low-rank solutions from the beginning of training. The slingshot case follows a similar trend, though the validation loss is gradually fit. Across cases with good generalization, parameters are lower rank, and alignment is also more prevalent in the top ranks.

(a) Val. Err
(b) SVs
(c) Eff. Rank
(d) Alignment
(e) Align. Score
Figure B.5: Varying initialization scale affects the dynamics of an MLP trained on CI-FAR10. From top to bottom we use default PyTorch initialization multiplied by the constants {0.001, 0.01, 0.05, 0.1, 0.5, 1.0}. Notably, alignment occurs slightly more strongly with smaller initialization, as predicted by Woodworth et al. (2020) for deep linear models.

(a) Val. Err
(b) SVs
(c) Eff. Rank
(d) Alignment
(e) Align. Score
Figure B.6: The effect of varying learning rate on an MLP trained on CIFAR10. From top to bottom we use learning rates {0.001, 0.01, 0.1}. Notably, alignment increases with larger learning rate, agreeing with the deep linear setting in Ghosh et al. (2025).

(a) Error
(b) SV Evolution
(c) Effective Rank
(d) Alignment
Figure B.7: Plots for averages of 3 seeds of grokking modular addition with Transformers (Figure 4.2). We see a stark transition to low-rank when validation error decreases.

(a) Init
(b) Ep. 2500
(c) Ep. 5000
(d) Ep. 5500
(e) Ep. 6000
(f) Ep. 7000
(g) Ep. 8000
Figure B.8: Alignment matrix (Eqn. 4.3) over time. We see that the majority of signal is concentrated in the diagonal, an example of why we consider the diagonal in the rest of the work.

(a) Val. Err
(b) SVs
(c) Eff. Rank
(d) Alignment
(e) Align. Score
Figure B.9: Different architectures all trained on CIFAR10. From top to bottom, MLP, LeNet-5 and VGG-16. We see roughly consistent spectral dynamics across architectures within the same task.

(a) VGG
(b) UNet
(c) LSTM
(d) Transformer
Figure B.10: Duplicate of Figure 4.6 with shared color scaling between settings.
Appendix C
Diverse Feature Learning
For all results we train 5 seeds to get an estimate of the error.
C.1 PGD Experiments with Image Classification
We train simple 4-layer MLPs with hidden dimension of 256 on the MNIST-CIFAR binary classification task. We use Adam with a tuned learning rate of 0.005 and a batch size of 128 without regularization. We train for 50 rounds of PGD or until training stops (as no ranks are left). We apply PGD to all layers except the last due to the low rank of the last layer. Each round of PGD projects off of 3 additional ranks. We do not apply PGD to biases as when ablating this we found no difference in the results.
C.2 CKA Experiments with Image Classification
For all of our PGD and CKA experiments with image classification from ImageNet to CIFAR100 we use ResNet-18 with the Adam optimizer, a learning rate of 3e-4, batch size of 512 and weight decay of 1e-4. For speed of experimentation we restrict to 10 of the 1000 classes in ImageNet. For CKA and PGD jobs we initially start with PGD and CKA at all layers, then sweep this choice over different subsets of blocks and layers. In the case of PGD instead of an absolute number of ranks, we project off 5% of the probability mass of the singular values at each round. We do this as ResNet-18 has very different layer dimensions in different places. For CKA, the final best configuration corresponds to applying CKA after projection layers back into the residual stream (the second convolutional models, .conv2, in each block). We also sweep the loss coefficient on a log grid from 0.1 to 1000, landing on an optimal choice of 10.
In each round, we train 50 epochs, and we train for 10 rounds. In the case of the larger model, we increase the width by 4x in every dimension, following Zhang and Bottou (2023), which is more than 10 times the parameters and compute.
C.3 Ensembling in Language Modeling
For all experiments with language models, we train a simple Transformer Vaswani et al. (2017) language model with 8 layers, 512 hidden dimension, 8 heads, and the GPTNeoX-Tokenizer (Black et al., 2022) on BabiStories (Zhang et al., 2025). We train 6 rounds for 10 epochs each, with a batch size of 128, a sequence length of 128 and a warmup stable decay (Hu et al., 2024) learning rate schedule. We compare ensembles to a model 3x as wide, which due to embeddings is a similar number of parameters but more compute.
For ensembling evaluations, except where otherwise noted, we average the probability distributions of the models before measuring loss.
We provide specific details for tuning the different diversity methods below.
C.3.1 CKA
For CKA, we experiment with which layers to place the loss on, from attention only, mlp only, early blocks, late blocks, middle blocks, and all layers. We also tune the coefficient on a log-spaced grid from 0.1 to 30.0 where it diverges. The best setting corresponds to only the mlp layers, which may make sense as this is the final output of each Transformer block, similar to the final convolution layers in residual blocks in the image classification experiments.
C.3.2 NCL
For NCL experiments, we tune the additional coefficient on a log spaced grid from 0.01 to 10, experiment with whether to isolate NCL only to the correct class, or to the top-k values tuned from 1 to 5 to 10. For the top-p version of the experiments, we similarly tune from 0.01 to 10, while considering a top-p threshold in {0.05, 0.1, 0.25, 0.5, 0.75, 0.9}.
C.3.3 Focal weighting
For focal weighting experiments, we tune the weighting coefficient from 0.01 to 10 on a log-spaced grid. We also tune the top-p version similarly to the case of NCL with a value in {0.05, 0.1, 0.25, 0.5, 0.75, 0.9}.
C.3.4 Entropy weighting
For entropy weighting experiments, we proceed with the same tuning process as for focal weighting.
C.4 Ensemble Weighting
For experiments on ensemble weighting, we run evaluations with a temperature of 0.01 to 100 on a log-spaced grid, and consider interpolating with the uniform distribution with a coefficient .