English

Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting

Machine Learning 2026-05-05 v1 Computation and Language

Abstract

Pretraining optimizers are tuned to produce the strongest possible base model, on the assumption that a stronger starting point yields a stronger model after subsequent changes like post-training and quantization. This overlooks the geometry of the base model which controls how much of the base model's capabilities survive subsequent parameter updates. We study three pretraining optimization approaches that bias optimization toward flatter minima: Sharpness-Aware Minimization (SAM), large learning rates, and shortened learning rate annealing periods. Across model sizes ranging from 20M to 150M parameters, we find that these interventions consistently improve downstream performance after post-training on five common datasets with up to 80% less forgetting. These principles hold at scale: a short SAM mid-training phase applied to an existing OLMo-2-1B checkpoint reduces forgetting by 31% after MetaMath post-training and by 40% after 4-bit quantization.

Keywords

Cite

@article{arxiv.2605.02105,
  title  = {Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting},
  author = {Ishaan Watts and Catherine Li and Sachin Goyal and Jacob Mitchell Springer and Aditi Raghunathan},
  journal= {arXiv preprint arXiv:2605.02105},
  year   = {2026}
}

Comments

43 pages, 64 figures, 9 tables, accepted to ICML2026

R2 v1 2026-07-01T12:47:47.884Z