Semantic Strengthening of Neuro-Symbolic Learning

02/28/2023
by   Kareem Ahmed, et al.
0

Numerous neuro-symbolic approaches have recently been proposed typically with the goal of adding symbolic knowledge to the output layer of a neural network. Ideally, such losses maximize the probability that the neural network's predictions satisfy the underlying domain. Unfortunately, this type of probabilistic inference is often computationally infeasible. Neuro-symbolic approaches therefore commonly resort to fuzzy approximations of this probabilistic objective, sacrificing sound probabilistic semantics, or to sampling which is very seldom feasible. We approach the problem by first assuming the constraint decomposes conditioned on the features learned by the network. We iteratively strengthen our approximation, restoring the dependence between the constraints most responsible for degrading the quality of the approximation. This corresponds to computing the mutual information between pairs of constraints conditioned on the network's learned features, and may be construed as a measure of how well aligned the gradients of two distributions are. We show how to compute this efficiently for tractable circuits. We test our approach on three tasks: predicting a minimum-cost path in Warcraft, predicting a minimum-cost perfect matching, and solving Sudoku puzzles, observing that it improves upon the baselines while sidestepping intractability.

READ FULL TEXT
research
06/01/2022

Semantic Probabilistic Layers for Neuro-Symbolic Learning

We design a predictive layer for structured-output prediction (SOP) that...
research
03/18/2020

Constraint Solving with Deep Learning for Symbolic Execution

Symbolic execution is a powerful systematic software analysis technique,...
research
07/02/2018

Neuro-Symbolic Execution: The Feasibility of an Inductive Approach to Symbolic Execution

Symbolic execution is a powerful technique for program analysis. However...
research
01/25/2022

Neuro-Symbolic Entropy Regularization

In structured prediction, the goal is to jointly predict many output var...
research
12/19/2019

Does Symbolic Knowledge Prevent Adversarial Fooling?

Arguments in favor of injecting symbolic knowledge into neural architect...
research
08/23/2023

State Merging with Quantifiers in Symbolic Execution

We address the problem of constraint encoding explosion which hinders th...
research
09/28/2022

Lazy Probabilistic Roadmaps Revisited

This paper describes a revision of the classic Lazy Probabilistic Roadma...

Please sign up or login with your details

Forgot password? Click here to reset