Skip to content

Latest commit

 

History

History
163 lines (106 loc) · 6.13 KB

File metadata and controls

163 lines (106 loc) · 6.13 KB

RealPDEBench logo

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

HF Dataset 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


💧🔥 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 fsi --what metadata

# to download Arrow shards (LARGE), explicitly set --what=hf_dataset or --what=all
realpdebench download --dataset-root /path/to/data --scenario fsi --what hf_dataset --dataset-type real --split train

Tips:

  • 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

Coming soon!


📝 Checkpoint & log file download

Coming soon!


📥 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

If you have HF Arrow datasets under {dataset_root}/{scenario}/hf_dataset/..., enable:

  • --use_hf_dataset: use datasets.load_from_disk Arrow shards
  • --hf_auto_download: download missing artifacts from HF automatically

Example:

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

📤 Inference

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

Numerical scripts

Coming soon!


👩‍💻 Contribute

We welcome contributions from the community! Please feel free to


🫡 Citation

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

@misc{hu2026realpdebenchbenchmarkcomplexphysical,
      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},
      year={2026},
      eprint={2601.01829},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2601.01829}, 
}

📚 Related Resources