Skip to main content
QUICK REVIEW

[Paper Review] Symbolic Regression is NP-hard

Marco Virgolin, Solon P. Pissis|arXiv (Cornell University)|Jul 3, 2022
Evolutionary Algorithms and ApplicationsComputer Science26 citations
TL;DR

The paper proves that symbolic regression (SR) is NP-hard by reducing the unbounded subset sum problem to a decision variant of SR. It also shows NP-hardness persists even when constants may be sampled from a distribution.

ABSTRACT

Symbolic regression (SR) is the task of learning a model of data in the form of a mathematical expression. By their nature, SR models have the potential to be accurate and human-interpretable at the same time. Unfortunately, finding such models, i.e., performing SR, appears to be a computationally intensive task. Historically, SR has been tackled with heuristics such as greedy or genetic algorithms and, while some works have hinted at the possible hardness of SR, no proof has yet been given that SR is, in fact, NP-hard. This begs the question: Is there an exact polynomial-time algorithm to compute SR models? We provide evidence suggesting that the answer is probably negative by showing that SR is NP-hard.

Motivation & Objective

  • Formalize the SR problem and its search space via function composition and a primitive set.
  • Provide a rigorous NP-hardness proof for SR through a polynomial-time reduction from USSP-Dec.
  • Address whether SR remains NP-hard when constants are allowed from a sampling distribution.
  • Clarify assumptions about loss, computation time, and non-recursive SR functions in the hardness result.

Proposed method

  • Define SR via a primitive set P and the induced search space F of composed functions.
  • Formulate SR as minimizing a loss L over F with polynomial-time computable f(x) and L(y,f(x)).
  • Show SR-Dec is in NP and reduce USSP-Dec to SR-Dec to prove NP-hardness.
  • Provide Corollary 1 showing NP-hardness even when constants are sampled from R within P, by modifying the construction.
  • Construct reduced instances with a single observation (and later two when constants are allowed) to mirror USSP.

Experimental results

Research questions

  • RQ1Is symbolic regression NP-hard in general?
  • RQ2Does SR remain NP-hard when the primitive set must include constant-sampling distributions?
  • RQ3Can SR-Dec capture the unbounded subset sum problem through a polynomial reduction?

Key findings

  • SR is NP-hard, proven by reducing USSP-Dec to SR-Dec in polynomial time.
  • SR-Dec is in NP since evaluation of f and L is polynomial time.
  • NP-hardness holds even if the primitive set must include a mechanism to sample constants (Corollary 1).
  • The reduction uses a restricted SR instance with linear sums of features and zero loss threshold (epsilon) to mirror USSP-Dec.
  • The proof outlines a reductio by assuming a polynomial-time SR solver would solve SR-Dec and thus USSP-Dec.

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.