Training Dynamics Impact Post-Training Quantization Robustness

Albert Catalan-Tatjer, Niccolò Ajroldi, Jonas Geiping

Post-training quantization (PTQ) is the "secret sauce" of modern AI deployment. It allows us to squeeze massive Large Language Models (LLMs) into consumer GPUs by converting 16-bit weights into 4-bit or even 3-bit formats. But there’s a catch: as we train models on more and more data, they seem to become increasingly "brittle" and sensitive to this compression process.

A new paper titled "Training Dynamics Impact Post-Training Quantization Robustness" challenges the conventional wisdom that this brittleness is an inevitable consequence of scale. Instead, the authors show that the way we manage learning rates and training hyperparameters is the real culprit—and they offer a roadmap for training models that are born to be quantized.

TL;DR

Quantization robustness isn't just about how much data a model has seen; it's driven by the learning rate schedule. The authors discover that quantization error spikes specifically during the learning rate decay phase, and they demonstrate that techniques like higher peak learning rates and weight averaging can significantly improve a model's ability to handle low-bit compression.

What Problem Does This Paper Address?

As the industry moves toward training "overtrained" models (relatively small models trained on trillions of tokens), researchers have noticed a worrying trend: these models often suffer much higher performance degradation when quantized compared to their less-trained counterparts.

Previous studies suggested a "scaling law" for quantization, implying that more data inherently makes models harder to quantize. This paper investigates whether this is a fundamental law of nature or a side effect of our current training recipes. The goal is to understand the relationship between training dynamics—how a model's weights evolve over time—and its eventual quantization robustness.

Methods & Datasets

The researchers took a two-pronged approach:

  1. "In the Wild" Analysis: They analyzed the training trajectories of major open-source model families, including OLMo, SmolLM, and others, covering models up to 32B parameters and 15 trillion tokens.
  2. Controlled Experiments: To isolate variables, they trained their own 70M and 160M parameter transformer models on up to 100B tokens using the FineWebEdu dataset. They specifically tested different learning rate (LR) schedules (Cosine vs. Warmup-Stable-Decay) and peak LR values.
  3. Geometric Analysis: They used Hessian statistics (sharpness and trace) and 2D loss landscape visualizations to see how the "shape" of the optimization space changes during training and how that shape affects quantization.

Models were evaluated across 12 standard benchmarks (including ARC, HellaSwag, MMLU, and GSM8K) to measure real-world performance drops after quantization.

Key Insights and Ideas

The "Decay Spike"

In models using a Warmup-Stable-Decay (WSD) schedule, quantization error remains relatively flat during the long "stable" phase. The error only surges when the learning rate begins to decay. This suggests that the final "cooldown" phase of training—which helps full-precision performance—is exactly what makes models brittle.

Quantization error and validation loss during training

Flatness is Robustness

Using Hessian analysis, the authors found that higher learning rates keep models in "flatter" regions of the loss landscape. Quantization is essentially a small perturbation of the weights; in a flat basin, this perturbation doesn't move the loss much. In a sharp basin (often caused by LR decay), the same perturbation sends the loss skyrocketing.

Averaging is a "Free Lunch"

The authors found that Weight Averaging (LAWA) and Model Souping (averaging weights from different points in training) significantly improve quantization robustness. Averaging acts as a regularizer that promotes flatter minima without the detrimental effects of a sharp LR cooldown.

Quantization error across OLMo models showing the benefits of Model Souping

Challenging the Scaling Myth

The paper argues that previous "scaling laws" for quantization were confounded by LR schedules. If you control for the training dynamics, increasing the dataset scale does not necessarily make a model more brittle.

Key Results

  • Evidence at Scale: For models trained on trillions of tokens, quantization error stayed constant for the vast majority of training. It only spiked during the final annealing phase, proving that token count alone isn't the driver of brittleness.
  • LR Impact: In controlled runs, models trained with a higher peak LR (1e-2) achieved significantly better 3-bit and 4-bit quantized performance than those trained with a lower peak LR (3e-4), even when both models had similar full-precision validation losses.
  • Weight Averaging Success: Using Latest Weight Averaging (LAWA) on a 160M model allowed it to match or exceed the 3-bit quantization performance of models that underwent traditional LR decay, effectively "healing" the brittleness.

Limitations and Future Work

  • Architecture Scope: The study focused on standard dense transformer architectures. The authors note that the dynamics might differ for Sparse Mixture-of-Experts (MoE) or sub-quadratic architectures like Mamba.
  • Optimizer Variety: The experiments primarily used AdamW and AdamC. Other optimizers or "schedule-free" training methods warrant further investigation.
  • Heuristics vs. Theory: While the link between flatness and quantization is empirically strong, a rigorous theoretical framework connecting specific hyperparameter choices to bit-level sensitivity remains an open challenge.

By shifting the focus from how much we train to how we train, this research provides a vital toolkit for engineers looking to build the next generation of deployable, low-bit LLMs.

Summary updated

BibTeX
@inproceedings{catalantatjer2026training,
  author = {Albert Catalan-Tatjer and Niccolò Ajroldi and Jonas Geiping},
  title = {{Training Dynamics Impact Post-Training Quantization Robustness}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ZXr3Xx7Z1O},
}
Figure