[Paper Review] Differentiable Genetic Programming for High-dimensional Symbolic Regression
This paper proposes Differentiable Genetic Programming (DGP), a novel differentiable approach that relaxes the discrete tree structure of genetic programming into a continuous space using a differentiable symbolic tree, enabling gradient-based optimization for high-dimensional symbolic regression. DGP outperforms state-of-the-art GP and neural network-based methods in accuracy, robustness to noise, and compactness on both real-world and synthetic benchmarks with hundreds to thousands of dimensions.
Symbolic regression (SR) is the process of discovering hidden relationships from data with mathematical expressions, which is considered an effective way to reach interpretable machine learning (ML). Genetic programming (GP) has been the dominator in solving SR problems. However, as the scale of SR problems increases, GP often poorly demonstrates and cannot effectively address the real-world high-dimensional problems. This limitation is mainly caused by the stochastic evolutionary nature of traditional GP in constructing the trees. In this paper, we propose a differentiable approach named DGP to construct GP trees towards high-dimensional SR for the first time. Specifically, a new data structure called differentiable symbolic tree is proposed to relax the discrete structure to be continuous, thus a gradient-based optimizer can be presented for the efficient optimization. In addition, a sampling method is proposed to eliminate the discrepancy caused by the above relaxation for valid symbolic expressions. Furthermore, a diversification mechanism is introduced to promote the optimizer escaping from local optima for globally better solutions. With these designs, the proposed DGP method can efficiently search for the GP trees with higher performance, thus being capable of dealing with high-dimensional SR. To demonstrate the effectiveness of DGP, we conducted various experiments against the state of the arts based on both GP and deep neural networks. The experiment results reveal that DGP can outperform these chosen peer competitors on high-dimensional regression benchmarks with dimensions varying from tens to thousands. In addition, on the synthetic SR problems, the proposed DGP method can also achieve the best recovery rate even with different noisy levels. It is believed this work can facilitate SR being a powerful alternative to interpretable ML for a broader range of real-world problems.
Motivation & Objective
- To address the limitations of traditional genetic programming (GP) in high-dimensional symbolic regression due to its stochastic, discrete search process.
- To enable efficient, gradient-based optimization in symbolic regression by relaxing discrete tree structures into continuous representations.
- To improve search efficiency and global convergence by introducing a sampling mechanism and diversification strategy to reduce local optima.
- To achieve high accuracy and compact expression size comparable to neural network-based methods while maintaining interpretability.
- To demonstrate the effectiveness of differentiable GP on real-world high-dimensional datasets and challenging synthetic problems with varying noise levels.
Proposed method
- Introduces the differentiable symbolic tree, a continuous relaxation of discrete GP trees that allows gradient computation through symbolic operations.
- Designs a hybrid forward propagation method that combines differentiable operations with discrete sampling to maintain valid symbolic expressions.
- Proposes a unique loss function tailored for symbolic regression, enabling end-to-end training with gradient descent.
- Employs a differentiable sampling mechanism to bridge the gap between continuous relaxation and discrete symbolic validity.
- Incorporates a diversification mechanism to enhance exploration and avoid premature convergence to local optima.
- Uses gradient descent for optimizing both structure and parameters, enabling efficient search in high-dimensional spaces.
Experimental results
Research questions
- RQ1Can a differentiable representation of GP trees enable effective gradient-based optimization in symbolic regression?
- RQ2How does DGP perform compared to state-of-the-art GP and neural network-based symbolic regression methods on high-dimensional real-world datasets?
- RQ3To what extent does DGP maintain robustness under increasing noise levels in synthetic symbolic regression tasks?
- RQ4Can DGP achieve compact, interpretable expressions comparable to neural network-based methods while retaining the interpretability of symbolic models?
- RQ5How effective is the proposed diversification mechanism in escaping local optima during symbolic expression search?
Key findings
- On real-world high-dimensional regression benchmarks (hundreds to thousands of features), DGP achieves the lowest test RMSE among all compared methods, outperforming both GP-based and neural network-based SOTA approaches.
- On synthetic benchmarks with varying noise levels, DGP achieves the best recovery rate, particularly excelling at the highest noise level (10⁻¹), where it attains the lowest test RMSE.
- DGP produces significantly more compact symbolic expressions than canonical GP, with program sizes rivaling those of neural network-based methods, and substantially smaller than traditional GP.
- The average program size of DGP is 19±5.4 nodes on S1, 34±10.4 on S2, and 9±2.0 on S4, demonstrating efficiency in expression size while maintaining high accuracy.
- DGP shows minimal performance degradation under noise, with only minor attenuation in test RMSE, indicating strong robustness across noisy data settings.
- The diversification mechanism effectively enhances global search capability, reducing the risk of local optima and improving convergence to globally optimal expressions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.