Skip to content
المشاريع

حول

[🔥ICLR26 Oral] RealPDEBench: A Benchmark for Complex Physical Systems with Paired Real-World and Simulated Data

العلوم والهندسة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+٣
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

RealPDEBench logo

[ICLR26 Oral] RealPDEBench: A Benchmark for Complex Physical Systems with Paired Real-World and Simulated Data

HF Dataset HF Models arXiv Website & Docs Codebase License: CC BY-NC 4.0

Peiyan Hu∗†1,3, Haodong Feng*1, Hongyuan Liu*1, Tongtong Yan2, Wenhao Deng1, Tianrun Gao†1,4, Rong Zheng†1,5, Haoren Zheng†1,2, Chenglei Yu1, Chuanrui Wang1, Kaiwen Li†1,2, Zhi-Ming Ma3, Dezhi Zhou2, Xingcai Lu6, Dixia Fan1, Tailin Wu†1.

1School of Engineering, Westlake University; 2Global College, Shanghai Jiao Tong University; 3Academy of Mathematics and Systems Science, Chinese Academy of Sciences; 4Department of Geotechnical Engineering, Tongji University; 5School of Physics, Peking University; 6Key Laboratory for Power Machinery and Engineering of M. O. E., Shanghai Jiao Tong University

*Equal contribution, †Work done as an intern at Westlake University, †Corresponding authors


‼️ News

[2026.11] Added notes on dataset versions. Use v2.0.0 to reproduce Table 1 of the paper and v2.0.1 for new experiments.

[2026.11] Added an optional cylinder missing-observation evaluation with matched masks, filling controls and regional metrics.

[2026.11] We have added the latest model, Transformer-σ, to this repository!

[2026.07] The NeurIPS RealPDE Competition is now live! Join us to tackle real-world physical systems, with generous prizes for winning teams.


💧🔥 Overview

RealPDEBench is the first scientific ML benchmark with paired real-world measurements and matched numerical simulations for complex physical systems, designed for spatiotemporal forecasting and sim-to-real transfer.

At a glance 👀


🎬 Installation (pip)

This repo is packaged with pyproject.toml and can be installed via pip (requires Python ≥ 3.10):

git clone https://github.com/AI4Science-WestlakeU/RealPDEBench.git
cd RealPDEBench
pip install -e .

⏬ Dataset download

Hugging Face dataset:

The repo id AI4Science-WestlakeU/RealPDEBench.

We provide a small pattern-based downloader:

# safe default: download metadata JSONs only
realpdebench download --dataset-root /path/to/data --scenario cylinder --what metadata

# to download Arrow shards (LARGE), explicitly set --what=hf_dataset or --what=all
# splits are stored in index JSONs under hf_dataset/ (no split directories)
realpdebench download --dataset-root /path/to/data --scenario cylinder --what hf_dataset --dataset-type real

Tips:

  • Set --endpoint https://hf-mirror.com (or env HF_ENDPOINT) to get acesss.
  • If you hit rate limits (HTTP 429) or need auth, login and set env HF_TOKEN=....
  • We recommend setting env HF_HUB_DISABLE_XET=1.

HDF5-format dataset

Note: The Hugging Face dataset above is still the recommended way to download data (faster, and integrates with the realpdebench loaders). The raw HDF5 distribution below is provided for completeness, e.g., if you want to inspect the original simulation outputs or use them outside the RealPDEBench codebase.

Raw HDF5 trajectories are hosted on the Westlake data distribution server: https://realpdebench.westlake.edu.cn/

Dataset versions

The results in Table 1 were obtained using dataset v2.0.0. In v2.0.1, we corrected inconsistent unit conversions in a few trajectories in Cylinder, Controlled Cylinder, and Foil that had placed their values far outside the distribution of the remaining data. These corrections can substantially reduce errors, especially RMSE, so v2.0.1 results are not directly comparable to Table 1. Please use v2.0.0 to reproduce Table 1, and we recommend v2.0.1 for new experiments.

Version Released Use it for
v2.0.1 (latest) 2026-09-18 New experiments
v2.0.0 2026-01-24 Reproducing Table 1 of the paper

Only the real-world data of Cylinder, Controlled Cylinder, and Foil differ between the two versions. FSI and Combustion are the same in both.

On Hugging Face, each version is a tag of the same name. Without --revision, the downloader fetches the latest version. To use v2.0.0, download it into a new directory with --revision v2.0.0, then set dataset_root in your config file (such as configs/cylinder/fno.yaml) to that directory. The downloader also saves version.json in that directory, and its data_version field records the version.

realpdebench download --dataset-root /path/to/data_v2.0.0 --scenario cylinder --what all --revision v2.0.0

# with --hf_auto_download, pass the same revision to both train and eval
python -m realpdebench.train --config configs/cylinder/fno.yaml --use_hf_dataset --hf_auto_download --hf_revision v2.0.0

Keep v2.0.0 in its own directory. --hf_auto_download only fetches missing files, so v2.0.1 files already in a directory stay as they are.

The HDF5 archives on the Westlake server were updated to v2.0.1 on 2026-10-01. Archives downloaded before that date contain v2.0.0. For v2.0.0 now, use the Hugging Face dataset as above.


📝 Checkpoint download

HF Models

We release trained checkpoints for all 10 models × 5 scenarios × 3 training paradigms (numerical / real / finetune) on HuggingFace.

from huggingface_hub import hf_hub_download

# Download a single checkpoint
path = hf_hub_download(
    repo_id="AI4Science-WestlakeU/RealPDEBench-models",
    filename="cylinder/fno/finetune.pth",
)
from huggingface_hub import snapshot_download

# Download all checkpoints for a scenario
snapshot_download(
    repo_id="AI4Science-WestlakeU/RealPDEBench-models",
    allow_patterns="cylinder/**",
    local_dir="./checkpoints",
)

DPOT models require pretrained backbone weights (not included). Download via python -m realpdebench.utils.dpot_ckpts_dl or from hzk17/DPOT.


📥 Training

# Simulated training (train on numerical data)
python -m realpdebench.train --config configs/cylinder/fno.yaml --train_data_type numerical

# Real-world training (train on real data from scratch)
python -m realpdebench.train --config configs/cylinder/fno.yaml --train_data_type real

# Real-world finetuning (finetune on real data)
python -m realpdebench.train --config configs/cylinder/fno.yaml --train_data_type real --is_finetune

Using HF Arrow-backed datasets

HF Arrow datasets are stored under {dataset_root}/{scenario}/hf_dataset/{real,numerical}/ with split index files {split}_index_{type}.json. To use them, enable:

  • --use_hf_dataset: load Arrow trajectories + index files (lazy slicing, dynamic N_autoregressive)
  • --hf_auto_download: download missing artifacts from HF automatically (use --hf_endpoint https://hf-mirror.com for easy accessing)

Example:

python -m realpdebench.train --config configs/cylinder/fno.yaml --use_hf_dataset --hf_auto_download --hf_endpoint https://hf-mirror.com

📤 Inference

python -m realpdebench.eval --config configs/cylinder/fno.yaml --checkpoint_path /path/to/checkpoint.pth

Using HF Arrow-backed datasets

python -m realpdebench.eval --config configs/cylinder/fno.yaml --checkpoint_path /path/to/checkpoint.pth --use_hf_dataset

👩‍💻 Contribute

We welcome contributions from the community! Please feel free to


❓ FAQ

Why do the number of .arrow files differ from the trajectory count?

Arrow format packs multiple rows into one shard up to a size limit (~500 MB), but never splits a single row across shards. Real trajectories are smaller (fewer channels, ~130–260 MB each), so 2–4 are packed per shard; numerical trajectories are larger (extra channels such as pressure or 15 simulated fields, ~1.5–2.1 GB each), so each one already exceeds the shard limit, resulting in a 1:1 mapping.

Scenario Trajectories (real / numerical) Arrow shards (real / numerical)
cylinder 92 / 92 73 / 92
controlled_cylinder 96 / 96 51 / 96
fsi 51 / 51 51 / 51
foil 98 / 99 98 / 99
combustion 30 / 30 8 / 30
What do remain_params, in_dist_test_params, and out_dist_test_params mean?

These JSON files partition trajectories by physical parameter regime. The three groups sum to the total trajectory count for each scenario:

  • in_dist_test_params: trajectories with in-distribution parameters, entirely reserved for testing.
  • out_dist_test_params: trajectories with out-of-distribution (edge/extreme) parameters, entirely reserved for testing.
  • remain_params: all other trajectories — part of each trajectory's time axis is used for training, the rest for validation/testing.

At evaluation time, test_mode can be set to "seen" (remain), "in_dist", "out_dist", "unseen" (in_dist + out_dist), or "all".

Scenario Type remain in_dist_test out_dist_test Total
cylinder real 72 10 10 92
cylinder numerical 92 0 0 92
controlled_cylinder real 76 10 10 96
controlled_cylinder numerical 96 0 0 96
fsi real 39 0 12 51
fsi numerical 51 0 0 51
foil real 78 10 10 98
foil numerical 99 0 0 99
combustion real 30 0 0 30
combustion numerical 30 0 0 30
Where are the field / channel names for each scenario documented?

Each scenario folder on the HF dataset ships a machine-readable {scenario}/channels.json listing every field (Arrow column) with its shape.

Scenario Real fields Numerical fields
cylinder u, v u, v, p
controlled_cylinder u, v u, v, p
fsi u, v u, v, p
foil u, v u, v, p
combustion observed observed + numerical (packed 15 channels, see below)

For combustion, the numerical column has shape (T, H, W, 15); the 15 channels along the last axis are, in order:

Idx Channel Idx Channel
0 Absolute_Pressure 8 Mole_Fraction_of_OH
1 Chemistry_Heat_Release_Rate 9 Pressure
2 Mole_Fraction_of_CH4 10 Temperature
3 Mole_Fraction_of_CO 11 Velocity[i]
4 Mole_Fraction_of_CO2 12 Velocity[j]
5 Mole_Fraction_of_H2O 13 Velocity[k]
6 Mole_Fraction_of_NH2 14 Velocity_Magnitude
7 Mole_Fraction_of_NH3

A machine-readable copy of the same list lives in combustion/channels.json.


🫡 Citation

If you find our work and/or our code useful, please cite us via:

@inproceedings{hu2026realpdebench,
    title={RealPDEBench: A Benchmark for Complex Physical Systems with Real-World Data}, 
    author={Peiyan Hu and Haodong Feng and Hongyuan Liu and Tongtong Yan and Wenhao Deng and Tianrun Gao and Rong Zheng and Haoren Zheng and Chenglei Yu and Chuanrui Wang and Kaiwen Li and Zhi-Ming Ma and Dezhi Zhou and Xingcai Lu and Dixia Fan and Tailin Wu},
    booktitle={The Fourteenth International Conference on Learning Representations},
    year={2026},
    url={https://openreview.net/forum?id=y3oHMcoItR},
    note={Oral Presentation}
}

📚 Related Resources

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…