arXiv:2608.23075astro-ph.IMAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.23075

When a neural surrogate cannot accelerate a solver: runtime share, closed-loop drift, and the economics of uncertainty gating in a stiff coupled simulation

L. Thümmler, T. Kuroda

Abstract

Learned surrogates for expensive inner solver blocks are a widely pursued route to faster multiphysics simulation. We report a controlled, end-to-end negative result and identify three structural barriers, none of them a deficiency of the network we trained. The testbed is the implicit Newton solve coupling energy-dependent neutrino radiation to matter in a general-relativistic radiation-hydrodynamics code, its most expensive physics routine per call.

First, per-call cost and share of runtime are different quantities, and only the second bounds acceleration. An exclusive self-time profile puts the target block at 16.9% of critical-rank wall clock, capping any surrogate at ≈1.2×\approx 1.2\times by Amdahl's law. A surrogate 5.8×5.8\times cheaper per call merely ties the solver, and the configuration stable enough to run without fallback reaches only parity. Second, offline accuracy cannot rank surrogates for deployment: across fourteen networks the pooled Spearman error-versus-survival correlation ( ρ=+0.73\rho = +0.73) is a between-family confound that vanishes under control ( ρ=−0.04\rho = -0.04). Third, a correct out-of-distribution gate cannot accelerate a loop that leaves its training distribution. We give the break-even deferral fraction in closed form: because the visited states sit 73×73\times off the data manifold, the gate defers 96.8 to 99.7% of cells, almost invariant to surrogate quality. Including its own cost, the gated loop is a 0.94 to 0.96×0.96\times slowdown.

*Corresponding author.

Email addresses: lthuemmler@ethz.ch (L. Thümmler), takami.kuroda@aei.mpg.de (T. Kuroda)

We further separate stability from fidelity: a never-crashing gated run accumulates a linear −19.9%-19.9\% density bias over 6000 steps. The error is a directed, ballistically accumulating bias, not the variance-driven divergence the autoregressive literature targets.

Keywords: machine-learning surrogates, operator learning, closed-loop stability, Amdahl's law, out-of-distribution detection, stiff coupled systems, radiation hydrodynamics

1. Introduction

A recurring proposal in computational physics is to replace an expensive inner solver block, a stiff ordinary differential equation integrator, a root find, a per-cell implicit coupling, with a learned surrogate whose forward pass costs microseconds. The appeal is immediate and the offline evidence is usually encouraging: such surrogates routinely reach coefficients of determination above 0.99 on held-out data and per-call speedups of one to two orders of magnitude.

Whether that translates into a faster simulation is a separate question, and it is answered by three quantities that offline benchmarks do not measure. The first is the block's share of runtime, which bounds the achievable end-to-end gain by Amdahl's law (Amdahl, 1967) regardless of surrogate quality. The second is the surrogate's behaviour in the closed loop, where its outputs become the next step's inputs and errors compound, a regime in which per-step accuracy is a poor predictor of anything. The third arises only if one attempts the natural fix for the second, an uncertainty gate that routes uncertain cells back to the exact solver: such a gate has its own cost and its own deferral fraction, and these determine whether gating can pay at all.

This paper works all three through in a single system, with end-to-end wall clock as the metric throughout. Our testbed is the implicit neutrino-matter coupling solve in a one-dimensional general-relativistic radiation-hydrodynamics code. We chose it because it is an unusually favourable target on the criterion that motivates most such work: it is by a wide margin the most expensive physics routine per call in that code, 3.4×10−43.4 \times 10^{-4} s per cell per step, and it is called once per cell per step. If a learned surrogate can accelerate any block, it should accelerate this one.

It does not, and the reasons generalise beyond the testbed. We state our contributions explicitly.

  1. A measured acceleration budget, and the distinction it enforces (Sec. 4). We profile the complete time step with exclusive self-time timers and validate the decomposition by summation. The target routine is 10.5% of mean wall clock and 16.9% on the critical rank, capping any surrogate at ≈1.2×\approx 1.2\times. We trace how a per-call cost figure in our own earlier planning was mistaken for a runtime share, and we survey the literature for cases where replacing a minority-cost block produced a measured end-to-end speedup, finding none.

  2. Evidence that offline metrics cannot select surrogates (Sec. 5). Fourteen networks on a common held-out set, with the pooled correlation shown to be a between-family confound, plus a seed study establishing that single-run survival counts are not comparable.

  3. Closed-form gate economics, with measured inputs (Sec. 8). We derive the break-even deferral fraction, measure the gate cost in situ at three implementation qualities, and show the measured deferral is nearly invariant to surrogate quality, which places the operating point beyond break-even structurally rather than incidentally.

  4. A separation of stability from fidelity (Sec. 9). A gated run that never crashes still accumulates a linear density bias to -19.9% over 6000 steps.

  5. A mechanism reframing (Sec. 10). The closed-loop failure here is driven by a directed bias accumulating ballistically, not the variance-driven blow-up that noise injection and pushforward losses are designed to damp, which explains why those remedies underperform and which ones do not.

  6. Transferable guidance (Sec. 11), including a pre-deployment checklist and the observation, measured, that a stabilisation effective in one regime can be actively harmful in another.

Throughout we report negative and null results at the same level of detail as positive ones, and we mark clearly which claims are measured, which are modelled, and which remain open. Section 2 describes the testbed and the surrogate; Section 3 the evaluation protocol; Sections 4 to 10 the results; Section 11 the discussion and guidance; and Section 12 concludes.

References (28)