TL;DR
This paper introduces ParFam, a novel symbolic regression (SR) method that reformulates the problem as a continuous optimization task, enabling the use of gradient-based methods. An extension, DL-ParFam, uses a pre-trained neural network to guide ParFam, significantly accelerating the search and achieving state-of-the-art results on benchmark datasets.
What Problem Does This Paper Address?
Symbolic regression (SR) aims to discover concise and interpretable mathematical functions that accurately model data. This is crucial for applications requiring model understanding and trustworthiness, such as in physics or finance. While many SR algorithms exist, including genetic programming and neural network-based approaches, they often struggle to consistently find accurate solutions on challenging benchmarks, especially in the presence of noise. Existing methods often face limitations in search space exploration, interpretability, or computational efficiency. This paper addresses the challenge of developing an SR method that is both highly effective and computationally efficient, while maintaining interpretability.
Methods
The core innovation is ParFam, which transforms the discrete SR problem into a continuous optimization problem. It achieves this by representing symbolic functions as parametric families of rational functions, similar to a neural network with a single hidden layer. Instead of linear connections, ParFam uses rational functions, allowing for the incorporation of physically relevant unary base functions (like sin, exp, sqrt). This continuous formulation enables the use of gradient-based optimization techniques. To further enhance performance, DL-ParFam is introduced. This extension uses a pre-trained Set Transformer neural network to predict the optimal model parameters (degrees of polynomials and base functions) for ParFam, effectively guiding the optimization process and significantly speeding it up.
Datasets
The authors evaluate ParFam and DL-ParFam on the SRBench benchmark, which includes:
- Feynman datasets: 119 synthetic datasets based on known physical formulas.
- Strogatz datasets: 14 datasets representing chaotic dynamic systems.
- Black-box datasets: 133 real-world datasets with unknown underlying formulas.
The paper also mentions training DL-ParFam on synthetically generated functions.
Key Insights and Ideas
- Continuous Optimization for SR: Reformulating SR as a continuous optimization problem is a powerful way to leverage gradient-based methods, overcoming some limitations of discrete search spaces.
- Parametric Families of Rational Functions: Using rational functions as building blocks, akin to a single-layer neural network, offers a good balance between expressivity and tractability for continuous optimization.
- Neural Guidance for SR: Pre-training a neural network to predict SR model parameters (like polynomial degrees and base functions) can dramatically accelerate the search process, making SR more practical for complex problems.
- Trade-off between Expressivity and Optimization: ParFam's structured parametric family is a deliberate design choice to balance the ability to represent complex functions with the need for efficient continuous optimization. Theoretical analysis shows it retains high expressivity.
Key Results
- State-of-the-Art Performance: ParFam achieves state-of-the-art results on the SRBench ground-truth problems, matching or exceeding top genetic programming methods in symbolic solution rate.
- Accuracy and Robustness: ParFam demonstrates strong accuracy, outperforming many competitors, and is robust to noise.
- Significant Speedup with DL-ParFam: DL-ParFam, by using a pre-trained neural network, accelerates the optimization process by up to two orders of magnitude compared to ParFam, while still achieving competitive results.
- Efficiency on Black-Box Data: DL-ParFam shows promising performance on black-box datasets, even with limited variable dimensions.
Limitations and Future Work
- Computational Expense for High Dimensions: Solving high-dimensional problems (>10 variables) with a global optimizer can be computationally expensive due to the growth in the number of parameters.
- DL-ParFam Pre-training Cost: The pre-training of the transformer network for DL-ParFam is computationally intensive, although it can be done offline and reused.
- Future Work: The authors suggest exploring diverse forms of regularization, alternative parametrizations, and custom-tailored optimization techniques. They also note that DL-ParFam's ability to recover symbolic solutions is hindered under low-noise conditions, and suggest further research into improving this aspect.
Summary updated