1
Learning and Inference in Markov Logic Networks
CS 486/686 University of Waterloo Lecture 23: November 27, 2012
CS486/686 Lecture Slides (c) 2012 P. Poupart
2
Outline
- Markov Logic Networks
Learning and Inference in Markov Logic Networks CS 486/686 - - PDF document
Learning and Inference in Markov Logic Networks CS 486/686 University of Waterloo Lecture 23: November 27, 2012 Outline Markov Logic Networks Parameter learning Lifted inference 2 CS486/686 Lecture Slides (c) 2012 P. Poupart 1
CS486/686 Lecture Slides (c) 2012 P. Poupart
2
CS486/686 Lecture Slides (c) 2012 P. Poupart
3
CS486/686 Lecture Slides (c) 2012 P. Poupart
4
CS486/686 Lecture Slides (c) 2012 P. Poupart
5
CS486/686 Lecture Slides (c) 2012 P. Poupart
6
CS486/686 Lecture Slides (c) 2012 P. Poupart
7
– and are first order formulas
– Convert Markov Logic Network to ground Markov network – Convert and into grounded clauses – Perform variable elimination as usual
CS486/686 Lecture Slides (c) 2012 P. Poupart
8
CS486/686 Lecture Slides (c) 2012 P. Poupart
9
– Convert Markov logic network to ground Markov network – Convert and to grounded clauses – Perform variable elimination with caching
CS486/686 Lecture Slides (c) 2012 P. Poupart
10
– Still exponential in the size of the largest intermediate factor – But, potentially sub-linear in the number of ground potentials/features
– Elimination order influences amount of repeated computation
CS486/686 Lecture Slides (c) 2012 P. Poupart
11
CS486/686 Lecture Slides (c) 2012 P. Poupart
12
CS486/686 Lecture Slides (c) 2012 P. Poupart
13
CS486/686 Lecture Slides (c) 2012 P. Poupart
14
CS486/686 Lecture Slides (c) 2012 P. Poupart
15
CS486/686 Lecture Slides (c) 2012 P. Poupart
16
P(St+1|St) P(St+2|St+1) P(St+3|St+2) P(St+4|St+3) P(St+5|St+4) P(St+6|St+5) P(St+7|St+6) P(St+8|St+7) P(St+2|St) P(St+8|St+6) P(St+4|St+2) P(St+6|St+4) P(St+4|St) P(St+8|St+4) P(St+8|St)
CS486/686 Lecture Slides (c) 2012 P. Poupart
17
CS486/686 Lecture Slides (c) 2012 P. Poupart
18
CS486/686 Lecture Slides (c) 2012 P. Poupart
19
– Perform inference directly with first-order representation – Lifted variable elimination is an area of active research
than savings in repeated computation
– Does not perform exact inference – Uses lifted approximate inference
CS486/686 Lecture Slides (c) 2012 P. Poupart
20