Physics-Informed DeepONets for drift-diffusion on metric graphs: simulation and parameter identification

Jan Blechschmidt, Tom-Christian Riemer, Max Winkler, Martin Stoll, Jan-F. Pietschmann

TL;DR

This paper introduces a modular, physics-informed Deep Operator Network (DeepONet) framework to simulate nonlinear drift-diffusion processes on complex networks (metric graphs). By training just three reusable edge-level surrogate models—inflow, inner, and outflow edges—and coupling them via physical boundary conditions, the approach enables fast forward simulation and parameter identification. Crucially, it reduces the computational complexity of solving inverse problems from quadratic to linear compared to traditional numerical methods.

What Problem Does This Paper Address?

Many real-world systems—such as traffic flowing through a city, gas moving through pipelines, or cargo transport inside biological cells—can be modeled as dynamic processes on "metric graphs" (networks where every edge is treated as a continuous one-dimensional interval). These processes are typically governed by nonlinear partial differential equations (PDEs), like the drift-diffusion equation.

Simulating these systems and solving inverse problems (e.g., identifying unknown traffic velocities or initial states from sparse sensor data) using traditional numerical methods like the Finite Volume Method (FVM) is computationally brutal. Traditional solvers require heavy tailoring for every unique graph topology and rely on expensive optimization loops that repeatedly solve forward and adjoint equations. While Physics-Informed Neural Networks (PINNs) offer an alternative, they must be completely retrained whenever initial or boundary conditions change.

Methods

The authors address these challenges by combining Physics-Informed DeepONets (PI-DeepONets) with a "Lego-like" domain decomposition strategy.

Instead of training a massive neural network to learn the physics of an entire complex graph, they break the problem down to the edge level. Every graph network can be decomposed into three fundamental edge types:

  1. Inflow edges: Originate at an external boundary and terminate at an inner vertex.
  2. Inner edges: Connect two internal vertices.
  3. Outflow edges: Originate at an inner vertex and terminate at an external boundary.

The PI-DeepONet architecture uses two sub-networks: a branch net that encodes initial/boundary conditions and physical parameters (like velocity), and a trunk net that takes space ($x$) and time ($t$) coordinates.

Figure 3. Illustration of physics-informed DEEPONET adapted to our setting from (Wang et al., 2021).

The authors train three independent DeepONet surrogates (one for each edge type) using a physics-informed loss function that enforces the PDE residual, initial conditions, and edge-specific flux conditions. At test time, these trained edge models are glued together to match any arbitrary graph topology. The global solution is obtained by minimizing a computationally cheap coupling loss at the graph vertices, ensuring physical continuity and mass conservation (Kirchhoff-Neumann flux conditions).

Datasets

The authors did not use real-world datasets; instead, they generated synthetic data to train and validate their models.

  • Training Data Generation: They used a standard FVM solver to simulate drift-diffusion dynamics across three simple "training graphs" containing a mix of inflow, inner, and outflow edges.
  • Randomization: To ensure the model generalized well, initial conditions, inflows, and outflows were randomly sampled from a Gaussian Process using a Radial Basis Function (RBF) kernel.
  • Evaluation: The framework was tested on distinct verification topologies (a chain graph, a double-Y graph, and a binomial graph) as well as a massive synthetic network containing 1,034 edges.

Key Insights and Ideas

  • Graph-Agnostic Modular Training: The most powerful insight is that the neural networks do not need to know the final graph's structure during training. By mastering the physics of just three generic edge types, the models can be assembled like building blocks to simulate flows on virtually any complex network.
  • Inverse Problems for "Free": In this framework, solving an inverse problem (like parameter identification) does not require complex adjoint equations. Because the DeepONet acts as a differentiable surrogate, finding unknown velocities or initial states simply requires adding a data-misfit term to the vertex coupling loss function.
  • Data-Free Operator Learning: By utilizing physics-informed losses (enforcing the PDE directly via automatic differentiation), the framework minimizes the need for massive, labeled simulation datasets typically required by standard deep operator networks.

Key Results

  • High Accuracy: The PI-DeepONet closely matched the baseline FVM simulations. On the verification graphs, the absolute space-time $L^2$ error averaged over 1,000 random runs hovered between $10^{-3}$ and $10^{-2}$.
Comparison between the FVM reference solution and the PI-DeepONet solution on a model graph, demonstrating low absolute error.
  • Linear Scaling: For inverse problems, the computational complexity of traditional FVM scales quadratically, $\mathcal{O}(N_{\text{edges}}^2)$, making large networks intractable. The PI-DeepONet approach scales linearly, $\mathcal{O}(N_{\text{edges}})$, offering a massive speedup for large-scale networks.
  • Noise Robustness: The framework successfully recovered unknown edge velocities and initial conditions even when significant additive measurement noise ($\epsilon = 0.1, 0.05, 0.01$) was introduced to the sensor data.

Limitations and Future Work

While the method shines for inverse problems and optimization, the authors note that for pure forward simulation on simple graphs, traditional FVM solvers are still faster than evaluating the neural networks. Additionally, when measurement noise is exceptionally high, the accuracy of velocity estimation degrades on internal edges that sit far away from the network's boundary nodes.

For future work, the authors plan to validate their framework using real-world urban traffic datasets and extend the physics-informed loss to accommodate more complex, hyperbolic traffic flow equations that go beyond standard drift-diffusion.

Summary updated

Abstract

We develop a novel physics informed deep learning approach for solving nonlinear drift-diffusion equations on metric graphs. These models represent an important model class with a large number of applications in areas ranging from transport in biological cells to the motion of human crowds. While traditional numerical schemes require a large amount of tailoring, especially in the case of model design or parameter identification problems, physics informed deep operator networks (DeepONet) have emerged as a versatile tool for the solution of partial differential equations with the particular advantage that they easily incorporate parameter identification questions. We here present an approach where we first learn three DeepONet models for representative inflow, inner and outflow edges, resp., and then subsequently couple these models for the solution of the drift-diffusion metric graph problem by relying on an edge-based domain decomposition approach. We illustrate that our framework is applicable for the accurate evaluation of graph-coupled physics models and is well suited for solving optimization or inverse problems on these coupled networks.
BibTeX
@inproceedings{blechschmidt2025physics,
  author = {Jan Blechschmidt and Tom-Christian Riemer and Max Winkler and Martin Stoll and Jan-F. Pietschmann},
  title = {{Physics-Informed DeepONets for drift-diffusion on metric graphs: simulation and parameter identification}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=oF1OPyMw1m},
}
Figure