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

用更少数据学习更好的命题可满足性问题表示

Learning Better Representations From Less Data For Propositional Satisfiability

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心)

Mohamed Ghanem, Frederik Schmitt, Julian Siber, Bernd Finkbeiner

AI总结:

NeuRes通过结合证书驱动训练与专家迭代的神经符号方法,以极少数据学习命题可满足性问题的更好表示,并自回归生成归结证明,显著提升数据效率与性能。

摘要:

在NP完全问题上训练神经网络通常需要非常大量的训练数据,并且往往需要与计算昂贵的符号验证器相结合以确保输出正确性。在本文中,我们提出NeuRes,一种神经符号方法,以应对命题可满足性(典型的NP完全问题)中的这两个挑战。通过结合证书驱动训练和专家迭代,我们的模型学习到比仅用于分类训练的模型更好的表示,且数据效率更高——所需训练数据少几个数量级。NeuRes采用命题归结作为证明系统来生成不可满足性证明,并加速寻找满足真值赋值的过程,并行探索这两种可能性。为实现这一目标,我们提出了一种基于注意力的架构,该架构自回归地从动态公式嵌入中选择子句对以推导新子句。此外,我们采用专家迭代,使模型生成的证明逐步取代较长的教师证明作为新的真值。这使得我们的模型在训练后,无需额外指导即可将高级求解器生成的证明数据集减少约32%。这表明NeuRes不受限于教师算法的最优性,得益于其自我改进的工作流程。我们展示了我们的模型在正确分类和证明实例方面均远优于NeuroSAT。

英文摘要:

Training neural networks on NP-complete problems typically demands very large amounts of training data and often needs to be coupled with computationally expensive symbolic verifiers to ensure output correctness. In this paper, we present NeuRes, a neuro-symbolic approach to address both challenges for propositional satisfiability, being the quintessential NP-complete problem. By combining certificate-driven training and expert iteration, our model learns better representations than models trained for classification only, with a much higher data efficiency -- requiring orders of magnitude less training data. NeuRes employs propositional resolution as a proof system to generate proofs of unsatisfiability and to accelerate the process of finding satisfying truth assignments, exploring both possibilities in parallel. To realize this, we propose an attention-based architecture that autoregressively selects pairs of clauses from a dynamic formula embedding to derive new clauses. Furthermore, we employ expert iteration whereby model-generated proofs progressively replace longer teacher proofs as the new ground truth. This enables our model to reduce a dataset of proofs generated by an advanced solver by ~32% after training on it with no extra guidance. This shows that NeuRes is not limited by the optimality of the teacher algorithm owing to its self-improving workflow. We show that our model achieves far better performance than NeuroSAT in terms of both correctly classified and proven instances.

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

↑