Introduction.

Probabilistic logic programs are logic programs in which some of the facts are annotated with probabilities.

ProbLog is a tool that allows you 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 engine tackles several tasks such as computing the marginals given evidence and learning from (partial) interpretations. ProbLog is a suite of efficient algorithms for various inference tasks. It is based on a conversion of the program and the queries and evidence to a weighted Boolean formula. This allows us to reduce the inference tasks to well-studied tasks such as weighted model counting, which can be solved using state-of-the-art methods known from the graphical model and knowledge compilation literature.

The Language. Probabilistic Logic Programming.

ProbLog makes it easy to express complex, probabilistic models.

0.3::stress(X) :- person(X).
0.2::influences(X,Y) :- person(X), person(Y).

smokes(X) :- stress(X).
smokes(X) :- friend(X,Y), influences(Y,X), smokes(Y).

0.4::asthma(X) <- smokes(X).

person(angelika).
person(joris).
person(jonas).
person(dimitar).

friend(joris,jonas).
friend(joris,angelika).
friend(joris,dimitar).
friend(angelika,jonas).

Get to know the language using our interactive tutorial, check out our publications or try the above example directly in our interactive interface.

For an introduction, please consult the following papers


The Engine. Powerful inference.

ProbLog2 is our 2nd generation engine to reason with the ProbLog language. The current engine builds on logic programming, knowledge compilation, the distribution semantics and probabilistic, graphical models. It allows you to:

For more information about these inference and learning tasks and how they are solved in ProbLog2, please consult the following papers.

evidence(smokes(angelika),false).
evidence(influences(jonas,joris),false).

query(smokes(joris)).

Online interface. No hassle.

You can try out ProbLog using our online interface.

Try tutorial  Try inference  Try learning


Download. Use, change, improve.

ProbLog2 binaries and source are available for download. The only requirements are Python 3 and YAP Prolog. ProbLog2 is licensed under the LGPL3 license (contact us for alternative licenses). See the included README file for detailed installation instructions.

Download

The previous version of ProbLog (ProbLog1) is available as part of YAP Prolog or can be downloaded from the old Problog1 webpages


Need help? Fire any question or report a bug to our team.

Mailing list

There is a general ProbLog mailing list which you can use for all your ProbLog1 and ProbLog2 questions or bug reports. You can also consult the mailing list archive to see if your question has been asked before.


The ProbLog team.

ProbLog2 was developed in the DTAI group of KULeuven, by the following people (in alphabetical order).

Other people who contributed to ProbLog1 and 2 (in alphabetical order):


Our colleagues from the probabilistic programming community.