Inference and Representation
David Sontag
New York University
Lecture 13, Dec. 8, 2015
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 1 / 29
Inference and Representation David Sontag New York University - - PowerPoint PPT Presentation
Inference and Representation David Sontag New York University Lecture 13, Dec. 8, 2015 David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 1 / 29 Conditional random fields (CRFs) Conditional random fields are undirected
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 1 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 2 / 29
y
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 3 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 4 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 5 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 6 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 7 / 29
t′,t
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 8 / 29
input: two images!
RB IN DT NN IN DT NN Once upon a time in a land
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 9 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 10 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 11 / 29
1
2
3
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 12 / 29
y
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 13 / 29
c) − log Z(x; w) ≥ w ·
c) −
c)
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 14 / 29
c)
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 15 / 29
c fc(x, yc). Then, the constraints that we want to satisfy are
y∈Y w · f(xm, y)
1
2
3
4
5
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 16 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 17 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 18 / 29
w,ξ
m = max
y∈Y\ym 1 − w ·
w
y∈Y\ym 1 − w ·
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 19 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 20 / 29
i∈V 1
i ]
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 21 / 29
w
y∈Y
1
2
3
4
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 22 / 29
w
y∈Y
y∈Y ∆(y, ym) + w(t) · f(xm, y)
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 23 / 29
y∈Y ∆(y, ym) + w(t) · f(xm, y)
i∈V 1
i ], this corresponds to adding additional
i , and 0 otherwise
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 24 / 29
w,ξ
y∈Y ∆(y, ym) + w · f(xm, y)
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 25 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 26 / 29
Optimization algorithm Online Primal/Dual Type of guarantee Oracle type # Oracle calls dual extragradient (Taskar et al., 2006) no primal-‘dual’ saddle point gap Bregman projection O
λ"
(Collins et al., 2008) yes dual expected dual error expectation O
λ"
gap reduction (Zhang et al., 2011) no primal-dual duality gap expectation O
q
log |Y| λ"
no primal ≥primal error maximization O
λ"
et al., 2009) no primal-dual duality gap maximization O
λ"
subgradient (Shalev-Shwartz et al., 2010a) yes primal primal error w.h.p. maximization ˜ O
λ"
block-coordinate Frank-Wolfe yes primal-dual expected duality gap maximization O
λ"
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 27 / 29
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 28 / 29
the major
these consultations is to make sure that the recovery benefits all . le un de les grands
de les consultations est de faire en sorte que la relance profite ´ egalement ` a tous .
David Sontag (NYU) Inference and Representation Lecture 13, Dec. 8, 2015 29 / 29