\[
\begin{align*}
\nabla \cdot \mathbf{E} &= 0 \\
\nabla \cdot \mathbf{B} &= 0 \\
\nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\
\nabla \times \mathbf{B} &= \frac{\partial \mathbf{E}}{\partial t}
\end{align*}
\]
Differential Algebraic Machine Learning in Linear PDE Solution Spaces
SCML 2026: International Conference on
Symbolic Computation and Machine Learning, SCDDE 2026: Symbolic Computation and Differential and Difference Equations
Markus Lange-Hegermann
With many, many contributions by Obed Amo, Andreas Besginow, Samit Ghosh, Marc Härkönen, Jianlei Huang, Xin Li, Michael Pokojovy, Bogdan Raiță, Daniel Robertz, and Jörn Tebbe
Thx for having me!
A personal Motivation
Correspondences: Algebra (computation, equations) $\leftrightarrow$ Systems (interpretation, functions)
Commutative ring $\textcolor{#0073e6}{R}$ (linear operators), $\textcolor{#0073e6}{R}$-module $\textcolor{#0073e6}{M}$ (system module) presented by matrix $\textcolor{#0073e6}{A}$ (equations):
\[
\textcolor{#0073e6}{R^{1\times m_1}\xrightarrow{\cdot A}R^{1\times m_0}\xrightarrow{} M\xrightarrow{} 0} \text{\quad exact}
\]
E.g., linear differential operators $\textcolor{#0073e6}{R = \mathbb{R}[\partial_1, \ldots, \partial_d]}$.
Injective function space $\textcolor{FF9700}{\mathcal{F}}$. Apply the exact functor $\textcolor{FF9700}{\operatorname{Hom}_R(-, \mathcal{F})}$:
\[
\textcolor{FF9700}{\mathcal{F}^{m_1\times1}\xleftarrow{A\cdot}\mathcal{F}^{m_0\times1}\xleftarrow{} \textcolor{#0073e6}{\operatorname{Hom}_R(M,\textcolor{FF9700}{\mathcal{F}})}\xleftarrow{} 0} \text{\quad exact}
\]
E.g. smooth functions $\textcolor{FF9700}{\mathcal{F} = C^\infty(\mathbb{R}^d, \mathbb{R})}$.
$\textcolor{#0073e6}{\operatorname{Hom}_R(M,\textcolor{FF9700}{\mathcal{F}})}$ contains the admissible behaviors that satisfy the equations given by the rows of $\textcolor{#0073e6}{A}$:
\[
\textcolor{#0073e6}{\operatorname{Hom}_R(M,\textcolor{FF9700}{\mathcal{F}})}\cong \textcolor{FF9700}{\left\{f\in\mathcal{F}^{m_0}\mid \textcolor{#0073e6}{A}f=0\right\}}=:\textcolor{FF9700}{\operatorname{sol}_\mathcal{F}(\textcolor{#0073e6}{A})}
\]
What about Data and Functions?
Algebra handles equations (and invariants derived from them) really well.
However...
...algebra is neither made to
- describe analytic system behavior ($\rightarrow$ functional analysis) nor
- account for (noisy) data ($\rightarrow$ stochastics, machine learning)
Obstructs using algebra in optimal control, function norms, safety constraints, uncertainty quantification, ...
Goal:
Data structures for $\mathcal{F}$ that...
- can be trained to approximate any function in $\textcolor{FF9700}{\mathcal{F}^{m_0}}$,
- incorporates a probability distribution on $\textcolor{FF9700}{\mathcal{F}^{m_0}}$, or
- is compatible to techniques in algebra, functional analysis, stochastics, and/or machine learning.
Example
Damped spring-mass system
\[\frac{\mathrm{d}^2y}{\mathrm{d}t^2} + 2 \frac{\mathrm{d}y}{\mathrm{d}t} + 10y = 0\]
Sample 5 noisy points
Example
Neural Network
- ⚠️ ~300,000 parameters
- ✅ Fast convergence
- ❌ Bad inter/extrapolation
Example
Physics Informed Neural Network
- ✅ Good interpolation
- ✅ Fast inference
- ⚠️ ~300,000 parameters
- ⚠️ Requires extra points
- ⚠️ Not an exact solution
- ❌ Slow convergence
- ❌ Hard to optimize
A more constrained approach
How would you solve?
\[\frac{\mathrm{d}^2y}{\mathrm{d}t^2} + 2 \frac{\mathrm{d}y}{\mathrm{d}t} + 10y = 0\]
Algebraic preprocessing: characteristic frequencies
\[z^2 + 2z + 10 = 0 \Rightarrow z = -1 \pm 3\sqrt{-1}\]
Solution Space
\[y(t) = (\textcolor{#b51963}{c_1} \cdot e^{-t} \cos 3t + \textcolor{#b51963}{c_2} \cdot e^{-t} \sin 3t)\]
A more constrained approach
\[\frac{\mathrm{d}^2y}{\mathrm{d}t^2} + 2 \frac{\mathrm{d}y}{\mathrm{d}t} + 10y = 0\]
Algebraic preprocessing: characteristic frequencies
\[z^2 + 2z + 10 = 0 \Rightarrow z = -1 \pm 3\sqrt{-1}\]
Solution Space
\[y(t) = (\textcolor{#b51963}{c_1} \cdot e^{-t} \cos 3t + \textcolor{#b51963}{c_2} \cdot e^{-t} \sin 3t)\]
Algebra: determine suitable frequencies
Stochastics: weigh frequencies
A more constrained approach
\[\frac{\mathrm{d}^2y}{\mathrm{d}t^2} + 2 \frac{\mathrm{d}y}{\mathrm{d}t} + 10y = 0\]
Algebraic preprocessing: characteristic frequencies
\[z^2 + 2z + 10 = 0 \Rightarrow z = -1 \pm 3\sqrt{-1}\]
Solution Space
\[y(t) = (\textcolor{#b51963}{c_1} \cdot e^{-t} \cos 3t + \textcolor{#b51963}{c_2} \cdot e^{-t} \sin 3t)\]
Algebra: determine suitable frequencies
Stochastics: weigh frequencies
Gaussian process prior
\[Y(t) \sim (\textcolor{#b51963}{C_1} \cdot e^{-t} \cos 3t + \textcolor{#b51963}{C_2} \cdot e^{-t} \sin 3t) + \textcolor{#b51963}{\epsilon}\]
where
\[
\textcolor{#b51963}{C_1 \sim \mathcal{N}(0, \sigma_1^2)},
\textcolor{#b51963}{C_2 \sim \mathcal{N}(0, \sigma_2^2)},
\textcolor{#b51963}{\epsilon \sim \mathcal{N}(0, \sigma_0^2)}
\]
Gaussian Process
- ✅ 3 parameters
- ✅ Fast convergence
- ✅ Good inter/extrapolation
- ✅ Exact solution
- ✅ No extra points
Gaussian Processes
Assume Gaussian function values of the regression function $f$.
Gaussian Processes
A Gaussian Process (GP) is a distribution on functions such that the evaluations $f(x_1),\ldots,f(x_n)$ at any $x_1,\ldots,x_n$ are jointly Gaussian.
Characterizing GPs
| Gaussian distribution $1$-dim |
Gaussian distribution $n$-dim |
GPs |
| $\textcolor{b51963}{\mathcal{N}(\mu,\sigma^2)}$ |
$\textcolor{b51963}{\mathcal{N}(\mu,\Sigma)}$ |
$\textcolor{b51963}{\mathcal{GP}(\mu(x),k(x_1,x_2))}$ |
| Mean $\textcolor{b51963}{\mu}$ |
Mean vector $\textcolor{b51963}{\mu}$ |
Mean function $\textcolor{b51963}{\mu}$ |
| Variance $\textcolor{b51963}{\sigma^2}$ |
Covariance matrix $\textcolor{b51963}{\Sigma}$ |
Covariance function $\textcolor{b51963}{k}$ |
Set prior mean function to the constant zero function (normalize data).
It remains to encode information in the covariance function.
GPs
$C^\infty$: smooth realizations $p(f(x)|x)$
GPs
$C^\infty$: smooth realizations $p(f(x)|x)$
...conditioned on data $p(f(x)|x,x_i,f(x_i))$
GPs
...conditioned on data $p(f(x)|x,x_i,f(x_i))$
...conditioned on noisy data $p(f(x)|x,x_i,f(x_i)+\varepsilon)$
Encoding knowledge into GPs
GPs play nice with a linear transformation $T$
\[\textcolor{b51963}{g\sim \mathcal{GP}(\mu, k)} \Rightarrow \textcolor{0073e6}{T}\textcolor{b51963}{g \sim \mathcal{GP}(}\textcolor{0073e6}{T}\textcolor{b51963}{\mu}, \textcolor{0073e6}{T}\textcolor{b51963}{k}\textcolor{0073e6}{T'}\textcolor{b51963}{)}\]
Smith Normal Form
Given a matrix $A$ over a principal ideal domain (like $\R[\partial]$),
there are invertible matrices $S$ and $\textcolor{#0073e6}{T}$ s.t.
\[
\begin{align*}
SA\textcolor{#0073e6}{T}=D
\end{align*}
\]
where $D$ is a diagonal matrix.
\[
\begin{align*}
Af=0 & \Leftrightarrow SA\textcolor{#0073e6}{T}\underbrace{\textcolor{#0073e6}{T^{-1}}f}_{=:h}=0 \\
& \Leftrightarrow Dh=0
\end{align*}
\]
A GP prior for $h=\textcolor{#0073e6}{T^{-1}}f$ yields one for $f=\textcolor{#0073e6}{T}h$.
Smith Normal Form
\[
\begin{align*}
Af=0 & \Leftrightarrow SA\textcolor{#0073e6}{T}\underbrace{\textcolor{#0073e6}{T^{-1}}f}_{=:h}=0 \\
& \Leftrightarrow Dh=0
\end{align*}
\]
A GP prior for $h=\textcolor{#0073e6}{T^{-1}}f$ yields one for $f=\textcolor{#0073e6}{T}h$.
Prior for $h$
\[
\begin{align*}
\underbrace{
\begin{bmatrix}
1\\
& \partial_t^2+1 & 0 %
\end{bmatrix}
}_D
\cdot
\begin{bmatrix}
h_1(t)\\
h_2(t)\\
h_3(t)
\end{bmatrix}
=0
\end{align*}
\]
We can easily solve such ODEs:
| $h_1(t)=0$ | | $k_1(t_1,t_2)=0$ |
| $h_2(t)=\textcolor{#b51963}{c_1}\sin(t)+\textcolor{#b51963}{c_2}\cos(t)$ | $\textcolor{#b51963}{c_1,c_2\sim\mathcal{N}(0,\sigma^2)}$ | $k_2(t_1,t_2)=\textcolor{#b51963}{\sigma^2}\cos(t_1-t_2)$ |
| $h_3(t)$ arbitrary | $\text{\textcolor{#b51963}{Smooth prior}}$ | $k_3(t_1,t_2)=\exp(-\frac{1}{2}(t_1-t_2)^2)$ |
Now apply push forward by $\textcolor{#0073e6}{T}$
Smith Normal Form
\[
\begin{align*}
Af=0 & \Leftrightarrow SA\textcolor{#0073e6}{T}\underbrace{\textcolor{#0073e6}{T^{-1}}f}_{=:h}=0 \\
& \Leftrightarrow Dh=0
\end{align*}
\]
If we get a GP prior for $h=\textcolor{#0073e6}{T^{-1}}f$, we have one for $f=\textcolor{#0073e6}{T}h$.
Prior for $h$
\[
\begin{align*}
\underbrace{
\begin{bmatrix}
1\\
& \partial_t^2+1 & 0
\end{bmatrix}
}_D
\cdot
\begin{bmatrix}
h_1(t)\\
h_2(t)\\
h_3(t)
\end{bmatrix}
=0
\end{align*}
\]
We can easily solve such ODEs:
| $h_1(t)=0$ | | $k_1(t_1,t_2)=0$ |
| $h_2(t)=\textcolor{#b51963}{c_1}\sin(t)+\textcolor{#b51963}{c_2}\cos(t)$ | $\textcolor{#b51963}{c_1,c_2\sim\mathcal{N}(0,\sigma^2)}$ | $k_2(t_1,t_2)=\textcolor{#b51963}{\sigma^2}\cos(t_1-t_2)$ |
| $h_3(t)$ arbitrary | $\text{\textcolor{#b51963}{Smooth prior}}$ | $k_3(t_1,t_2)=\exp(-\frac{1}{2}(t_1-t_2)^2)$ |
Now apply push forward by $\textcolor{#0073e6}{T}$
Theorem: The resulting set of realizations is $C^\infty$-dense in $\operatorname{sol}_\mathcal{F}(A)$.
Optimal Control
Find optimal function in $(\mathcal{F}^{m_0}, \Vert \cdot \Vert)$ for a linear ODE system given by $A$ (asymptotically controllable).
\[
\begin{align*}
&\textcolor{FF9700}{\min_{f \in \mathcal{F}^{m_0}} \Vert f \Vert}\\
\text{s.t. } &f \in \text{sol}_\mathcal{F}(\textcolor{0073e6}{A}),\\
&\textcolor{b51963}{f(t_i) = f_i}, && i=1,\dots,p
\end{align*}
\]
Theorem: The GP posterior mean is such an optimal control for the RKHS norm given by the covariance $k$.
Example: HMC sampling for constrained control
$
\dot{\begin{pmatrix}
\textcolor{1F77B4}{x_1} \\
\textcolor{FF7F0E}{x_2}
\end{pmatrix}} = \begin{pmatrix}
0 & 1 \\
-1 & 0
\end{pmatrix} \begin{pmatrix}
\textcolor{1F77B4}{x_1} \\
\textcolor{FF7F0E}{x_2}
\end{pmatrix} + \begin{pmatrix}
0 \\ 1
\end{pmatrix}
\textcolor{2CA02C}{u}
$
Rougher Covariance (GPM) with energy reduction bias (GPMO)
Example: HMC sampling for constrained control
$
\dot{\begin{pmatrix}
\textcolor{1F77B4}{x_1} \\
\textcolor{FF7F0E}{x_2}
\end{pmatrix}} = \begin{pmatrix}
0 & 1 \\
0 & 0
\end{pmatrix} \begin{pmatrix}
\textcolor{1F77B4}{x_1} \\
\textcolor{FF7F0E}{x_2}
\end{pmatrix} + \begin{pmatrix}
0 \\ 1
\end{pmatrix}
\textcolor{2CA02C}{u}
$
Rougher Covariance (GPM) with energy reduction bias (GPMO)
PDEs
You cannot solve PDEs with data, solutions are rarely unique!
Cosinder regression in the solution space.
Fourier & Heat Equation (1822)
\[\frac{\partial T}{\partial t}-\frac{\partial^2 T}{\partial x^2}=0\]
- $e^{\textcolor{#0073e6}{-z^2}t+\textcolor{#0073e6}{\sqrt{-1}z}x}=e^{-z^2t}(\cos zx+\sqrt{-1}\sin zx)$ are solutions.
- Linearity: $T^c(x,z)=\sum_{z=-N}^N \textcolor{#b51963}{c_z}e^{\textcolor{#0073e6}{-z^2}t+\textcolor{#0073e6}{\sqrt{-1}z}x}$ are solutions.
- Postulated density: All solutions $T$ can be approximated with solutions $T^c$.
- Considered initial conditions $T^c(x,0)=\sum_{z\in\mathbb Z} \textcolor{#b51963}{c_z}e^{\textcolor{#0073e6}{\sqrt{-1}z}x}$ (Fourier series).
Ehrenpreis-Palamodov (1970)
Solutions to a linear PDE system $Af=0$ with constant coefficients are described by Fourier frequencies
\[
f(x) = \int_{\textcolor{#0073e6}{V}} \textcolor{#0073e6}{B(x,z)} e^{\langle x, \textcolor{#0073e6}{z} \rangle} \, \mathrm{d}\textcolor{#b51963}{\mu(z)}
\]
Algebraic preprocessing
Learned
- $V$ encodes frequencies
- $B$ encodes multiplicity of frequencies and dependencies between outputs
- $\mu(z)$ weighs frequencies
Ehrenpreis-Palamodov (1970)
Let $A \in R^{\ell' \times {\ell}}$ for $R=\R[\partial_{x_1},\ldots,\partial_{x_n}]$ and let $\Omega \subseteq \R^n$ be a convex, compact set.
There exist
- characteristic varieties $\textcolor{#0073e6}{\{V_1,\dotsc,V_s\}}$ and
- $\ell\times1$ polynomial operators $\textcolor{#0073e6}{\{B_{i,1}(x, z), \dotsc, B_{i,m_i}(x,z)\}_{i=1,\dotsc,s}}$ in $2n$ variables,
such that any smooth solution $f \colon \Omega \to \R^{\ell}$ to the equation $Af = 0$ can be written as
\[
\begin{align*}
f(x) &= \sum_{i=1}^s \sum_{j=1}^{m_i} \int_{\textcolor{#0073e6}{V_i}} \textcolor{#0073e6}{B_{i,j}(x, z)} e^{\langle x, \textcolor{#0073e6}{z} \rangle} \textcolor{#b51963}{\mathrm{d}\mu_{i,j}(z)}
\end{align*}
\]
for a suitable choice of measures $\textcolor{#b51963}{\mu_{i,j}}$.
Algebraic precomputations are algorithmic using Gröbner bases and implemented in Macaulay2:
Compute associated primes $V_i$ of the system module of $A$.
When localizing at $V_i$, the $B_i$ are the parametrizations of $A$ (up to technical details).
EPGP
Combine the EP-representation for both $x, x'$ with a Gaussian measure for the frequencies $z$.
\[
\begin{align*}
\Psi(x,z) &:= \sum_j \textcolor{#0073e6}{B_j(x,z)} e^{\langle x, \textcolor{#0073e6}{z} \rangle} \\
k_{\operatorname{EPGP}}(x,x') &:= \int_{\sqrt{-1}z \in \textcolor{#0073e6}{V}} \Psi(x,z) \, \textcolor{#b51963}{e^{-\frac{\|z\|^2}{2}}}\, \Psi(x',z)^H \, \textcolor{#b51963}{\mathrm{d}z}.
\end{align*}
\]
Imaginary frequencies yield a stationary covariance.
Heat Equation
Let $A = \begin{bmatrix}\partial_x^2 - \partial_t\end{bmatrix}$ the one-dimensional heat equation.
Parametrize characteristic variety $\textcolor{#0073e6}{V( z_1^2 - z_2)}$ by $z_1=\sqrt{-1}z$ and $z_2=(\sqrt{-1}z)^2$ for $z\in\mathbb{R}$.
$\textcolor{#0073e6}{B=\begin{bmatrix}1\end{bmatrix}}$.
\[
\begin{align*}
k_\text{heat}(x,t;x',t')
&= \int_{z \in \R} e^{\sqrt{-1}zx} e^{-z^2t} \textcolor{#b51963}{e^{-\frac{z^2}{2}}} e^{-z^2t'} e^{\overline{\sqrt{-1}}zx'} \, \textcolor{#b51963}{d\mathcal{L}(z)} \\
&= \sqrt{2\pi} \frac{e^{-\frac{(x-x')^2}{2(1+2(t+t'))}}}{\sqrt{1+2(t+t')}}
\end{align*}
\]
Heat Equation
Comparison to PINN
Cuomo, Di Cola, Giampaolo, Rozza, Raissi, Piccialli; Scientific machine learning through physics-informed neural networks: Where we are and what’s next. Journal of Scientific Computing; arXiv:2201.05624
S-EPGP
Sparse version of EPGP without integration.
- Choose the measures $\textcolor{#b51963}{\mu_{i,j}}$ as linear combinations of trainable Dirac deltas at points $\textcolor{#0073e6}{z_{i,j} \in V}$.
- Define a GP prior with realizations of the form
\[
\begin{align*}
f(x) = \sum_{j=1}^m \sum_{i=1}^r \textcolor{#b51963}{c_{i,j}} \textcolor{#0073e6}{B_j}(x, \textcolor{#0073e6}{z_{i,j}}) e^{\langle x, \textcolor{#0073e6}{z_{i,j}} \rangle} =: \textcolor{#b51963}{c^T}\cdot \textcolor{#0073e6}{\phi(x)},
\end{align*}
\]
- Turn $f(x)$ into a GP: $\textcolor{#b51963}{c_{i,j} \sim \mathcal{N}\left(0, \frac{1}{mr} \Sigma\right)}$ for $\textcolor{#b51963}{\Sigma=\operatorname{diag}(\sigma_{i}^2)}$
S-EPGP
Sparse version of EPGP without integration.
- Choose the measures $\textcolor{#b51963}{\mu_{i,j}}$ as linear combinations of trainable Dirac deltas at points $\textcolor{#0073e6}{z_{i,j} \in V}$.
- Define a GP prior with realizations of the form
\[
\begin{align*}
f(x) = \sum_{j=1}^m \sum_{i=1}^r \textcolor{#b51963}{c_{i,j}} \textcolor{#0073e6}{B_j}(x, \textcolor{#0073e6}{z_{i,j}}) e^{\langle x, \textcolor{#0073e6}{z_{i,j}} \rangle} =: \textcolor{#b51963}{c^T}\cdot \textcolor{#0073e6}{\phi(x)},
\end{align*}
\]
- Turn $f(x)$ into a GP: $\textcolor{#b51963}{c_{i,j} \sim \mathcal{N}\left(0, \frac{1}{mr} \Sigma\right)}$ for $\textcolor{#b51963}{\Sigma=\operatorname{diag}(\sigma_{i}^2)}$
Yields covariance function:
\[
\begin{align*}
k(x,x') = \frac{1}{mr} \textcolor{#0073e6}{\phi(x)}^H \textcolor{#b51963}{\Sigma} \textcolor{#0073e6}{\phi(x')}
\end{align*}
\]
Wave equation 2D
\[\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}\]
Wave equation 2D
\[\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}\]
Numerical solution
Mean of our S-EPGP
PINN
Training data: spatial $21\times21$-grid of the first three frames of the numerical solution.
Wave equation 2D
\[\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}\]
Boundary conditions B-EPGP
Dirichlet BC in Triangle
Neumann BC in Wedge
Homogeneous Maxwell's equations
\[
\begin{align*}
\nabla \cdot \mathbf{E} &= 0 \\
\nabla \cdot \mathbf{B} &= 0 \\
\nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\
\nabla \times \mathbf{B} &= \frac{\partial \mathbf{E}}{\partial t}
\end{align*}
\]
$V(z_t^2-z_x^2-z_y^2-z_z^2)$
3D wave equation
\[
\mathbf{B}(x,y,z,t)
\]
Special case for PDEs: Various equivalent conditions
- Solution set allows for full frequency spectrum (harmonic analysis)
- System is controllable (engineering)
- Solution set admits potentials (physics)
- System module is torsionless (algebraic system theory)
- System module is reflexive (homological algebra)
- Solution set is parametrizable by a linear operator (functional analysis)
The Koszul (or de Rham) Complex
$A=\begin{bmatrix} x_1 & x_2 & x_3 \end{bmatrix}$ yields tangents of a sphere.
Parametrized by $\textcolor{#0073e6}{B=\begin{bmatrix} 0 & x_3 & -x_2 \\ -x_3 & 0 & x_1 \\x_2 & -x_1 & 0 \\\end{bmatrix}} $.
Covariance function for tangential fields on the sphere:
\[
\begin{bmatrix}
-y_1y_2-z_1z_2 & y_1x_2 & z_1x_2 \\
x_1y_2 & -x_1x_2-z_1z_2 & z_1y_2 \\
x_1z_2 & y_1z_2 & -x_1x_2-y_1y_2\\
\end{bmatrix}\cdot k
\]
The Koszul (or de Rham) Complex
$A=\begin{bmatrix} x_1 & x_2 & x_3 \end{bmatrix}$ yields tangents of a sphere.
Parametrized by $\textcolor{#0073e6}{B=\begin{bmatrix} 0 & x_3 & -x_2 \\ -x_3 & 0 & x_1 \\x_2 & -x_1 & 0 \\\end{bmatrix}}$.
Covariance function for tangential fields on the sphere:
\[
\begin{bmatrix}
-y_1y_2-z_1z_2 & y_1x_2 & z_1x_2 \\
x_1y_2 & -x_1x_2-z_1z_2 & z_1y_2 \\
x_1z_2 & y_1z_2 & -x_1x_2-y_1y_2\\
\end{bmatrix}\cdot k
\]
Smooth field, conditioned at 4 points at the equator,
neighboring tangent vectors point into opposed directions (north/south).
The Koszul (or de Rham) Complex
$A=\begin{bmatrix} x_1 & x_2 & x_3 \end{bmatrix}$
$\textcolor{#0073e6}{B=\begin{bmatrix} 0 & x_3 & -x_2 \\ -x_3 & 0 & x_1 \\x_2 & -x_1 & 0 \\\end{bmatrix}}$
Divergence $A=\begin{bmatrix} \partial_1 & \partial_2 & \partial_3 \end{bmatrix}$
Rotation $\textcolor{#0073e6}{B=\begin{bmatrix} 0 & \partial_3 & -\partial_2 \\ -\partial_3 & 0 & \partial_1 \\\partial_2 & -\partial_1 & 0 \\\end{bmatrix}}$
We can intersect parametrizations
via a pullback under suitable assumptions
Data: 2 points opposed at the equator with tangents pointing north:
The Koszul (or de Rham) Complex
We can intersect parametrizations
via a pullback under suitable assumptions
Functions vanishing on hyperplane $x_3=0$: $\langle \textcolor{#0073e6}{x_3}\rangle\unlhd \mathcal{F}=C^\infty(\R^d,\R)$.
The Koszul (or de Rham) Complex
Inhomogeneous Boundary Conditions:
Smooth divergence free fields $f$ on the sphere and
inhomogeneous boundary condition $f_3(x_1,x_2,0)=x_2$.
Take particular solution $\mu=\begin{bmatrix}0&-x_3&x_2\end{bmatrix}^T$ as mean.
Modeling with few data points
Modeling with many data points
- GPs suffer from $\mathcal{O}(\textcolor{#b51963}{\operatorname{data}^2})$ space complexity and $\mathcal{O}(\textcolor{#b51963}{\operatorname{data}^3})$ time complexity.
- Consider: $u(t,x)$ satisfying the transport equation $\begin{bmatrix}\partial_t-\partial_x\end{bmatrix}\cdot u(t,x)=0$.
- Ansatz: $u(t,x)=\sigma(z_1t+z_2x+b)$.
- Then $\begin{bmatrix}\partial_t-\partial_x\end{bmatrix}\cdot u(t,x)=0\Leftrightarrow\textcolor{#0073e6}{(z_1-z_2)}\cdot\sigma'(z_1t+z_2x+b)=0\Leftarrow \textcolor{#0073e6}{z_1=z_2}$.
- Hence, $u(t,x)=\textcolor{#0073e6}{\sigma(zt+zx+b)}$ is a solution for any $\sigma\in C^1$ and any $z,b\in\mathbf{R}$.
- Linearity: so is $u(t,x)=\textcolor{#0073e6}{\sum_iw_i\,\sigma(z_it+z_ix+b_i)}$.
- View this as a shallow neural network.
- This idea works for linear c.c. PDE systems with homogeneous differentiation order.
Fast-Learning Accurate Solver for the Homogeneous MAXwell equations (FLASH-MAX)
Let $\mathbf{x}=(t,x,y,z)\in\R^4$. We consider fields $\mathbf{E},\mathbf{B}:\mathbb{R}^4\to\mathbb{R}^3$, satisfying Maxwell's equations \[\partial_t \mathbf{E}-\nabla \times \mathbf{B} = \mathbf{0}, \quad \partial_t\mathbf{B}+ \nabla\times \mathbf{E} = \mathbf{0}, \quad \nabla \cdot \mathbf{E} = 0, \quad \nabla\cdot \mathbf{B} = 0.\]
Use the Ansatz for a shallow neural network of width $W$
\[
(\mathbf{E}(\mathbf{x}),\mathbf{B}(\mathbf{x}))=\sum_{i=1}^2\sum_{j=\pm1}\sum_{k=1}^W w_{ijk}\,\sigma(\mathbf{x}^\top \textcolor{#0073e6}{\mathbf{z}_{ijk}}+ b_{ijk})\,\textcolor{#0073e6}{B_i(\mathbf{z}_{ijk})}
\]
With frequencies $\mathbf{z}_{ijk}=(\textcolor{#0073e6}{z_{ijk0}},\textcolor{#b51963}{z_{ijk1},z_{ijk2},z_{ijk3}})\in \mathbb{R}^4$ s.t. $\textcolor{#0073e6}{z_{ijk0}=j\sqrt{\textcolor{#b51963}{z_{ijk1}}^2+\textcolor{#b51963}{z_{ijk2}}^2+\textcolor{#b51963}{z_{ijk3}}^2}}$,
biases $b_{ijk}\in\mathbb{R}$, Noetherian multipliers $B_{i}\colon \R^4 \to \R^6$, and $\sigma=\tanh$.
Train $z_{ijk1}$, $z_{ijk2}$, $z_{ijk3}$, ${w}_{ijk}$, and $b_{ijk}$ on data.
Universal approximation Theorem for Maxwell's equations
Let $\sigma\colon\mathbf{R}\to\mathbf{R}$ be locally Lipschitz and non-polynomial, $t_1\lt t_2$, and $\Omega\subset\mathbf{R}^3$ be a bounded open set.
Let $(\mathbf{E}_0,\mathbf{B}_0)$ be an $L^2$-solution of the homogeneous Maxwell equations on $\mathbb{R}^{4}$.
Then, for every $\varepsilon>0$, there exists a neural network $(\mathbf{E},\mathbf{B})$ as above such that
\[
\|( \mathbf{E}_0, \mathbf{B}_0)-(\mathbf{E},\mathbf{B})\|_{L^2((t_1,t_2)\times\Omega)}\lt\varepsilon.
\]
Holds true with mild restrictions on $\sigma$ when replacing $L^2$ with $C^0,\,C^m,\,C^\infty$, or $H^m$.
Proof (idea): Approximate ground truth $(\mathbf{E}_0(t_1,\cdot),\mathbf{B}_0(t_1,\cdot))$ at initial time $t=t_1$ with small $L^2$-norm. This error controls the spacetime $L^2$-error in the time span $(t_1,t_2)$ (hyperbolic: finite wave speed). $\blacksquare$
FLASH-MAX: Performance on a Time Budget
BC setup
IC setup
Conclusion
- Data structure for functions
- in computer algebra
- to model data
- with optimal control strategies
- Probability, functional analysis $\hookrightarrow$ algebra
- Fully algorithmic
- No approximations $\Rightarrow$ exact solutions
- Compatible with standard GP/NN techniques
- GPs: Very little data necessary, Bayesian UQ
- NNs: High speed
- Works well on inverse problems and control
\[
\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}
\]
Conclusion
\[
\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}
\]
Open Problems
- Increase TRL >3
- Highly accurate neural network
- Faster GPs
- Neural networks without homogeneity
- Deep neural networks
- Uncertainty quantification, active learning
- Many more...
Conclusion
Thank you for your attention!
Literature
- arXiv:2605.20514
- arXiv:2511.04518 (FLAIRS 2026)
- arXiv:2502.04276 (SSSC 2025)
- arXiv:2411.16663
- arXiv:2212.14319 (ICML oral 2023)
- arXiv:2208.12515 (NeurIPS 2022)
- arXiv:2205.03185 (CASC 2022)
- arXiv:2002.00818 (AISTATS 2021)
- arXiv:1801.09197 (NeurIPS 2018)
\[
\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}
\]