Learning Reliable Logical Rules with SATNet

Zhaoyu Li, Jinpei Guo, Yuhe Jiang, Xujie Si
10/1/2023
5 citations

No official code found. Best implementation: snowfossi/SATNet-Reliability (4 stars, Python, last commit 2023-11-13).

Abstract

Bridging logical reasoning and deep learning is crucial for advanced AI systems. In this work, we present a new framework that addresses this goal by generating interpretable and verifiable logical rules through differentiable learning, without relying on pre-specified logical structures.

Show full abstract

Our approach builds upon SATNet, a differentiable MaxSAT solver that learns the underlying rules from input-output examples. Despite its efficacy, the learned weights in SATNet are not straightforwardly interpretable, failing to produce human-readable rules. To address this, we propose a novel specification method called"maximum equality", which enables the interchangeability between the learned weights of SATNet and a set of propositional logical rules in weighted MaxSAT form. With the decoded weighted MaxSAT formula, we further introduce several effective verification techniques to validate it against the ground truth rules. Experiments on stream transformations and Sudoku problems show that our decoded rules are highly reliable: using exact solvers on them could achieve 100% accuracy, whereas the original SATNet fails to give correct solutions in many cases. Furthermore, we formally verify that our decoded logical rules are functionally equivalent to the ground truth ones.

View on arXivView PDF

Code Implementations(1)

This is the code for "Learning Reliable Logical Rules with SATNet" by Zhaoyu Li, Jinpei Guo, Yuhe Jiang and Xujie Si, In 37th Conference on Neural Information Processing Systems (NeurIPS 2023)

40Python, C++Nov 13, 20233 years ago

Similar Papers

Cite this paper

@article{li2023learning,
  title  = {Learning Reliable Logical Rules with SATNet},
  author = {Zhaoyu Li and Jinpei Guo and Yuhe Jiang and Xujie Si},
  year   = {2023},
  eprint = {2310.02133},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.02133},
  journal = {NEURIPS 2023 2023}
}

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

Discussion