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

Self-Satisfied:一个用于SAT生成与预测的端到端框架

Self-Satisfied: An end-to-end framework for SAT generation and prediction

HRL Laboratories, LLC(HRL有限责任公司);Lockheed Martin Corporation(洛克希德·马丁公司)

Christopher R. Serrano, Jonathan Gallagher, Kenji Yamada, Alexei Kopylov, Michael A. Warren

AI总结:

本文提出端到端框架Self-Satisfied,通过硬件加速生成、几何SAT编码和head slicing技术构建Satisfiability Transformer,在SATComp 2022数据上以纯机器学习方法实现了比以往大一个数量级问题的SAT预测。

摘要:

布尔可满足性(SAT)问题询问是否存在对任意布尔公式的变量赋予布尔值,使得该公式求值为True。众所周知,所有NP问题都可以编码为SAT问题,因此SAT在实践和理论上都很重要。从这两个视角来看,更好地理解SAT数据中隐含的模式和结构具有重要价值。在本文中,我们描述了若干进展,我们相信这些进展将有助于打开通向这种理解的大门:我们引入了用于快速SAT问题生成的硬件加速算法,一种几何SAT编码,使得通常应用于视觉任务的transformer架构能够被使用,以及一种我们称之为head slicing的简单而有效的技术,用于减少transformer架构内部的序列长度表示。这些进展使我们能够将方法扩展到具有数千个变量和数万个子句的SAT问题。我们在SAT预测任务上验证了我们的架构,该架构被称为Satisfiability Transformer(SaT),使用的数据来自SAT Competition(SATComp)2022问题集。先前的相关工作要么采用纯机器学习方法,但无法处理SATComp规模的问题,要么是混合式的,即在标准SAT求解工具中集成机器学习组件。我们的纯机器学习方法在预测准确率上与近期工作相当,但所处理的问题规模比先前展示的大一个数量级。我们工作的一个基本方面涉及SAT数据的本质及其对训练机器学习模型的适用性。我们既描述了探究SAT数据可成功用于学习的范围的实验结果,又将这些结果置于复杂性与学习的更广泛背景中。

英文摘要:

The boolean satisfiability (SAT) problem asks whether there exists an assignment of boolean values to the variables of an arbitrary boolean formula making the formula evaluate to True. It is well-known that all NP-problems can be coded as SAT problems and therefore SAT is important both practically and theoretically. From both of these perspectives, better understanding the patterns and structure implicit in SAT data is of significant value. In this paper, we describe several advances that we believe will help open the door to such understanding: we introduce hardware accelerated algorithms for fast SAT problem generation, a geometric SAT encoding that enables the use of transformer architectures typically applied to vision tasks, and a simple yet effective technique we term head slicing for reducing sequence length representation inside transformer architectures. These advances allow us to scale our approach to SAT problems with thousands of variables and tens of thousands of clauses. We validate our architecture, termed Satisfiability Transformer (SaT), on the SAT prediction task with data from the SAT Competition (SATComp) 2022 problem sets. Prior related work either leveraged a pure machine learning approach, but could not handle SATComp-sized problems, or was hybrid in the sense of integrating a machine learning component in a standard SAT solving tool. Our pure machine learning approach achieves prediction accuracies comparable to recent work, but on problems that are an order of magnitude larger than previously demonstrated. A fundamental aspect of our work concerns the very nature of SAT data and its suitability for training machine learning models. We both describe experimental results that probe the landscape of where SAT data can be successfully used for learning and position these results within the broader context of complexity and learning.

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

↑