## Introduction and The Premise Norris: Welcome back to Mechanical Dreams, the podcast where we sift through the noise to find the signal in machine learning and natural language processing. I am your host, Professor Norris, and across the table from me is my brilliant student and our resident paper-hunter, Linda. Linda, what is on the menu today? Linda: Hi everyone! And thanks, Professor! Today, I brought a paper that is going to make you question a fundamental assumption we all make when training models. It is called 'Weight Decay Improves Language Model Plasticity' by Tessa Han, Sebastian Bordt, Hanlin Zhang, and Sham Kakade. Norris: Weight decay? Really? Linda, I have been tuning weight decay since you were in kindergarten. It is just L2 regularization! We use it to shrink weights and control model capacity so we do not overfit. Are you telling me researchers are still finding new things to say about multiplying a scalar by the weights? Linda: I am! And it is not just a minor detail, it challenges how the entire industry evaluates language model pretraining. Think about how modern large language models are built. It is a two-stage process. First, we have a massive pretraining phase to produce a base model. Then, a completely different phase for supervised fine-tuning, alignment, and reinforcement learning. Norris: Right, the classic pretrain-then-post-train pipeline. Pretraining teams optimize their hyperparameters, burn millions of GPU hours, and pop champagne when that validation loss curve hits a new low. Then they toss the model over the wall to the post-training team. Linda: Exactly. And that 'tossing over the wall' is where the problem lies! The standard practice is to optimize pretraining hyperparameters, like our old friend weight decay, solely to minimize that base model validation loss. But this paper asks a dangerous question: what if the lowest pretraining loss does not actually give you the most capable downstream model? Norris: Wait, hold on. That is a bold claim. Everyone wants that pretraining loss curve to go down. The scaling laws literally rely on it! Are you saying a mathematically worse base model can yield a better fine-tuned model? Linda: Yes! And that is exactly what they proved. They look at pretraining through a different lens: model plasticity. Plasticity is the base model ability to successfully adapt to new downstream tasks upon additional training. They did systematic experiments on models up to 4 billion parameters, like Llama-2 and OLMo-2, and found that larger weight decay actually increases the plasticity of the pretrained model. The result is a counterintuitive trade-off. Norris: So, let me get this straight. If I crank up the weight decay, my pretraining validation loss might actually take a hit. I might look at my dashboard and think I ruined the run. But when the fine-tuning team takes that 'ruined' model and adapts it, say for chain-of-thought reasoning, it adapts better and scores higher? Linda: Spot on! Optimizing for pretraining loss alone is an incomplete proxy. It measures how well the model learned the pretraining distribution, but plasticity captures how readily that model can be reshaped. Two models with the same pretraining loss can have completely different levels of plasticity, all because of how weight decay was tuned. ## Challenging the Validation Loss Paradigm Norris: Okay, Linda, you have hooked me. We ended the last segment talking about how a seemingly ruined pretraining run might actually be better for fine-tuning. Let us get into the hard numbers. How did the authors actually prove this? Because big claims require big experiments. Linda: They definitely delivered on the experiments. They pretrained multiple versions of Llama-2 and OLMo-2 models, ranging up to 4 billion parameters. They swept through different weight decay values, from zero all the way up to ten, keeping everything else exactly the same. Norris: And they looked at two different training regimes, right? The compute-optimal twenty tokens-per-parameter, and an overtrained one hundred and forty tokens-per-parameter regime? Linda: Exactly. Let us look at the compute-optimal models first. The standard default for weight decay in the AdamW optimizer is usually zero point one. And if you just look at the pretraining validation loss, zero point one does look pretty good. But the absolute lowest validation loss was actually achieved at a weight decay of zero point five or zero point six for most of the models. Norris: Interesting, so even for just pretraining, the default of zero point one might be a bit too low. Linda: Right! But here is where the paradigm really shifts. They did not stop at pretraining. They took all those checkpoints and fine-tuned them on twelve different downstream tasks. Six chain-of-thought reasoning datasets like MetaMathQA and PubMedQA, five language understanding tasks, and even a safety alignment task. Norris: And how did those downstream evaluations turn out? Let me guess, the models trained with zero point five weight decay won out? Linda: Nope! That is the twist. For downstream performance in the compute-optimal regime, the best weight decay was actually one point zero. A full order of magnitude larger than the default, and significantly higher than what minimized the pretraining loss. Norris: Fascinating. So the model with a weight decay of one point zero had a worse pretraining validation loss than the zero point five model, but it ultimately became a smarter, more capable model after supervised fine-tuning? Linda: Exactly. The authors explicitly plot pretraining validation loss against downstream accuracy. You can see clearly that the relationship is not perfectly predictive. Optimizing solely for that validation metric fails to yield the model with the highest downstream performance. Norris: That really throws a wrench in how we track progress. If I am training a model, I can monitor the validation loss in real-time. I cannot easily measure its plasticity until I spend time and compute fine-tuning it. Did they find this holds true for the overtrained regime as well? Linda: It does, but the optimal values shift. When they trained the OLMo-2 models for much longer, up to a hundred and forty tokens per parameter, the lowest pretraining loss was achieved with the default weight decay of zero point one. But again, for the best downstream performance, they had to increase the weight decay to zero point three. Norris: So the gap persists regardless of the training duration. Higher weight decay preserves the model's ability to flex and adapt. It acts like a buffer against rigid memorization during pretraining. Linda: Right. The authors note that the optimal weight decay is entirely subjective. It depends completely on your intended objective. If you just want a base model, sure, minimize the pretraining loss. But if you want a foundation model designed for post-training, you need to rethink your hyperparameter sweeps and evaluate end-to-end. Norris: This is a wake-up call for the entire pipeline. But it begs the question: what exactly is happening inside the neural network's weights to cause this? Why does a higher weight decay keep the model so plastic? Linda: That is exactly what the authors investigated next. They cracked open the models to look at their internal representations and attention matrices. ## The Mechanics of Plasticity Norris: Alright, Linda. You left us on a cliffhanger. We know that a higher weight decay makes the model more plastic and better at downstream tasks, even if it hurts the initial validation loss. But why? If it is not just arbitrarily shrinking weights to control capacity, what is happening inside the network? Linda: The authors explore three distinct mechanistic explanations, and they paint a really complete picture of what weight decay actually does. Let us start with the first one: weight decay encourages linearly separable representations. Norris: Linearly separable representations? Meaning the features the model learns are organized in a way that a simple linear boundary can distinguish them? How did they test that? Linda: Exactly. They used linear probing. They froze the pretrained models that had different weight decay values, and then trained a simple linear classifier on top of their last-token embeddings for a given layer. They tested this on two tasks: sentiment classification using the Stanford Sentiment Treebank, and topic classification using the AG News dataset. Norris: Ah, the classic linear probe. It is a great way to measure how much useful, accessible information is packed into an embedding. So, what did the probes reveal? Linda: They found that higher weight decay consistently led to higher probing accuracy across almost every layer of the model. The representations from models pretrained with larger weight decay were much more linearly separable. Norris: That makes perfect sense if you think about the fine-tuning phase. If your base model already organizes concepts into cleanly separated linear spaces, the fine-tuning process does not have to do the heavy lifting of representation learning. It effectively starts at a much better initialization point. It just has to align those existing, well-structured features to the specific downstream task. Linda: Precisely! And the authors actually showed a strong positive correlation between that linear probing accuracy and the downstream fine-tuning performance. But that is just mechanism number one. Mechanism number two is where things get really mathematically interesting. It is about the attention matrices. Norris: Oh, attention matrices. Now you are speaking my language. Are we talking about the query, key, and value projections? Linda: Yes. Building on some prior theoretical work by Kobayashi and colleagues, the authors investigated how weight decay affects the effective dimensionality, or the rank, of these matrices. They computed something called the pseudo-rank, which measures how many singular values you need to capture 95 percent of the matrix's mass. Norris: I am guessing that more weight decay pushes the matrices toward a lower rank? Linda: It does, but the baseline was what surprised them. With the industry default weight decay of 0.1, the attention matrices were actually near full-rank. But when they increased the weight decay to 1.0, the rank of the query-key product matrix dropped by roughly a factor of two. Norris: A factor of two! That is a massive reduction in the information bottleneck. By squashing the rank of the query-key matrix, the model is physically constrained from memorizing overly complex, high-dimensional noise in the pretraining data. It is forced to learn simpler, broader, and more robust matching patterns between tokens. Linda: That is exactly their conjecture. A lower-rank configuration prevents overfitting to the quirks of the pretraining distribution. But here is the most fascinating detail: while the query-key matrix rank collapsed, the value-projection matrix remained nearly full-rank, even at a weight decay of 1.0. Norris: Wait, really? The value-projection matrix was unaffected? That is an incredibly elegant dynamic. Think about what that means! The model restricts how it matches tokens to one another by bottlenecking the queries and keys, but it preserves its full capacity to retrieve and project the actual information payload through the values. Linda: It is such a cool finding, right? They noticed this was especially pronounced in the Llama-2 models. The value-projection rank stayed stable up to a weight decay of 1.0, and if they pushed it higher than that, the rank finally collapsed, which perfectly correlated with a huge drop in downstream performance. Norris: So that explains why you cannot just push weight decay to infinity. Once you crush the value matrix, the model loses its memory. Okay, so we have cleaner representations and a regularized attention mechanism. What is the third piece of the plasticity puzzle? Linda: The third mechanism ties it all together into the classic stability-plasticity dilemma. It is about how weight decay reduces overfitting on the training data. The authors measured this using the train-validation gap. Norris: To be clear for the audience, the train-validation gap is simply the model's loss on the validation set minus its loss on the training set. A gap of zero means no overfitting, while a larger gap means the model has memorized the training data at the expense of generalizability. Linda: Exactly. And they plotted this gap for the OLMo-2 models. They found that as the weight decay parameter increases, the train-validation gap monotonically decreases. The models with larger weight decay were objectively less overfitted to the pretraining corpus. Norris: Which is exactly what you want for plasticity. If a model has completely memorized its past, it is often too rigid to learn anything new without catastrophically forgetting what it already knows. By keeping the model slightly less committed to the pretraining data, weight decay keeps it young, so to speak. It stays malleable. Linda: That is a great way to put it. Less overfitting means less forgetting of prior data when you introduce new tasks. Together, these three mechanisms explain why a seemingly worse base model is actually a much better starting point for post-training. Norris: This is a beautifully complete picture. It is rare to see a paper tackle the empirical phenomenon and then successfully hunt down the linear algebra and the representation theory behind it. But surely, there is a catch. If we optimize strictly for plasticity, we have to be losing something else in the process, right? ## Trade-offs and Practical Implications Linda: You hit the nail on the head, Professor. It all comes back to the stability-plasticity dilemma. When a model is highly plastic and readily adapts to new data during fine-tuning, the natural concern is whether it loses its previous knowledge. Does it suffer from catastrophic forgetting? Norris: Exactly. If I fine-tune a model to be incredibly good at chain-of-thought math problems, I do not want it to suddenly forget how to answer basic reading comprehension questions. How did they measure this stability trade-off? Linda: They evaluated the upstream performance of both the pretrained base models and the fine-tuned models on five general language understanding and commonsense benchmarks, like HellaSwag and PiQA. They defined stability as the difference in upstream performance between the fine-tuned model and its original pretrained version. Norris: And let me guess, the highly plastic models with a weight decay of 1.0 forgot more of their original training? Linda: It is nuanced! The authors found that models with higher plasticity actually tended to have higher upstream performance after fine-tuning overall. However, this higher plasticity did sometimes come with a trade-off in stability, meaning the performance drop from their initial pretrained state was occasionally larger. Norris: That is a very subtle distinction. So the act of aggressively learning new tasks can overwrite some older knowledge, but because the highly plastic model is so much better overall, its absolute performance on those old tasks might still be competitive. But wait, does cranking up the weight decay hurt the base model's general knowledge before any fine-tuning even happens? Linda: That is the best part. The authors checked that specifically and found that higher weight decay does not seem to affect the upstream performance of the pretrained base models themselves. For example, the Llama-2 half-billion parameter model scored around forty-one percent on upstream tasks whether weight decay was zero point five or one point zero. Norris: So you get a base model that is just as smart on general knowledge, but significantly more adaptable when you need to align it or teach it specialized skills. That sounds almost like a free lunch for the compute-optimal runs. But what about those heavily overtrained models you mentioned in chapter two? Linda: That is where the free lunch ends and the hard engineering decisions begin. In heavily overtrained scenarios, like the OLMo model trained on one hundred and forty tokens per parameter, the authors caution that the benefits of achieving a markedly lower pretraining validation loss might actually outweigh the benefits of extra plasticity. Norris: Ah, so we cannot just blindly set weight decay to 1.0 for every run from now on. Weight decay does multiple jobs. It controls plasticity, as this paper proves, but it also governs optimization stability, convergence rates, and capacity control over long training horizons. Linda: Precisely. A single weight decay value might not satisfy all your objectives at once. This brings us to the biggest practical implication of the paper: we have to stop operating in silos. Pretraining teams and post-training teams need to collaborate on end-to-end hyperparameter tuning. Norris: I completely agree. It is a massive shift in how industry labs manage their compute budgets. You can no longer just run a grid search on your base model, pick the checkpoint with the lowest validation loss, and throw it over the fence to the alignment team. You actually have to fine-tune your sweep candidates to see which one behaves best down the line. Linda: It definitely makes hyperparameter optimization more expensive and complex. But as this paper shows, selecting pretraining hyperparameters based solely on minimal validation loss can actively fail to yield the highest performance on downstream tasks. If you want the best final product, you have to evaluate the whole pipeline. ## Conclusion Norris: Well, Linda, you have done it again. When we started this episode, I was absolutely convinced that weight decay was a closed book. Just a dusty regularization trick. But Han and her colleagues have completely flipped my perspective. I officially concede my skepticism. Linda: I am glad I could change your mind, Professor! It really is a testament to how fast this field moves. Even the oldest techniques in deep learning still have secrets to reveal when we scale them up to billions of parameters and shift our focus to the full pretrain-then-post-train pipeline. Norris: It makes you wonder what other hyperparameter assumptions we are blindly carrying over from the old days. There is a lot of room for future work here. Do these plasticity benefits hold up for multimodal foundation models, or pure vision transformers? We might need to rethink our defaults everywhere. Linda: That is exactly what the authors suggest for future research! As foundation models become more complex and we care more about downstream safety alignment and specialized reasoning, optimizing for malleability rather than just base memorization is going to be crucial. I am sure we will see follow-up papers extending this to new domains very soon. Norris: I will be waiting for them. Until then, this is a fantastic reminder to all the practitioners and graduate students listening: evaluate your models end-to-end, and do not blindly worship the validation loss curve. Thank you, Linda, for bringing this excellent paper to our attention. Linda: It was my pleasure, Professor. Thanks for being so open to rethinking the classics! Norris: Always. And thank you to our audience for joining us on another episode of Mechanical Dreams. Keep your gradients flowing, your representations linearly separable, and your weights perfectly decayed. We will see you next week!