MultiplexNet:在神经网络中实现完全满足的逻辑约束
MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural Networks
摘要:
我们提出了一种将专家知识融入深度神经网络训练的新方法。许多方法将域约束直接编码到网络架构中,需要非平凡或特定于域的工程。相比之下,我们的方法,称为MultiplexNet,表示领域知识作为一个逻辑公式的析取范式(DNF),这是很容易编码,并从人类专家。它引入了一个分类隐变量,学习选择哪个约束项优化网络的误差函数,并将约束直接编译到现有学习算法的输出中。我们在几个经典的深度学习任务上经验性地证明了这种方法的有效性,例如在监督和无监督环境中的密度估计和分类,其中关于域的先验知识被表示为逻辑约束。我们的研究结果表明,MultiplexNet方法可以很好地近似未知分布,通常需要比其他方法更少的数据样本。在某些情况下,MultiplexNet找到了比基线更好的解决方案;或者是其他方法无法实现的解决方案。我们的贡献是在编码领域知识的方式,促进推理,被证明是有效的和一般的,关键是,我们的方法保证100%的约束满足在网络的输出。
英文摘要:
We propose a novel way to incorporate expert knowledge into the training of deep neural networks. Many approaches encode domain constraints directly into the network architecture, requiring non-trivial or domain-specific engineering. In contrast, our approach, called MultiplexNet, represents domain knowledge as a logical formula in disjunctive normal form (DNF) which is easy to encode and to elicit from human experts. It introduces a Categorical latent variable that learns to choose which constraint term optimizes the error function of the network and it compiles the constraints directly into the output of existing learning algorithms. We demonstrate the efficacy of this approach empirically on several classical deep learning tasks, such as density estimation and classification in both supervised and unsupervised settings where prior knowledge about the domains was expressed as logical constraints. Our results show that the MultiplexNet approach learned to approximate unknown distributions well, often requiring fewer data samples than the alternative approaches. In some cases, MultiplexNet finds better solutions than the baselines; or solutions that could not be achieved with the alternative approaches. Our contribution is in encoding domain knowledge in a way that facilitates inference that is shown to be both efficient and general; and critically, our approach guarantees 100% constraint satisfaction in a network's output.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。