## PITA

swMATH ID: | 6950 |

Software Authors: | Riguzzi, Fabrizio; Swift, Terrance |

Description: | The PITA system: tabling and answer subsumption for reasoning under uncertainty. Many real world domains require the representation of a measure of uncertainty. The most common such representation is probability, and the combination of probability with logic programs has given rise to the field of probabilistic logic programming (PLP), leading to languages such as the independent choice logic, logic programs with annotated disjunctions (LPADs), Problog, PRISM, and others. These languages share a similar distribution semantics, and methods have been devised to translate programs between these languages. The complexity of computing the probability of queries to these general PLP programs is very high due to the need to combine the probabilities of explanations that may not be exclusive. As one alternative, the PRISM system reduces the complexity of query answering by restricting the form of programs it can evaluate. As an entirely different alternative, possibilistic logic programs adopt a simpler metric of uncertainty than probability.par Each of these approaches – general PLP, restricted PLP, and possibilistic logic programming – can be useful in different domains depending on the form of uncertainty to be represented, on the form of programs needed to model problems, and on the scale of the problems to be solved. In this paper, we show how the PITA system, which originally supported the general PLP language of LPADs, can also efficiently support restricted PLP and possibilistic logic programs. PITA relies on tabling with answer subsumption and consists of a transformation along with an API for library functions that interface with answer subsumption. We show that, by adapting its transformation and library functions, PITA can be parameterized to PITA(IND, EXC) which supports the restricted PLP of PRISM, including optimizations that reduce non-discriminating arguments and the computation of Viterbi paths. Furthermore, we show PITA to be competitive with PRISM for complex queries to Hidden Markov Model examples, and sometimes much faster. We further show how PITA can be parameterized to PITA(COUNT) which computes the number of different explanations for a subgoal, and to PITA(POSS) which scalably implements possibilistic logic programming. PITA is a supported package in version 3.3 of XSB. |

Homepage: | https://sites.google.com/a/unife.it/ml/pita |

Keywords: | probabilistic logic programming; possibilistic logic programming; tabling; answer subsumption; program transformation |

Related Software: | ProbLog; CP-logic; PRISM; MCINTYRE; XSB; Church; BLOG; cplint; SWI-Prolog; YAP-Prolog; Clingo; Aleph; FactorBase; Oz; IBAL; NoHR; PASTA; SMProbLog; DeepProbLog; NeurASP |

Cited in: | 25 Documents |

### Standard Articles

all
top 5

### Cited by 34 Authors

### Cited in 4 Serials

8 | Theory and Practice of Logic Programming |

6 | International Journal of Approximate Reasoning |

4 | Machine Learning |

1 | Journal of Machine Learning Research (JMLR) |

### Cited in 4 Fields

25 | Computer science (68-XX) |

1 | Mathematical logic and foundations (03-XX) |

1 | Statistics (62-XX) |

1 | Operations research, mathematical programming (90-XX) |