Research map / Optimization / Implicit bias and generalization
Sharpness-Aware Minimization Improves Language Model Generalization
Dara Bahri, Hossein Mobahi, Yi Tay
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Larger batch size
increase ascent micro-batch size a · SuperGLUE dev · score: 78.5 at a=32, little change past it Improved
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add SAM during fine-tuning | T5.1.1 Base · SuperGLUE dev | score: 75.3 -> 78.5 | Improved |
| add SAM during fine-tuning | T5.1.1 XL · SuperGLUE dev | score: 87.2 -> 89.1 | Improved |
| add SAM during fine-tuning | T5.1.1 Large · GLUE dev | score: 86.2 -> 88.3 | Improved |
| add SAM during fine-tuning | T5.1.1 Base · Natural Questions test | EM: 18.1 -> 20.6 | Improved |
| add SAM during fine-tuning | mT5 · TyDiQA-GoldP | F1/EM: modest, 1-2% range | Improved |
| add SAM during fine-tuning on 5% of training data | T5.1.1 Base · SuperGLUE dev (5% data) | score: 52.9 -> 56.7 | Improved |
| add SAM during fine-tuning on 5% of training data | T5.1.1 Base · Natural Questions test (5% data) | F1/EM: 7.9 / 4.8 -> 8.6 / 5.6 | Improved |
| train on single CBQA tasks instead of mixture with SAM (ablation) | T5.1.1 + SAM · CBQA tasks | F1/EM: Base NQ 26.3 / 21.1 -> 27.8 / 22.6 | Improved |
| increase model size | SAM gains · SuperGLUE/GLUE/CBQA | gain from SAM | No clear effect |
| vary rho for SAM (ablation) | T5.1.1 Base · SuperGLUE dev | score: best 78.5 at rho 0.15; all others 76.6-77.8 | Improved |
| increase ascent micro-batch size a (ablation) | SAM on T5.1.1 Base · SuperGLUE dev | score: 78.5 at a=32, little change past it | Improved |
| increase sharpness m (ablation) | SAM on T5.1.1 Base · SuperGLUE dev | score: 78.6 (m=1) -> 78.1 (m=2) | Hurt |
Open problems in sharpness-aware minimization theory
Does sharpness-aware minimization help beyond small image benchmarks, and at what extra cost?
- Tested only on small models and small image benchmarks. · 4 papers state it
- Key hyperparameters must be tuned for each model or dataset. · 4 papers state it
- The variants add training cost per step. · 3 papers state it
Closest papers by meaning
- Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models (EMNLP 2022 · similarity 0.91)
- SparseLLM: Towards Global Pruning of Pre-trained Language Models (NeurIPS 2024 · similarity 0.89)
- Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch (ICML 2024 · similarity 0.88)
- Rethinking Optimization and Architecture for Tiny Language Models (ICML 2024 · similarity 0.87)
- Non-Vacuous Generalization Bounds for Large Language Models (ICML 2024 · similarity 0.87)
- An Efficient Pruner for Large Language Model with Theoretical Guarantee (ICML 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.