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

学习模理论

Learning Modulo Theories

Carnegie Mellon University(卡内基梅隆大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of Waterloo(滑铁卢大学)

Matt Fredrikson, Kaiji Lu, Saranya Vijayakumar, Somesh Jha, Vijay Ganesh, Zifan Wang

摘要:

最近将\emph{solver layers}集成到深度神经网络(DNN)中的技术在弥合归纳学习和符号推理技术之间的长期差距方面表现出了希望。在本文中,我们提出了一套技术集成\emph{Satisfiability Modulo Theories}(SMT)求解器到一个深网络层,称为SMTLayer的前向和后向传递。使用这种方法,可以将丰富的领域知识以数学公式的形式编码到网络中。在向前传递中,求解器使用由先前层产生的符号以及这些公式来构造推理;在向后传递中,求解器通知网络的更新,将其推向与求解器理论兼容的表示。值得注意的是,求解器不需要是可微的。我们将\layername实现为Pytorch模块,我们的实证结果表明,它导致\emph{1)}需要比传统模型更少的训练样本的模型,对某些类型的协变量偏移具有鲁棒性的\emph{2)},以及最终学习与符号知识一致的表示的\emph{3)},因此自然可解释。

英文摘要:

Recent techniques that integrate \emph{solver layers} into Deep Neural Networks (DNNs) have shown promise in bridging a long-standing gap between inductive learning and symbolic reasoning techniques. In this paper we present a set of techniques for integrating \emph{Satisfiability Modulo Theories} (SMT) solvers into the forward and backward passes of a deep network layer, called SMTLayer. Using this approach, one can encode rich domain knowledge into the network in the form of mathematical formulas. In the forward pass, the solver uses symbols produced by prior layers, along with these formulas, to construct inferences; in the backward pass, the solver informs updates to the network, driving it towards representations that are compatible with the solver's theory. Notably, the solver need not be differentiable. We implement \layername as a Pytorch module, and our empirical results show that it leads to models that \emph{1)} require fewer training samples than conventional models, \emph{2)} that are robust to certain types of covariate shift, and \emph{3)} that ultimately learn representations that are consistent with symbolic knowledge, and thus naturally interpretable.

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

↑