Priors for symbolic regression

Deaglan J. Bartlett, Harry Desmond, Pedro G. Ferreira
4/13/2023
cs.LGastro-ph.COastro-ph.IM

No official code found. Best implementation: DeaglanBartlett/katz (5 stars, last commit 2025-02-04).

Abstract

When choosing between competing symbolic models for a data set, a human will naturally prefer the "simpler" expression or the one which more closely resembles equations previously seen in a similar context. This suggests a non-uniform prior on functions, which is, however, rarely considered within a symbolic regression (SR) framework. In this paper we develop methods to incorporate detailed prior information on both functions and their parameters into SR. Our prior on the structure of a function is based on a $n$-gram language model, which is sensitive to the arrangement of operators relative to one another in addition to the frequency of occurrence of each operator. We also develop a formalism based on the Fractional Bayes Factor to treat numerical parameter priors in such a way that models may be fairly compared though the Bayesian evidence, and explicitly compare Bayesian, Minimum Description Length and heuristic methods for model selection. We demonstrate the performance of our priors relative to literature standards on benchmarks and a real-world dataset from the field of cosmology.

View on arXivView PDF

Code Implementations(1)

51Shell, PythonMar 2, 20231 years ago

Similar Papers

Cite this paper

@article{bartlett2023priors,
  title  = {Priors for symbolic regression},
  author = {Deaglan J. Bartlett and Harry Desmond and Pedro G. Ferreira},
  year   = {2023},
  eprint = {2304.06333},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.06333v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.06333.svg)](https://codeofpaper.com/paper/2304.06333)

Discussion