arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.02133cs.AIcs.LG
收藏

利用SATNet学习可靠的逻辑规则

Learning Reliable Logical Rules with SATNet

University of Toronto(多伦多大学);Vector Institute(向量研究所);Shanghai Jiao Tong Univeristy(上海交通大学);Mila(米拉研究所)

Zhaoyu Li, Jinpei Guo, Yuhe Jiang, Xujie Si

AI总结:

针对SATNet学习的权重不可解释的问题,提出“最大等式”方法将其转换为加权MaxSAT逻辑规则,结合验证技术实现了高可靠性,且规则与真实规则功能等价。

摘要:

桥接逻辑推理与深度学习对高级AI系统至关重要。在本研究中,我们提出了一个新框架来实现这一目标:该框架通过可微学习生成可解释、可验证的逻辑规则,且无需依赖预先指定的逻辑结构。我们的方法基于SATNet——一种可从输入输出示例中学习底层规则的可微MaxSAT求解器。尽管SATNet效果显著,但其学习到的权重不具备直接可解释性,无法生成人类可读的规则。为解决这一问题,我们提出了一种名为“最大等式”的新型规约方法,它能实现SATNet学习到的权重与一组加权MaxSAT形式的命题逻辑规则之间的相互转换。基于解码得到的加权MaxSAT公式,我们进一步引入了多种有效验证技术,将其与真实规则进行比对验证。在流变换和数独问题上的实验表明,我们解码得到的规则具有极高可靠性:使用精确求解器对这些规则求解可达到100%的准确率,而原始SATNet在很多情况下无法给出正确解。此外,我们还形式化验证了解码得到的逻辑规则与真实规则在功能上是等价的。

英文摘要:

Bridging logical reasoning and deep learning is crucial for advanced AI systems. In this work, we present a new framework that addresses this goal by generating interpretable and verifiable logical rules through differentiable learning, without relying on pre-specified logical structures. Our approach builds upon SATNet, a differentiable MaxSAT solver that learns the underlying rules from input-output examples. Despite its efficacy, the learned weights in SATNet are not straightforwardly interpretable, failing to produce human-readable rules. To address this, we propose a novel specification method called "maximum equality", which enables the interchangeability between the learned weights of SATNet and a set of propositional logical rules in weighted MaxSAT form. With the decoded weighted MaxSAT formula, we further introduce several effective verification techniques to validate it against the ground truth rules. Experiments on stream transformations and Sudoku problems show that our decoded rules are highly reliable: using exact solvers on them could achieve 100% accuracy, whereas the original SATNet fails to give correct solutions in many cases. Furthermore, we formally verify that our decoded logical rules are functionally equivalent to the ground truth ones.

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

↑