用纯机器学习方法解决大规模布尔可满足性问题,准确率媲美传统方法。
Self-Satisfied: An end-to-end framework for SAT generation and prediction
- 提出端到端框架,结合硬件加速生成与几何编码
- 在数千变量、数万子句问题上实现90%以上预测准确率
- 适合对可满足性问题建模感兴趣的算法研究者
布尔可满足性(SAT)问题是判断是否存在布尔变量赋值使任意布尔公式为真。由于所有NP问题均可编码为SAT问题,其理论与实践意义重大。本文提出三项关键进展:硬件加速的快速SAT生成算法、适用于视觉变换器的几何化SAT编码,以及减少序列长度的头切分技术。这些改进使模型能处理含数千变量、数十万子句的SAT实例。我们提出的可满足性变换器(SaT)在SAT竞赛2022数据集上验证,纯机器学习方法达到与混合式方法相当的预测精度,但处理规模大一个数量级。研究还分析了SAT数据在机器学习中的适用边界,揭示其与计算复杂性的深层关联。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。