Ab Initio Nonparametric Variable Selection for Scalable Symbolic Regression with Large $p$

Shengbin Ye, Meng Li

TL;DR

Symbolic regression (SR) is a powerful tool for discovering interpretable mathematical laws from data, but it traditionally breaks down when faced with hundreds of input variables. To address this, researchers have introduced PAN+SR, a framework that uses a novel, tuning-free nonparametric variable selection method to "pre-screen" datasets. By slashing the search space, PAN+SR enables standard SR algorithms to achieve state-of-the-art results on high-dimensional problems with massive computational speedups.

The Challenge: Extreme-Scale Symbolic Regression

Symbolic regression aims to find the exact mathematical equation (e.g., $F = G \frac{m_1 m_2}{r^2}$) that best describes a dataset. While highly interpretable, SR is an NP-hard optimization problem. As the number of input variables ($p$) increases, the search space of possible equations explodes double-exponentially.

Most existing SR research focuses on "small $p$" settings (usually $p \le 10$). However, modern scientific datasets often contain hundreds of variables, many of which are irrelevant noise. Standard variable selection techniques, like Random Forests, often fail here because SR has a unique requirement: it is extremely sensitive to False Negatives. If a selection method accidentally discards even one relevant variable, the SR algorithm can never find the true underlying equation. PAN+SR is designed to solve this "extreme-scale" SR challenge by ensuring relevant variables are kept while junk variables are safely discarded.

The PAN+SR Framework

The authors propose a two-stage framework that seamlessly integrates with existing tools:

  1. Nonparametric Pre-screening (PAN): Before running the SR algorithm, the data passes through a variable selection module based on BART (Bayesian Additive Regression Trees).
  2. The Ranking Innovation: Instead of looking at raw "importance scores," which can be noisy and unreliable, the method tracks the rankings of variables across multiple independent BART runs.
  3. Tuning-Free Clustering: Relevant variables consistently rank at the top, while irrelevant ones are scattered. The authors use Agglomerative Hierarchical Clustering (AHC) to automatically separate these into two groups. This removes the need for a human to guess how many variables are "important" beforehand.
  4. Symbolic Regression (SR): The pruned dataset, now containing only a small subset of likely-relevant variables, is passed to any standard SR algorithm (like PySR, Operon, or AIFeynman).

Key Insights

  • Asymmetry of Error: The "Aha!" moment of this research is realizing that in SR, a False Positive (keeping a useless variable) is just a minor computational tax, but a False Negative (dropping a real variable) is a fatal error. PAN+SR is specifically engineered to minimize False Negatives.
  • Rankings > Raw Values: Raw importance values (Variable Inclusion Proportions) vary wildly between runs. However, the relative rank of a true signal variable is remarkably stable, making it a much more robust metric for selection.
  • Universal Compatibility: Because PAN acts as a pre-processor, it requires zero modifications to existing SR algorithms. It effectively "upgrades" any SR tool to handle high-dimensional data.

Results and Performance

The authors evaluated their framework using 35 high-dimensional real-world datasets from PMLB and an Extended Feynman dataset featuring 100 classic physics equations stressed with up to 450 irrelevant variables and varying noise levels.

Performance comparison of PAN+SR versus standard SR across multiple metrics, highlighting significant gains in solution rate and training time.
  • Performance Boost: PAN+SR improved the predictive accuracy ($R^2$) of 18 out of 19 contemporary SR methods tested.
  • State-of-the-Art Leap: On ground-truth datasets, PAN+SR enabled several mid-tier algorithms to leapfrog previous leaders. Notably, AIFeynman moved from last place to 2nd in terms of "solution rate" (successfully finding the exact true equation).
  • Massive Efficiency: The computational overhead of the PAN step is minimal (averaging ~74 seconds), but it leads to massive downstream speedups. For example, the uDSR algorithm saw a 6-fold speedup, and AIFeynman (which often crashed on high-D data) achieved a 5-fold speedup.
  • Robustness: The method maintained a near-100% True Positive Rate across various sample sizes and noise levels.

Limitations and Future Work

While PAN+SR represents a major step forward for scalable symbolic regression, it is not without limitations.

False Negative Rate (FNR) across varying sample sizes and Signal-to-Noise Ratios (SNR).
  • Extreme Noise: In very high-noise, low-sample settings (e.g., $n=500$ with a Signal-to-Noise Ratio of 0.5), the False Negative Rate begins to rise above 5%. In these extreme cases, the method might still discard a necessary variable.
  • Iterative Selection: The authors suggest that an iterative version of PAN—where variables are pruned in multiple rounds—could further improve performance in ultra-noisy environments.
  • Feature Correlation: While the paper touched on correlated predictors, more complex dependencies in "large $p$" spaces (like highly collinear scientific measurements) remain a challenge for future refinement.

Summary updated

BibTeX
@inproceedings{ye2025ab,
  author = {Shengbin Ye and Meng Li},
  title = {{Ab Initio Nonparametric Variable Selection for Scalable Symbolic Regression with Large $p$}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=9gyJJw8ZUj},
}
Figure