# Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting

- **ID:** 527
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2605.02105
- **Authors:** Ishaan Watts, Catherine Li, Sachin Goyal, Jacob Mitchell Springer, Aditi Raghunathan
- **Venue:** arXiv / Carnegie Mellon University
- **Published:** 2026
- **Tags:** sam, catastrophic-forgetting, sharpness, pretraining, quantization, olmo, dclm, icml, cmu
- **Topics:** pretraining, catastrophic forgetting, sharpness-aware minimization
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/527

## Summary

Treats forgetting as local Hessian curvature along the fine-tuning direction. SAM, larger peak LR, and shorter WSD annealing each improve the learning–forgetting Pareto frontier even when they do not lower base pretraining loss. OLMo-60M / 192B tokens: SAM cuts StarCoder forgetting ~80% at matched FT loss; gap widens with token budget. Late-only SAM during WSD decay (~10% of steps) recovers much of full-SAM robustness. OLMo-2-1B mid-train 50B tokens: SAM vs OLMo recipe reduces forgetting 31% after MetaMath SFT and 40% after 4-bit NF4 quantization despite a slightly weaker base (42.9 vs 43.2 avg). Hessian analysis: SAM and large peak LR lower fine-tuning-directional sharpness. No official code on abs.

## Attributes

- **Purpose:** Pretrain toward flatter minima so post-training and quantization retain more base-model capability
- **Scale:** OLMo 20M/60M/150M on 4B–192B DCLM; >80 pretraining runs and ~3500 FT runs (StarCoder/GSM8K/StackMathQA/Tülu-3/MusicPile); OLMo-2-1B 50B-token Dolmino mid-train
- **Time period:** 2026-05-04 (arXiv 2605.02105 v1). 43 pages, 64 figures, 9 tables. Accepted to ICML 2026. HF paper publishedAt 2026-05-04.

## From the source (fetched 2026-10-03)

- **Published:** May 4, 2026 (arXiv)
- **arXiv categories:** cs.LG, cs.CL (arXiv)
- **Author comment:** 43 pages, 64 figures, 9 tables, accepted to ICML2026 (arXiv)
- **Citations:** 10 (1 influential) (Semantic Scholar)
- **References:** 62 (Semantic Scholar)

## 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.

## Research notes

- Primary: arxiv abs (cs.LG; also cs.CL). License not stated on abs/HTML at check. CMU (Raghunathan group); NSF GRFP DGE2140739; support Apple/Google/Jane Street/FLAME. No official code on abs. HF paper page 0 upvotes; no linked models/datasets. Discord posted abs. Uses public DCLM/Dolmino and FT sets; no new corpus, so no datasets_local row. License field left blank per catalog convention.

## Similar entries

- [ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining](https://papers.projxon.ai/entries/785) (paper, #785)
- [SFT, RL, and On-Policy Distillation Through a Distributional Lens](https://papers.projxon.ai/entries/1095) (post, #1095)
- [Local Support Learning](https://papers.projxon.ai/entries/861) (paper, #861)
- [Continual Learning via Sparse Memory Finetuning](https://papers.projxon.ai/entries/540) (paper, #540)
- [Efficient Pre-Training with Token Superposition](https://papers.projxon.ai/entries/524) (paper, #524)
- [Understanding Reasoning from Pretraining to Post-Training](https://papers.projxon.ai/entries/688) (paper, #688)
