Abstract
In Computational Fluid Dynamics (CFD), the primary bottleneck for training neural surrogates is the high cost of generating high-fidelity (HF) simulation data. This paper investigates multi-fidelity scaling laws, exploring how to optimally allocate a fixed computational budget between expensive HF data and cheaper low-fidelity (LF) data. Using a transformer-based neural operator, we demonstrate that for limited budgets, a mixture of LF and HF data often outperforms HF-only models, provided the physical discrepancy between fidelities is manageable. We identify a "physics gap" in variables like wall shear stress where LF approximations fail to provide useful signals for HF prediction.
1. Introduction
Scaling laws have become the "North Star" of modern AI, famously predicting how Large Language Models (LLMs) improve as we throw more data, parameters, and GPUs at them. However, in Scientific Machine Learning (SciML)—specifically CFD—data isn't just sitting on the web for free. Generating a single high-fidelity simulation can cost thousands of CPU hours. This paper introduces the first empirical study of multi-fidelity scaling laws for neural surrogates in CFD. By decomposing the dataset axis into "compute budget" and "fidelity mix," we seek to find the compute-optimal dataset composition: the specific ratio of LF to HF samples that yields the best model performance for a given total computational budget.
2. Methodology
We propose a reformulation of classical scaling laws. Instead of looking at the number of samples ($D$), we split the data axis into the Dataset Compute Budget ($D_b$), the total core hours allocated to generating data, and the Dataset Composition ($D_c$), the ratio of low-fidelity to high-fidelity samples.
The study focuses on external aerodynamics around NACA 4- and 5-digit airfoils. We compare two fidelity levels:
- High-Fidelity (HF): RANS simulations that fully resolve the viscous sublayer near the airfoil surface (very fine mesh, high cost).
- Low-Fidelity (LF): RANS simulations using "wall functions," which model the physics near the surface analytically rather than resolving it (coarser mesh, ~3x cheaper).
We used Transolver, a transformer-based neural operator with approximately 4 million parameters, keeping the model size fixed while varying $D_b$ and $D_c$.
3. Results and Discussion
Our results confirm that model error consistently decreases as the total compute budget for data generation increases. For tight budgets (e.g., 1000–2000 core hours), models trained on a mixture of data achieved lower Mean Squared Error (MSE) on high-fidelity test sets than those trained on pure high-fidelity data. This "broader coverage" advantage suggests that many cheap LF samples can outweigh the precision of a few expensive HF samples by better covering the data manifold.
However, the success of this strategy depends on the physical variable. We observed positive transfer for fields like pressure and volumetric velocity, where the physical discrepancy is low. In contrast, for Wall Shear Stress (WSS), the strategy failed due to a significant "physics gap." Because LF simulations use wall functions to estimate WSS while HF simulations calculate it directly, the discrepancy (nMAE up to 0.79) was too large for the model to bridge.
4. Conclusion
This work establishes a framework for understanding how data generation costs impact the scaling of neural surrogates. While multi-fidelity training offers a path to more efficient SciML models, its effectiveness is bounded by the physical consistency of the underlying solvers. Future work will explore continuous fidelity spectra and extension to more complex turbulent flows like Large Eddy Simulations (LES).
Summary updated