
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































Lyle Ungar, University of Pennsylvania
for sentiment analysis Based on slides from C.J. Taylor, Alex Krizhevsky, Ilya Sutskever, Geoff Hinton, Jeff Dean, Richard Socher, Lyle Ungar … Our model ● (^) Max-pooling layers follow first, second, and fifth convolutional layers ● (^) The number of neurons in each layer is given by 253440, 186624, 64896, 64896, 43264, 4096, 4096, 1000
l Self driving cars
l Siri, …
l Google translate
2
4
5 nvidia
l Or, technically, semi-parametric l Flexible model form
l Hence popular (again) now l But recently with slightly smaller training sets.
l Idea: representation should have many different levels of abstraction
l Generalizes logistic regression to a semi-parametric form
l Generalizes PCA to a semi-parametric form Neural nets often have built in structure
10 Socher and Manning tutorial
11 Every line represents a parameter in the model
l Image of an object → what it is l Image of a person → who it is (or how they are feeling) l Picture → caption describing it (or the sentiment it evokes) l A word → the sound of saying it (or the sentiment it evokes) l Sound of a word → the word l Sequence of words in English → their Chinese translation
l E.g. sequences of words 13
14
Lyle Ungar, University of Pennsylvania
l Hidden state dynamical models, but nonlinear
l E.g. sequence of observations n speech n text n robots n videos
Lyle H Ungar, University of Pennsylvania
l All of these gates have weights which are sigmoidal functions of weighted inputs 19 http://deeplearning.net/tutorial/lstm.html i f o h ct xt – observation st – hidden state o = output gate (not output!) ct- i = σ (U i
t
i
t-
f = σ (U f
t
f
t-
o = σ (U o
t
o
t-
h
t
h
t-
t
t-
t
t-
ct = f oct-1 + i o^ h
l An encoder n sentence (sequence of words) to vector l A decoder n vector to sentence (sequence of words)