Symbolic genetic algorithm for discovering open-form partial differential equations (SGA-PDE)

Yuntian Chen, Yingtao Luo, Qiang Liu, Hao Xu, Dongxiao Zhang

TL;DR

This paper introduces SGA-PDE, a novel symbolic genetic algorithm that can discover complex, open-form partial differential equations (PDEs) directly from data. By representing PDEs as forests of binary trees and employing a specialized genetic algorithm, SGA-PDE overcomes limitations of existing methods, successfully identifying equations with fractional and compound structures that were previously intractable.

What Problem Does This Paper Address?

Many real-world phenomena are described by partial differential equations (PDEs), which are crucial for understanding and predicting their behavior. However, for many complex systems, the governing PDEs are unknown or uncertain, making their discovery from observational data a significant challenge. Traditional methods often rely on pre-defined sets of possible equation components (a "candidate set"), which limits their ability to find novel or complex equation structures. This paper addresses the critical need for methods that can discover "open-form" PDEs – those with potentially unknown or complex functional forms – directly from data, without requiring prior assumptions about their structure.

Methods

The core innovation of SGA-PDE lies in its unique approach to representing and optimizing PDEs.

  • Flexible Representation (Symbolic Mathematics & Binary Trees): Instead of relying on a fixed set of function terms, SGA-PDE uses symbolic mathematics to represent any PDE as a "forest" of binary trees. Each function term within the PDE becomes a binary tree, where operands (like variables $u$, $x$) and operators (like derivatives $\partial/\partial x$, addition $+$, multiplication $\times$) form the nodes. This allows for a highly flexible and expressive representation of complex equations, including those with fractional or compound functions.
  • Gradient-Free Optimization (Specialized Genetic Algorithm): Because calculating the gradient between the PDE's structure and its error (loss) is difficult, SGA-PDE employs a gradient-free optimization approach. It uses a specially designed genetic algorithm that operates on the binary tree representation. This algorithm iteratively optimizes the PDEs by:
  • Crossover: Recombining different binary trees (function terms) from different candidate PDEs to create new PDE candidates.
  • Mutation: Modifying individual nodes (operators or operands) within a binary tree to explore variations of a function term while preserving its overall structure.
  • Replacement: Regenerating entire binary trees to introduce entirely new topological structures, facilitating a broader exploration of the solution space.
  • Performance Assessment (Sparse Regression & AIC): After the genetic algorithm generates candidate PDEs, their performance is evaluated using sparse regression (specifically, STRidge) to determine the coefficients of the function terms. The Akaike Information Criterion (AIC) is then used to balance the goodness-of-fit (minimizing error) with the complexity of the equation (number of terms), guiding the search towards concise and accurate governing equations.

Datasets

The paper evaluates SGA-PDE on five different datasets, generated from known PDEs:

  • Burgers' equation: A fundamental PDE simulating shock wave propagation.
  • Korteweg-de Vries (KdV) equation: Models wave propagation on shallow water surfaces, featuring a third-order derivative.
  • Chafee-Infante equation: A reaction-diffusion equation with a second-order derivative and a third-order exponential term.
  • PDE_divide: A custom-generated PDE with a fractional structure.
  • PDE_compound: A custom-generated PDE with a compound function.

These datasets were generated using numerical methods (finite difference method, spectral method) and include observations of the dependent variable ($u$), its time derivative ($u_t$), and its spatial derivative ($u_x$). The authors note that the provided data does not necessarily cover all function terms present in the original PDEs, which tests the algorithm's ability to discover missing terms.

Key Insights and Ideas

  • "Any equation is a forest": The paper's central metaphor highlights the power of representing complex PDEs as collections of simpler, structured components (binary trees). This shift in representation is key to handling previously intractable equation forms.
  • Bridging Representation and Optimization: The paper effectively links a flexible symbolic representation (binary trees) with a robust optimization strategy (gradient-free genetic algorithm) to tackle the challenge of discovering unknown PDEs.
  • Beyond Candidate Sets: SGA-PDE's ability to generate function terms dynamically, rather than relying on pre-defined candidate sets, is a significant advancement. This allows it to explore a much larger and more complex space of possible equations.
  • Gradient-Free Advantage: The choice of a gradient-free method is crucial, as obtaining a meaningful gradient between PDE structure and data misfit is notoriously difficult, a common bottleneck for other approaches.
  • Handling Novel Structures: The successful discovery of PDEs with fractional and compound functions demonstrates SGA-PDE's capability to go beyond standard equation forms and uncover truly novel governing principles.

Key Results

SGA-PDE successfully discovered the correct governing equations for all five tested problems:

  • Burgers' equation: Discovered with high accuracy.
  • KdV equation: Successfully identified, despite the presence of a third-order derivative.
  • Chafee-Infante equation: Discovered, showcasing its ability to handle nonlinearities and higher-order terms.
  • PDE_divide (fractional structure): Successfully mined, a feat not achievable by conventional sparse regression methods.
  • PDE_compound (compound function): Successfully discovered, demonstrating its flexibility with complex functional forms.

The paper also shows that SGA-PDE can find more concise equivalent forms of equations and that its genetic algorithm effectively navigates the search space, evolving towards the correct solution over generations. Table 4 in the paper provides quantitative comparisons, showing that the discovered PDEs have very low Mean Squared Errors (MSEs) and their function terms are consistent with the reference PDEs.

Limitations and Future Work

  • Hyperparameter Tuning: The paper mentions that the AIC threshold for determining convergence is a hyperparameter that may need adjustment for specific problems.
  • Computational Cost: While not explicitly detailed as a limitation, genetic algorithms can be computationally intensive, especially with large search spaces.
  • Real-World Data Challenges: The authors acknowledge that real-world data is often sparse and noisy. Future work will focus on improving SGA-PDE's robustness to these conditions and its ability to learn from limited data.
  • Integration with Neural Networks: The paper suggests integrating discovered PDEs into neural networks via knowledge embedding to enhance model performance and robustness, forming a closed loop in scientific machine learning.
  • Exploring Unknown Problems: Future research will involve applying SGA-PDE to solve unknown problems in real-world scenarios, further validating its utility in discovering governing equations directly from data.

Summary updated

BibTeX
@inproceedings{chen2022symbolic,
  author = {Yuntian Chen and Yingtao Luo and Qiang Liu and Hao Xu and Dongxiao Zhang},
  title = {{Symbolic genetic algorithm for discovering open-form partial differential equations (SGA-PDE)}},
  booktitle = {Physical},
  year = {2022},
  doi = {10.1103/physrevresearch.4.023174},
}
Figure