StruSR: Structure-Aware Symbolic Regression with Physics-Informed Taylor Guidance

Yunpeng Gong, Sihan Lan, Can Yang, Kunpeng Xu, Min Jiang

TL;DR

StruSR bridges the gap between black-box neural PDE solvers and interpretable symbolic regression by using Physics-Informed Neural Networks (PINNs) to guide genetic programming. By extracting local Taylor expansions from a trained PINN, it introduces a dual-sensitivity masking mechanism that protects physically important mathematical substructures during evolution. This results in highly accurate, compact, and physically consistent analytical expressions for complex differential equations.

What Problem Does This Paper Address?

Discovering the underlying governing equations of physical systems directly from data is a holy grail in scientific computing. Symbolic Regression (SR) can find human-interpretable mathematical formulas, but traditional genetic programming methods struggle with physics data—they are "structure-blind," prone to overfitting, and often generate physically impossible or overly complex expressions.

Conversely, Physics-Informed Neural Networks (PINNs) excel at embedding physical laws into continuous solutions but remain uninterpretable black boxes. The authors address a critical challenge: how to effectively inject the continuous, physically grounded knowledge of a PINN into the discrete search process of symbolic regression to discover structurally accurate equations.

Methods

The proposed framework, StruSR (Structure-Aware Symbolic Regression), introduces a multi-step pipeline to guide Genetic Programming (GP):

  1. PINN as a Structural Prior: Instead of using a PINN just as a data generator, StruSR trains a PINN on the PDE data and computes local high-order Taylor expansions (typically up to order $K=5$) at multiple anchor points via automatic differentiation. This serves as a differentiable proxy for the true local derivative behavior.
  2. Hybrid Fitness Function: Candidate expressions are evaluated using a composite loss that combines a physics residual loss ($\mathcal{L}_{phys}$, checking how well the formula satisfies the PDE) and a Taylor structural loss ($\mathcal{L}_{Taylor}$, measuring the mismatch between the candidate's Taylor coefficients and the PINN's).
  3. Dual-Sensitivity Attribution: To understand which parts of a mathematical expression are important, StruSR introduces a masking mechanism. It temporarily replaces a subtree with a neutral constant (1) and measures the change in both physics residual and structural loss.
  4. Sensitivity-Aware Evolution: The resulting sensitivity scores form a probability distribution. During crossover and mutation, the algorithm preferentially alters low-sensitivity (unimportant) subtrees while protecting highly sensitive, physically meaningful structures from being disrupted.
Figure 1: Overview of the proposed Taylor-structure-guided symbolic regression framework. From the left, a popula- tion of symbolic expressions is maintained and each expres- sion is decomposed into subtrees. Masking individual sub- trees allows evaluating their contributions to physics resid- ual loss (Lphys) and Taylor-based structural loss (LT aylor), the latter derived from local Taylor coefficients extracted from a Physics-Informed Neural Network (PINN) trained on PDE data. Sensitivity scores computed from these loss varia- tions guide crossover and mutation in genetic programming, preserving structurally and physically important subexpres- sions. The symbolic regression process iterates with popula- tion updates until convergence or stopping criteria are met.

Datasets

The authors evaluate StruSR across two main types of benchmarks:

  • PDE Benchmarks: Eight classic partial differential equations spanning 1D, 2D, and 3D systems: Advection, Diffusion, Poisson (2D/3D), Heat (2D/3D), and Wave (2D/3D) equations.
  • General SR Benchmarks: The standard Strogatz system and the Feynman equation dataset, used to test general symbolic function approximation outside of pure PDE recovery.

Key Insights and Ideas

  • PINNs as Global Encoders of Structure: A trained PINN shouldn't just be viewed as a numerical predictor; its learned parameter space embeds global physical consistency. Extracting local Taylor expansions via automatic differentiation acts as a perfect mathematical bridge to symbolic abstraction.
  • The Power of "Don't Break What Works": Traditional GP randomly mutates and crosses over expressions, frequently destroying good building blocks. By using a masking-based sensitivity score, StruSR successfully isolates and protects the "correct" physical sub-expressions, drastically improving convergence stability.
  • Optimal Taylor Order Trade-off: The authors found that a Taylor expansion order of $K=5$ is a sweet spot. Lower orders lack sufficient derivative information to guide the structure, while higher orders introduce derivative noise and lead to overfitting.

Key Results

  • Superior Accuracy: Across the 8 PDE benchmarks, StruSR consistently achieved the lowest or second-lowest Mean Absolute Error (MAE) compared to state-of-the-art baselines like RAG-SR, NetGP, HD-TLGP, and PhySO. For instance, on the Advection equation, it achieved an exceptional MAE of $1.21 \times 10^{-13}$.
  • High Structural Fidelity: The discovered equations closely matched the ground-truth analytical solutions, often capturing exact algebraic forms with only minor coefficient variations.
  • Compactness and Efficiency: On the Strogatz and Feynman datasets, StruSR generated significantly more compact expression trees (lower structural complexity) while maintaining leading predictive accuracy ($R^2$ scores) and low inference latency.

Limitations and Future Work

While StruSR demonstrates robust performance, the authors note a delicate balance regarding the Taylor expansion order: setting it too high makes the framework susceptible to derivative noise and overfitting. Additionally, the framework relies on a pre-trained PINN, meaning the quality of the symbolic discovery is inherently bounded by how well the PINN converges on the initial dataset.

Future work could explore tighter, end-to-end integration where the symbolic search and neural network training happen concurrently to mutually reinforce each other.

Summary updated

BibTeX
@misc{gong2025strusr,
  author = {Yunpeng Gong and Sihan Lan and Can Yang and Kunpeng Xu and Min Jiang},
  title = {{StruSR: Structure-Aware Symbolic Regression with Physics-Informed Taylor Guidance}},
  year = {2025},
  eprint = {2510.06635},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.06635},
}
Figure