Refining neural network predictions using background knowledge

Alessandro Daniele, Emile van Krieken*, Luciano Serafini, Frank van Harmelen

*Corresponding author for this work

Research output: Contribution to JournalArticleAcademicpeer-review

Abstract

Recent work has shown learning systems can use logical background knowledge to compensate for a lack of labeled training data. Many methods work by creating a loss function that encodes this knowledge. However, often the logic is discarded after training, even if it is still helpful 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.

Original languageEnglish
Pages (from-to)3293-3331
Number of pages39
JournalMachine Learning
Volume112
Issue number9
Early online date14 Mar 2023
DOIs
Publication statusPublished - Sept 2023

Bibliographical note

Funding Information:
Alessandro Daniele and Emile van Krieken are involved in a HumaneAI Microproject. HumaneAI received funding from the European Union’s Horizon 2020 research and innovation program under Grant Agreement No 761758.

Publisher Copyright:
© 2023, The Author(s).

Funding

Alessandro Daniele and Emile van Krieken are involved in a HumaneAI Microproject. HumaneAI received funding from the European Union’s Horizon 2020 research and innovation program under Grant Agreement No 761758.

FundersFunder number
Horizon 2020 Framework Programme761758
Horizon 2020 Framework Programme

    Keywords

    • Fuzzy logic
    • Neurosymbolic AI
    • Optimization

    Fingerprint

    Dive into the research topics of 'Refining neural network predictions using background knowledge'. Together they form a unique fingerprint.

    Cite this