English

Boolformer: Symbolic Regression of Logic Functions with Transformers

Machine Learning 2025-07-18 v2 Logic in Computer Science

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.

Keywords

Cite

@article{arxiv.2309.12207,
  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é},
  journal= {arXiv preprint arXiv:2309.12207},
  year   = {2025}
}

Comments

Updated with new ESPRESSO experiments, reworked manuscript. Added 2 authors that participated in last submission

R2 v1 2026-06-28T12:28:32.193Z