arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1110.0631cs.AIcs.LOcs.PL
收藏

分布语义下概率逻辑程序设计的良定性和有效推理

Well-Definedness and Efficient Inference for Probabilistic Logic Programming under the Distribution Semantics

University of Ferrara(费拉拉大学);Universidade Nova de Lisboa(新里斯本大学)

Fabrizio Riguzzi, Terrance Swift

摘要:

分布语义是逻辑程序设计与概率论相结合的重要途径之一。许多语言遵循这种语义,例如独立选择逻辑、PRISM、pD、带有注释析取的逻辑程序(LPAD)和ProbLog。当程序包含函数符号时,只有当查询的解释集是有限的并且每个解释也是有限的时,分布语义才是定义良好的。良好定义通常要么是明确强加的,要么是通过严格限制允许程序的类别来实现的。在本文中,我们确定了一个更大的类的程序,其中的语义是定义良好的计算查询的概率与一个有效的程序。由于LPAD提供了最一般的语法,我们提出了我们的结果,但我们的结果适用于所有的语言下的分布语义。我们提出的算法“概率推理与制表和答案包容”(PITA),计算概率的查询转换成一个正常的程序,然后应用SLG决议与答案包容。PITA已经在XSB中实现,并在六个域上进行了测试:两个域带有函数符号,四个域没有。与ProbLog,cplint和CVE的执行时间相比,PITA几乎总是能够在更短的时间内解决更大的问题,无论是否有函数符号。

英文摘要:

The distribution semantics is one of the most prominent approaches for the combination of logic programming and probability theory. Many languages follow this semantics, such as Independent Choice Logic, PRISM, pD, Logic Programs with Annotated Disjunctions (LPADs) and ProbLog. When a program contains functions symbols, the distribution semantics is well-defined only if the set of explanations for a query is finite and so is each explanation. Well-definedness is usually either explicitly imposed or is achieved by severely limiting the class of allowed programs. In this paper we identify a larger class of programs for which the semantics is well-defined together with an efficient procedure for computing the probability of queries. Since LPADs offer the most general syntax, we present our results for them, but our results are applicable to all languages under the distribution semantics. We present the algorithm "Probabilistic Inference with Tabling and Answer subsumption" (PITA) that computes the probability of queries by transforming a probabilistic program into a normal program and then applying SLG resolution with answer subsumption. PITA has been implemented in XSB and tested on six domains: two with function symbols and four without. The execution times are compared with those of ProbLog, cplint and CVE, PITA was almost always able to solve larger problems in a shorter time, on domains with and without function symbols.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑