Efficient inference in discrete and continuous domains for PLP languages under the Distribution Semantics
Elena Bellodi
Department of Engineering, University of Ferrara, Italy
PLP 2019, September 21st 2019
- E. Bellodi
1 / 91
Efficient inference in discrete and continuous domains for PLP - - PowerPoint PPT Presentation
Efficient inference in discrete and continuous domains for PLP languages under the Distribution Semantics Elena Bellodi Department of Engineering, University of Ferrara, Italy PLP 2019, September 21st 2019 E. Bellodi 1 / 91 Outline
1 / 91
2 / 91
Introduction to PLP
3 / 91
Introduction to PLP
4 / 91
Introduction to PLP
5 / 91
Introduction to PLP
6 / 91
Introduction to PLP
7 / 91
Inference under the DS in Discrete Domains
8 / 91
Inference under the DS in Discrete Domains
9 / 91
Inference under the DS in Discrete Domains
10 / 91
Inference under the DS in Discrete Domains
1 Exact inference
2 Approximate inference
11 / 91
Inference under the DS in Discrete Domains Exact inference
12 / 91
Inference under the DS in Discrete Domains Exact inference
1 Assign Boolean random variables (r.v.) to the probabilistic rules 2 Given a query Q, compute its explanations, i.e. assignments to the
3 Let K be the set of all possible explanations 4 Build a Boolean formula fK representing K 5 Build a BDD encoding fK 6 Compute the probability of evidence from the BDD (unconditional
13 / 91
Inference under the DS in Discrete Domains Exact inference
14 / 91
Inference under the DS in Discrete Domains Exact inference
15 / 91
Inference under the DS in Discrete Domains Exact inference
16 / 91
Inference under the DS in Discrete Domains Exact inference
17 / 91
Inference under the DS in Discrete Domains Exact inference
18 / 91
Inference under the DS in Discrete Domains Exact inference
19 / 91
Inference under the DS in Discrete Domains Exact inference
20 / 91
Inference under the DS in Discrete Domains Exact inference
21 / 91
Inference under the DS in Discrete Domains Exact inference
22 / 91
Inference under the DS in Discrete Domains Exact inference
23 / 91
Inference under the DS in Discrete Domains Exact inference
24 / 91
Inference under the DS in Discrete Domains Exact inference
25 / 91
Inference under the DS in Discrete Domains Exact inference
26 / 91
Inference under the DS in Discrete Domains Exact inference
27 / 91
Inference under the DS in Discrete Domains Exact inference
28 / 91
Inference under the DS in Discrete Domains Exact inference
29 / 91
Inference under the DS in Discrete Domains Exact inference
30 / 91
Inference under the DS in Discrete Domains Exact inference
31 / 91
Inference under the DS in Discrete Domains Exact inference
1 Ground the probabilistic logic program and convert it into an
2 Build φe, the Boolean formula for the evidence 3 Rewrite φ = φr ∧ φe in CNF 4 Construct a weighted Boolean formula for φ 5 CNF formula → d-DNNF formula (#P hard step) 6 d-DNNF formula → aritmetic circuit (AC) 7 Compute the probability of evidence from the AC
32 / 91
Inference under the DS in Discrete Domains Exact inference
33 / 91
Inference under the DS in Discrete Domains Exact inference
1 Replace all conjunctions in the internal nodes of the d-DNNF by
2 Replace every leaf node involving a literal l by a subtree consisting of
3 Numbers in parentheses represent results of the intermediate
34 / 91
Inference under the DS in Discrete Domains Exact inference
35 / 91
Inference under the DS in Discrete Domains Exact inference
36 / 91
Inference under the DS in Discrete Domains Exact inference
37 / 91
Inference under the DS in Discrete Domains Exact inference
38 / 91
Inference under the DS in Discrete Domains Exact inference
1 Ground the probabilistic logic program and convert it into an
2 Compile directly the formula into an SDD OR convert it into a
3 Compute the probability of evidence from the SDD
39 / 91
Inference under the DS in Discrete Domains Exact inference
40 / 91
Inference under the DS in Discrete Domains Approximate inference
41 / 91
Inference under the DS in Discrete Domains Approximate inference
42 / 91
Inference under the DS in Discrete Domains Approximate inference
43 / 91
Inference under the DS in Discrete Domains Approximate inference
44 / 91
Inference under the DS in Discrete Domains Approximate inference
45 / 91
Inference under the DS in Discrete Domains Approximate inference
46 / 91
Inference under the DS in Discrete Domains Approximate inference
1
2
3
47 / 91
Inference under the DS in Discrete Domains Approximate inference
48 / 91
Inference under the DS in Discrete Domains Approximate inference
49 / 91
Inference under the DS in Discrete Domains Approximate inference
50 / 91
Inference under the DS in Discrete Domains Approximate inference
51 / 91
Inference under the DS in Discrete Domains Approximate inference
52 / 91
Inference under the DS in Hybrid Domains
53 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
54 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
55 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
56 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
57 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
58 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
59 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
60 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
61 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
62 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
63 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
64 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
65 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
66 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
67 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
68 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
69 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
70 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
71 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
72 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
73 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
74 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
75 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
76 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
77 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
78 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
79 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
80 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
81 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
82 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
83 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
1 Prediction step: samples a new set of N samples of the query, from
2 Weighting step: assigns to each sample x(i), i = 1...N, the weight
3 Resampling: if the variance of the sample weights exceeds a certain
4 After resampling, the next element of the evidence is considered. A
84 / 91
Inference under the DS in Hybrid Domains cplint Hybrid Programs (HP)
85 / 91
References
86 / 91
References
87 / 91
References
88 / 91
References
89 / 91
References
90 / 91
References
91 / 91