Efficient Generator of Mathematical Expressions for Symbolic Regression

Sebastian Mežnar, Sašo Džeroski, Ljupčo Todorovski
2/20/2023
cs.LGcs.AI

No official code found. Best implementation: smeznar/HVAE (32 stars, BSD-3-Clause, last commit 2026-03-04).

Abstract

We propose an approach to symbolic regression based on a novel variational autoencoder for generating hierarchical structures, HVAE. It combines simple atomic units with shared weights to recursively encode and decode the individual nodes in the hierarchy. Encoding is performed bottom-up and decoding top-down. We empirically show that HVAE can be trained efficiently with small corpora of mathematical expressions and can accurately encode expressions into a smooth low-dimensional latent space. The latter can be efficiently explored with various optimization methods to address the task of symbolic regression. Indeed, random search through the latent space of HVAE performs better than random search through expressions generated by manually crafted probabilistic grammars for mathematical expressions. Finally, EDHiE system for symbolic regression, which applies an evolutionary algorithm to the latent space of HVAE, reconstructs equations from a standard symbolic regression benchmark better than a state-of-the-art system based on a similar combination of deep learning and evolutionary algorithms.ž

View on arXivView PDF

Code Implementations(1)

smeznar/HVAECommunity100%
BSD-3-Clause

An approach for embedding hierarhical structures into a continuous vector space using variational autoencoders.

323PythonFeb 4, 20237 months agoBSD-3-Clause
deep-learningequation-discoverygenerative-modelhierarchymachine-learning+2 more

Similar Papers

Cite this paper

@article{menar2023efficient,
  title  = {Efficient Generator of Mathematical Expressions for Symbolic Regression},
  author = {Sebastian Mežnar and Sašo Džeroski and Ljupčo Todorovski},
  year   = {2023},
  eprint = {2302.09893},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09893v2}
}

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

Discussion