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

A Bayesian Framework for learning governing Partial Differential Equation from Data

Kalpesh Sanjay More, Tapas Tripura, Rajdip Nayek, Souvik Chakraborty · DOI

Abstract

Discovering the underlying physical laws of complex systems is a fundamental challenge in science and engineering. While Partial Differential Equations (PDEs) serve as the standard mathematical language for these laws, deriving them from first principles is often impossible for poorly understood systems. This paper presents a novel data-driven framework developed by researchers at IIT Delhi that utilizes Variational Bayes (VB) combined with a spike-and-slab prior to identify governing PDEs from noisy observations. The method provides a computationally efficient alternative to traditional Markov Chain Monte Carlo (MCMC) sampling while maintaining superior noise robustness compared to deterministic methods like SINDy. Our evaluation across multiple physical systems demonstrates that this framework consistently achieves a 0% false-positive rate even in the presence of 5% Gaussian noise.

Introduction

In fields ranging from fluid dynamics to financial modeling, Partial Differential Equations (PDEs) act as the "source code" of nature. Traditionally, these equations are derived by experts through rigorous theoretical frameworks. However, as we move toward analyzing increasingly complex systems, we often find ourselves in a data-rich but theory-poor environment.

Existing data-driven discovery methods, most notably Sparse Identification of Nonlinear Dynamics (SINDy), attempt to reconstruct these equations by selecting the most relevant terms from a library of candidate functions. While effective under ideal conditions, SINDy is notoriously sensitive to measurement noise; even minor errors can lead the algorithm to identify incorrect physics. Conversely, fully Bayesian methods offer the necessary robustness and uncertainty quantification but are often too computationally expensive for high-dimensional datasets. This research proposes a "Goldilocks" solution: a Variational Bayesian framework that is fast, sparse, and resilient to noise.

Methodology

The proposed framework approaches PDE discovery as a sparse linear regression problem, optimized through Variational Inference. The methodology consists of four primary components:

1. Dictionary Construction

The system begins by constructing a comprehensive library ($D$) of candidate functions. This dictionary includes various spatial derivatives and nonlinear terms (e.g., $u, u^2, u_x, u_{xx}, u u_x$). The objective is to identify a sparse weight vector $\Phi$ where only the coefficients corresponding to the true governing terms are non-zero.

2. Spike-and-Slab Prior

To enforce sparsity and prevent the model from over-fitting to noise, the authors employ a "spike-and-slab" prior. This probability distribution consists of a narrow "spike" at zero—representing the high probability that a candidate term is irrelevant—and a broad "slab" that allows relevant terms to take on a range of values. This prior acts as a sophisticated filter against spurious correlations.

3. Variational Inference

Rather than using slow, sampling-based MCMC methods to find the posterior distribution of the weights, the framework utilizes Variational Bayes. By approximating the complex true distribution with a simpler, optimized distribution, the problem is transformed into a standard optimization task. This shift significantly reduces the computational overhead, allowing the framework to scale to larger datasets.

4. Numerical Differentiation

To mitigate the impact of "jittery" or noisy signals, the framework employs polynomial interpolation for calculating spatial derivatives. This approach is more stable than standard finite difference methods, ensuring that the input data for the regression remains as clean as possible.

Experimental Setup and Datasets

The framework was rigorously tested against synthetic data from six classic physical systems, with Gaussian noise levels ranging from 0% to 5%:

  • Heat Equations (1D & 2D): Modeling thermal diffusion.
  • 1D Burgers Equation: Representing advection and diffusion in fluid mechanics.
  • Korteweg-de Vries (KdV) Equation: Modeling shallow water waves.
  • Kuramoto-Sivashinsky (KS) Equation: A fourth-order equation describing chaotic systems.
  • 1D Wave Equation: Modeling the propagation of acoustic or mechanical waves.

Results and Discussion

The experimental results highlight several critical advantages of the Variational Bayesian approach:

Sparsity and Accuracy

In every test case, the proposed method achieved a 0% False Positive Rate. While SINDy often "hallucinates" extra terms to fit the noise—reaching false positive rates as high as 85% for the chaotic KS equation—the Bayesian prior effectively ignored these non-physical terms.

Noise Robustness

The framework correctly identified the governing physics even at 5% noise levels, a threshold where deterministic methods typically fail. Furthermore, the identified coefficients (such as diffusion constants) remained remarkably close to the ground truth, demonstrating high parameter precision.

Uncertainty Quantification

Unlike deterministic models, this framework provides predictive uncertainty. By quantifying the "doubt" in its own predictions, the model offers a critical safety feature for engineering applications where understanding the limits of a model's reliability is as important as the prediction itself.

Limitations and Future Directions

Despite its success, the authors identified specific challenges:

  • Higher-Order Derivatives: Equations like the 4th-order KS equation remain difficult to solve because noise significantly complicates the calculation of high-order derivatives.
  • Boundary Sensitivity: The polynomial fitting used for differentiation can struggle at the edges of the spatial domain.
  • Advanced Denoising: Future work may involve integrating deep learning-based filters to preprocess extremely noisy experimental data before it enters the Bayesian pipeline.

Conclusion

This Variational Bayesian framework represents a significant advancement in automated scientific discovery. By balancing computational speed with the statistical rigor of Bayesian priors, it provides a practical tool for researchers to extract meaningful physical laws from the noisy, imperfect data characteristic of real-world experiments.

Summary updated

BibTeX
@inproceedings{more2023bayesian,
  author = {Kalpesh Sanjay More and Tapas Tripura and Rajdip Nayek and Souvik Chakraborty},
  title = {{A Bayesian Framework for learning governing Partial Differential Equation from Data}},
  booktitle = {Physica},
  year = {2023},
  doi = {10.1016/j.physd.2023.133927},
}
Figure