Learning Computable Models From Data

Suryanarayana Maddu, Dominik Sturm, Bevan L. Cheeseman, Christian L. Müller, Ivo F. Sbalzarini2021

Abstract: Numerical methods for approximately solving partial differential equations (PDE) are at the core of scientific computing. Often, this requires high-resolution or adaptive discretization grids to capture relevant spatio-temporal features in the PDE solution, e.g., in applications like turbulence, combustion, and shock propagation. Numerical approximation also requires knowing the PDE in order to construct problem-specific discretizations. Systematically deriving solution-adaptive discrete operators, however, is a current challenge. Here we present an artificial neural network architecture for data-driven learning of problem- and resolution-specific local discretizations of nonlinear PDEs. Our proposed method achieves numerically stable discretization of the operators in an unknown nonlinear PDE by spatially and temporally adaptive parametric pooling on regular Cartesian grids, and by incorporating knowledge about discrete time integration. Knowing the actual PDE is not necessary, as solution data is sufficient to train the network to learn the discrete operators. A once-trained network can be used to predict solutions of the PDE on larger spatial domains and for longer times than it was trained for, addressing the problem of PDE-constrained extrapolation from data. We present examples on long-term forecasting of hard numerical problems including equation-free forecasting of the nonlinear dynamics of the forced Burgers problem on coarse spatio-temporal grids.

Introduction

In the realm of scientific computing, solving partial differential equations (PDEs) is fundamental to modeling physical phenomena ranging from atmospheric dynamics to fluid flow in biological systems. Traditionally, these equations are solved using hand-crafted numerical methods like finite differences or finite volumes. These classical approaches face two significant limitations: they require an explicit mathematical formulation of the underlying physics, and they often necessitate extremely fine computational grids to maintain numerical stability and accuracy.

In many complex systems, we possess abundant observational data but lack a clear "first-principles" equation. Furthermore, the computational cost of high-resolution simulations can be prohibitive. While standard deep learning techniques like Convolutional Neural Networks (CNNs) have been applied to these problems, they frequently struggle with stability over long time horizons and fail to generalize across different grid resolutions. This research introduces a "purely data-driven" architecture designed to learn stable, coarse-grained models that can extrapolate beyond their training data without requiring symbolic mathematical knowledge of the PDE.

Methods: The Stencil-Net Architecture

The authors propose a specialized neural architecture that mimics the structure of classical numerical solvers, referred to as a "Network In Network" (NIN) approach. The core of this method lies in two key innovations: parametric pooling and physics-informed time integration.

Parametric Pooling (NIN)

Instead of using standard convolutional filters, the architecture employs "mlpconv" units. These units function as a sliding Multi-Layer Perceptron (MLP) that processes local "patches" or stencils of the data. This allows the network to learn complex, non-linear spatial interactions, effectively discovering the optimal local discretization rules for the specific problem and grid resolution.

Architecture of the proposed network, integrating mlpconv units with a Runge-Kutta time integrator for stable PDE solving.

Physics-Informed Time Integration

To ensure long-term stability—a common failure point for standard neural networks—the model is embedded within a Runge-Kutta time integrator. During training, the loss function evaluates error over a "training time horizon" involving multiple forward and backward steps. This multi-step constraint forces the learned spatial operators to remain numerically stable over extended periods. Additionally, a learnable noise estimation term is included to filter signal from noise, preventing the model from overfitting to data artifacts.

Results and Benchmarking

The approach was evaluated using two challenging benchmarks: the 1D Advection equation and the 1D Forced Burgers’ equation. The model was trained on high-resolution data but tasked with performing predictions on grids up to 8x coarser.

Advection and Up-winding

In the advection test, the model successfully learned "up-winding"—a critical numerical technique for moving sharp pulses across a grid without causing them to dissolve into numerical noise. While basic numerical methods often fail on coarse grids, the neural network maintained sharp, accurate pulse propagation.

Burgers' Equation and Generalization

The forced Burgers’ equation presents a more difficult nonlinear problem involving diffusion and random forcing. Remarkably, after being trained on a small spatial domain and short time window, the model was able to forecast nonlinear dynamics on a domain four times larger and for significantly longer time horizons than encountered during training.

Comparison of traditional numerical schemes (A-C) with the proposed STENCIL-NET (D), highlighting performance on coarse grids.

As shown in the comparison above, the data-driven model (STENCIL-NET) outperformed traditional high-end numerical schemes like Weighted Essentially Non-Oscillatory (WENO) methods when operating on coarse grids. The network effectively learns "smart" shortcuts that classical mathematics, which assumes a continuous limit, cannot easily replicate on a pixelated, discrete grid.

Discussion and Future Work

This research demonstrates that symbolic PDEs are not strictly necessary to build accurate simulators; if the structure of time integration is provided, a network can learn the underlying spatial mathematics directly from data. This "equation-free" modeling approach provides a path toward faster surrogate models for complex physics.

However, limitations remain. The current work focuses on 1D problems on regular Cartesian grids. Extending this architecture to 2D and 3D systems is the next logical step. Furthermore, moving toward mesh-free particle methods would allow the model to handle the complex, irregular geometries found in real-world engineering applications, such as internal combustion engines or physiological modeling. While the model is equation-free, its performance remains dependent on the availability of high-quality training data from simulations or experiments.

Summary updated

BibTeX
@misc{maddu2021learning,
  author = {Suryanarayana Maddu and Dominik Sturm and Bevan L. Cheeseman and Christian L. Müller and Ivo F. Sbalzarini},
  title = {{Learning Computable Models From Data}},
  year = {2021},
  doi = {10.23967/wccm-eccomas.2020.190},
}
Figure