arXiv:2507.11655cs.LOcs.AI2025-07被引 1

提出新方法高效计算不确定逻辑程序的答案集数量。

Counting Answer Sets of Disjunctive Answer Set Programs

  • 将不确定程序转化为可计数的命题模型,保持中间结果规模可控。
  • 在答案集多的实例上,性能显著超越现有工具。
  • 适合需要精确计数的推理与可靠性分析场景。

答案集编程(ASP)是一种强大的知识表示与推理范式。近年来,统计答案集数量成为重要计算问题,应用于概率推理、网络可靠性分析等领域。尽管对普通逻辑程序已有显著进展,但针对析取逻辑程序的实际计数器仍面临挑战。本文提出SharpASP-SR,一种基于减法归约到投影命题模型计数的新框架。该方法引入答案集的替代表征,实现高效归约且保证中间表示为多项式规模,从而可利用最新的投影模型计数技术。在多样化基准上的大量实验表明,SharpASP-SR在答案集数量大的实例上表现显著优于现有计数器。基于此,我们进一步设计混合计数方法,结合枚举与SharpASP-SR,在各类析取程序上均达到当前最优性能。

原文摘要 · Abstract (English)

Answer Set Programming (ASP) provides a powerful declarative paradigm for knowledge representation and reasoning. Recently, counting answer sets has emerged as an important computational problem with applications in probabilistic reasoning, network reliability analysis, and other domains. This has motivated significant research into designing efficient ASP counters. While substantial progress has been made for normal logic programs, the development of practical counters for disjunctive logic programs remains challenging. We present SharpASP-SR, a novel framework for counting answer sets of disjunctive logic programs based on subtractive reduction to projected propositional model counting. Our approach introduces an alternative characterization of answer sets that enables efficient reduction while ensuring that intermediate representations remain of polynomial size. This allows SharpASP-SR to leverage recent advances in projected model counting technology. Through extensive experimental evaluation on diverse benchmarks, we demonstrate that SharpASP-SR significantly outperforms existing counters on instances with large answer set counts. Building on these results, we develop a hybrid counting approach that combines enumeration techniques with SharpASP-SR to achieve state-of-the-art performance across the full spectrum of disjunctive programs.

逻辑编程答案集计数算法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。