This document discusses Bayesian logic programs, which extend Bayesian networks to allow for objects and relations. Bayesian logic programs use logic programming concepts like predicates, objects, and relations combined with probability theory. They define a probability distribution over infinitely many random variables. The document provides examples of how Bayesian networks can be represented as Bayesian logic programs and discusses semantics including consistency conditions and support networks.
1. Bayesian Logic Programs Kristian Kersting, Luc De Raedt Albert-Ludwigs University Freiburg, Germany Summer School on Relational Data Mining 17 and 18 August 2002, Helsinki, Finland
7. Bayesian networks [Pearl ´88] bt_ann bt_brian bt_cecily bt_dorothy bt_eric bt_gwenn bt_unknown2 bt_unknown1 bt_fred bt_henry bt_irene bt_john Based on the stud farm example [Jensen ´96]
8. Bayesian networks [Pearl ´88] bt_ann bt_brian bt_cecily bt_dorothy bt_eric bt_gwenn bt_unknown2 bt_unknown1 bt_fred bt_henry bt_irene bt_john Based on the stud farm example [Jensen ´96] (Conditional) Probability distribution P(bt_cecily=aA|bt_john=aA)=0.1499 P(bt_john=AA|bt_ann=aA)=0.6906 P(bt_john=AA)=0.9909 (0.33,0.33,0.33) ... (0.0,1.0,0.0) (0.5,0.5,0.0) bt_irene bt_henry P (bt_john) AA AA AA aa aA aa aa aa (1.0,0.0,0.0)
14. From Bayesian Networks to Bayesian Logic Programs bt_ann. bt_brian. bt_cecily. bt_dorothy | bt_ann, bt_brian. bt_eric| bt_brian, bt_cecily. bt_gwenn | bt_ann, bt_unknown2. bt_unknown2. bt_unknown1. bt_fred | bt_unknown1, bt_ann. bt_henry | bt_fred, bt_dorothy. bt_irene | bt_eric, bt_gwenn. bt_john | bt_henry ,bt_irene. (0.33,0.33,0.33) ... (0.0,1.0,0.0) (0.5,0.5,0.0) bt_irene bt_henry P (bt_john) AA AA AA aa aA aa aa aa (1.0,0.0,0.0)
15. From Bayesian Networks to Bayesian Logic Programs % apriori nodes bt_ann. bt_brian. bt_cecily. bt_unknown1. bt_unknown1. % aposteriori nodes bt_henry | bt_fred, bt_dorothy. bt_irene | bt_eric, bt_gwenn. bt_fred | bt_unknown1, bt_ann. bt_dorothy| bt_brian, bt_ann. bt_eric | bt_brian, bt_cecily. bt_gwenn | bt_unknown2, bt_ann. bt_john | bt_henry, bt_irene. D omain e.g. finite, discrete, continuous (conditional) probability distribution (0.33,0.33,0.33) ... (0.0,1.0,0.0) (0.5,0.5,0.0) bt_irene bt_henry P (bt_john) AA AA AA aa aA aa aa aa (1.0,0.0,0.0)
16. From Bayesian Networks to Bayesian Logic Programs % apriori nodes bt(ann). bt(brian). bt(cecily). bt(unknown1). bt(unknown1). % aposteriori nodes bt(henry) | bt(fred), bt(dorothy). bt(irene) | bt(eric), bt(gwenn). bt(fred) | bt(unknown1), bt(ann). bt(dorothy)| bt(brian), bt(ann). bt(eric) | bt(brian), bt(cecily). bt(gwenn) | bt(unknown2), bt(ann). bt(john) | bt(henry), bt(irene). (conditional) probability distribution (0.33,0.33,0.33) ... (0.0,1.0,0.0) (0.5,0.5,0.0) bt(irene) bt(henry) P (bt(john)) AA AA AA aa aA aa aa aa (1.0,0.0,0.0)
17. From Bayesian Networks to Bayesian Logic Programs % ground facts / apriori bt(ann). bt(brian). bt(cecily). bt(unkown1). bt(unkown1). father(unkown1,fred). mother(ann,fred). father(brian,dorothy). mother(ann, dorothy). father(brian,eric). mother(cecily,eric). father(unkown2,gwenn). mother(ann,gwenn). father(fred,henry). mother(dorothy,henry). father(eric,irene). mother(gwenn,irene). father(henry,john). mother(irene,john). % rules / aposteriori bt(X) | father(F,X), bt(F), mother(M,X), bt(M). (conditional) probability distribution AA Aa bt(F) false true father(F,X) (0.33,0.33,0.33) ... (1.0,0.0,0.0) P (bt(X)) false bt(M) mother(M,X) AA aa true