Datalog Techniques for Inference in Probabilistic Logic Programs

Total Page:16

File Type:pdf, Size:1020Kb

Datalog Techniques for Inference in Probabilistic Logic Programs The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20) Beyond the Grounding Bottleneck: Datalog Techniques for Inference in Probabilistic Logic Programs Efthymia Tsamoura V´ıctor Gutierrez-Basulto´ Angelika Kimmig Samsung AI Research Cardiff University Cardiff University Abstract van Bremen, Dries, and Jung 2019), where determining the relevant grounding explores a large search space, but only State-of-the-art inference approaches in probabilistic logic small parts of this space contribute to the formulas. programming typically start by computing the relevant ground program with respect to the queries of interest, and We address this bottleneck, building upon the TcP oper- then use this program for probabilistic inference using knowl- ator (Vlasselaer et al. 2015), which integrates formula con- edge compilation and weighted model counting. We propose struction into forward reasoning for ground programs and an alternative approach that uses efficient Datalog techniques is state-of-the-art for highly cyclic PLP programs. Our key to integrate knowledge compilation with forward reasoning contribution is a program transformation approach that al- with a non-ground program. This effectively eliminates the grounding bottleneck that so far has prohibited the applica- lows us to implement forward inference using an efficient tion of probabilistic logic programming in query answering Datalog engine that directly operates on non-ground functor- scenarios over knowledge graphs, while also providing fast free programs. We focus on programs without negation for approximations on classical benchmarks in the field. simplicity, though the TcP operator has been studied for general probabilistic logic programs (Bogaerts and Van den Broeck 2015; Riguzzi 2016) as well; the extension to strat- 1 Introduction ified negation following (Vlasselaer et al. 2016) is straight- The significant interest in combining logic and probability forward. We further build upon two well-known techniques for reasoning in uncertain, relational domains has led to a from the Datalog community, namely semi-naive evalua- multitude of formalisms, including the family of probabilis- tion (Abiteboul, Hull, and Vianu 1995), which avoids re- tic logic programming (PLP) languages based on the dis- computing the same consequences repeatedly during for- tribution semantics (Sato 1995) with languages and systems ward reasoning, and the magic sets transformation (Ban- such as PRISM (Sato 1995), ICL (Poole 2008), ProbLog (De cilhon et al. 1986; Beeri and Ramakrishnan 1991), which Raedt, Kimmig, and Toivonen 2007; Fierens et al. 2015) makes forward reasoning query driven. We adapt and ex- and PITA (Riguzzi and Swift 2011). State-of-the-art infer- tend both techniques to incorporate the formula construc- ence for PLP uses a reduction to weighted model count- tion performed by the TcP operator and implement our ap- ing (WMC) (Chavira and Darwiche 2008), where the de- proach using VLog (Urbani, Jacobs, and Krotzsch¨ 2016; pendency structure of the logic program and the queries is Carral et al. 2019). Our experimental evaluation demon- first transformed into a propositional formula in a suitable strates that the resulting vProbLog system enables PLP in- format that supports efficient WMC. While the details of ference in the pOBDA setting, answering each of the 14 this transformation differ across approaches, a key part of standard queries of the LUBM benchmark (Guo, Pan, and it is determining the relevant ground program with respect Heflin 2011) over a probabilistic database of 19K facts in to the queries of interest, i.e., all groundings of rules that a few minutes at most, while most of these are infeasi- contribute to some derivation of a query. This grounding ble for the existing ProbLog implementation of TcP . Fur- step has received little attention, as its cost is dominated by thermore, for ten of the queries, vProbLog computes ex- the cost of constructing the propositional formula in typical act answers over 1M facts in seconds. At the same time, PLP benchmarks that operate on biological, social or hy- on three standard PLP benchmarks (Fierens et al. 2015; perlink networks, where formulas are complex. However, it Renkens et al. 2014; Vlasselaer et al. 2016) where the bot- has been observed that the grounding step is the bottleneck tleneck is formula construction, vProbLog achieves compa- that often makes it impossible to apply PLP inference in rable approximations to the existing implementation in less the context of ontology-based data access over probabilis- time. tic data (pOBDA) (Schoenfisch and Stuckenschmidt 2017; For details on proofs as well as additional background, Copyright c 2020, Association for the Advancement of Artificial we refer to the accompanying technical report (Tsamoura, Intelligence (www.aaai.org). All rights reserved. Gutierrez-Basulto,´ and Kimmig 2019). 10284 2 Background We start by noting that one way to (abstractly) specify We provide some basics on probabilistic logic programming. such a λ is to take a disjunction over the conjunctions of We use standard notions of propositional logic and logic facts in all total choices that entail the query of interest: programming, cf. (Tsamoura, Gutierrez-Basulto,´ and Kim- f mig 2019). We focus on the probabilistic logic programming language ProbLog (De Raedt, Kimmig, and Toivonen 2007; C⊆F:C∪R|=q f∈C Fierens et al. 2015), and consider only function-free logic We next extend the immediate consequence operator TP for programs. classic logic programs to construct parameterized interpre- A rule (or definite clause) is a universally quantified ex- h :− b , ..., b h b tations associating a propositional formula with every atom. pression of the form 1 n where and the i are T atoms and the comma denotes conjunction. A logic program Recall that the P operator is used to derive new knowl- edge starting from the facts. Let P be a logic program. For a (or program for short) is a finite set of rules. A ProbLog I T program P is a triple (R, F,π), where R is a program, F Herbrand interpretation , the P operator returns 1 π : F→[0, 1] is a finite set of ground facts and a func- TP (I )={h | h :− b1,...,bn ∈Pand {b1,...,bn}⊆I } tion that labels facts with probabilities, which is often writ- ten using annotated facts p :: f where p = π(f). Without The least fixpoint of this operator is the least Herbrand loss of generality, we restrict R to non-fact rules and in- model of P and is the least set of atoms I such that TP (I ) ≡ k clude ‘crisp’ logical facts f in F by setting π(f)=1.We I . Let TP (∅) denote the result of k consecutive calls of TP , ∞ also refer to a ProbLog program as probabilistic program. and TP (∅) the least fixpoint interpretation of TP . As common in probabilistic logic programming (PLP), we Let HB(P) denote the set of all ground atoms that can be assume that the sets of predicates defined by facts in F and constructed from the constants and predicates occurring in rules in R, respectively, are disjoint. A ProbLog program a program P.Aparameterized interpretation I of a proba- specifies a probability distribution over its Herbrand inter- bilistic program P is a set of tuples (a, λa) with a ∈ HB(P) pretations, also called possible worlds. Every fact f ∈F and λa a propositional formula over F. We say that two pa- independently takes values true with probability π(f) or rameterized interpretations I and J are equivalent, I≡J, false with probability 1 − π(f). if and only if they contain formulas for the same atoms and For the rest of the section we fix a probabilistic program for all atoms a with (a, ϕ) ∈Iand (a, ψ) ∈J, ϕ ≡ ψ. P =(R, F,π).Atotal choice C ⊆Fassigns a truth value Before defining the TcP operator for probabilistic pro- to every (ground) fact, and the corresponding logic program grams, we introduce some notation. For a parameterized in- C ∪Rhas a unique least Herbrand model; the probability of terpretation I of P, we define the set B(I, P) as this model is that of C. Interpretations that do not correspond : to any total choice have probability zero. The probability B(I, P)={(hθ, λ1 ∧ ...∧ λn) | (h − b1,...,bn) ∈P of a query q is then the sum over all total choices whose ∧ hθ ∈ HB(P) ∧∀1 ≤ i ≤ n :(biθ, λi) ∈I} program entails q: Intuitively, B(I, P) contains for every grounding of a rule Pr(q) := π(f) · (1 − π(f)) . (1) in P with head hθ for which all body atoms have a for- C⊆F:C∪R|=q f∈C f∈F\C mula in I the pair consisting of the atom and the conjunction of these formulas. Note the structural similarity with TP (I) As enumerating all total choices entailing the query is ∀i B(I, P) infeasible, state-of-the-art ProbLog inference reduces the above: the condition in the definition of corre- sponds to the subset condition there, we include substitu- problem to that of weighted model counting. For a formula θ λ over propositional variables V and a weight function w(·) tions as our program is non-ground, and we store conjunc- assigning a real number to every literal for an atom in V , the tions along with the ground head. weighted model count is defined as Definition 1 (TcP operator) Let I be a parameterized in- terpretation of P. Then, the TcP operator is WMC(λ) := w(a) · w(¬a) . (2) I⊆V :I|=λ a∈I a∈V \I TcP (I)={(a, λ(a, I, P)) | a ∈ HB(P),λ(a, I, P) ≡⊥} w(f)=π(f) w(¬f)=1− π(f) The reduction assigns and where for facts f ∈F, and w(a)=w(¬a)=1for other atoms.
Recommended publications
  • Probabilistic Logic Programming
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Lirias ProbLog2: Probabilistic logic programming Anton Dries, Angelika Kimmig, Wannes Meert, Joris Renkens, Guy Van den Broeck, Jonas Vlasselaer, and Luc De Raedt KU Leuven, Belgium, [email protected], https://dtai.cs.kuleuven.be/problog Abstract. We present ProbLog2, the state of the art implementation of the probabilistic programming language ProbLog. The ProbLog language allows the user to intuitively build programs that do not only encode complex interactions between a large sets of heterogenous components but also the inherent uncertainties that are present in real-life situations. The system provides efficient algorithms for querying such models as well as for learning their parameters from data. It is available as an online tool on the web and for download. The offline version offers both command line access to inference and learning and a Python library for building statistical relational learning applications from the system's components. Keywords: probabilistic programming, probabilistic inference, param- eter learning 1 Introduction Probabilistic programming is an emerging subfield of artificial intelligence that extends traditional programming languages with primitives to support proba- bilistic inference and learning. Probabilistic programming is closely related to statistical relational learning (SRL) but focusses on a programming language perspective rather than on a graphical model one. The common goal is to pro- vide powerful tools for modeling of and reasoning about structured, uncertain domains that naturally arise in applications such as natural language processing, bioinformatics, and activity recognition. This demo presents the ProbLog2 system, the state of the art implementa- tion of the probabilistic logic programming language ProbLog [2{4].
    [Show full text]
  • Probabilistic Boolean Logic, Arithmetic and Architectures
    PROBABILISTIC BOOLEAN LOGIC, ARITHMETIC AND ARCHITECTURES A Thesis Presented to The Academic Faculty by Lakshmi Narasimhan Barath Chakrapani In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the School of Computer Science, College of Computing Georgia Institute of Technology December 2008 PROBABILISTIC BOOLEAN LOGIC, ARITHMETIC AND ARCHITECTURES Approved by: Professor Krishna V. Palem, Advisor Professor Trevor Mudge School of Computer Science, College Department of Electrical Engineering of Computing and Computer Science Georgia Institute of Technology University of Michigan, Ann Arbor Professor Sung Kyu Lim Professor Sudhakar Yalamanchili School of Electrical and Computer School of Electrical and Computer Engineering Engineering Georgia Institute of Technology Georgia Institute of Technology Professor Gabriel H. Loh Date Approved: 24 March 2008 College of Computing Georgia Institute of Technology To my parents The source of my existence, inspiration and strength. iii ACKNOWLEDGEMENTS आचायातर् ्पादमादे पादं िशंयः ःवमेधया। पादं सॄचारयः पादं कालबमेणच॥ “One fourth (of knowledge) from the teacher, one fourth from self study, one fourth from fellow students and one fourth in due time” 1 Many people have played a profound role in the successful completion of this disser- tation and I first apologize to those whose help I might have failed to acknowledge. I express my sincere gratitude for everything you have done for me. I express my gratitude to Professor Krisha V. Palem, for his energy, support and guidance throughout the course of my graduate studies. Several key results per- taining to the semantic model and the properties of probabilistic Boolean logic were due to his brilliant insights.
    [Show full text]
  • A Unifying Field in Logics: Neutrosophic Logic. Neutrosophy, Neutrosophic Set, Neutrosophic Probability and Statistics
    FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (fourth edition) NL(A1 A2) = ( T1 ({1}T2) T2 ({1}T1) T1T2 ({1}T1) ({1}T2), I1 ({1}I2) I2 ({1}I1) I1 I2 ({1}I1) ({1} I2), F1 ({1}F2) F2 ({1} F1) F1 F2 ({1}F1) ({1}F2) ). NL(A1 A2) = ( {1}T1T1T2, {1}I1I1I2, {1}F1F1F2 ). NL(A1 A2) = ( ({1}T1T1T2) ({1}T2T1T2), ({1} I1 I1 I2) ({1}I2 I1 I2), ({1}F1F1 F2) ({1}F2F1 F2) ). ISBN 978-1-59973-080-6 American Research Press Rehoboth 1998, 2000, 2003, 2005 FLORENTIN SMARANDACHE A UNIFYING FIELD IN LOGICS: NEUTROSOPHIC LOGIC. NEUTROSOPHY, NEUTROSOPHIC SET, NEUTROSOPHIC PROBABILITY AND STATISTICS (fourth edition) NL(A1 A2) = ( T1 ({1}T2) T2 ({1}T1) T1T2 ({1}T1) ({1}T2), I1 ({1}I2) I2 ({1}I1) I1 I2 ({1}I1) ({1} I2), F1 ({1}F2) F2 ({1} F1) F1 F2 ({1}F1) ({1}F2) ). NL(A1 A2) = ( {1}T1T1T2, {1}I1I1I2, {1}F1F1F2 ). NL(A1 A2) = ( ({1}T1T1T2) ({1}T2T1T2), ({1} I1 I1 I2) ({1}I2 I1 I2), ({1}F1F1 F2) ({1}F2F1 F2) ). ISBN 978-1-59973-080-6 American Research Press Rehoboth 1998, 2000, 2003, 2005 1 Contents: Preface by C. Le: 3 0. Introduction: 9 1. Neutrosophy - a new branch of philosophy: 15 2. Neutrosophic Logic - a unifying field in logics: 90 3. Neutrosophic Set - a unifying field in sets: 125 4. Neutrosophic Probability - a generalization of classical and imprecise probabilities - and Neutrosophic Statistics: 129 5. Addenda: Definitions derived from Neutrosophics: 133 2 Preface to Neutrosophy and Neutrosophic Logic by C.
    [Show full text]
  • Probabilistic Logic Programming and Bayesian Networks
    Probabilistic Logic Programming and Bayesian Networks Liem Ngo and Peter Haddawy Department of Electrical Engineering and Computer Science University of WisconsinMilwaukee Milwaukee WI fliem haddawygcsuwmedu Abstract We present a probabilistic logic programming framework that allows the repre sentation of conditional probabilities While conditional probabilities are the most commonly used metho d for representing uncertainty in probabilistic exp ert systems they have b een largely neglected bywork in quantitative logic programming We de ne a xp oint theory declarativesemantics and pro of pro cedure for the new class of probabilistic logic programs Compared to other approaches to quantitative logic programming weprovide a true probabilistic framework with p otential applications in probabilistic exp ert systems and decision supp ort systems We also discuss the relation ship b etween such programs and Bayesian networks thus moving toward a unication of two ma jor approaches to automated reasoning To appear in Proceedings of the Asian Computing Science Conference Pathumthani Thailand December This work was partially supp orted by NSF grant IRI Intro duction Reasoning under uncertainty is a topic of great imp ortance to many areas of Computer Sci ence Of all approaches to reasoning under uncertainty probability theory has the strongest theoretical foundations In the quest to extend the framwork of logic programming to represent and reason with uncertain knowledge there havebeenseveral attempts to add numeric representations of uncertainty
    [Show full text]
  • Generalising the Interaction Rules in Probabilistic Logic
    Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence Generalising the Interaction Rules in Probabilistic Logic Arjen Hommersom and Peter J. F. Lucas Institute for Computing and Information Sciences Radboud University Nijmegen Nijmegen, The Netherlands {arjenh,peterl}@cs.ru.nl Abstract probabilistic logic hand in hand such that the resulting logic supports this double, logical and probabilistic, view. The re- The last two decades has seen the emergence of sulting class of probabilistic logics has the advantage that it many different probabilistic logics that use logi- can be used to gear a logic to the problem at hand. cal languages to specify, and sometimes reason, In the next section, we first review the basics of ProbLog, with probability distributions. Probabilistic log- which is followed by the development of the main methods ics that support reasoning with probability distri- used in generalising probabilistic Boolean interaction, and, butions, such as ProbLog, use an implicit definition finally, default logic is briefly discussed. We will use prob- of an interaction rule to combine probabilistic ev- abilistic Boolean interaction as a sound and generic, alge- idence about atoms. In this paper, we show that braic way to combine uncertain evidence, whereas default this interaction rule is an example of a more general logic will be used as our language to implement the interac- class of interactions that can be described by non- tion operators, again reflecting this double perspective on the monotonic logics. We furthermore show that such probabilistic logic. The new probabilistic logical framework local interactions about the probability of an atom is described in Section 3 and compared to other approaches can be described by convolution.
    [Show full text]
  • Probabilistic Logic Learning
    Probabilistic Logic Learning Luc De Raedt Kristian Kersting Institut fur¨ Informatik, Albert-Ludwigs-University, Institut fur¨ Informatik, Albert-Ludwigs-University, Georges-Koehler-Allee, Building 079, D-79110 Georges-Koehler-Allee, Building 079, D-79110 Freiburg, Germany Freiburg, Germany [email protected] [email protected] ABSTRACT The past few years have witnessed an significant interest in probabilistic logic learning, i.e. in research lying at the in- Probability Logic tersection of probabilistic reasoning, logical representations, and machine learning. A rich variety of different formalisms and learning techniques have been developed. This paper Probabilistic provides an introductory survey and overview of the state- Logic Learning Learning of-the-art in probabilistic logic learning through the identi- fication of a number of important probabilistic, logical and learning concepts. Figure 1: Probabilistic Logic Learning as the intersection of Keywords Probability, Logic, and Learning. data mining, machine learning, inductive logic program- ing, diagnostic and troubleshooting, information retrieval, ming, multi-relational data mining, uncertainty, probabilis- software debugging, data mining and user modelling. tic reasoning The term logic in the present overview refers to first order logical and relational representations such as those studied 1. INTRODUCTION within the field of computational logic. The primary advan- One of the central open questions in data mining and ar- tage of using first order logic or relational representations tificial intelligence, concerns probabilistic logic learning, i.e. is that it allows one to elegantly represent complex situa- the integration of relational or logical representations, prob- tions involving a variety of objects as well as relations be- abilistic reasoning mechanisms with machine learning and tween the objects.
    [Show full text]
  • New Challenges to Philosophy of Science NEW CHALLENGES to PHILOSOPHY of SCIENCE
    The Philosophy of Science in a European Perspective Hanne Andersen · Dennis Dieks Wenceslao J. Gonzalez · Thomas Uebel Gregory Wheeler Editors New Challenges to Philosophy of Science NEW CHALLENGES TO PHILOSOPHY OF SCIENCE [THE PHILOSOPHY OF SCIENCE IN A EUROPEAN PERSPECTIVE, VOL. 4] [email protected] Proceedings of the ESF Research Networking Programme THE PHILOSOPHY OF SCIENCE IN A EUROPEAN PERSPECTIVE Volume 4 Steering Committee Maria Carla Galavotti, University of Bologna, Italy (Chair) Diderik Batens, University of Ghent, Belgium Claude Debru, École Normale Supérieure, France Javier Echeverria, Consejo Superior de Investigaciones Cienticas, Spain Michael Esfeld, University of Lausanne, Switzerland Jan Faye, University of Copenhagen, Denmark Olav Gjelsvik, University of Oslo, Norway Theo Kuipers, University of Groningen, The Netherlands Ladislav Kvasz, Comenius University, Slovak Republic Adrian Miroiu, National School of Political Studies and Public Administration, Romania Ilkka Niiniluoto, University of Helsinki, Finland Tomasz Placek, Jagiellonian University, Poland Demetris Portides, University of Cyprus, Cyprus Wlodek Rabinowicz, Lund University, Sweden Miklós Rédei, London School of Economics, United Kingdom (Co-Chair) Friedrich Stadler, University of Vienna and Institute Vienna Circle, Austria Gregory Wheeler, New University of Lisbon, FCT, Portugal Gereon Wolters, University of Konstanz, Germany (Co-Chair) www.pse-esf.org [email protected] Gregory Wheeler Editors New Challenges to Philosophy of Science
    [Show full text]
  • Estimating Accuracy from Unlabeled Data: a Probabilistic Logic Approach
    Estimating Accuracy from Unlabeled Data: A Probabilistic Logic Approach Emmanouil A. Platanios Hoifung Poon Carnegie Mellon University Microsoft Research Pittsburgh, PA Redmond, WA [email protected] [email protected] Tom M. Mitchell Eric Horvitz Carnegie Mellon University Microsoft Research Pittsburgh, PA Redmond, WA [email protected] [email protected] Abstract We propose an efficient method to estimate the accuracy of classifiers using only unlabeled data. We consider a setting with multiple classification problems where the target classes may be tied together through logical constraints. For example, a set of classes may be mutually exclusive, meaning that a data instance can belong to at most one of them. The proposed method is based on the intuition that: (i) when classifiers agree, they are more likely to be correct, and (ii) when the classifiers make a prediction that violates the constraints, at least one classifier must be making an error. Experiments on four real-world data sets produce accuracy estimates within a few percent of the true accuracy, using solely unlabeled data. Our models also outperform existing state-of-the-art solutions in both estimating accuracies, and combining multiple classifier outputs. The results emphasize the utility of logical constraints in estimating accuracy, thus validating our intuition. 1 Introduction Estimating the accuracy of classifiers is central to machine learning and many other fields. Accuracy is defined as the probability of a system’s output agreeing with the true underlying output, and thus is a measure of the system’s performance. Most existing approaches to estimating accuracy are supervised, meaning that a set of labeled examples is required for the estimation.
    [Show full text]
  • Probabilistic Logic Neural Networks for Reasoning
    Probabilistic Logic Neural Networks for Reasoning Meng Qu1,2, Jian Tang1,3,4 1Mila - Quebec AI Institute 2University of Montréal 3HEC Montréal 4CIFAR AI Research Chair Abstract Knowledge graph reasoning, which aims at predicting the missing facts through reasoning with the observed facts, is critical to many applications. Such a problem has been widely explored by traditional logic rule-based approaches and recent knowledge graph embedding methods. A principled logic rule-based approach is the Markov Logic Network (MLN), which is able to leverage domain knowledge with first-order logic and meanwhile handle the uncertainty. However, the inference in MLNs is usually very difficult due to the complicated graph structures. Different from MLNs, knowledge graph embedding methods (e.g. TransE, DistMult) learn effective entity and relation embeddings for reasoning, which are much more effective and efficient. However, they are unable to leverage domain knowledge. In this paper, we propose the probabilistic Logic Neural Network (pLogicNet), which combines the advantages of both methods. A pLogicNet defines the joint distribution of all possible triplets by using a Markov logic network with first-order logic, which can be efficiently optimized with the variational EM algorithm. In the E-step, a knowledge graph embedding model is used for inferring the missing triplets, while in the M-step, the weights of logic rules are updated based on both the observed and predicted triplets. Experiments on multiple knowledge graphs prove the effectiveness of pLogicNet over many competitive baselines. 1 Introduction Many real-world entities are interconnected with each other through various types of relationships, forming massive relational data.
    [Show full text]
  • Unifying Logic and Probability
    review articles DOI:10.1145/2699411 those arguments: so one can write rules Open-universe probability models show merit about On(p, c, x, y, t) (piece p of color c is on square x, y at move t) without filling in unifying efforts. in each specific value for c, p, x, y, and t. Modern AI research has addressed BY STUART RUSSELL another important property of the real world—pervasive uncertainty about both its state and its dynamics—using probability theory. A key step was Pearl’s devel opment of Bayesian networks, Unifying which provided the beginnings of a formal language for probability mod- els and enabled rapid progress in rea- soning, learning, vision, and language Logic and understanding. The expressive power of Bayes nets is, however, limited. They assume a fixed set of variables, each taking a value from a fixed range; Probability thus, they are a propositional formal- ism, like Boolean circuits. The rules of chess and of many other domains are beyond them. What happened next, of course, is that classical AI researchers noticed the perva- sive uncertainty, while modern AI research- ers noticed, or remembered, that the world has things in it. Both traditions arrived at the same place: the world is uncertain and it has things in it. To deal with this, we have to unify logic and probability. But how? Even the meaning of such a goal is unclear. Early attempts by Leibniz, Bernoulli, De Morgan, Boole, Peirce, Keynes, and Carnap (surveyed PERHAPS THE MOST enduring idea from the early by Hailperin12 and Howson14) involved days of AI is that of a declarative system reasoning attaching probabilities to logical sen- over explicitly represented knowledge with a general tences.
    [Show full text]
  • Learning Probabilistic Logic Models from Probabilistic Examples
    Learning Probabilistic Logic Models from Probabilistic Examples Jianzhong Chen1, Stephen Muggleton1, and Jos¶e Santos2 1 Department of Computing, Imperial College London, London SW7 2AZ, UK fcjz, [email protected] 2 Division of Molecular BioSciences, Imperial College London, London SW7 2AZ, UK [email protected] Abstract. We revisit an application developed originally using Induc- tive Logic Programming (ILP) by replacing the underlying Logic Pro- gram (LP) description with Stochastic Logic Programs (SLPs), one of the underlying Probabilistic ILP (PILP) frameworks. In both the ILP and PILP cases a mixture of abduction and induction are used. The abductive ILP approach used a variant of ILP for modelling inhibition in metabolic networks. The example data was derived from studies of the e®ects of toxins on rats using Nuclear Magnetic Resonance (NMR) time-trace analysis of their biofluids together with background knowledge representing a subset of the Kyoto Encyclopedia of Genes and Genomes (KEGG). The ILP approach learned logic models from non-probabilistic examples. The PILP approach applied in this paper is based on a gen- eral approach to introducing probability labels within a standard sci- enti¯c experimental setting involving control and treatment data. Our results demonstrate that the PILP approach not only leads to a signi¯- cant decrease in error accompanied by improved insight from the learned result but also provides a way of learning probabilistic logic models from probabilistic examples. 1 Introduction One of the key open questions of Arti¯cial Intelligence concerns Probabilistic Logic Learning (PLL) [4], i.e. the integration of probabilistic reasoning with ¯rst order logic representations and machine learning.
    [Show full text]
  • Probabilistic Logic Programming Under the Distribution Semantics
    Probabilistic Logic Programming Under the Distribution Semantics Fabrizio Riguzzi1 and Terrance Swift2 1 Dipartimento di Matematica e Informatica, University of Ferrara Ferrara, Italy 2 Coherent Knowledge Systems, Mercer Island, Washington, USA Abstract. The combination of logic programming and probability has proven useful for modeling domains with complex and uncertain rela- tionships among elements. Many probabilistic logic programming (PLP) semantics have been proposed, among these the distribution semantics has recently gained an increased attention and is adopted by many lan- guages such as the Independent Choice Logic, PRISM, Logic Programs with Annotated Disjunctions, ProbLog and P-log. This paper reviews the distribution semantics, beginning in the sim- plest case with stratified Datalog programs, and showing how the defi- nition is extended to programs that include function symbols and non- stratified negation. The languages that adopt the distribution semantics are also discussed and compared both to one another and to Bayesian networks. We then survey existing approaches for inference in PLP lan- guages that follow the distribution semantics. We concentrate on the PRISM, ProbLog and PITA systems. PRISM was one of the first such algorithms and can be applied when certain restrictions on the program hold. ProbLog introduced the use of Binary Decision Diagrams that pro- vide a computational basis for removing these restrictions and so per- forming inferences over more general classes of logic programs. PITA speeds up inference by using tabling and answer subsumption. It sup- ports general probabilistic programs, but can easily be optimized for simpler settings and even possibilistic uncertain reasoning. The paper also discusses the computational complexity of the various approaches together with techniques for limiting it by resorting to approximation.
    [Show full text]