基于SAT的大型真实世界特征模型分析很容易
SAT-based Analysis of Large Real-world Feature Models is Easy
摘要:
现代冲突驱动子句学习(CDCL)布尔SAT求解器提供了从汽车到操作系统的系统的真实世界特征模型(FM)的有效自动分析。众所周知,基于求解器的分析现实世界的FM规模非常好,即使从这样的FM获得的SAT实例是大的,并且相应的分析问题是NP完全的。为了更好地理解为什么SAT求解器如此有效,我们系统地研究了一组具有代表性的大型现实世界FM的许多句法和语义特征。我们发现,大型真实世界FM易于分析的一个关键原因是这些模型中的绝大多数变量都是不受限制的,即,对于在当前部分分配下对这些变量的真和假分配,模型都是可满足的。鉴于这一发现和我们对CDCL SAT求解器的理解,我们表明求解器可以很容易地为这些模型找到满意的分配,而不会有太多相对于模型大小的回溯,这解释了为什么求解器的规模如此之大。进一步的分析表明,在这些真实世界模型中存在不受限制的变量可以归因于它们的高度可变性。此外,我们还尝试了一系列众所周知的非回溯简化,这些简化在解决FM时特别有效。简化后剩下的变量/子句(称为核心)非常少,即使使用回溯也很容易解决,进一步加强了我们的结论。
英文摘要:
Modern conflict-driven clause-learning (CDCL) Boolean SAT solvers provide efficient automatic analysis of real-world feature models (FM) of systems ranging from cars to operating systems. It is well-known that solver-based analysis of real-world FMs scale very well even though SAT instances obtained from such FMs are large, and the corresponding analysis problems are known to be NP-complete. To better understand why SAT solvers are so effective, we systematically studied many syntactic and semantic characteristics of a representative set of large real-world FMs. We discovered that a key reason why large real-world FMs are easy-to-analyze is that the vast majority of the variables in these models are unrestricted, i.e., the models are satisfiable for both true and false assignments to such variables under the current partial assignment. Given this discovery and our understanding of CDCL SAT solvers, we show that solvers can easily find satisfying assignments for such models without too many backtracks relative to the model size, explaining why solvers scale so well. Further analysis showed that the presence of unrestricted variables in these real-world models can be attributed to their high-degree of variability. Additionally, we experimented with a series of well-known non-backtracking simplifications that are particularly effective in solving FMs. The remaining variables/clauses after simplifications, called the core, are so few that they are easily solved even with backtracking, further strengthening our conclusions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。