arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.14207cs.LGcs.AI
收藏

神经符号学习的语义强化

Semantic Strengthening of Neuro-Symbolic Learning

Kareem Ahmed, Kai-Wei Chang, Guy Van den Broeck

摘要:

最近提出了许多神经符号方法,其目标通常是将符号知识添加到神经网络的输出层。理想情况下,这种损失最大化了神经网络的预测满足基础域的概率。不幸的是,这种类型的概率推理通常在计算上是不可行的。因此,神经符号的方法通常诉诸于模糊近似的概率目标,牺牲声音的概率语义,或采样是很少可行的。我们首先假设约束分解以网络学习的特征为条件来处理这个问题。我们迭代地加强我们的近似,恢复之间的依赖关系的约束最负责降低近似的质量。这对应于计算以网络的学习特征为条件的约束对之间的互信息,并且可以被解释为两个分布的梯度对齐程度的度量。我们将展示如何有效地计算易处理的电路。我们在三个任务上测试我们的方法:预测魔兽争霸中的最小成本路径,预测最小成本完美匹配,以及解决数独难题,观察到它在基线上有所改进,同时避开了棘手问题。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑