Disentangling Neural Disjunctive Normal Form Models

Kexin Gu Baugh, Vincent Perreault, Matthew Baugh, Luke Dickens, Katsumi Inoue +1 more
7/14/2025
cs.LGcs.AI

Official code: kittykg/disentangling-ndnf-classification (0 stars, last commit 2025-07-25).

Abstract

Neural Disjunctive Normal Form (DNF) based models are powerful and interpretable approaches to neuro-symbolic learning and have shown promising results in classification and reinforcement learning settings without prior knowledge of the tasks. However, their performance is degraded by the thresholding of the post-training symbolic translation process. We show here that part of the performance degradation during translation is due to its failure to disentangle the learned knowledge represented in the form of the networks' weights. We address this issue by proposing a new disentanglement method; by splitting nodes that encode nested rules into smaller independent nodes, we are able to better preserve the models' performance. Through experiments on binary, multiclass, and multilabel classification tasks (including those requiring predicate invention), we demonstrate that our disentanglement method provides compact and interpretable logical representations for the neural DNF-based models, with performance closer to that of their pre-translation counterparts. Our code is available at https://github.com/kittykg/disentangling-ndnf-classification.

View on arXivView PDF

Code Implementations(1)

Code for "Disentangling Neural Disjunctive Normal Form Models" at NeSy 2025

01Python, Jupyter NotebookDec 12, 20241 years ago

Similar Papers

Cite this paper

@article{baugh2025disentangling,
  title  = {Disentangling Neural Disjunctive Normal Form Models},
  author = {Kexin Gu Baugh and Vincent Perreault and Matthew Baugh and Luke Dickens and Katsumi Inoue and Alessandra Russo},
  year   = {2025},
  eprint = {2507.10546},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.10546v2}
}

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

Discussion