Data-driven PDE discovery with evolutionary approach

Michail Maslyaev, Alexander Hvatov, Anna KalyuzhnayaarXiv 2019 · DOI

TL;DR

This paper introduces EPDE, a hybrid framework that combines evolutionary algorithms with sparse regression to discover the underlying partial differential equations (PDEs) of a system directly from data. By evolving the structure of the terms themselves rather than relying on a fixed library, the method offers greater flexibility and significantly better robustness against noise compared to traditional sparse regression techniques.

What Problem Does This Paper Address?

In fields like hydrodynamics or economics, we often have plenty of data but lack a clear "first principles" understanding of the underlying physics. While deep learning can model these systems, it creates "black boxes" that offer no physical insight.

To get interpretable models, researchers use data-driven PDE discovery. The current gold standard is sparse regression (like LASSO), which tries to find a small set of terms from a pre-defined "library" (e.g., $u, u_x, u_{xx}$) that best explains the data. However, this approach has two major flaws:

  1. The Library Trap: If the "true" physical term isn't in your pre-defined library, the algorithm can never find it.
  2. Complexity Explosion: As you include higher-order derivatives or complex combinations, the library size grows exponentially, making the optimization problem computationally intractable.

Methods

The authors propose the Evolutionary PDE Discovery (EPDE) algorithm, which treats the search for a PDE as an optimization problem solved in two alternating stages:

  1. The Evolutionary Part: The algorithm maintains a population of "individuals," where each individual represents a potential PDE. These are encoded as "chromosomes" where "genes" are specific terms (combinations of functions and derivatives). Through crossover (swapping terms between equations) and mutation (randomly changing a term), the algorithm explores a vast space of possible equation structures without needing to pre-define every possibility.
  2. The Sparse Regression Part: For every individual in the population, the algorithm performs a sparse regression to filter out insignificant terms. It uses an L1-norm penalty to ensure the resulting equation is as simple (sparse) as possible.
  3. Fitness Evaluation: The "fitness" of an evolved equation is determined by how well it fits the data (the inverse of the regression error). The best-performing equations survive to the next generation.

A key innovation here is that the target feature (the term on the left side of the equals sign) is chosen randomly during evolution, whereas traditional methods usually fix it as the highest-order time derivative.

Datasets

The algorithm was validated using synthetic data generated from three canonical physical equations:

  • The Wave Equation: A linear equation representing wave propagation.
  • Burgers’ Equation: A fundamental non-linear equation used in fluid mechanics that combines advection and diffusion.
  • Korteweg-de Vries (KdV) Equation: A mathematical model of waves on shallow water surfaces, known for its non-linear and dispersive properties.

These datasets were generated using numerical solvers (like the Crank-Nicolson method) on spatio-temporal grids (e.g., $256 \times 256$ points). The authors also added varying levels of Gaussian noise to these datasets to test the algorithm's limits.

Key Insights and Ideas

  • Bottom-Up vs. Top-Down: Traditional sparse regression is "top-down"—you start with everything and prune. EPDE is "bottom-up"—you grow the best terms. This allows for a much more flexible search space.
  • Target Flexibility: By not fixing the target term to $\partial u / \partial t$, the algorithm can theoretically discover Ordinary Differential Equations (ODEs) and static one-dimensional problems that traditional PDE discovery tools might miss.
  • Structural Robustness: The evolutionary process acts as a filter. While noise might trick a standard regression into picking a "wrong" term that happens to fit the noise, the evolutionary pressure favors terms that are consistently meaningful across different combinations, leading to more stable discovery.

Key Results

  • Discovery Accuracy: EPDE successfully identified the correct structure and coefficients for the Wave, Burgers', and KdV equations. For example, it identified the viscosity coefficient in Burgers' equation ($\mu=0.1$) with high precision ($0.09985$).
  • Data Requirements: The authors found a "tipping point" for data quantity. For Burgers' and KdV equations, the algorithm required at least 50% of the solution field to consistently find the correct structure. Below this threshold, it tended to produce "wrong" terms.
  • Superior Noise Handling: In a head-to-head comparison on Burgers' equation, the standard sparse regression method failed to identify the diffusion term ($\partial^2 u / \partial x^2$) once noise levels ($Q_{noise}$) hit approximately $0.11$. In contrast, the evolutionary approach remained stable and correctly identified the equation structure at significantly higher noise levels.

Limitations and Future Work

  • Stochastic Overhead: Because evolutionary algorithms are stochastic (randomized), they generally take longer to run than a single pass of sparse regression.
  • Consistency: The authors note that additional procedures are needed to ensure the algorithm consistently converges to the same model when run multiple times on the same data.
  • Real-World Complexity: The study focused on synthetic data with simple boundary conditions. The authors acknowledge that testing on real-world observational data—where noise is non-Gaussian and boundary conditions are messy—is the next major hurdle.
  • Differentiation Sensitivity: The method relies on calculating derivatives from noisy data, which is notoriously difficult. Future work will look into more sophisticated grid function differentiation to improve stability.

Summary updated

BibTeX
@misc{maslyaev2019data,
  author = {Michail Maslyaev and Alexander Hvatov and Anna Kalyuzhnaya},
  title = {{Data-driven PDE discovery with evolutionary approach}},
  year = {2019},
  eprint = {1903.08011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.08011},
}
Figure