Zhang Zaijun, Xu Daoyun, Zhou Jincheng
College of Computer Science and Technology, Guizhou University, Guiyang 550025, China.
Key Laboratory of Complex Systems and Intelligent Computing and School of Mathematics and Statistics, Qiannan Normal University for Nationalities, Duyun 558000, China.
Entropy (Basel). 2021 Mar 4;23(3):303. doi: 10.3390/e23030303.
The satisfiability (SAT) problem is a core problem in computer science. Existing studies have shown that most industrial SAT instances can be effectively solved by modern SAT solvers while random SAT instances cannot. It is believed that the structural characteristics of different SAT formula classes are the reasons behind this difference. In this paper, we study the structural properties of propositional formulas in conjunctive normal form (CNF) by the principle of structural entropy of formulas. First, we used structural entropy to measure the complex structure of a formula and found that the difficulty solving the formula is related to the structural entropy of the formula. The smaller the compressing information of a formula, the more difficult it is to solve the formula. Secondly, we proposed a λ-approximation strategy to approximate the structural entropy of large formulas. The experimental results showed that the proposed strategy can effectively approximate the structural entropy of the original formula and that the approximation ratio is more than 92%. Finally, we analyzed the structural properties of a formula in the solution process and found that a local search solver tends to select variables in different communities to perform the next round of searches during a search and that the structural entropy of a variable affects the probability of the variable being flipped. By using these conclusions, we also proposed an initial candidate solution generation strategy for a local search for SAT, and the experimental results showed that this strategy effectively improves the performance of the solvers CCAsat and Sparrow2011 when incorporated into these two solvers.
可满足性(SAT)问题是计算机科学中的一个核心问题。现有研究表明,大多数工业SAT实例可以被现代SAT求解器有效解决,而随机SAT实例则不能。人们认为,不同SAT公式类别的结构特征是造成这种差异的原因。在本文中,我们通过公式的结构熵原理研究合取范式(CNF)中命题公式的结构性质。首先,我们用结构熵来度量公式的复杂结构,发现求解公式的难度与公式的结构熵有关。公式的压缩信息越小,求解公式就越困难。其次,我们提出了一种λ近似策略来近似大型公式的结构熵。实验结果表明,所提出的策略能够有效地近似原始公式的结构熵,且近似率超过92%。最后,我们在求解过程中分析了公式的结构性质,发现局部搜索求解器在搜索过程中倾向于在不同社区中选择变量进行下一轮搜索,并且变量的结构熵会影响变量被翻转的概率。利用这些结论,我们还提出了一种用于SAT局部搜索的初始候选解生成策略,实验结果表明,当将该策略融入求解器CCAsat和Sparrow2011时,能有效提高它们的性能。