Physics of Fluids

Reproducibility and representation invariance in physics-informed Navier–Stokes solvers: A finite-precision equivalence gap and its exact control

Jesús Garví-Gualda

Key points

From the paper's conclusion
  • We prove bitwise trajectory identity for power-of-two-related scales under stated conditions on the operation trace and arithmetic range.

Abstract

Multiplying a Navier–Stokes residual by a positive constant preserves its solution set but can change the learned flow. We distinguish equivalence of solution sets, real-arithmetic training dynamics, and floating-point programs using paired trainings with shared initializations and collocation streams. Raw residual scaling reweights an equation: on Kovasznay flow, a 1000-fold scale change moves the velocity field by 10%–12%, exceeding tested seed changes, and shifts its error from 2.5%–4.9% to 10.2%–11.3%. With running-magnitude block normalization, both formulations share real-arithmetic dynamics. At a shared state, their parameter gradients differ by 2.8×10−8 in a preflight, yet the normalized cavity fields from the screening pairs, trained to inaccurate endpoints, separate by 20%–50% of their own norm, comparable to reseeding. The separation persists when the lid corners are regularized or excluded from sampling; on Kovasznay flow, it is 3.45%–3.74%, 0.9–1.0 seed-to-seed distances, and 1.2–1.8 times the mean solution error. At manufactured-flow endpoints meeting the stopping limits, with 0.02%–0.15% velocity error, two evaluations of one objective end 0.03%–0.12% apart, 0.6–1.5 seed-to-seed distances, for plain and normalized losses; the gap persists in the tested float64 programs. We prove bitwise trajectory identity for power-of-two-related scales under stated conditions on the operation trace and arithmetic range. Rounding the experimental scales of 0.1 and 100 to 2−3 and 27, respectively, reproduces fields and parameters bitwise after 8000 epochs on a graphics processing unit. Graph-level canonicalization maps registered constant-scale representations to one differentiated program.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Reproducibility and representation invariance in physics-informed Navier–Stokes solvers: A finite-precision equivalence gap and its exact control — Science Skim