Symbolic Regression with a Learned Concept Library

Arya Grayeli, Atharva Sehgal, Omar Costilla-Reyes, Miles Cranmer, Swarat Chaudhuri
9/14/2024
cs.LGcs.AIcs.NE

No official code found. Best implementation: trishullab/LibraryAugmentedSymbolicRegression.jl (46 stars, Apache-2.0, last commit 2026-02-16).

Abstract

We present a novel method for symbolic regression (SR), the task of searching for compact programmatic hypotheses that best explain a dataset. The problem is commonly solved using genetic algorithms; we show that we can enhance such methods by inducing a library of abstract textual concepts. Our algorithm, called LaSR, uses zero-shot queries to a large language model (LLM) to discover and evolve concepts occurring in known high-performing hypotheses. We discover new hypotheses using a mix of standard evolutionary steps and LLM-guided steps (obtained through zero-shot LLM queries) conditioned on discovered concepts. Once discovered, hypotheses are used in a new round of concept abstraction and evolution. We validate LaSR on the Feynman equations, a popular SR benchmark, as well as a set of synthetic tasks. On these benchmarks, LaSR substantially outperforms a variety of state-of-the-art SR approaches based on deep learning and evolutionary algorithms. Moreover, we show that LaSR can be used to discover a novel and powerful scaling law for LLMs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Library augmented Symbolic Regression in Julia

4610JuliaSep 8, 20248 months agoApache-2.0

Similar Papers

Cite this paper

@article{grayeli2024symbolic,
  title  = {Symbolic Regression with a Learned Concept Library},
  author = {Arya Grayeli and Atharva Sehgal and Omar Costilla-Reyes and Miles Cranmer and Swarat Chaudhuri},
  year   = {2024},
  eprint = {2409.09359},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2409.09359},
  url    = {http://arxiv.org/abs/2409.09359v3},
  journal = {NEURIPS 2024 2024}
}

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/2409.09359.svg)](https://codeofpaper.com/paper/2409.09359)

Discussion