Skip to main content
QUICK REVIEW

[Paper Review] Genetic Programming Based Symbolic Regression for Analytical Solutions to Differential Equations

Hongsup Oh, Roman Amici|arXiv (Cornell University)|Feb 7, 2023
Evolutionary Algorithms and ApplicationsComputer Science6 citations
TL;DR

This paper presents a physics-regularized genetic programming symbolic regression (PR-GPSR) method to discover exact analytical solutions to ordinary and partial differential equations (ODEs/PDEs). By incorporating the residual of the known differential equation into the fitness function, the method reliably evolves true symbolic solutions—demonstrated on a fourth-order ODE and a second-order PDE—without requiring large training datasets, leveraging the inherent interpretability of symbolic expressions for scientific and engineering applications.

ABSTRACT

In this paper, we present a machine learning method for the discovery of analytic solutions to differential equations. The method utilizes an inherently interpretable algorithm, genetic programming based symbolic regression. Unlike conventional accuracy measures in machine learning we demonstrate the ability to recover true analytic solutions, as opposed to a numerical approximation. The method is verified by assessing its ability to recover known analytic solutions for two separate differential equations. The developed method is compared to a conventional, purely data-driven genetic programming based symbolic regression algorithm. The reliability of successful evolution of the true solution, or an algebraic equivalent, is demonstrated.

Motivation & Objective

  • To develop a machine learning method that discovers exact analytical solutions to differential equations, rather than numerical approximations.
  • To address the lack of interpretability and explainability in black-box machine learning models used in engineering and scientific computing.
  • To reduce reliance on large datasets by using physics-informed regularization in symbolic regression.
  • To enable trust and integration of ML models into engineering workflows through verifiable symbolic expressions.
  • To demonstrate that symbolic solutions can be reliably recovered even in high-dimensional problems with minimal data.

Proposed method

  • Utilizes genetic programming based symbolic regression (GPSR) as the core algorithm, which evolves mathematical expressions from a set of primitive functions and operators.
  • Introduces a physics-regularized fitness function that penalizes solutions based on the residual of the known differential equation and boundary/initial conditions.
  • The fitness function evaluates how closely a candidate symbolic expression satisfies the governing ODE or PDE, promoting convergence to exact solutions.
  • Employs a symbolic expression representation that supports algebraic operations, trigonometric functions, and constants, enabling flexible solution space exploration.
  • Applies local optimization to parameterized forms (e.g., phase shifts, amplitudes) to verify algebraic equivalence to the true solution.
  • Validates results by checking whether evolved expressions satisfy the original differential equation and boundary conditions exactly.

Experimental results

Research questions

  • RQ1Can genetic programming with physics regularization reliably discover the true analytical solution to a known differential equation?
  • RQ2How does the inclusion of unnecessary operators affect the evolution of correct symbolic forms in the absence of training data?
  • RQ3What is the impact of problem dimensionality on the convergence speed and success rate of symbolic solution discovery?
  • RQ4Can the method recover solutions that are algebraically equivalent to the true solution, even when the exact form is not initially evolved?
  • RQ5To what extent can the method operate with minimal or no training data, relying solely on the physics of the problem?

Key findings

  • The PR-GPSR method successfully recovered the exact analytical solution for a fourth-order ODE in all 30 repeated trials when only necessary mathematical operators were allowed.
  • When unnecessary operators were introduced, the method required only a minimal amount of training data to successfully evolve the correct symbolic form.
  • For the second-order PDE (Poisson equation), the method recovered the true solution in every trial, even as dimensionality increased, though the number of generations required grew significantly.
  • The method frequently evolved model forms algebraically equivalent to the true solution—such as sine functions with small phase shifts or cosine equivalents—indicating robustness to parametric variation.
  • Model bloat was more pronounced in the Euler-Bernoulli ODE case, but the fitness function effectively guided evolution toward correct forms upon local optimization.
  • The approach enables the discovery of symbolic solutions without requiring large datasets, relying instead on the physics of the problem encoded in the residual fitness function.

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.