To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Probabilistic logic programming

From Wikipedia, the free encyclopedia

Probabilistic logic programming is a programming paradigm that combines logic programming with probabilities.

Most approaches to probabilistic logic programming are based on the distribution semantics, which splits a program into a set of probabilistic facts and a logic program. It defines a probability distribution on interpretations of the Herbrand universe of the program.

Languages

Most approaches to probabilistic logic programming are based on the distribution semantics,[1] which underlies many languages such as Probabilistic Horn Abduction, PRISM, Independent Choice Logic , probabilistic Datalog, Logic Programs with Annotated Disjunctions, ProbLog, P-log, and CP-logic. While the number of languages is large, all share a common approach so that there are transformations with linear complexity that can translate one language into another.[2]

Semantics

Under the distribution semantics, a probabilistic logic program is interpreted as a set of independent probabilistic facts (ground atomic formulas annotated with a probability) and a logic program which can use the probabilistic facts in the bodies of its clauses. The probability of any assignment of truth values to the groundings of the formulas associated with probabilistic facts is given by the product of their probabilities; this is equivalent to assuming the choices of probabilistic facts to be independent random variables.[1][3]

Stratified programs

If for any choice of truth values for the probabilistic facts, the resulting logic program is stratified, it has a unique minimal Herbrand model which can be seen as the unique interpretation associated with that choice of truth values.[1]

Important subclasses of stratified programs are positive programs, which do not use negation, but may be recursive, and acyclic programs, which may use negation but have no recursive dependencies.[1]

Answer set programs

The stable model semantics underlying answer set programming gives meaning to unstratified programs by allocating potentially more than one answer set to every truth value assignment of the probabilistic facts. This raises the question of how to distribute the probability mass across the answer sets.[4][5]

The probabilistic logic programming language P-Log resolves this by dividing the probability mass equally between the answer sets, following the principle of indifference.[4][6]

Alternatively, probabilistic answer set programming under the credal semantics allocates a credal set to every query. Its lower probability bound is defined by only considering those truth value assignments of the probabilistic facts for which the query is true in every answer set of the resulting program (cautious reasoning); its upper probability bound is defined by considering those assignments for which the query is true in some answer set (brave reasoning).[4][5]

Inference

Under the distribution semantics, a probabilistic logic program defines a probability distribution over interpretations of its predicates on its Herbrand universe. The probability of a ground query is then obtained from the joint distribution of the query and the worlds: it is the sum of the probability of the worlds where the query is true.[2][7][8]

The problem of computing the probability of queries is called (marginal) inference. Solving it by computing all the worlds and then identifying those that entail the query is impractical as the number of possible worlds is exponential in the number of ground probabilistic facts.[2] In fact, already for acyclic programs and atomic queries, computing the conditional probability of a query given a conjunction of atoms as evidence is #P-complete.[9]

Exact inference

Usually, exact inference is performed by resorting to knowledge compilation: according to this, a propositional theory and a query are compiled into a “target language”, which is then used to answer queries in polynomial time. The compilation becomes the main computational bottleneck, but considerable effort has been devoted to the development of efficient compilers. The compilation methods differ in the compactness of the target language and the class of queries and transformations that they support in polynomial time.[2]

Approximate inference

Since the cost of inference may be very high, approximate algorithms have been developed. They either compute subsets of possibly incomplete explanations or use random sampling. In the first approach, a subset of the explanations provides a lower bound and the set of partially expanded explanations provides an upper bound. In the second approach, the truth of the query is repeatedly checked in an ordinary logic program sampled from the probabilistic program. The probability of the query is then given by the fraction of the successes.[2][10]

Learning

Probabilistic inductive logic programming aims to learn probabilistic logic programs from data. This includes parameter learning, which estimates the probability annotations of a program while the clauses themselves are given by the user, and structure learning, in which the clauses themselves are induced by the probabilistic inductive logic programming system.[2]

Common approaches to parameter learning are based on expectation–maximization or gradient descent, while structure learning van beperformed by searching the space of possible clauses under a variety of heuristics.[2]

See also

References

  1. ^ a b c d Riguzzi, Fabrizio; Swift, Theresa (2018-09-01), "A survey of probabilistic logic programming", Declarative Logic Programming: Theory, Systems, and Applications, ACM, pp. 185–228, doi:10.1145/3191315.3191319, ISBN 978-1-970001-99-0, S2CID 70180651, retrieved 2023-10-25
  2. ^ a b c d e f g Riguzzi, Fabrizio; Bellodi, Elena; Zese, Riccardo (2014). "A History of Probabilistic Inductive Logic Programming". Frontiers in Robotics and AI. 1. doi:10.3389/frobt.2014.00006. ISSN 2296-9144.
  3. ^ De Raedt, Luc; Kimmig, Angelika (2015-07-01). "Probabilistic (logic) programming concepts". Machine Learning. 100 (1): 5–47. doi:10.1007/s10994-015-5494-z. ISSN 1573-0565.
  4. ^ a b c Riguzzi, Fabrizio (2023-05-22), "Probabilistic Answer Set Programming", Foundations of Probabilistic Logic Programming, New York: River Publishers, pp. 165–173, doi:10.1201/9781003427421-6, ISBN 978-1-003-42742-1, retrieved 2024-02-03
  5. ^ a b Cozman, Fabio Gagliardi; Mauá, Denis Deratani (2020). "The joy of Probabilistic Answer Set Programming: Semantics, complexity, expressivity, inference". International Journal of Approximate Reasoning. 125: 218–239. doi:10.1016/j.ijar.2020.07.004. S2CID 222233309.
  6. ^ Baral, Chitta; Gelfond, Michael; Rushton, Nelson (2009). "Probabilistic reasoning with answer sets". Theory and Practice of Logic Programming. 9 (1): 57–144. doi:10.1017/S1471068408003645. ISSN 1471-0684.
  7. ^ Poole, David (1993). "Probabilistic Horn abduction and Bayesian networks". Artificial Intelligence. 64 (1): 81–129. doi:10.1016/0004-3702(93)90061-f. ISSN 0004-3702.
  8. ^ Sato, Taisuke (1995), "A Statistical Learning Method for Logic Programs with Distribution Semantics", Proceedings of the 12th International Conference on Logic Programming, The MIT Press, pp. 715–730, doi:10.7551/mitpress/4298.003.0069, ISBN 978-0-262-29143-9, retrieved 2023-10-25
  9. ^ Riguzzi, Fabrizio (2023). Foundations of probabilistic logic programming: Languages, semantics, inference and learning (2nd ed.). Gistrup, Denmark: River Publishers. p. 180. ISBN 978-87-7022-719-3.
  10. ^ Kimmig, Angelika; Demoen, Bart; Raedt, Luc De; Costa, Vítor Santos; Rocha, Ricardo (2011). "On the implementation of the probabilistic logic programming language ProbLog". Theory and Practice of Logic Programming. 11 (2–3): 235–262. arXiv:1006.4442. doi:10.1017/S1471068410000566. ISSN 1475-3081. S2CID 2022299.

As of 3 February 2024, this article is derived in whole or in part from Riguzzi, Fabrizio; Bellodi, Elena; Zese, Riccardo (2014). "A History of Probabilistic Inductive Logic Programming". Frontiers in Robotics and AI. 1. doi:10.3389/frobt.2014.00006. The copyright holder has licensed the content in a manner that permits reuse under CC BY-SA 3.0 and GFDL. All relevant terms must be followed.

This page was last edited on 12 March 2024, at 23:44
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.