Neuro-symbolic Rule Learning in Real-world Classification Tasks

Kexin Gu Baugh, Nuri Cingillioglu, Alessandra Russo
3/29/2023
cs.LGcs.AI

No official code found. Best implementation: kittykg/neural-dnf-cub (6 stars, MIT, last commit 2023-03-02). 1 more below.

Abstract

Neuro-symbolic rule learning has attracted lots of attention as it offers better interpretability than pure neural models and scales better than symbolic rule learning. A recent approach named pix2rule proposes a neural Disjunctive Normal Form (neural DNF) module to learn symbolic rules with feed-forward layers. Although proved to be effective in synthetic binary classification, pix2rule has not been applied to more challenging tasks such as multi-label and multi-class classifications over real-world data. In this paper, we address this limitation by extending the neural DNF module to (i) support rule learning in real-world multi-class and multi-label classification tasks, (ii) enforce the symbolic property of mutual exclusivity (i.e. predicting exactly one class) in multi-class classification, and (iii) explore its scalability over large inputs and outputs. We train a vanilla neural DNF model similar to pix2rule's neural DNF module for multi-label classification, and we propose a novel extended model called neural DNF-EO (Exactly One) which enforces mutual exclusivity in multi-class classification. We evaluate the classification performance, scalability and interpretability of our neural DNF-based models, and compare them against pure neural models and a state-of-the-art symbolic rule learner named FastLAS. We demonstrate that our neural DNF-based models perform similarly to neural networks, but provide better interpretability by enabling the extraction of logical rules. Our models also scale well when the rule search space grows in size, in contrast to FastLAS, which fails to learn in multi-class classification tasks with 200 classes and in all multi-label settings.

View on arXivView PDF

Code Implementations(2)

MIT

Neuro-symbolic Rule learning from CUB-200-2011 and subsets with neural DNF based models

61Python, Jupyter NotebookMay 9, 20223 years agoMIT
MIT

Neuro-symbolic Rule learning from TMC2007-500 and subsets with neural DNF models

31Python, Jupyter NotebookJul 8, 20223 years agoMIT

Similar Papers

Cite this paper

@article{baugh2023neurosymbolic,
  title  = {Neuro-symbolic Rule Learning in Real-world Classification Tasks},
  author = {Kexin Gu Baugh and Nuri Cingillioglu and Alessandra Russo},
  year   = {2023},
  eprint = {2303.16674},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.16674v1}
}

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

Discussion