English

Generalized Fixed-Depth Prefix and Postfix Symbolic Regression Grammars

Symbolic Computation 2024-10-11 v1

Abstract

We develop faultless, fixed-depth, string-based, prefix and postfix symbolic regression grammars, capable of producing \emph{any} expression from a set of operands, unary operators and/or binary operators. Using these grammars, we outline simplified forms of 5 popular heuristic search strategies: Brute Force Search, Monte Carlo Tree Search, Particle Swarm Optimization, Genetic Programming, and Simulated Annealing. For each algorithm, we compare the relative performance of prefix vs postfix for ten ground-truth expressions implemented entirely within a common C++/Eigen framework. Our experiments show a comparatively strong correlation between the average number of nodes per layer of the ground truth expression tree and the relative performance of prefix vs postfix. The fixed-depth grammars developed herein can enhance scientific discovery by increasing the efficiency of symbolic regression, enabling faster identification of accurate mathematical models across various disciplines.

Keywords

Cite

@article{arxiv.2410.08137,
  title  = {Generalized Fixed-Depth Prefix and Postfix Symbolic Regression Grammars},
  author = {Edward Finkelstein},
  journal= {arXiv preprint arXiv:2410.08137},
  year   = {2024}
}

Comments

16 pages, 5 figures, 2 tables, 5 equations

R2 v1 2026-06-28T19:16:39.932Z