SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.00180 · NeurIPS · 2024

APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs

Nils Thuerey, Felix Koehler, Simon Niedermayr, Rüdiger Westermann, Fisher-Kpp

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 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; 4 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/2411.00180.json · badge: /api/ran/2411.00180.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
tum-pbs/apebench canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
melt_concat_metrics_from_list Ran
ran; our contract draft was wrong, not the code
tum-pbs/apebench/apebench/_run.py
code served (permissive licence) · get_code("4c4eb8afaec4196f")
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 pathlib
import pandas as pd
import tempfile
import os

# Create temporary CSV files with metric data
temp_dir = tempfile.mkdtemp()

# Create sample CSV files with metrics
file1_path = pathlib.Path(temp_dir) / "metrics1.csv"
file2_path = pathlib.Path(temp_dir) / "metrics2.csv"

# Create sample data with a metric column
data1 = pd.DataFrame({
    'model': ['model_a', 'model_b'],
    'mean_nRMSE': [0.5, 0.6],
    'run': [1, 1]
})
data1.to_csv(file1_path, index=False)

data2 = pd.DataFrame({
    'model': ['model_a', 'model_b'],
    'mean_nRMSE': [0.55, 0.65],
    'run': [2, 2]
})
data2.to_csv(file2_path, index=False)

# Mock the melt_metrics function that is called within melt_concat_metrics_from_list
def melt_metrics(data, metric_name='mean_nRMSE'):
    """Mock implementation of melt_metrics"""
    if isinstance(metric_name, str):
        metric_name = [metric_name]
    
    id_vars = [col for col in data.columns if col not in metric_name]
    melted = pd.melt(data, id_vars=id_vars, value_vars=metric_name, 
                     var_name='metric', value_name='value')
    return melted

# Inject melt_metrics into the module namespace for the function to use
import sys
current_module = sys.modules[__name__]
setattr(current_module, 'melt_metrics', melt_metrics)

ARGS = {
    'raw_file_list': [file1_path, file2_path],
    'metric_name': 'mean_nRMSE'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, tqdm — 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
melt_data Ran
ran; our contract draft was wrong, not the code
tum-pbs/apebench/apebench/_utils.py
code served (permissive licence) · get_code("75da3fa003941472")
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 numpy as np

# Create a sample wide DataFrame with the structure expected by melt_data
wide_data = pd.DataFrame({
    'seed': [1, 2],
    'scenario': ['scenario_A', 'scenario_B'],
    'task': ['task_1', 'task_2'],
    'net': ['net_x', 'net_y'],
    'train': ['train_mode_1', 'train_mode_2'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b'],
    'loss_0': [0.5, 0.6],
    'loss_1': [0.4, 0.55],
    'loss_2': [0.3, 0.5],
    'accuracy_0': [0.8, 0.75],
    'accuracy_1': [0.85, 0.8],
    'accuracy_2': [0.9, 0.85],
})

ARGS = {
    'wide_data': wide_data,
    'quantity_name': ['loss', 'accuracy'],
    'uniquifier_name': 'step',
    'base_columns': ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs'],
}
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 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
melt_loss Ran
ran; our contract draft was wrong, not the code
tum-pbs/apebench/apebench/_utils.py
code served (permissive licence) · get_code("475460bfbeda49ad")
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 numpy as np

# Create a wide DataFrame that matches the expected format for melt_loss
# The function expects columns with base_columns and quantity columns like 'train_loss_0', 'train_loss_1', etc.

np.random.seed(0)

# Create base columns
base_data = {
    'seed': [42, 43],
    'scenario': ['scenario_a', 'scenario_b'],
    'task': ['task_1', 'task_2'],
    'net': ['net_v1', 'net_v2'],
    'train': ['train_config_1', 'train_config_2'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b']
}

# Create quantity columns (train_loss with different update steps)
quantity_data = {
    'train_loss_0': [0.5, 0.6],
    'train_loss_1': [0.4, 0.5],
    'train_loss_2': [0.3, 0.4],
}

# Combine into wide DataFrame
wide_data = pd.DataFrame({**base_data, **quantity_data})

ARGS = {
    'wide_data': wide_data,
    'loss_name': 'train_loss'
}
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 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
melt_metrics Ran
ran; our contract draft was wrong, not the code
tum-pbs/apebench/apebench/_utils.py
code served (permissive licence) · get_code("805be06d74072db3")
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 numpy as np

# Create a sample wide DataFrame suitable for melt_metrics
# The function expects columns with metric names followed by _timestepi suffix
# and base_columns: ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs']

base_columns = ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs']

# Create a wide DataFrame with base columns and metric columns with time step suffixes
data = {
    'seed': [0, 1, 2],
    'scenario': ['scenario_A', 'scenario_B', 'scenario_A'],
    'task': ['task_1', 'task_2', 'task_1'],
    'net': ['net_v1', 'net_v2', 'net_v1'],
    'train': ['train_method_1', 'train_method_2', 'train_method_1'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b', 'kwargs_a'],
    'mean_nRMSE_0': [0.5, 0.6, 0.55],
    'mean_nRMSE_1': [0.4, 0.5, 0.45],
    'mean_nRMSE_2': [0.35, 0.45, 0.40],
}

wide_data = pd.DataFrame(data)

ARGS = {
    'wide_data': wide_data,
    'metric_name': 'mean_nRMSE'
}
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 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
melt_concat_loss_from_list Not yet run
unverified (harvested, no recorded run)
tum-pbs/apebench/apebench/_run.py
code served (permissive licence) · get_code("88559da7c982793c")
How it ran

no invocation recorded.

run_study Not yet run
unverified (harvested, no recorded run)
tum-pbs/apebench/apebench/_run.py
code served (permissive licence) · get_code("e53dd630aafa7e3b")
How it ran

no invocation recorded.

scrape_data_and_metadata Not yet run
unverified (harvested, no recorded run)
tum-pbs/apebench/apebench/_scraper.py
code served (permissive licence) · get_code("40b8776824a39847")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 1 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.

FunctionAlso present inEarliest-datedOthers named
melt_concat_loss_from_list 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back
melt_concat_metrics_from_list 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back
melt_data 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back
melt_loss 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back
melt_metrics 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back
scrape_data_and_metadata 1 other paper
1 later
2608.24547 (2026-08)
From Numerical Simulators of PDEs to Neural Emulators and Back

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

We introduce the Autoregressive PDE Emulator Benchmark (APEBench), a comprehensive benchmark suite to evaluate autoregressive neural emulators for solving partial differential equations. APEBench is based on JAX and provides a seamlessly integrated differentiable simulation framework employing efficient pseudo-spectral methods, enabling 46 distinct PDEs across 1D, 2D, and 3D. Facilitating systematic analysis and comparison of learned emulators, we propose a novel taxonomy for unrolled training and introduce a unique identifier for PDE dynamics that directly relates to the stability criteria of classical numerical methods. APEBench enables the evaluation of diverse neural architectures, and unlike existing benchmarks, its tight integration of the solver enables support for differentiable physics training and neural-hybrid emulators. Moreover, APEBench emphasizes rollout metrics to understand temporal generalization, providing insights into the long-term behavior of emulating PDE dynamics. In several experiments, we highlight the similarities between neural emulators and numerical simulators. The code is available at https://github.com/tum-pbs/apebench and APEBench can be installed via pip install apebench. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

For agents

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

get_harvested_code_for_paper("2411.00180")
get_code_for_paper("2411.00180")
have("2411.00180")

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

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

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

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

Connect an agent — have() is free.