Inference and Representation
David Sontag
New York University
Lecture 3, Sept. 15, 2014
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 1 / 22
Inference and Representation David Sontag New York University - - PowerPoint PPT Presentation
Inference and Representation David Sontag New York University Lecture 3, Sept. 15, 2014 David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 1 / 22 How to acquire a model? Possible things to do: Use expert knowledge to
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 1 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 2 / 22
M
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 3 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 4 / 22
1
2
3
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 5 / 22
Inference and Representation Lecture 3, Sept. 15, 2014 6 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 7 / 22
θ
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 8 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 9 / 22
input: two images!
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 10 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 11 / 22
1
3
ˆ M
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 12 / 22
θ N
θ
θ N
θ N
|V |
i | xn pa(i); θ)
θ |V |
N
i | xn pa(i); θ)
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 13 / 22
|V |
N
i | xn pa(i); θ)
|V |
x∈D: ˆ xi,ˆ xpa(i)=xi,xpa(i)
|V |
xi|xpa(i) =
xi Nˆ xi,xpa(i)
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 14 / 22
= +1 = -1
i<j
Inference and Representation Lecture 3, Sept. 15, 2014 15 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 16 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 17 / 22
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 18 / 22
|V |
xi|xpa(i) = Nxi ,xpa(i)
xi Nˆ xi ,xpa(i) = ˆ
G |V |
xi|xpa(i))
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 19 / 22
G N
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 20 / 22
Finding highest scoring graph is NP-hard – must disallow cycles:!
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 21 / 22
Grade Letter SAT Intelligence Difficulty d1 d0
0.6 0.4
i1 i0
0.7 0.3
i0 i1 s1 s0
0.95 0.2 0.05 0.8
g1 g2 g2 l1 l 0
0.1 0.4 0.99 0.9 0.6 0.01
i0,d0 i0,d1 i0,d0 i0,d1 g2 g3 g1
0.3 0.05 0.9 0.5 0.4 0.25 0.08 0.3 0.3 0.7 0.02 0.2
David Sontag (NYU) Inference and Representation Lecture 3, Sept. 15, 2014 22 / 22