Representation
Stefano Ermon, Aditya Grover
Stanford University
Lecture 2
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 1 / 30
Representation Stefano Ermon, Aditya Grover Stanford University - - PowerPoint PPT Presentation
Representation Stefano Ermon, Aditya Grover Stanford University Lecture 2 Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 1 / 30 Learning a generative model We are given a training set of examples, e.g., images of
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 1 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 2 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 3 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 4 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 5 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 6 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 7 / 30
1 Chain rule
2 Bayes’ rule
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 8 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 9 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 10 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 11 / 30
1
2
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 12 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 13 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 14 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 15 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 16 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 17 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 18 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 19 / 30
1
2
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 20 / 30
1 For the generative model, assume that Xi ⊥ X−i | Y (naive Bayes) Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 21 / 30
1 For the discriminative model, assume that
2 Not represented as a table anymore. It is a parameterized function of
z 1 1 + e−z Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 22 / 30
1 Decision boundary p(Y = 1 | x; α) > 0.5 is linear in x 2 Equal probability contours are straight lines 3 Probability rate of change has very specific form (third plot) Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 23 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 24 / 30
1
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 25 / 30
1 In discriminative models, we assume that
2 Linear dependence:
i=1 αixi.
3 Non-linear dependence: let h(A, b, x) = f (Ax + b) be a non-linear
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 26 / 30
1 In discriminative models, we assume that
2 Linear dependence: let z(α, x) = α0 + n
3 Non-linear dependence: let h(A, b, x) = f (Ax + b) be a non-linear
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 27 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 28 / 30
1 σ √ 2πe−(x−µ)2/2σ2
1 b−a1[a ≤ x ≤ b]
1
(2π)n|Σ| exp
2(x − µ)TΣ−1(x − µ)
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 29 / 30
Stefano Ermon, Aditya Grover (AI Lab) Deep Generative Models Lecture 2 30 / 30