Papers › Loss-to-Loss Prediction: Scaling Laws for All Datasets

Loss-to-Loss Prediction: Scaling Laws for All Datasets

19 Nov 2024arXiv:2411.12925archive 2025-07-28

David Brandfonbrener, Nikhil Anand, Nikhil Vyas, Eran Malach, Sham Kakade

While scaling laws provide a reliable methodology for predicting train loss across compute scales for a single data distribution, less is known about how these predictions should change as we change the distribution. In this paper, we derive a strategy for predicting one loss from another and apply it to predict across different pre-training datasets and from pre-training data to downstream task data. Our predictions extrapolate well even at 20x the largest FLOP budget used to fit the curves. More precisely, we find that there are simple shifted power law relationships between (1) the train losses of two models trained on two separate datasets when the models are paired by training compute (train-to-train), (2) the train loss and the test loss on any downstream distribution for a single model (train-to-test), and (3) the test losses of two models trained on two separate train datasets (test-to-test). The results hold up for pre-training datasets that differ substantially (some are entirely code and others have no code at all) and across a variety of downstream tasks. Finally, we find that in some settings these shifted power law relationships can yield more accurate predictions than extrapolating single-dataset scaling laws.

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="2411.12925")

Code

Syntology Ran 1 of 12 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 12 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kempnerinstitute/loss-to-loss-olmo officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
KempnerInstitute/loss-to-loss-notebooks officialmentioned on GitHubjax 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

12 samples harvested; 1 ran; 0 honoured the contract we drafted; 11 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.

1ran
11unverified

Licence: 9 of the 12 samples are 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. “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.

causal_attention_bias kempnerinstitute/loss-to-loss-olmo/olmo/model.py official repository ran Apache-2.0 (permissive) · f9abf6d74699cc1c · report
chinchilla_curve KempnerInstitute/loss-to-loss-notebooks/utils_scaling.py official repository unverified no licence file found · pointer only · 7c794f11c960d3b5 · report
fit KempnerInstitute/loss-to-loss-notebooks/utils_scaling.py official repository unverified no licence file found · pointer only · f916802c9c8b374e · report
fix_optim_state_dict kempnerinstitute/loss-to-loss-olmo/olmo/optim.py official repository unverified Apache-2.0 (permissive) · f751a49c75709d42 · report
generate_dataset KempnerInstitute/loss-to-loss-notebooks/theory/theory_sweep_gpu.py official repository unverified no licence file found · pointer only · e346f8db1d5b5881 · report
generate_target KempnerInstitute/loss-to-loss-notebooks/theory/theory_sweep_gpu.py official repository unverified no licence file found · pointer only · e62f060d13677db3 · report
get_params KempnerInstitute/loss-to-loss-notebooks/curve_fitting.py official repository unverified no licence file found · pointer only · f9b4804cb87312af · report
get_simple_power_law KempnerInstitute/loss-to-loss-notebooks/utils_plotting.py official repository unverified no licence file found · pointer only · 326b5329149b1741 · report
kaplan_curve KempnerInstitute/loss-to-loss-notebooks/utils_scaling.py official repository unverified no licence file found · pointer only · 5f5df690732bb25c · report
load_score kempnerinstitute/loss-to-loss-olmo/olmo/registry.py official repository unverified Apache-2.0 (permissive) · 64997ebee7737a54 · report
plot_with_line KempnerInstitute/loss-to-loss-notebooks/utils_plotting.py official repository unverified no licence file found · pointer only · 1692167af263d3d8 · report
power_law_with_constant KempnerInstitute/loss-to-loss-notebooks/utils_plotting.py official repository unverified no licence file found · pointer only · 85ebee271bb746fe · report

Tasks

All

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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