SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.10938 · NeurIPS · 2024

Observational Scaling Laws and the Predictability of Language Model Performance

Chris Maddison, Tatsunori Hashimoto, Yangjun Ruan

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.10938.json · badge: /api/ran/2405.10938.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ryoungj/ObsScaling canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_object_val Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ryoungj/ObsScaling/utils/selection.py
code served (permissive licence) · get_code("cb1b15824bb4b525")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

# Create a small DataFrame with PCA results
np.random.seed(0)
num_rows = 5
num_pc = 3

data = {
    'Model Family': ['FamilyA', 'FamilyB', 'FamilyA', 'FamilyC', 'FamilyB'],
    'PC-1': np.random.randn(num_rows),
    'PC-2': np.random.randn(num_rows),
    'PC-3': np.random.randn(num_rows),
}
df_pca_all = pd.DataFrame(data)

# List of all possible model families
all_families = ['FamilyA', 'FamilyB', 'FamilyC', 'FamilyD']

# Selection indices - selecting families at indices 0 and 1 (FamilyA and FamilyB)
x = [0, 1]

ARGS = {
    'df_pca_all': df_pca_all,
    'x': x,
    'all_families': all_families,
    'num_pc': num_pc,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_x_metric_names Ran
ran; our contract draft was wrong, not the code
ryoungj/ObsScaling/utils/plot.py
code served (permissive licence) · get_code("6cd43bfadf05bc38")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Test case 1: x_metric_names containing 'PC-1'
x_metric_names_case1 = ['PC-1', 'PC-2', 'PC-3']

# Test case 2: x_metric_names without 'PC-1'
x_metric_names_case2 = ['metric_name (units)', 'other_metric']

# Using case 2 as the primary test case
ARGS = {
    'x_metric_names': x_metric_names_case2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_model_family Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ryoungj/ObsScaling/utils/selection.py
code served (permissive licence) · get_code("be5e108bf6b36aa5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# x is a list of indices
x = [0, 2, 1]

# all_families is a list of model family identifiers/names
all_families = ["resnet", "vgg", "mobilenet", "efficientnet"]

ARGS = {
    "x": x,
    "all_families": all_families,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_selected_df Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ryoungj/ObsScaling/utils/selection.py
code served (permissive licence) · get_code("ebbcecaf80a2fb9b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import torch

torch.manual_seed(0)

# Create a small DataFrame with 'Model Family' column
df = pd.DataFrame({
    'Model Family': ['ResNet', 'VGG', 'ResNet', 'EfficientNet', 'VGG'],
    'Accuracy': [0.92, 0.88, 0.93, 0.95, 0.87],
    'Params': [25.5, 138.0, 25.5, 5.3, 138.0]
})

# Create a list of all possible model families
all_families = ['ResNet', 'VGG', 'EfficientNet', 'DenseNet', 'MobileNet']

# Create selection indices (selecting ResNet and VGG families)
x = [0, 1]

ARGS = {
    'df': df,
    'x': x,
    'all_families': all_families
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pca_impute Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ryoungj/ObsScaling/utils/data.py
code served (permissive licence) · get_code("686846dcc20a9e68")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Create small training DataFrame with some missing values
train_data = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, np.nan, 7.0, 8.0],
    [9.0, 10.0, np.nan, 12.0],
    [13.0, 14.0, 15.0, 16.0]
])
train_df = pd.DataFrame(train_data, columns=['feat_a', 'feat_b', 'feat_c', 'feat_d'])

# Create small test DataFrame with some missing values
test_data = np.array([
    [2.0, 3.0, 4.0, 5.0],
    [6.0, np.nan, 8.0, 9.0],
    [10.0, 11.0, 12.0, np.nan]
])
test_df = pd.DataFrame(test_data, columns=['feat_a', 'feat_b', 'feat_c', 'feat_d'])

ARGS = {
    'train_df': train_df,
    'test_df': test_df,
    'n_components': 2,
    'max_iter': 100,
    'tol': 0.0001,
    'boundary': [0.0, 20.0],
    'verbose': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
perform_pca Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ryoungj/ObsScaling/utils/data.py
code served (permissive licence) · get_code("bfcb571bde2ee367")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.decomposition import PCA, SparsePCA

# Create small training data with distinct dimensions
np.random.seed(0)
train_data = np.random.randn(5, 4)  # 5 samples, 4 features
train_df = pd.DataFrame(train_data, columns=['feat_0', 'feat_1', 'feat_2', 'feat_3'])

# Create small test data with same number of features
test_data = np.random.randn(3, 4)  # 3 samples, 4 features
test_df = pd.DataFrame(test_data, columns=['feat_0', 'feat_1', 'feat_2', 'feat_3'])

ARGS = {
    'train_df': train_df,
    'test_df': test_df,
    'n_components': 2,
    'standardize': True,
    'sparse': False,
    'alpha': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
remove_code_models Ran
ran; our contract draft was wrong, not the code
ryoungj/ObsScaling/utils/constants.py
code served (permissive licence) · get_code("fb1508814f95a92b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function remove_code_models takes a model_list parameter
# It filters out models that are in BASE_CODE_MODELS
# model_list should be a list of strings (model names)

model_list = [
    'meta-llama/Llama-2-7b',
    'bigcode/starcoderbase',
    'mistralai/Mistral-7B',
    'codellama/CodeLlama-7b',
    'google/gemma-7b',
    'Salesforce/codegen-350M',
]

ARGS = {
    'model_list': model_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
keep_code_models Not yet run
unverified (harvested, no recorded run)
ryoungj/ObsScaling/utils/constants.py
code served (permissive licence) · get_code("719b3607af459254")
How it ran

no invocation recorded.

load_base_llm_benchmark_eval Not yet run
unverified (harvested, no recorded run)
ryoungj/ObsScaling/utils/helper.py
code served (permissive licence) · get_code("7beb1b630fd725dd")
How it ran

no invocation recorded.

pca_preprocess_data Not yet run
unverified (harvested, no recorded run)
ryoungj/ObsScaling/utils/data.py
code served (permissive licence) · get_code("c9186d442812ca7f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Understanding how language model performance varies with scale is critical to benchmark and algorithm development. Scaling laws are one approach to building this understanding, but the requirement of training models across many different scales has limited their use. We propose an alternative, observational approach that bypasses model training and instead builds scaling laws from ∼100 publically available models. Building a single scaling law from multiple model families is challenging due to large variations in their training compute efficiencies and capabilities. However, we show that these variations are consistent with a simple, generalized scaling law where language model performance is a function of a low-dimensional capability space, and model families only vary in their efficiency in converting training compute to capabilities. Using this approach, we show the surprising predictability of complex scaling phenomena: we show that several emergent phenomena follow a smooth, sigmoidal behavior and are predictable from small models; we show that the agent performance of models such as GPT-4 can be precisely predicted from simpler non-agentic benchmarks; and we show how to predict the impact of post-training interventions like Chain-of-Thought and Self-Consistency as language model capabilities continue to improve.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.10938")
get_code_for_paper("2405.10938")
have("2405.10938")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.10938.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.10938.svg)](https://syntology.ai/paper/2405.10938)

Connect an agent — have() is free.