Skip to main content
QUICK REVIEW

[论文解读] Comparison of SAT-based and ASP-based Algorithms for Inconsistency Measurement

Isabelle Kuhlmann, Anna Gessler|arXiv (Cornell University)|Apr 28, 2023
Logic, Reasoning, and KnowledgeComputer Science被引用 3
一句话总结

本文提出并比较了基于SAT和基于ASP的算法,用于计算多项式层级第一层上的六个命题不一致性度量。结果表明,基于ASP的方法在运行时间上始终优于基于SAT的方法和朴素基线方法,性能差异归因于不同度量和知识库特性下的编码大小与搜索空间复杂度。

ABSTRACT

We present algorithms based on satisfiability problem (SAT) solving, as well as answer set programming (ASP), for solving the problem of determining inconsistency degrees in propositional knowledge bases. We consider six different inconsistency measures whose respective decision problems lie on the first level of the polynomial hierarchy. Namely, these are the contension inconsistency measure, the forgetting-based inconsistency measure, the hitting set inconsistency measure, the max-distance inconsistency measure, the sum-distance inconsistency measure, and the hit-distance inconsistency measure. In an extensive experimental analysis, we compare the SAT-based and ASP-based approaches with each other, as well as with a set of naive baseline algorithms. Our results demonstrate that overall, both the SAT-based and the ASP-based approaches clearly outperform the naive baseline methods in terms of runtime. The results further show that the proposed ASP-based approaches perform superior to the SAT-based ones with regard to all six inconsistency measures considered in this work. Moreover, we conduct additional experiments to explain the aforementioned results in greater detail.

研究动机与目标

  • 开发并评估基于SAT和基于ASP的算法,用于计算命题知识库中的不一致性度量。
  • 将基于SAT和基于ASP的方法与朴素基线实现的性能进行比较。
  • 分析知识库大小、结构以及度量特异性编码复杂度对运行时间性能的影响。
  • 识别影响可扩展性的因素,并为不一致性度量和求解范式的选择提供实践指导。
  • 为未来在预处理、近似方法以及MaxSAT或ILP等替代范式方面的工作,提供公开可获取的数据集和见解。

提出的方法

  • 在命题逻辑中形式化六种不一致性度量——争议度、遗忘基、击中集、最大距离、和距离与击中距离,所有度量的决策问题均位于多项式层级的第一层。
  • 设计基于SAT的编码,将每种不一致性度量的计算转化为一系列SAT求解器调用,采用迭代或有界搜索策略。
  • 设计基于ASP的编码,将不一致性计算表示为逻辑程序,利用答案集求解器计算所需的度量值。
  • 使用标准工具(如MiniSAT用于SAT,clingo用于ASP)实现SAT和ASP方法,确保编码的一致性与正确性。
  • 在五个多样化数据集上进行大量实验,包括两个来自先前工作的数据集和三个新引入的数据集,以评估运行时间与可扩展性。
  • 分析运行时间构成,重点关注求解时间作为主要影响因素,并将性能与知识库大小、符号集大小及公式复杂度相关联。
(a) Contension inconsistency measure ( $\mathcal{I}{{}_{\mathrm{c}}}$ )
(a) Contension inconsistency measure ( $\mathcal{I}{{}_{\mathrm{c}}}$ )

实验结果

研究问题

  • RQ1在命题知识库上计算六种不同不一致性度量时,基于SAT和基于ASP的算法在运行时间上如何比较?
  • RQ2知识库特性(如大小、符号集大小和公式复杂度)在多大程度上影响SAT和ASP求解器的性能?
  • RQ3为何尽管所有度量均处于同一复杂度级别(多项式层级第一层),某些不一致性度量仍表现出显著不同的运行时间?
  • RQ4预处理策略(如初始可满足性检查)是否能提升性能,特别是在预期不一致性程度较低时?
  • RQ5当前SAT和ASP方法的局限性是什么?哪些替代范式(如MaxSAT、ILP、QBF)在未来的可扩展性方面展现出潜力?

主要发现

  • 在所有六种不一致性度量中,基于SAT和基于ASP的方法在运行时间上均显著优于朴素基线实现。
  • 在所有数据集和度量中,基于ASP的方法始终优于基于SAT的方法,仅有少数例外,表明其在编码与求解效率方面具有优势。
  • 在SAT和ASP方法中,求解阶段占总运行时间的最大比例,凸显求解器性能是主要瓶颈。
  • 知识库越大、公式越多、符号集越大、连接词越复杂,运行时间越长,原因在于编码大小与搜索空间的增加。
  • 尽管位于同一复杂度级别,六种不一致性度量表现出不同的运行时间,这是由于底层逻辑程序或CNF的编码大小与结构复杂度存在差异。
  • 来自SAT竞赛2020的SC数据集尤其具有挑战性,因其知识库规模庞大,揭示了当前方法的可扩展性极限。
(b) Forgetting-based inconsistency measure ( $\mathcal{I}_{\mathrm{f}}$ )
(b) Forgetting-based inconsistency measure ( $\mathcal{I}_{\mathrm{f}}$ )

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。