Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning and Symbolic Regression for Discovering Parametric Equations

Michael Zhang, Samuel Kim|arXiv (Cornell University)|Jul 1, 2022
Model Reduction and Neural NetworksPhysics and Astronomy6 citations
TL;DR

This paper proposes a deep learning framework that extends symbolic regression to discover parametric equations with varying coefficients, using two novel architectures—Stacked EQL (SEQL) and Hyper EQL (HEQL)—to learn interpretable mathematical expressions from data. The method achieves high accuracy in discovering complex parametric equations and PDEs, including those with spatially varying coefficients, and generalizes well beyond the training domain.

ABSTRACT

Symbolic regression is a machine learning technique that can learn the governing formulas of data and thus has the potential to transform scientific discovery. However, symbolic regression is still limited in the complexity and dimensionality of the systems that it can analyze. Deep learning on the other hand has transformed machine learning in its ability to analyze extremely complex and high-dimensional datasets. We propose a neural network architecture to extend symbolic regression to parametric systems where some coefficient may vary but the structure of the underlying governing equation remains constant. We demonstrate our method on various analytic expressions, ODEs, and PDEs with varying coefficients and show that it extrapolates well outside of the training domain. The neural network-based architecture can also integrate with other deep learning architectures so that it can analyze high-dimensional data while being trained end-to-end. To this end we integrate our architecture with convolutional neural networks to analyze 1D images of varying spring systems.

Motivation & Objective

  • To address the limitation of symbolic regression in handling complex, high-dimensional systems with varying coefficients.
  • To extend deep learning-based symbolic regression to parametric equations where the equation structure remains constant but coefficients vary.
  • To develop end-to-end trainable neural architectures that can discover interpretable mathematical expressions from data, including partial differential equations (PDEs).
  • To enable generalization and extrapolation beyond the training domain in parametric systems.
  • To integrate with deep learning encoders (e.g., convolutional networks) for analyzing high-dimensional data such as images of dynamical systems.

Proposed method

  • Proposes the Stacked EQL (SEQL) architecture, which stacks multiple EQL modules to model complex parametric equations with varying coefficients.
  • Introduces the Hyper EQL (HEQL) architecture, which uses a hypernetwork to generate the coefficients of symbolic expressions based on input parameters.
  • Employs a differentiable symbolic regression framework where activation functions in a fully connected network are replaced with primitive functions (e.g., +, *, sin, x²).
  • Trains the entire model end-to-end using backpropagation, enabling joint optimization of both the symbolic structure and coefficient functions.
  • Integrates convolutional encoders to process high-dimensional input data (e.g., 1D images of spring systems) before feeding into the symbolic regression head.
  • Uses a loss function based on mean squared error (MSE) between predicted and true outputs to guide training and equation discovery.
Figure 1: Equation Learner (EQL) Architectures and Variants for Parametric Equations. (a) Architecture of the base EQL network with relaxed $L_{0}$ regularization. The weights $\mathbf{W}$ are re-parameterized as an element-wise product of the gate variables $\mathbf{z}$ and the weight values $\tild
Figure 1: Equation Learner (EQL) Architectures and Variants for Parametric Equations. (a) Architecture of the base EQL network with relaxed $L_{0}$ regularization. The weights $\mathbf{W}$ are re-parameterized as an element-wise product of the gate variables $\mathbf{z}$ and the weight values $\tild

Experimental results

Research questions

  • RQ1Can deep learning-based symbolic regression discover parametric equations with varying coefficients more effectively than traditional symbolic regression?
  • RQ2How well do the SEQL and HEQL architectures generalize to unseen parameter values outside the training domain?
  • RQ3Can the proposed method scale to high-dimensional data such as images of dynamical systems when combined with convolutional encoders?
  • RQ4What are the failure modes of the symbolic regression process when the true equation involves complex or non-linear coefficient variations?
  • RQ5How does the performance of SEQL compare to HEQL in discovering equations with oscillatory or non-linear coefficient dependencies?

Key findings

  • The SEQL and HEQL architectures successfully discovered all five analytic benchmark equations with test MSE values below 1.21×10⁻⁷ for the best trials, demonstrating high accuracy.
  • For the analytic function $ f_3 = t x $, both SEQL and HEQL achieved a test MSE of $ 5.72 \times 10^{-15} $, indicating near-perfect recovery of the true equation.
  • On the advection-diffusion PDE, the model achieved a test MSE of $ 1.08 \times 10^{-5} $, showing strong performance on complex PDEs with spatially varying coefficients.
  • The HEQL model occasionally failed to combine identical sinusoidal terms, instead learning equivalent but non-optimized forms (e.g., $ a(t)\sin(b(t)x) + c(t)\sin(d(t)x) $ with $ b(t) \approx d(t) $), indicating limitations in symbolic simplification.
  • The SEQL model outperformed HEQL on $ f_4 = t x^2 + 3\sin(t) x $, achieving a test MSE of $ 9.47 \times 10^{-6} $ compared to HEQL’s $ 3.17 \times 10^{-5} $, suggesting better generalization for polynomial-plus-sinusoidal forms.
  • The method demonstrated strong extrapolation: for $ f_5 = \sin\left(\frac{5+t}{2} \cdot x\right) $, the best trial achieved a test MSE of $ 3.63 \times 10^{-8} $, even when tested on parameter values outside the training range.
Figure 2: Learning parametric equations. (a, b) Learning the function $f_{1}$ which contains a discontinuity at $t=0$ . (c, d) Learning the function $f_{2}$ which corresponds to a sinusoid with a frequency that varies non-smoothly as a function of $t$ . (a, c) Predictions after training the EQL, SEQ
Figure 2: Learning parametric equations. (a, b) Learning the function $f_{1}$ which contains a discontinuity at $t=0$ . (c, d) Learning the function $f_{2}$ which corresponds to a sinusoid with a frequency that varies non-smoothly as a function of $t$ . (a, c) Predictions after training the EQL, SEQ

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.