Physics-Informed Neural PDE Solvers via Spatio-Temporal MeanFlow
Hanru Bai, Yuncheng Zhou, Difan Zou · 2026
Read Physics-Informed Neural PDE Solvers via Spatio-Temporal MeanFlow by Hanru Bai, Yuncheng Zhou, Difan Zou (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-08915.txt.
Introduction
Hanru Bai, Yuncheng Zhou, and Difan Zou solve change laws with a net built on sums, not point checks. Physics nets lean on point leftovers. Those miss the sum form of how real flows grow. Workhorse nets slice time into fixed grids in advance. Their MeanFlow learns how a state grows cross a whole span at once. The span length is free at solve time.
The growth field of the base plan is swapped for the true law at hand. The MeanFlow rule is stretched cross space and time as one. Set and moving laws sit in one frame. Tests show top scores and fast solves. The plan holds up on new starts and new grid sizes.
Catalog record
| CREATOR | Hanru Bai, Yuncheng Zhou, Difan Zou |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 99 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.08915
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Physics-Informed Neural PDE Solvers via Spatio-Temporal MeanFlow Hanru Bai, Yuncheng Zhou, Difan Zou Abstract Deep learning paradigms, such as PINNs and neural operators, have significantly advanced the solving of PDEs. However, they often struggle to capture the continuous integral nature of physical systems, relying either on pointwise residuals that ignore the integral perspective or on pre-discretized temporal grids. Drawing inspiration from MeanFlow, a continuous-time integrator recently developed to efficiently solve generative ODEs, we introduce Spatio-Temporal MeanFlow, which functions as a novel PDE solver learning the finite-interval evolution of physical states. By substituting the generative velocity field with the physical PDE operator, we transform multi-step numerical integration into an efficient prediction with a freely controllable integration length. Crucially, we extend the original MeanFlow constraint from the temporal to the spatio-temporal domain, coupling time evolution with spatial consistency. This yields a unified framework naturally accommodating both time-dependent and stationary PDEs. Comprehensive experiments on benchmarks demonstrate that our approach achieves superior accuracy and inference efficiency over representative baselines. Furthermore, the proposed integral constraint enables excellent generalization to out-of-distribution initial conditions and varying spatial resolutions. 1 Introduction Solving partial differential equations (PDEs) efficiently and accurately is fundamental to modeling complex physical phenomena across science and engineering, such as shock wave propagation and fluid turbulence ( Bandrauk et al. 2007 ; Madhavi 2025 ; Glimm 1991 ) . Fundamentally, this mathematical process is a continuous integration process. For example, for a time-dependent PDE governed by \frac{\partial\bm{u}}{\partial t}=\bm{f}[\bm{u},\nabla,\bm{x},t] , the evolution of the state field \bm{u}(\bm{x},t) across the continuous spatial domain from time \tau to t is the integral: \textstyle\bm{u}(\bm{x},t)=\bm{u}(\bm{x},\tau)+\int_{\tau}^{t}\bm{f}[\bm{u}(\bm{x},s),\nabla,\bm{x},s]\,\mathrm{d}s. (1) While the two dominant deep learning paradigms for PDE solving, namely Physics-Informed Neural Networks (PINNs) ( Cuomo et al. 2022 ) , which embed governing equations as pointwise loss penalties, and neural operators like FNO ( Li et al. 2020a ) , which learn data-driven mappings between function spaces, have achieved remarkable success, they struggle to fully capture the continuous integral process defined in Eq. ( 1 ). Specifically, FNO relies heavily on pre-discretized time slices and treats the integration interval as a fixed hyperparameter, essentially functioning as a discrete, step-by-step integrator. Conversely, PINNs rely solely on the pointwise PDE formula itself, bypassing the integral perspective entirely. Grounded in the formulation of Eq. ( 1 ), we argue that a more straightforward approach is to directly train a neural integrator capable of operating flexibly in continuous domain. Figure 1 : Accuracy-efficiency trade-off on the Burgers benchmark. Our Spatio-Temporal MeanFlow achieves an optimal Pareto frontier (bottom-left), delivering the lowest relative L_{2} error with highly competitive inference speeds across all baselines. A similar challenge has been extensively studied in generative modeling, such as diffusion models ( Croitoru et al. 2023 ; Yang et al. 2023 ; Luo 2022 ) and flow matching ( Lipman et al. 2022 ) , where the inference process can also be formulated as an ordinary differential equation (ODE). Consequently, several works strive to develop efficient methods to solve this generative ODE ( Liu et al. 2022 ; Song et al. 2023 ) . One notable model is MeanFlow ( Geng et al. 2025 ) , which directly learns the average velocity over a finite interval using neural networks. By doing so, it essentially functions as a continuous-time integrator whose core advantage lies in bypassing repeated velocity evaluations, transforming multi-step integration into an efficient, single-step prediction. This provides a powerful intuition: can we adapt this analogous mechanism to construct a continuous-time neural integrator dedicated to serving PDE solving? Inspired by this, we adapt the continuous integral formulation of MeanFlow to PDE solving. Specifically, we replace the generative velocity field \bm{v} in the MeanFlow identity with the PDE right-hand side \bm{f} , and use the resulting identity to parameterize the finite-interval evolution of PDE solutions. The original MeanFlow constraint characterizes temporal evolution alone. For PDEs, however, generalization also depends critically on spatial consistency. We therefore extend the MeanFlow loss from the temporal domain to the spatio-temporal domain, introducing a spatio-temporal MeanFlow loss tailored to PDE solving that strengthens the model’s ability to generalize across spatial locations and resolutions. Furthermore, this formulation naturally accommodates static PDEs by specializing to a purely spatial MeanFlow loss, providing a unified framework for both time-dependent and stationary PDEs. By transcending purely data-driven learning, the model achieves superior generalization to out-of-distribution initial conditions and varied spatial resolutions. Our contributions are: • A MeanFlow-inspired PDE solver framework : We develop a novel PDE solver that enables efficient inference by transforming conventional multi-step numerical integration into finite-interval predictions, with the integration length freely controllable at inference time. • A novel spatio-temporal MeanFlow loss : We introduce a physics-informed constraint that spatio-temporal significantly enhances solving accuracy and generalization under out-of-distribution initial conditions and different spatial resolutions. • Comprehensive experimental validation : We conduct extensive evaluations on canonical PDE benchmarks and a real-world dataset. As shown in Fig. 1 , our method achieves an optimal accuracy-efficiency trade-off across synthetic and real-world PDEs. Furthermore, extensive ablations validate our core components, demonstrating the integration-step flexibility of our continuous formulation and showing how the spatio-temporal MeanFlow losses drive robust generalization to higher resolutions and out-of-distribution (OOD) conditions. 2 Preliminaries MeanFlow. For states \bm{u}_{t} ( \bm{z}_{t} in ( Geng et al. 2025 ) ), MeanFlow ( Geng et al. 2025 ) achieves one-step prediction by modeling the average velocity \bm{m} ( \bm{u} in ( Geng et al. 2025 ) ) along ODE \frac{\mathop{}\mathopen{}\textrm{d}\bm{u}_{t}}{\mathop{}\mathopen{}\textrm{d}t}=\bm{v}(\bm{u}_{t},t) : \textstyle\bm{m}(\bm{u}_{t},{\tau},t)\triangleq\frac{1}{t-{\tau}}\int_{\tau}^{t}\bm{v}(\bm{u}_{s},s)\mathop{}\mathopen{}\textrm{d}s between time {\tau} ( r in ( Geng et al. 2025 ) ) and t , rather than multi-step integration in Flow Matching. Then, by taking the total derivative with respect to time t on both sides, we obtain the MeanFlow Identity in Eq. 2 , whose right-hand side serves as the training objective for network \bm{m}_{\theta}(\bm{u}_{t},{\tau},t) . (derived in App. A ) \textstyle\bm{m}(\bm{u}_{t},{\tau},t)=\bm{v}(\bm{u}_{t},t)-(t-{\tau})\frac{\mathop{}\mathopen{}\textrm{d}}{\mathop{}\mathopen{}\textrm{d}t}\bm{m}(\bm{u}_{t},{\tau},t). (2) Problem Formulation. We formulate the PDE system over a spatial domain D\subset\mathbb{R}^{n} and time t\in[0,T] as follows: \displaystyle\textstyle\gamma\frac{\partial\bm{u}(\bm{x},t)}{\partial t}=\bm{f}[\bm{u}(\bm{x},t),\nabla,\bm{x},t,\bm{a}],\textstyle\bm{x}\in D,\,t\in(0,T], (3) \displaystyle\bm{u}(\bm{x},0)=\bm{u}_{0}(\bm{x}),\bm{x}\in D, (4) \displaystyle\mathcal{B}[\bm{u}(\bm{x},t)]=\bm{g}(\bm{x},t),\bm{x}\in\partial D,\,t\in[0,T]. (5) Here, \bm{u}\in\mathbb{R}^{d} is the state variable, \bm{f} is the differential operator with parameters \bm{a} , while \bm{u}_{0} and \mathcal{B} denote the initial condition and boundary operator, respectively. The coefficient {\gamma}\in\mathbb{R} unifies time-variant ( \gamma\neq 0 ) and time-invariant ( \gamma=0 ) PDEs. Notably, for static systems ( \gamma=0 ), the time dimension t acts as a dummy variable, yielding a constant state \bm{u}(\bm{x},t)\equiv\bm{u}_{\text{static}}(\bm{x}) along the temporal axis, which naturally accommodates our unified spatio-temporal modeling. Figure 2 : Overview of our framework. ( A ) Spatio-Temporal Path Dynamics, formulating PDE solutions via straight paths. ( B ) Space-Time Decoupling, constraining the surface in space or time direction only, designed to mitigate scale mismatches within the Hessian matrix. 3 Methodology This section presents the Spatio-Temporal MeanFlow framework. Sec. 3.1 and 3.2 formulate the problem via integration paths and derive physics-informed governing constraints. To mitigate temporal-spatial scale mismatches, Sec. 3.3 introduces a decoupling strategy with a theoretical decoupling bound. Sec. 3.4 integrates these into a unified objective function and details the specific algorithms. Finally, Sec. 3.5 establishes theoretical foundations, providing rigorous justifications for consistency, a-posteriori error bounds, and improved optimization dynamics. 3.1 Spatio-Temporal MeanFlow Formulation We consider the general partial differential equation (PDE) system