Refining neural network predictions using background knowledge
Preprint
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. 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.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- ROAD-R: the autonomous driving dataset with logical requirementsMachine Learning, 2023
- Knowledge Enhanced Neural Networks for Relational Domains2023
- Logic Tensor NetworksArtificial Intelligence, 2022
- Analyzing Differentiable Fuzzy Logic OperatorsArtificial Intelligence, 2022
- Regularizing deep networks with prior knowledge: A constraint-based approachKnowledge-Based Systems, 2021
- On a Convex Logic Fragment for Learning and ReasoningIEEE Transactions on Fuzzy Systems, 2018
- Semantic-based regularization for learning and inferenceArtificial Intelligence, 2017
- Fuzzy Logic with Engineering Applications2010
- Fuzzy Implications2008
- Triangular norms. Position paper II: general constructions and parameterized familiesFuzzy Sets and Systems, 2004