面向表达性特征建模构造的伪布尔 d-DNNF 编译
Pseudo-Boolean d-DNNF Compilation for Expressive Feature Modeling Constructs
AI总结:
针对特征模型中基数约束等表达性构造难以高效转换为 CNF 的问题,提出伪布尔编码与编译为 d-DNNF 的新方法,显著加速表达性特征模型的自动推理,并在基本构造上保持竞争力。
摘要:
可配置系统通常由彼此之间存在依赖关系的可复用资产组成。为了指定此类依赖关系,通常使用特征模型。由于实践中的特征模型往往很复杂,通常采用自动推理来分析这些依赖关系。在此,事实上的标准是将特征模型转换为合取范式(CNF),以便能够使用现成的工具,例如 SAT 或 #SAT 求解器。然而,现代特征建模方言通常包含诸如基数约束之类的构造,这些构造不适合转换为 CNF。推理引擎的输入与可用的特征建模方言之间的这种不匹配限制了更具表达性的构造的适用性。在这项工作中,我们缩短了表达性构造与可扩展自动推理之间的这一差距。我们的贡献有两方面:首先,我们为特征模型提供了一种伪布尔编码,与布尔编码相比,它有助于对常用构造进行更小的表示。其次,我们提出了一种将伪布尔公式编译为布尔 d-DNNF 的新方法。借助编译后的 d-DNNF,我们可以诉诸特征建模中已经使用的大量高效分析。我们的实证评估表明,对于表达性构造,我们的方案显著优于基于 CNF 输入的最先进方法。对于代表不同特征模型和特征建模构造的每个所考虑的数据集,将特征模型转换为伪布尔形式的速度显著快于转换为 CNF。总体而言,使用我们的伪布尔方法,可以从具有目标表达性约束的特征模型中显著加速推导 d-DNNF。此外,我们的方法在仅具有基本构造的特征模型上也具有竞争力。
英文摘要:
Configurable systems typically consist of reusable assets that have dependencies between each other. To specify such dependencies, feature models are commonly used. As feature models in practice are often complex, automated reasoning is typically employed to analyze the dependencies. Here, the de facto standard is translating the feature model to conjunctive normal form (CNF) to enable employing off-the-shelf tools, such as SAT or #SAT solvers. However, modern feature-modeling dialects often contain constructs, such as cardinality constraints, that are ill-suited for conversion to CNF. This mismatch between the input of reasoning engines and the available feature-modeling dialects limits the applicability of the more expressive constructs. In this work, we shorten this gap between expressive constructs and scalable automated reasoning. Our contribution is twofold: First, we provide a pseudo-Boolean encoding for feature models, which facilitates smaller representations of commonly employed constructs compared to Boolean encoding. Second, we propose a novel method to compile pseudo-Boolean formulas to Boolean d-DNNF. With the compiled d-DNNFs, we can resort to a plethora of efficient analyses already used in feature modeling. Our empirical evaluation shows that our proposal substantially outperforms the state-of-the-art based on CNF inputs for expressive constructs. For every considered dataset representing different feature models and feature-modeling constructs, the feature models can be significantly faster translated to pseudo-Boolean than to CNF. Overall, deriving d-DNNFs from a feature model with the targeted expressive constraints can be substantially accelerated using our pseudo-Boolean approach. Furthermore, our approach is competitive on feature models with only basic constructs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。