Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting
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.
- Venue
- arXiv / Carnegie Mellon University
- 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.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- May 4, 2026
- arXiv categories
- cs.LG, cs.CL
- Author comment
- 43 pages, 64 figures, 9 tables, accepted to ICML2026
- Citations
- 10 (1 influential)
- References
- 62
Abstract (from arXiv)
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.
Tags
Topics
pretraining, catastrophic forgetting, sharpness-aware minimization
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
- Paper ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining
- Post SFT, RL, and On-Policy Distillation Through a Distributional Lens
- Paper Local Support Learning
- Paper Continual Learning via Sparse Memory Finetuning
- Paper Efficient Pre-Training with Token Superposition
- Paper Understanding Reasoning from Pretraining to Post-Training