paper-with-me

홈 › Papers

Solving MaxSAT with Matrix Multiplication

2023-11-01 · David Warde-Farley, Vinod Nair, Yujia Li, Ivan Lobov, Felix Gimeno, Simon Osindero

We propose an incomplete algorithm for Maximum Satisfiability (MaxSAT) specifically designed to run on neural network accelerators such as GPUs and TPUs. Given a MaxSAT problem instance in conjunctive normal form, our procedure constructs a Restricted Boltzmann Machine (RBM) with an equilibrium distribution wherein the probability of a Boolean assignment is exponential in the number of clauses it satisfies. Block Gibbs sampling is used to stochastically search the space of assignments with parallel Markov chains. Since matrix multiplication is the main computational primitive for block Gibbs sampling in an RBM, our approach leads to an elegantly simple algorithm (40 lines of JAX) well-suited for neural network accelerators. Theoretical results about RBMs guarantee that the required number of visible and hidden units of the RBM scale only linearly with the number of variables and constant-sized clauses in the MaxSAT instance, ensuring that the computational cost of a Gibbs step scales reasonably with the instance size. Search throughput can be increased by batching parallel chains within a single accelerator as well as by distributing them across multiple accelerators. As a further enhancement, a heuristic based on unit propagation running on CPU is periodically applied to the sampled assignments. Our approach, which we term RbmSAT, is a new design point in the algorithm-hardware co-design space for MaxSAT. We present timed results on a subset of problem instances from the annual MaxSAT Evaluation's Incomplete Unweighted Track for the years 2018 to 2021. When allotted the same running time and CPU compute budget (but no TPUs), RbmSAT outperforms other participating solvers on problems drawn from three out of the four years' competitions. Given the same running time on a TPU cluster for which RbmSAT is uniquely designed, it outperforms all solvers on problems drawn from all four years.

📄 PDF Abstract BibTeX arXiv:2311.02101

Code (0)

등록된 구현이 없습니다.

Tasks

CPU

Methods 이 논문이 사용한 방법론

Restricted Boltzmann Machine 설명 없음

Similar Papers 제목 키워드 기반

DPMS: An ADD-Based Symbolic Approach for Generalized MaxSAT Solving

2022-05-08 · Anastasios Kyrillidis, Moshe Y. Vardi, Zhiwei Zhang

Boolean MaxSAT, as well as generalized formulations such as Min-MaxSAT and Max-hybrid-SAT, are fundamental optimization problems in Boolean reasoning. Existing methods for MaxSAT have been successful in solving benchmark…

Diversified Top-k Partial MaxSAT Solving

2017-05-31 · Junping Zhou, Huanyao Sun, Feifei Ma, Jian Gao 외

We introduce a diversified top-k partial MaxSAT problem, a combination of partial MaxSAT problem and enumeration problem. Given a partial MaxSAT formula F and a positive integer k, the diversified top-k partial MaxSAT is…

Community Detection

Certified MaxSAT Preprocessing

2024-04-26 · Hannes Ihalainen, Andy Oertel, Yong Kiam Tan, Jeremias Berg 외

Building on the progress in Boolean satisfiability (SAT) solving over the last decades, maximum satisfiability (MaxSAT) has become a viable approach for solving NP-hard optimization problems, but ensuring correctness of …

Approximation Strategies for Incomplete MaxSAT

2018-06-19 · Saurabh Joshi, Prateek Kumar, Ruben Martins, Sukrut Rao

Incomplete MaxSAT solving aims to quickly find a solution that attempts to minimize the sum of the weights of the unsatisfied soft clauses without providing any optimality guarantees. In this paper, we propose two appr…

HyperSAT: Unsupervised Hypergraph Neural Networks for Weighted MaxSAT Problems

2025-04-16 · Qiyue Chen, Shaolin Tan, Suixiang Gao, Jinhu Lü

Graph neural networks (GNNs) have shown promising performance in solving both Boolean satisfiability (SAT) and Maximum Satisfiability (MaxSAT) problems due to their ability to efficiently model and capture the structural…