Probabilistic Inductive Logic Programming
Fabrizio Riguzzi
Department of Mathematics and Computer Science University of Ferrara, Italy fabrizio.riguzzi@unife.it
- F. Riguzzi (UNIFE)
PILP-ECAI20 1 / 129
Probabilistic Inductive Logic Programming Fabrizio Riguzzi - - PowerPoint PPT Presentation
Probabilistic Inductive Logic Programming Fabrizio Riguzzi Department of Mathematics and Computer Science University of Ferrara, Italy fabrizio.riguzzi@unife.it F. Riguzzi (UNIFE) PILP-ECAI20 1 / 129 Outline 1 Probabilistic Logic
PILP-ECAI20 1 / 129
PILP-ECAI20 2 / 129
Probabilistic Logic Programming
PILP-ECAI20 3 / 129
Probabilistic Logic Programming
PILP-ECAI20 4 / 129
Probabilistic Logic Programming
PILP-ECAI20 5 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 6 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 7 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 8 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 9 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 10 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 11 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 12 / 129
Probabilistic Logic Programming Sato’s distribution semantics
wPWT
wPWT
wPWT :w| ùQ
PILP-ECAI20 13 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 14 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 15 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 16 / 129
Probabilistic Logic Programming Sato’s distribution semantics
PILP-ECAI20 17 / 129
Examples
PILP-ECAI20 18 / 129
Examples
PILP-ECAI20 19 / 129
Examples
PILP-ECAI20 20 / 129
Examples
PILP-ECAI20 21 / 129
Examples
PILP-ECAI20 22 / 129
Examples
samebib(A,B):0.9 :- samebib(A,C), samebib(C,B). sameauthor(A,B):0.6 :- sameauthor(A,C), sameauthor(C,B). sametitle(A,B):0.7 :- sametitle(A,C), sametitle(C,B). samevenue(A,B):0.65 :- samevenue(A,C), samevenue(C,B). samebib(B,C):0.5 :- author(B,D),author(C,E),sameauthor(D,E). samebib(B,C):0.7 :- title(B,D),title(C,E),sametitle(D,E). samebib(B,C):0.6 :- venue(B,D),venue(C,E),samevenue(D,E). samevenue(B,C):0.3 :- haswordvenue(B,logic), haswordvenue(C,logic). ...
PILP-ECAI20 23 / 129
Examples
PILP-ECAI20 24 / 129
Examples
PILP-ECAI20 25 / 129
Inference
PILP-ECAI20 26 / 129
Inference
PILP-ECAI20 27 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 28 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 29 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 30 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 31 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 32 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 33 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 34 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 35 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 36 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 37 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 38 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 39 / 129
Inference Inference by Knowledge Compilation
lP|X11|
K
lP|X11|
K
K
K
K
K
K
K
PILP-ECAI20 40 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 41 / 129
Inference Inference by Knowledge Compilation
m“1p1´PpXijmqq.
PILP-ECAI20 42 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 43 / 129
Inference Inference by Knowledge Compilation
PILP-ECAI20 44 / 129
Inference ProbLog2
PILP-ECAI20 45 / 129
Inference ProbLog2
PILP-ECAI20 46 / 129
Inference ProbLog2
1
2
3
PILP-ECAI20 47 / 129
Inference ProbLog2
PILP-ECAI20 48 / 129
Inference ProbLog2
PILP-ECAI20 49 / 129
Inference ProbLog2
PILP-ECAI20 50 / 129
Inference ProbLog2
^ callspjohnq hears_alarnpjohnq alarm _ ^ ^ burglary _ earthqauke burglary earthqauke
PILP-ECAI20 51 / 129
Inference ProbLog2
˚p0.196q ˚p1.0q λpcallspjohnqq 1.0 ˚p0.7q λphears_alarnpjohnqq 0.7 ˚p1.0q λpalarmq 1.0 `p0.28q ˚p0.18q ˚p0.1q ˚p0.9q λpburglaryq 0.9 `p1.0q ˚p0.2q λpearthqaukeq 0.2 ˚p0.1q λpburglaryq 0.1 ˚p0.8q λpearthqaukeq 0.8
PILP-ECAI20 52 / 129
Inference ProbLog2
PILP-ECAI20 53 / 129
Inference ProbLog2
PILP-ECAI20 54 / 129
Inference ProbLog2
PILP-ECAI20 55 / 129
Inference ProbLog2
7
¬burglary earthquake burglary 1
5
hears_alarm(john) ¬hears_alarm(john) 0
3 1
alarm ¬calls(john) ¬alarm 1
1
alarm calls(john) ¬alarm 0
PILP-ECAI20 56 / 129
Parameter Learning
PILP-ECAI20 57 / 129
Parameter Learning
PILP-ECAI20 58 / 129
Parameter Learning
PILP-ECAI20 59 / 129
Parameter Learning EMBLEM
PILP-ECAI20 60 / 129
Parameter Learning EMBLEM
PILP-ECAI20 61 / 129
Parameter Learning EMBLEM
PILP-ECAI20 62 / 129
Parameter Learning EMBLEM
begin(model(2)). pos. triangle(o5). config(o5,up). square(o4). in(o4,o5). circle(o3). triangle(o2). config(o2,up). in(o2,o3). triangle(o1). config(o1,up). end(model(2)). begin(model(3)). neg(pos). circle(o4). circle(o3). in(o3,o4). ....
pos(2). triangle(2,o5). config(2,o5,up). square(2,o4). in(2,o4,o5). circle(2,o3). triangle(2,o2). config(2,o2,up). in(2,o2,o3). triangle(2,o1). config(2o1,up). neg(pos(3)). circle(3,o4). circle(3,o3). in(3,o3,o4). ....
PILP-ECAI20 63 / 129
Parameter Learning EMBLEM
PILP-ECAI20 64 / 129
Parameter Learning EMBLEM
PILP-ECAI20 65 / 129
Parameter Learning EMBLEM
PILP-ECAI20 66 / 129
Parameter Learning EMBLEM
PILP-ECAI20 67 / 129
Parameter Learning EMBLEM
PILP-ECAI20 68 / 129
Parameter Learning EMBLEM
PILP-ECAI20 69 / 129
Parameter Learning EMBLEM
jPgpiq
ePE Ercik1|es
qPE Ercik0|es ` Ercik1|es
PILP-ECAI20 70 / 129
Parameter Learning EMBLEM
PILP-ECAI20 71 / 129
Parameter Learning EMBLEM
PILP-ECAI20 72 / 129
Parameter Learning EMBLEM
PILP-ECAI20 73 / 129
Parameter Learning EMBLEM
PILP-ECAI20 74 / 129
Parameter Learning EMBLEM
PILP-ECAI20 75 / 129
Parameter Learning EMBLEM
PILP-ECAI20 76 / 129
Parameter Learning EMBLEM
PILP-ECAI20 77 / 129
Parameter Learning EMBLEM
Ercik1s Ercik0s`Ercik1s
PILP-ECAI20 78 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 79 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 80 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 81 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 82 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 83 / 129
Parameter Learning EMBLEM
0.6 0.4
0.6 0.4
0.7 0.3
PILP-ECAI20 84 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 85 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 86 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 87 / 129
Parameter Learning LFI-ProbLog
^ callspjohnq hears_alarnpjohnq alarm _ ^ ^ burglary _ earthqauke burglary earthqauke
PILP-ECAI20 88 / 129
Parameter Learning LFI-ProbLog
˚p0.196q ˚p1.0q λpcallspjohnqq 1.0 ˚p0.7q λphears_alarnpjohnqq 0.7 ˚p1.0q λpalarmq 1.0 `p0.28q ˚p0.18q ˚p0.1q ˚p0.9q λpburglaryq 0.9 `p1.0q ˚p0.2q λpearthqaukeq 0.2 ˚p0.1q λpburglaryq 0.1 ˚p0.8q λpearthqaukeq 0.8
PILP-ECAI20 89 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 90 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 91 / 129
Parameter Learning LFI-ProbLog
PILP-ECAI20 92 / 129
Parameter Learning LFI-ProbLog
c vpcq
c vpcq
PILP-ECAI20 93 / 129
Structure Learning
PILP-ECAI20 94 / 129
Structure Learning
1
2
PILP-ECAI20 95 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 96 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 97 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 98 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 99 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 100 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 101 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 102 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 103 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 104 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 105 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 106 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 107 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 108 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 109 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 110 / 129
Structure Learning SLIPCOVER
modeh(*,advisedby(+person,+person)). modeh(*,[advisedby(+person,+person),tempadvisedby(+person,+person)], [advisedby(A,B),tempadvisedby(A,B)], [professor/1,student/1,hasposition/2,inphase/2,publication/2, taughtby/3,ta/3,courselevel/2,yearsinprogram/2]). modeh(*,[student(+person),professor(+person)], [student(P),professor(P)], [hasposition/2,inphase/2,taughtby/3,ta/3,courselevel/2, yearsinprogram/2,advisedby/2,tempadvisedby/2]). modeh(*,[inphase(+person,pre_quals),inphase(+person,post_quals), inphase(+person,post_generals)], [inphase(P,pre_quals),inphase(P,post_quals),inphase(P,post_generals)], [professor/1,student/1,taughtby/3,ta/3,courselevel/2, yearsinprogram/2,advisedby/2,tempadvisedby/2,hasposition/2]).
PILP-ECAI20 111 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 112 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 113 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 114 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 115 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 116 / 129
Structure Learning SLIPCOVER
PILP-ECAI20 117 / 129
Structure Learning ProbFOIL+
1 a set of training examples E “ tpe1, p1q, . . . , peT, pTqu where each ei is a ground fact for
2 a background theory B containing information about the examples in the form of a
3 a space of possible clauses L
PILP-ECAI20 118 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 119 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 120 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 121 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 122 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 123 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 124 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 125 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 126 / 129
Structure Learning ProbFOIL+
PILP-ECAI20 127 / 129
Conclusions
PILP-ECAI20 128 / 129
Conclusions
PILP-ECAI20 129 / 129