Skip to main content
QUICK REVIEW

[Paper Review] Toward Physically Plausible Data-Driven Models: A Novel Neural Network Approach to Symbolic Regression

Jiřı́ Kubalı́k, Erik Derner|arXiv (Cornell University)|Feb 1, 2023
Neural Networks and ApplicationsComputer Science3 citations
TL;DR

This paper proposes N4SR, a novel neural network-based symbolic regression method that integrates prior physical knowledge into a differentiable architecture to generate sparse, physically plausible models from minimal data. By using adaptive loss weighting and epoch-wise training, N4SR improves convergence and avoids poor local optima, outperforming existing methods in interpolation and extrapolation on four real-world systems.

ABSTRACT

Many real-world systems can be described by mathematical models that are human-comprehensible, easy to analyze and help explain the system's behavior. Symbolic regression is a method that can automatically generate such models from data. Historically, symbolic regression has been predominantly realized by genetic programming, a method that evolves populations of candidate solutions that are subsequently modified by genetic operators crossover and mutation. However, this approach suffers from several deficiencies: it does not scale well with the number of variables and samples in the training data - models tend to grow in size and complexity without an adequate accuracy gain, and it is hard to fine-tune the model coefficients using just genetic operators. Recently, neural networks have been applied to learn the whole analytic model, i.e., its structure and the coefficients, using gradient-based optimization algorithms. This paper proposes a novel neural network-based symbolic regression method that constructs physically plausible models based on even very small training data sets and prior knowledge about the system. The method employs an adaptive weighting scheme to effectively deal with multiple loss function terms and an epoch-wise learning process to reduce the chance of getting stuck in poor local optima. Furthermore, we propose a parameter-free method for choosing the model with the best interpolation and extrapolation performance out of all the models generated throughout the whole learning process. We experimentally evaluate the approach on four test systems: the TurtleBot 2 mobile robot, the magnetic manipulation system, the equivalent resistance of two resistors in parallel, and the longitudinal force of the anti-lock braking system. The results clearly show the potential of the method to find parsimonious models that comply with the prior knowledge provided.

Motivation & Objective

  • Address the limitations of traditional genetic programming-based symbolic regression, such as code bloat, poor scalability, and difficulty in coefficient tuning.
  • Enable the incorporation of prior physical knowledge—expressed as constraint samples—into the neural network training process to guide model structure and behavior.
  • Develop a parameter-free model selection strategy that identifies the best-performing model in terms of both interpolation and extrapolation accuracy.
  • Improve convergence to sparse, compact models by combining adaptive loss weighting and epoch-wise training to reduce risk of getting stuck in suboptimal solutions.
  • Demonstrate the method’s effectiveness on real-world systems with limited training data, where interpretability and physical plausibility are critical.

Proposed method

  • Employ an EQL-like neural network architecture with skip connections to represent symbolic expressions as heterogeneous networks of mathematical operators and functions.
  • Use a top-down initialization strategy where all function units are initially active, with randomly initialized weights near zero, to allow for systematic pruning during training.
  • Implement an adaptive loss weighting scheme that dynamically balances multiple loss terms—training error, validation error, and constraint compliance—during optimization.
  • Apply an epoch-wise learning process that gradually reduces the learning rate and enables early stopping to avoid overfitting and improve generalization.
  • Select the final model as the best-performing one among the least complex models (fewest active weights) based on validation RMSE and constraint satisfaction.
  • Integrate prior knowledge via constraint samples that enforce desired system behaviors (e.g., steady-state properties, symmetry), which are embedded as additional loss terms.

Experimental results

Research questions

  • RQ1Can a differentiable neural network approach effectively embed prior physical knowledge into symbolic regression to improve model plausibility and accuracy?
  • RQ2How does the proposed adaptive loss weighting and epoch-wise training strategy enhance convergence to sparse, high-performing models compared to standard gradient-based methods?
  • RQ3To what extent can the method generalize to unseen input regions (extrapolation) when trained on very small datasets?
  • RQ4How does the top-down architecture search strategy affect the discovery of optimal symbolic expressions, especially when the true model involves simple elementary structures?
  • RQ5Can a parameter-free model selection method reliably identify models with strong interpolation and extrapolation performance across diverse systems?

Key findings

  • N4SR successfully generated sparse, interpretable models that comply with prior physical knowledge on all four test systems, including systems with minimal training data.
  • The method demonstrated strong generalization, achieving good performance in both interpolation (within training domain) and extrapolation (outside training domain), as validated by RMSE on unseen data.
  • On the resistors-in-parallel problem, N4SR-ACYE found models that were close approximations of the true formula, though it failed to recover the exact symbolic form in 47 out of 50 runs.
  • The top-down search strategy led to suboptimal convergence on problems with simple, well-known symbolic forms, suggesting inefficiency in exploring the sparse architecture space.
  • The proposed parameter-free model selection method effectively identified models with the best balance of accuracy and simplicity, outperforming standard early stopping and model averaging.
  • Comparative experiments showed that N4SR outperformed both a genetic programming baseline and a competing neural network-based symbolic regression method in terms of model sparsity and generalization.

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.