Refining neural network predictions using background knowledge

Alessandro Daniele, Emile van Krieken, Luciano Serafini, Frank van Harmelen
6/10/2022
cs.AIcs.LGcs.LO

Official code: DanieleAlessandro/IterativeLocalRefinement (3 stars, Python, MIT, last commit 2023-01-23).

Abstract

Recent work has shown logical background knowledge can be used in learning systems to compensate for a lack of labeled training data. Many methods work by creating a loss function that encodes this knowledge.

Show full abstract

However, often the logic is discarded after training, even if it is still useful at test time. Instead, we ensure neural network predictions satisfy the knowledge by refining the predictions with an extra computation step. We introduce differentiable refinement functions that find a corrected prediction close to the original prediction. We study how to effectively and efficiently compute these refinement functions. Using a new algorithm called Iterative Local Refinement (ILR), we combine refinement functions to find refined predictions for logical formulas of any complexity. ILR finds refinements on complex SAT formulas in significantly fewer iterations and frequently finds solutions where gradient descent can not. Finally, ILR produces competitive results in the MNIST addition task.

View on arXivView PDF

Code Implementations(1)

MIT
30PythonApr 5, 20223 years agoMIT

Similar Papers

Cite this paper

@article{daniele2022refining,
  title  = {Refining neural network predictions using background knowledge},
  author = {Alessandro Daniele and Emile van Krieken and Luciano Serafini and Frank van Harmelen},
  year   = {2022},
  eprint = {2206.04976},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04976}
}

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

Discussion