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

GraSS:结合图神经网络与专家知识的SAT求解器选择方法

GraSS: Combining Graph Neural Networks with Expert Knowledge for SAT Solver Selection

McGill University(麦吉尔大学)

Zhanguang Zhang, Didier Chetelat, Joseph Cotnareanu, Amur Ghose, Wenyi Xiao, Hui-Ling Zhen, Yingxue Zhang, Jianye Hao, Mark Coates, Mingxuan Yuan

AI总结:

针对现有SAT求解器选择方法依赖人工特征、忽略图结构与领域知识的问题,提出融合三部图表示、定制化异质GNN及运行时敏感损失的GraSS方法,在两类基准上实现7个顶尖求解器池的运行时提升。

摘要:

布尔可满足性(SAT)问题在实际应用中通常由SAT求解器求解,但对于同一实例,不同求解器的求解时间可能存在巨大差异。这推动了针对机器学习模型的研究,这类模型能够针对给定的SAT实例,预测在多个可选求解器中应选择哪一个。现有的SAT求解器选择方法都依赖于一些人工挑选的实例特征,这些特征计算成本高昂,且忽略了SAT图中的结构信息。本文提出GraSS,这是一种基于实例的三部图表示和异构图神经网络(GNN)模型的新型自动SAT求解器选择方法。尽管GNN此前已被应用于其他SAT相关任务,但它们未融入任何领域特定知识,且忽略了不同子句顺序带来的运行时差异。我们通过领域特定的决策来丰富图表示,例如新颖的节点特征设计、图中子句的位置编码、为我们的三部图量身定制的GNN架构,以及运行时敏感的损失函数。通过大量实验,我们证明,原始表示与领域特定选择的这种结合,在工业电路设计基准测试,以及2022年SAT竞赛20周年纪念赛道的实例上,针对7个最先进求解器组成的求解器池,均实现了运行时性能的提升。

英文摘要:

Boolean satisfiability (SAT) problems are routinely solved by SAT solvers in real-life applications, yet solving time can vary drastically between solvers for the same instance. This has motivated research into machine learning models that can predict, for a given SAT instance, which solver to select among several options. Existing SAT solver selection methods all rely on some hand-picked instance features, which are costly to compute and ignore the structural information in SAT graphs. In this paper we present GraSS, a novel approach for automatic SAT solver selection based on tripartite graph representations of instances and a heterogeneous graph neural network (GNN) model. While GNNs have been previously adopted in other SAT-related tasks, they do not incorporate any domain-specific knowledge and ignore the runtime variation introduced by different clause orders. We enrich the graph representation with domain-specific decisions, such as novel node feature design, positional encodings for clauses in the graph, a GNN architecture tailored to our tripartite graphs and a runtime-sensitive loss function. Through extensive experiments, we demonstrate that this combination of raw representations and domain-specific choices leads to improvements in runtime for a pool of seven state-of-the-art solvers on both an industrial circuit design benchmark, and on instances from the 20-year Anniversary Track of the 2022 SAT Competition.

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

↑