In classical statistical learning, we minimize empirical risk over independent and identically distributed draws from an unknown distribution. Hence, all structure must be inferred from this finite set of samples, and the central tension becomes balancing estimation error versus approximation error (i.e., bias–variance / making overly simple assumptions or missing key patterns vs. a model being too sensitive to small fluctuations, underfitting vs. overfitting).
In physics, when describing the governing dynamics of a system, e.g., heat diffusing in a rod or, more recently, the flow of (in/compressible) fluids, we commonly use a system of equations to capture these dynamics. Therefore, in Scientific Machine Learning, the data-generating mechanism is (at least partly) known in closed form. This allows for domain knowledge to seep into the construction of models, such as
- Supervision to come from the equation itself (most notably the physics-informed loss [0] [1] [2]), not only from observed pairs
- Prior knowledge can be used as an inductive bias via, e.g., losses capturing conservation laws [3] [4], symmetries [5], boundary conditions, or on the architecture [6], restricting the hypothesis class to only physically admissible functions
Unlike general-purpose machine learning, scientific machine learning often aims to extrapolate to new parameters or longer time horizons, or to solve ill-posed initial-condition and coefficient-recovery problems, rather than interpolate within a stationary distribution.
However, these tasks depend heavily on how much of this mechanism is known. For this, we first need to introduce a general description of our system and how we observe it.
For physics at the continuum scale, where the state of a system is described by fields such as velocity, temperature, or displacement, most problems can be framed as a system of partial differential equations describing the dynamics of the state.
State
- state (solution field)the state under the governing physics, , e.g., temperature, velocity, pressure or concentration; in ML often what a network is trained to approximate
Physics
- (differential) operatorencodes the governing dynamics of the physical system, e.g., heat diffusion ; for time-dependent problems it defines how the state evolves, where every admissible must satisfy it at every point
- coefficients, physical parametersknobs on the properties of the system, such as diffusivity, viscosity or permeability; changing them can change the dynamics observed, e.g., flow stays laminar below a certain Reynolds number and turns turbulent above it
- source, forcing terman external driving force, such as a heat source, a body force or an injection well; with the system evolves only through its own dynamics
Domain and conditions
- ,
- domain and time horizon is the region in which the system acts, including its geometry (irregular shapes, holes, moving parts); its boundary is where the system interacts with its surroundings
- ,
- boundary operator and constraint sets the type of condition: Dirichlet (value), Neumann (flux) Robin (a mix), or a periodic condition; holds the values imposed, e.g., a wall held at or zero flux through an insulated wall
- initial conditionthe state at ; together with the boundary conditions it makes the solution unique (for well-posed problems)
The operator, its coefficients, the forcing, the domain and the boundary conditions define the system; together with one initial condition , it becomes an instance with a single solution.
Many tasks work in discrete time, on states at time steps spaced by . The system then advances the state by its solution map over one step, , and denotes the map from to . A learned approximation of this one-step map is written (or with weights ).
A simple example for such a system is the heat diffusion in a rod, whose temperature evolves as
with thermal diffusivity . The playground below shows the solution in space and time: position runs vertically and time runs from left to right.
Draw an initial temperature profile on the left strip and the boundary data on the strips above and below. Click inside the field to place heat sources . Below the plot, you can adjust and choose the type of each boundary condition.
The system describes how the world behaves; however, observations of the state are rarely exact. Instead, what we have is an observation model, which describes on one hand what our sensors capture and on the other the errors they introduce into our measurements.
Observation
- observation operatormaps the full state to what the sensors record, e.g., point values , local averages, or only some components of
- observations, datawhat is actually measured, such as sensor readings, images or satellite data; typically sparse, partial and indirect
- measurement noisesensor and modeling errors, often assumed Gaussian, with covariance
is our observation model, reading the temperature of our heat rod system from before at a few sensor positions and times. As with real sensors, each reading carries a measurement error .
From this perspective, we define a task by what we know about the problem's parts and by the form, quality, and quantity of the prediction we want. Most tasks, from simulating a flow to inferring a system property, are then a question of one side given the other; i.e., predicting observations from a known system, or inferring the system from observations. That is, tasks differ only in what is known and what is sought. The map below provides a general overview of problems and methods (still in progress) and places them in relation to how much information it has or needs about the operator , the parameters , the forcing , the state data , and the observations , and what it produces.
| [0] | Raissi, M., Perdikaris, P., & Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378, 686–707. https://doi.org/10.1016/j.jcp.2018.10.045 |
| [1] | Li, Z., Zheng, H., Kovachki, N., Jin, D., Chen, H., Liu, B., Azizzadenesheli, K., & Anandkumar, A. (2024). Physics-informed neural operator for learning partial differential equations. ACM/IMS Journal of Data Science, 1(3), 1–27. https://doi.org/10.1145/3648506 |
| [2] | Kotchourko, S., Totounferoush, A., Mahoney, M. W., & Staab, S. (2026). Residuals are not enough: Limits of physics-informed pre-training for scientific foundation models. Discovery Science. https://arxiv.org/abs/2503.19081 |
| [3] | Jagtap, A. D., Kharazmi, E., & Karniadakis, G. E. (2020). Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems. Computer Methods in Applied Mechanics and Engineering, 365, 113028. https://doi.org/10.1016/j.cma.2020.113028 |
| [4] | Hansen, D., Maddix, D. C., Alizadeh, S., Gupta, G., & Mahoney, M. W. (2023). Learning physical models that can respect conservation laws. ICML; Physica D: Nonlinear Phenomena, 457 (2024), 133952. https://arxiv.org/abs/2302.11002 |
| [5] | Cohen, T., & Welling, M. (2016). Group equivariant convolutional networks. ICML, PMLR 48, 2990–2999. https://arxiv.org/abs/1602.07576 |
| [6] | Richter-Powell, J., Lipman, Y., & Chen, R. T. Q. (2022). Neural conservation laws: A divergence-free perspective. NeurIPS. https://arxiv.org/abs/2210.01741 |