TL;DR
Neural networks promise to simulate complex physics dramatically faster than traditional numerical solvers, but they come with massive up-front costs for data generation and training—and usually produce lower-accuracy results. This paper introduces breakeven complexity, a metric that calculates exactly how many simulations you must run before a neural solver actually saves compute compared to a traditional solver tuned down to the same accuracy. Surprisingly, while neural solvers are rarely worth the investment on simple toy problems, they pay off faster as the underlying physics gets harder.
What Problem Does This Paper Address?
Simulating partial differential equations (PDEs)—from turbulent airflow over a wing to chemical reactions—is foundational to engineering, yet notoriously expensive. Recently, machine learning researchers have trained neural "surrogate" models to approximate PDE solutions in a fraction of the time. This seems ideal for tasks like design optimization, where you might query a simulator thousands of times to find an optimal shape.
However, standard benchmarks usually compare a fast, approximate neural model against a slow, ultra-precise classical simulator, ignoring two elephants in the room:
- Up-front costs: Before a neural solver makes a single prediction, you must burn significant compute running a classical solver to generate training data, and then spend more compute training the network.
- Low-fidelity classical alternatives: If you are willing to accept a neural network’s 1% error rate, you don’t need the ultra-precise classical solver. You can simply run a traditional numerical solver on a coarser grid with larger time steps, getting that same 1% error much faster and with zero training overhead.
Without accounting for end-to-end costs and fair classical baselines, it is impossible for an engineer to know when training a neural surrogate is actually worth it.
Methods
The authors formalize breakeven complexity ($N^\star$), building on an amortization concept previously suggested in the literature and making it practical to compute. Measured in wall-clock time on identical GPU hardware, $N^\star$ is the exact number of forward simulations required for a neural solver's cheap inference to pay off its up-front training budget ($B$), relative to an error-matched low-fidelity classical solver:
$$N^\star = \frac{B}{\max\{C_{\delta_B} - C_{\text{inf}}, 0\}}$$
Here, $C_{\text{inf}}$ is the neural inference time, and $C_{\delta_B}$ is the runtime of the cheapest classical solver achieving the same accuracy. If the low-fidelity classical solver is already faster than neural inference, $N^\star = \infty$—you never break even.
To make this comparison fair and practical, the authors introduce two key techniques:
- Scaling laws for budget allocation: Given a fixed time budget $B$, should you generate more training trajectories or train for more epochs? They sweep small budgets to fit scaling laws, predicting the error-optimal split at large budgets without expensive trial-and-error.
- Principled classical coarsening: They create smooth accuracy-vs.-cost curves for classical solvers by coarsening spatial grids while adjusting time steps to respect numerical stability (CFL) limits. They also define both average-case and worst-case breakeven variants across test sets.
Datasets
The authors evaluate eight leading neural solvers—four trained from scratch (FFNO, EddyFormer, DISCO, DPOT) and four fine-tuned foundation models (Poseidon Tiny/Base/Large, HalfWalrus)—across two benchmark suites:
- APEBench (Periodic PDEs): Existing GPU-native spectral simulations of Navier-Stokes (turbulence), Kuramoto-Sivashinsky (chaos; tested in 1D, 2D, and 3D), and Gray-Scott (reaction-diffusion).
- BreakFlow (New Benchmark): A newly introduced dataset of 2D incompressible fluid flows past multiple rotated rectangular obstacles across varying Reynolds numbers. Crucially, it is generated using PyFR, a GPU-native classical code, enabling apples-to-apples wall-clock comparisons on identical GPUs.
Key Insights and Ideas
- Accuracy rankings flip when compute is equalized: Models that top traditional leaderboards can stumble under fixed budgets. For example, Poseidon-Large was previously reported to outperform its smaller siblings, but under equalized fine-tuning budgets, it often underperforms Poseidon-Tiny and Base because its heavier training cost eats up the budget.
- Classical solvers hate complex geometries: On smooth periodic grids, you can heavily coarsen a classical solver and save ~60–70% of runtime before error spikes. On BreakFlow’s obstacle-ridden flows, cutting classical runtime by just ~15% causes error to skyrocket—giving neural surrogates a massive opening.
- Harder physics favors neural networks: Across dimensionality (1D to 3D), longer time rollouts, and higher turbulence (Reynolds numbers), neural test errors get worse—yet breakeven complexity drops sharply. Why? Because classical solver costs explode with problem difficulty (due to finer grids and tiny time steps) much faster than neural inference costs do.
- Worst-case breakeven reveals robustness: Comparing worst-case to average-case $N^\star$ exposes whether a neural model fails catastrophically on edge cases, a crucial signal for optimization tasks that raw error averages obscure.
Key Results
At the largest evaluated budgets, simple periodic PDEs require hundreds of thousands to millions of queries ($N^\star \approx 10^5$ to $10^7$) before neural solvers beat coarse classical baselines. Some heavy architectures (like HalfWalrus and EddyFormer on certain periodic tasks) hit $N^\star = \infty$ because a coarsened spectral solver is literally faster than a single neural forward pass.
Conversely, on the demanding BreakFlow benchmark (where generating one high-fidelity trajectory takes ~137 seconds vs. <0.5 seconds on APEBench), neural solvers break even in just a few thousand calls ($N^\star \approx 3,000\text{–}5,000$). Notably, the supervised FFNO model achieves the best breakeven complexity here at high budgets, matching or beating fine-tuned foundation models whose pretraining costs weren't even counted against them.
Limitations and Future Work
Because breakeven complexity relies on wall-clock time, results depend on specific hardware, software optimization, and classical baseline quality—making it trickier to standardize than simple error metrics. Furthermore, the study focuses on smooth, dissipative dynamics on identical GPUs, leaving out shock-dominated physics, out-of-distribution generalization, and CPU-only legacy codes. Future work could extend this framework to heterogeneous hardware (via dollar or energy costs), adaptive classical meshes, hybrid ML-classical solvers, and real-world inverse design loops.
Summary updated