Understanding Boolean Function Learnability on Deep Neural Networks: PAC Learning Meets Neurosymbolic Models

Marcio Nicolau, Anderson R. Tavares, Zhiwei Zhang, Pedro Avelar, João M. Flach +2 more
9/13/2020
6 citations
cs.LGstat.ML

Official code: machine-reasoning-ufrgs/mlbf (9 stars, Jupyter Notebook, last commit 2025-07-30).

Abstract

Computational learning theory states that many classes of boolean formulas are learnable in polynomial time. This paper addresses the understudied subject of how, in practice, such formulas can be learned by deep neural networks.

Show full abstract

Specifically, we analyze boolean formulas associated with model-sampling benchmarks, combinatorial optimization problems, and random 3-CNFs with varying degrees of constrainedness. Our experiments indicate that: (i) neural learning generalizes better than pure rule-based systems and pure symbolic approach; (ii) relatively small and shallow neural networks are very good approximators of formulas associated with combinatorial optimization problems; (iii) smaller formulas seem harder to learn, possibly due to the fewer positive (satisfying) examples available; and (iv) interestingly, underconstrained 3-CNF formulas are more challenging to learn than overconstrained ones. Such findings pave the way for a better understanding, construction, and use of interpretable neurosymbolic AI methods.

View on arXivView PDF

Code Implementations(1)

Machine Learning over Boolean Formulas

92Jupyter Notebook, PythonSep 12, 20201 years ago

Similar Papers

Cite this paper

@article{nicolau2020understanding,
  title  = {Understanding Boolean Function Learnability on Deep Neural Networks: PAC Learning Meets Neurosymbolic Models},
  author = {Marcio Nicolau and Anderson R. Tavares and Zhiwei Zhang and Pedro Avelar and João M. Flach and Luis C. Lamb and Moshe Y. Vardi},
  year   = {2020},
  eprint = {2009.05908},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.05908}
}

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

Discussion