Boolformer: Symbolic Regression of Logic Functions with Transformers

Stéphane d'Ascoli, Arthur Renard, Vassilis Papadopoulos, Samy Bengio, Josh Susskind +1 more
9/21/2023
cs.LGcs.LO

Official code: sdascoli/boolformer (165 stars, MIT, last commit 2024-03-25).

Abstract

We introduce Boolformer, a Transformer-based model trained to perform end-to-end symbolic regression of Boolean functions. First, we show that it can predict compact formulas for complex functions not seen during training, given their full truth table. Then, we demonstrate that even with incomplete or noisy observations, Boolformer is still able to find good approximate expressions. We evaluate Boolformer on a broad set of real-world binary classification datasets, demonstrating its potential as an interpretable alternative to classic machine learning methods. Finally, we apply it to the widespread task of modeling the dynamics of gene regulatory networks and show through a benchmark that Boolformer is competitive with state-of-the-art genetic algorithms, with a speedup of several orders of magnitude. Our code and models are available publicly.

View on arXivView PDF

Code Implementations(1)

MIT
16518Python, Jupyter NotebookAug 3, 20232 years agoMIT

Similar Papers

Cite this paper

@article{dascoli2023boolformer,
  title  = {Boolformer: Symbolic Regression of Logic Functions with Transformers},
  author = {Stéphane d'Ascoli and Arthur Renard and Vassilis Papadopoulos and Samy Bengio and Josh Susskind and Emmanuel Abbé},
  year   = {2023},
  eprint = {2309.12207},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.12207v2}
}

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

Discussion