Governing Equation Discovery from Data Based on Differential Invariants

Lexiang Hu, Yikang Li, Zhouchen Lin

Abstract

The explicit governing equation is one of the simplest and most intuitive forms for characterizing physical laws. However, directly discovering partial differential equations (PDEs) from data poses significant challenges, primarily in determining relevant terms from a vast search space. Symmetry, as a crucial prior knowledge in scientific fields, has been widely applied in tasks such as designing equivariant networks and guiding neural PDE solvers. In this paper, we propose a pipeline for governing equation discovery based on differential invariants, which can losslessly reduce the search space of existing equation discovery methods while strictly adhering to symmetry. Specifically, we compute the set of differential invariants corresponding to the infinitesimal generators of the symmetry group and select them as the relevant terms for equation discovery. Taking DI-SINDy (SINDy based on Differential Invariants) as an example, we demonstrate that its success rate and accuracy in PDE discovery surpass those of other symmetry-informed governing equation discovery methods across a series of PDEs.

Introduction

In the quest to turn AI into a "scientist’s assistant," researchers are developing models capable of identifying underlying physical laws from experimental data. While deep learning models excel at predicting system evolution, they often function as "black boxes." Explicit Partial Differential Equations (PDEs) are preferred for their interpretability and ability to generalize to new scenarios.

However, discovering these equations is a significant challenge. Standard methods like Sparse Identification of Nonlinear Dynamics (SINDy) require a predefined "library" of candidate terms (e.g., $u, u_x, u_{xx}$). If the library is too small, the true equation is missed; if it is too large, the algorithm becomes susceptible to noise and high computational costs. While physical laws typically obey symmetries (e.g., translation or rotation), previous attempts to incorporate symmetry into AI have often relied on "soft" constraints that do not strictly guarantee physical validity.

Comparison of the proposed differential invariant-based method against existing equation discovery approaches.

Methodology

The researchers introduced a pipeline based on Lie point symmetries and differential invariants. The core idea is to "hard-embed" known symmetries into the model's structure. The process follows these steps:

  1. Symmetry Identification: Start with the "infinitesimal generators" of a symmetry group, either known a priori or discovered from data.
  2. Prolongation: Calculate how these symmetries act not just on the variables, but on their derivatives.
  3. Invariant Calculation: Solve characteristic equations derived from these prolongations to find differential invariants—quantities that remain unchanged under symmetry transformations.
  4. DI-SINDy: Construct a candidate library consisting only of these differential invariants.

According to the mathematical principles detailed in the paper, any equation obeying a specific symmetry must be expressible as a function of its differential invariants. This approach allows for a "lossless" reduction of the search space, ensuring the resulting equation is strictly symmetric.

Experimental Evaluation

The DI-SINDy method was evaluated on four classic and challenging PDEs:

  • Korteweg-de Vries (KdV): Models waves on shallow water surfaces.
  • Kuramoto-Sivashinsky (KS): A chaotic system modeling flame fronts and reaction-diffusion.
  • Burgers Equation: A fundamental equation in fluid mechanics.
  • nKdV: A complex, non-autonomous version of the KdV equation with time-dependent coefficients.

Results and Discussion

DI-SINDy demonstrated dominant performance across all test cases compared to standard SINDy and EquivSINDy (which uses soft constraints).

Quantitative performance metrics (Success Rate and RMSE) for DI-SINDy and baseline methods.

Key results include:

  • Superior Success Rates: DI-SINDy achieved a 100% success rate in identifying the correct terms for the KdV, KS, and nKdV equations. In contrast, standard SINDy had a 0% success rate on the chaotic KS equation.
  • Enhanced Accuracy: The Root Mean Square Error (RMSE) of discovered coefficients was orders of magnitude lower than baseline methods. For the Burgers equation, DI-SINDy was nearly 100x more accurate than the best-performing baseline.
  • Robustness to Noise: By using invariants to filter the search space, the model is significantly less likely to overfit to noise, a critical advantage when calculating derivatives from raw data.

Conclusion

By leveraging differential invariants, DI-SINDy effectively shrinks the search space for equation discovery without losing the ability to find the true physical law. While the current method relies on prior knowledge of symmetry, it paves the way for fully automated "AI Physicists" as symmetry discovery algorithms continue to mature. This approach ensures that discovered laws are not only accurate but also strictly adhere to the fundamental symmetries of the physical world.

Summary updated

BibTeX
@inproceedings{hu2025governing,
  author = {Lexiang Hu and Yikang Li and Zhouchen Lin},
  title = {{Governing Equation Discovery from Data Based on Differential Invariants}},
  booktitle = {AI4MATH @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=1xrdCLH6wd},
}
Figure