scimeatlas

Research map / Architectures and efficiency / RNNs and normalization

Cramming: Training a Language Model on a single GPU in one day.

Jonas Geiping, Tom Goldstein

ICML 2023Architectures and efficiency › RNNs and normalizationapproach: Neural scaling lawsopen problems in this approach30 citations (OpenAlex)

University of Maryland, College Park

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
6improved
6hurt

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 the final batch size from 1536 to 4032 for filtered and sorted C4 · MNLI (m) · accuracy: 81.4 -> 82.5 Improved

What 943 accepted papers report for this change

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 changedWhereMeasuredEffect
Use the modified cramming recipe instead of the normal BERT protocolBERT trained for one day on a 2080ti · GLUE-devGLUE: 52.0 -> 78.3Improved
Use the modified cramming recipe instead of the cited one-day BERT recipeBERT trained for one day on a 2080ti · GLUE-devGLUE: 69.7 -> 78.3Improved
Replace selected data with original data (ablation)crammed BERT · GLUE-devGLUE: 78.6 -> 77.3Hurt
Replace the modified training setup with the original training recipe (ablation)crammed BERT · GLUE-devGLUE: 78.6 -> 50.2Hurt
Replace the modified architecture with the original architecture (ablation)crammed BERT · GLUE-devGLUE: 78.6 -> 27.7Hurt
Use minimal training modifications rather than the full modified training setup (ablation)crammed BERT · GLUE-devGLUE: 78.6 -> 78.1Hurt
Use minimal architecture modifications rather than the full modified architecture (ablation)crammed BERT · GLUE-devGLUE: 78.6 -> 76.7Hurt
Filter C4 sequences that are poorly compressibleC4-Subset · MNLI (m)accuracy: 79.1 -> 79.9Improved
Sort filtered C4 sequences by average unigram token prevalenceC4-Subset, filtered with t=0.3 · MNLI (m)accuracy: 79.9 -> 81.4Improved
Increase the final batch size from 1536 to 4032 for filtered and sorted C4C4-Subset, filtered with t=0.3, sorted · MNLI (m)accuracy: 81.4 -> 82.5Improved
Increase final batch size to 8064 for filtered C4C4-Subset, filtered with t=0.3 · MNLI (m)accuracy: 82.2 -> 80.9Hurt
Remove gradient clipping (ablation)Crammed BERT trained for two days on eight A6000 GPUs · GLUE-devGLUE: 79.8 -> 80.6Improved

Open problems in neural scaling laws

Do fitted scaling laws still hold at frontier scale and under other hyperparameters, architectures and tasks?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy