Papers › Resolving Discrepancies in Compute-Optimal Scaling of Language Models

Resolving Discrepancies in Compute-Optimal Scaling of Language Models

27 Jun 2024arXiv:2406.19146archive 2025-07-28

Tomer Porian, Mitchell Wortsman, Jenia Jitsev, Ludwig Schmidt, Yair Carmon

Kaplan et al. and Hoffmann et al. developed influential scaling laws for the optimal model size as a function of the compute budget, but these laws yield substantially different predictions. We explain the discrepancy by reproducing the Kaplan scaling law on two datasets (OpenWebText2 and RefinedWeb) and identifying three factors causing the difference: last layer computational cost, warmup duration, and scale-dependent optimizer tuning. With these factors corrected, we obtain excellent agreement with the Hoffmann et al. (i.e., "Chinchilla") scaling law. Counter to a hypothesis of Hoffmann et al., we find that careful learning rate decay is not essential for the validity of their scaling law. As a secondary result, we derive scaling laws for the optimal learning rate and batch size, finding that tuning the AdamW β₂ parameter is essential at lower batch sizes.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.19146")

Code

Syntology Ran 10 of 16 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 15 samples from 2 repositories, 9 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

formll/resolving-scaling-law-discrepancies officialmentioned in papermentioned on GitHub report
formll/resolving-scaling-law-discrepencies officialmentioned in papermentioned on GitHubMIT report
hadasah/scaling_laws mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 10 ran; 2 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
3ran
6unverified

Licence: 1 of the 16 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_zero formll/resolving-scaling-law-discrepencies/paper_tables.py official repository ran fingerprinted MIT (permissive) · 6a004a1784aa8d01 · report
custom_huber_loss formll/resolving-scaling-law-discrepancies/analysis.py official repository ran · violated contract fingerprinted MIT (permissive) · 752782550c94c617 · report
fetch_flop formll/resolving-scaling-law-discrepancies/analysis.py official repository ran · honoured contract MIT (permissive) · 15bb4fddf111e4b7 · report
get_color formll/resolving-scaling-law-discrepencies/utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 8d1a5df6af7bf845 · report
get_linestyle formll/resolving-scaling-law-discrepencies/utils.py official repository ran fingerprinted MIT (permissive) · 99378ea8da320872 · report
get_marker formll/resolving-scaling-law-discrepencies/utils.py official repository ran fingerprinted MIT (permissive) · 9bcb697d9afad429 · report
huber_loss_objective formll/resolving-scaling-law-discrepancies/analysis.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · cd1ae572668e4ce4 · report
precise_flops_per_token_chinchilla formll/resolving-scaling-law-discrepencies/data.py official repository ran · violated contract fingerprinted MIT (permissive) · fc9bc7439b7fd07b · report
precise_param_count_open_lm formll/resolving-scaling-law-discrepencies/data.py official repository ran · honoured contract MIT (permissive) · e20ba47c892c9025 · report
draw_fit formll/resolving-scaling-law-discrepencies/plotting.py official repository unverified MIT (permissive) · 4fa5926c92763b45 · report
extract_CI formll/resolving-scaling-law-discrepencies/paper_tables.py official repository unverified MIT (permissive) · 4c878b8671db62ea · report
extract_label formll/resolving-scaling-law-discrepencies/paper_tables.py official repository unverified MIT (permissive) · 9370894d3db38de0 · report
isoflop_curves_plot formll/resolving-scaling-law-discrepencies/plotting.py official repository unverified MIT (permissive) · 51aa561ef23bceaa · report
opt_param_vs_compute_plot formll/resolving-scaling-law-discrepencies/plotting.py official repository unverified MIT (permissive) · 3ae2bda49e8d6539 · report
proportional_sliding_window_filter formll/resolving-scaling-law-discrepencies/data.py official repository unverified MIT (permissive) · b8859ce442ad4d05 · report
maybe_get_item identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · a6d9e09c75556988 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamW

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections