ml4cfd-competition-eval
NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis — Yagoubi et al. (2024) (NeurIPS 2024 / arXiv:2506.08516, 2024)
What this evaluates
Evaluates machine learning surrogates for 2D airfoil aerodynamics on prediction accuracy, computational speed-up, physical consistency, and out-of-distribution generalization. The benchmark compares learned models against a standard CFD solver (OpenFOAM) across in-distribution and novel geometric configurations.
Datasets
Metrics
Global Score (primary) — range: percent
- Weighted aggregation of ML performance (40%), physical consistency (30%), and OOD generalization (30%). ML score combines accuracy (75%) and speed-up (25%). OOD score combines OOD accuracy (42%), OOD physics (33%), and OOD speed-up (25%).
Accuracy — range: other
- Mean error across flow field variables ($\overline{u}{x}$, $\overline{u}{y}$, $\overline{p}$, $\overline{\nu}{t}$, $\overline{p}{s}$). Lower values indicate better performance.
Speed-up — range: other
- Ratio of CFD solver runtime to model inference runtime. Higher values indicate faster prediction.
Physical Criteria — range: other
- Evaluation of integral aerodynamic coefficients ($C_D$, $C_L$) and their correlation coefficients ($\rho_D$, $\rho_L$) against ground truth.
Input / output format
Input: Airfoil geometry representation (e.g., mesh coordinates, latent embeddings, or surface parameters) and flow conditions (e.g., angle of attack, Reynolds number).
Output: Predicted flow field variables ($\overline{u}{x}$, $\overline{u}{y}$, $\overline{p}$, $\overline{\nu}{t}$, $\overline{p}{s}$) and integral aerodynamic coefficients ($C_D$, $C_L$).
Scoring recipe
# Weights from Table 1
ml_weight = 0.40
physics_weight = 0.30
ood_weight = 0.30
ml_score = (0.75 * accuracy_metric) + (0.25 * speedup_metric)
ood_score = (0.42 * ood_accuracy) + (0.33 * ood_physics) + (0.25 * ood_speedup)
global_score = (ml_weight * ml_score) + (physics_weight * physics_criteria_score) + (ood_weight * ood_score)
return global_score
Common pitfalls
- Speed-up is heavily downweighted (25% in ML, 25% in OOD) compared to accuracy, so fast but inaccurate models rank poorly.
- Physical consistency ($C_D$, $C_L$, correlation coefficients) is evaluated separately from field accuracy, requiring models to preserve integral conservation laws.
- OOD evaluation uses distinct geometric configurations not seen during training, testing extrapolation rather than interpolation.
Evidence (verbatim from paper)
Rankings were determined based on a global score that aggregated performance across several key criteria, including machine learning (accuracy and speed-up), physics, and out-of-distribution (OOD) generalization.
Citation
@misc{yagoubi2024ml4cfd,
title={NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis},
author={Yagoubi et al. (2024)},
year={2024},
note={NeurIPS 2024 / arXiv:2506.08516}
}
1---2name: ml4cfd-competition-eval3description: Evaluates machine learning surrogates for 2D airfoil aerodynamics on prediction accuracy, computational speed-up, physical consistency, and out-of-distribution generalization. The benchmark compares learned models against a standard CFD solver (OpenFOAM) across in-distribution and novel geometric configurations. Use when the user wants to benchmark on ML4CFD Competition Dataset, or asks about evaluating this task. Reports Global Score.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/ml4cfd-competition-eval6 skill_kind: dataset_eval7 source_arxiv: 2506.085168 bibtex_key: yagoubi2024ml4cfd9 confidence: high10---1112# ml4cfd-competition-eval1314> NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis — Yagoubi et al. (2024) (NeurIPS 2024 / arXiv:2506.08516, 2024)1516## What this evaluates1718Evaluates machine learning surrogates for 2D airfoil aerodynamics on prediction accuracy, computational speed-up, physical consistency, and out-of-distribution generalization. The benchmark compares learned models against a standard CFD solver (OpenFOAM) across in-distribution and novel geometric configurations.1920## Datasets2122- **ML4CFD Competition Dataset** — total ?; splits: in-distribution (-1), out-of-distribution (-1); repo https://github.com/IRT-SystemX/NeurIPS2024-ML4CFD-competition-Starting-Kit2324## Metrics2526- `Global Score` **(primary)** — range: percent27 - Weighted aggregation of ML performance (40%), physical consistency (30%), and OOD generalization (30%). ML score combines accuracy (75%) and speed-up (25%). OOD score combines OOD accuracy (42%), OOD physics (33%), and OOD speed-up (25%).28- `Accuracy` — range: other29 - Mean error across flow field variables ($\overline{u}_{x}$, $\overline{u}_{y}$, $\overline{p}$, $\overline{\nu}_{t}$, $\overline{p}_{s}$). Lower values indicate better performance.30- `Speed-up` — range: other31 - Ratio of CFD solver runtime to model inference runtime. Higher values indicate faster prediction.32- `Physical Criteria` — range: other33 - Evaluation of integral aerodynamic coefficients ($C_D$, $C_L$) and their correlation coefficients ($\rho_D$, $\rho_L$) against ground truth.3435## Input / output format3637**Input**: Airfoil geometry representation (e.g., mesh coordinates, latent embeddings, or surface parameters) and flow conditions (e.g., angle of attack, Reynolds number).3839**Output**: Predicted flow field variables ($\overline{u}_{x}$, $\overline{u}_{y}$, $\overline{p}$, $\overline{\nu}_{t}$, $\overline{p}_{s}$) and integral aerodynamic coefficients ($C_D$, $C_L$).4041## Scoring recipe4243```python44# Weights from Table 145ml_weight = 0.4046physics_weight = 0.3047ood_weight = 0.304849ml_score = (0.75 * accuracy_metric) + (0.25 * speedup_metric)50ood_score = (0.42 * ood_accuracy) + (0.33 * ood_physics) + (0.25 * ood_speedup)5152global_score = (ml_weight * ml_score) + (physics_weight * physics_criteria_score) + (ood_weight * ood_score)53return global_score54```5556## Common pitfalls5758- Speed-up is heavily downweighted (25% in ML, 25% in OOD) compared to accuracy, so fast but inaccurate models rank poorly.59- Physical consistency ($C_D$, $C_L$, correlation coefficients) is evaluated separately from field accuracy, requiring models to preserve integral conservation laws.60- OOD evaluation uses distinct geometric configurations not seen during training, testing extrapolation rather than interpolation.6162## Evidence (verbatim from paper)6364> Rankings were determined based on a global score that aggregated performance across several key criteria, including machine learning (accuracy and speed-up), physics, and out-of-distribution (OOD) generalization.6566## Citation6768```bibtex69@misc{yagoubi2024ml4cfd,70 title={NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis},71 author={Yagoubi et al. (2024)},72 year={2024},73 note={NeurIPS 2024 / arXiv:2506.08516}74}75```7677- arXiv: 2506.08516