NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mechanistic PDE Networks for Discovery of Governing Equations

Adeel Pervez, Efstratios Gavves, Francesco Locatello

Introduction

Scientific discovery often hinges on identifying the mathematical equations—specifically partial differential equations (PDEs)—that govern physical phenomena such as fluid dynamics, chemical reactions, or heat transfer. Traditionally, deriving these equations required deep domain expertise and manual derivation. While data-driven approaches like Sparse Identification of Non-linear Dynamics (SINDy) and Physics-Informed Neural Networks (PINNs) have emerged, they often struggle with high noise levels, assume rigid linear combinations of basis functions, and face significant computational bottlenecks when scaling to 2D or 3D systems.

Mechanistic PDE Networks (MechNN-PDE) address these challenges by introducing a "solver-in-the-loop" architecture. This framework embeds a differentiable, GPU-accelerated multigrid solver directly into the neural network, enabling the discovery of complex, nonlinear physics that are robust to real-world data imperfections.

The MechNN-PDE Framework

The core innovation of MechNN-PDE is the integration of the NeuRLP-PDE solver, a specialized differentiable linear PDE solver. Unlike traditional black-box solvers, this approach frames PDE solving as a constrained optimization problem, allowing gradients to propagate back through the physical constraints to update the model's parameters.

The MechNN-PDE discovery module parameterizes PDE terms using neural networks, allowing for the discovery of nonlinear exponents and complex structures.

To handle the memory demands of large 2D and 3D grids, the authors developed a native GPU-capable sparse solver utilizing a multigrid V-cycle. The architecture follows a specific pipeline:

  1. Data Cleaning: A ResNet-based encoder transforms raw, noisy data into a "cleaned" hidden representation ($\tilde{u}$).
  2. Discovery Module: This module proposes a PDE structure, where coefficients and exponents are parameterized by neural networks rather than fixed libraries.
  3. Solver Integration: The NeuRLP-PDE solver finds the solution for the proposed equation.
  4. Loss Optimization: The system minimizes the difference between the solver's output and the original experimental data.

Experimental Evaluation and Results

The authors evaluated MechNN-PDE against established baselines like PDEFIND and WeakSINDy across several challenging physical systems, including 1D Burger’s equations and 2D Navier-Stokes fluid flow.

2D Ginzburg-Landau datasets: the 'easy' single-spiral pattern (left) and the 'hard' complex pattern (right) used to test robustness against noise.

Robustness to Noise

In the "hard" 2D Ginzburg-Landau reaction-diffusion task, MechNN-PDE demonstrated exceptional resilience. It maintained a high True Positive Ratio in identifying correct equation terms at noise levels up to 40%. In contrast, baseline methods failed to recover the correct equations even when provided with noise-free data. This robustness stems from the "solver-in-the-loop" approach; because the model must solve the candidate equation globally, it is less susceptible to the local instabilities that plague derivative-matching methods.

Beyond Linear Libraries

One of the most significant advantages of MechNN-PDE is its ability to discover nonlinear relationships. For the Porous Medium equation ($u_t = \nabla^2(u^m)$), the model successfully recovered the real-valued exponent $m$ with high precision ($2.64 \pm 0.03$ vs. the true value of $2.675$). Standard library-based methods, which rely on predefined integer powers, are fundamentally unable to perform this type of discovery.

Conclusion and Future Directions

MechNN-PDE represents a significant step toward automated scientific discovery. By making the physics solver a differentiable component of the learning process, the model can navigate complex, noisy datasets to find the underlying governing laws of a system.

While the current grid-based sparse multigrid solver is efficient, future work may explore mesh-free techniques (such as PointClouds) to accommodate irregular geometries. Additionally, extending the framework to 3D systems and exploring entirely unknown physics—where no elementary basis functions are assumed—remains a promising frontier for this mechanistic approach.

Summary updated

BibTeX
@inproceedings{pervez2025mechanistic,
  author = {Adeel Pervez and Efstratios Gavves and Francesco Locatello},
  title = {{Mechanistic PDE Networks for Discovery of Governing Equations}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=7w1YGBPDMw},
}
Figure