Open in TheBrain

HINTON Geoff NEURAL NETS for Machine Learning COURSERA 2012

<p>Oct 08, 2014 09:42 PM &nbsp;to sign in; click this link; then email and pswd...</p>

<p>

Sep 25, 2014 10:12 PM &nbsp;2nd time thru this; &nbsp;first time was 2 years ago...</p>

<p>

Nov 28, 2012 07:59 PM</p>

<p>

I sign up today... audit only.</p>

<p>

1a <b>why we need machine learning</b>:

recog 3d objects in a <b>cluttered scene</b>; novel viewpoint in novel lighting...</p>

<p>

&nbsp;

fraudulent credit card; &nbsp;changing rule; &nbsp;fraud is a moving target;

people change their tricks;</p>

<p>

specify correct output for a given input...

program will contain millions of numbers... should work for new cases;</p>

<p>

ML approach: &nbsp;produces program that does the job...

retrain it, if data changes...</p>

<p>

produce task-specific program by employing lots of data...</p>

<p>

best things done by learning algos:

objects in real scenes; &nbsp;facial ids and expressions; &nbsp;spoken words</p>

<p>

recog &nbsp;anomalies: &nbsp;

unusual patterns of sensor readings at nuclear power plant

(want to recog abnormalities without having it blow up)</p>

<p>

future stock prices; &nbsp;movies preferences;</p>

<p>

MNIST &nbsp;hand-written digits... like fruit fly db.</p>

<p>

genetics &nbsp;of fruit flies; (breed fast)&nbsp;MNIST DB of hand-written digits; &nbsp;&nbsp;

MNIST is our standard task.</p>

<p>

not very confident: &nbsp;numbers will not overlay; &nbsp;templates will not work...</p>

<p>

<b>ImageNet TASK</b> &nbsp;1000 difft object classes in 1.3 M high res training images

2010 &nbsp;best system got 47% error for 1st choice</p>

<p>

VERY COOL MISTAKES in these images...</p>

<p>

Speech Reco: &nbsp;&nbsp;extract a vector &nbsp;every 10 ms; &nbsp;whichphoneme is being spoken;

must place bets on alternatives; &nbsp;</p>

<p>

George Dahl and Abdel Mohamed... are doing better than prev systems.</p>

<p>

Phone rec on the TIMIT benchmark.</p>

<p>

Li Deng at MSR realized</p>

<p>

see Hinton &nbsp;IEEE Signal Proce 2012...</p>

<p>

<b>Lecture 1b &nbsp;real neurons</b>... source of inspiration</p>

<p>

one axon that branches...</p>

<p>

he uses axon hillock for initial segment

he uses &nbsp;1011 for neurons and 104 for synapses = 1015 synapses.

&nbsp;or 1014 for 103 synapses.</p>

<p>

synapse strengths: &nbsp;# of vesicles and # of receptors.</p>

<p>

MNIST &nbsp;each image &nbsp;has 784 pixels; &nbsp;

connect to 1000 neurons connect to 10 output targets.</p>

<p>

baby ferrets: &nbsp;reroute vision to auditory cortex... will learn to deal with vision in audit cortex;

flexibility.. can be repurposed. &nbsp;like an FPGA.

standard parallel hardware and then it adapts thru experience.</p>

<p>

lecture 1c: &nbsp;simple models of neurons:</p>

<p>

models of idealized neurons: &nbsp;&nbsp;are atoms... (remove the non-essentials)</p>

<p>

Linear neurons:</p>

<p>

y = (b = bias) + Sigma xiwi... different from below: &nbsp;linear if above threshold;</p>

<p>

<b>binary THRESHOLD neuron.</b>..</p>

<p>

mcCulloch-Pitts 1943 &nbsp;&nbsp;... &nbsp;if &nbsp;sum> threshold... then send out a spike...

(logic &nbsp;was the main inspiration)</p>

<p>

(two difft ways to write it: &nbsp;&nbsp;theta = -b....

ie z must be > theta to produce an output spike)</p>

<p>

if z > theta (threshold) then 1 else 0.</p>

<p>

rectified linear neuron... &nbsp;&nbsp;</p>

<p>

sloped &nbsp;response if z > 0</p>

<p>

sigmoid &nbsp;neuron... &nbsp;use logistic function...</p>

<p>

y = 1/ 1 + e-z &nbsp;&nbsp;smooth derivatives....</p>

<p>

stochastic binary neurons... same as sigmoid but returns a 1 or 0

by rolling die with probabiliyt p.</p>

<p>

lecture 1d <b>&nbsp;simple example of learning:</b></p>

<p>

he shows a template matching algo... too rigid &nbsp;&nbsp;(from MNIST task... 5 by 5 digits);

(this is an instructive example; &nbsp;it WORKS but its rigid and limited);</p>

<p>

the winner is the template that has the biggest overlap with the ink.</p>

<p>

Lecture 1e &nbsp;3 types of learning:</p>

<p>

<b>supervised learning: &nbsp;predict an output given an input vector.</b>..</p>

<p>

RL: &nbsp;select an action to maximize payoff. (rewards)</p>

<p>

reinforcement learning not covered in this course...</p>

<p>

unsupervised: &nbsp;discover a good internal repres of the input.</p>

<p>

Regression: &nbsp;&nbsp;predict real number output

classification: &nbsp;example: &nbsp;label 1 and 0.</p>

<p>

supervised learning &nbsp;y = f (x; W)</p>

<p>

x is an input vector; &nbsp;W a set of weights (or parameters)</p>

<p>

learning usu means &nbsp;adjusting the params to reduce error.</p>

<p>

minimize the squared diff.</p>

<p>

RL: &nbsp;maximize expected sum of future rewards;

usu discount factor; &nbsp;&nbsp;rewards are delayed;

scalar reward (not much info); &nbsp;&nbsp;will not cover RL in this course.</p>

<p>

Unsupervised learning: &nbsp;&nbsp;ignored by ML community;

clustering was the focusing...</p>

<p>

learn disparity btwn two images &nbsp;(not based on stubbing your toe 1000 times)</p>

<p>

Hi d &nbsp;inputs typicaly live near &nbsp;low d manifolds.</p>

<p>

PCA is one limted form of this... &nbsp;assume a plane in high d space.</p>

<p>

it is economical if we can reduce down to 2 bits.</p>

<p>

or big vector in which more components are zerol</p>

<p>

or &nbsp;v sparse code in which only feature is non-zero.</p>

<p>

</p>

<p>

Lecture 2a: feedfoward is most common;

but recurrent can remember... but more complex.</p>

<p>

&nbsp;feedforward &nbsp;vs &nbsp;recurrent &nbsp;(difficult to train)

feed-forward neural nets:

if more than one hidden layer, we call them "deep" NNs. (if more than one layer of hidden)</p>

<p>

at each stage eg in speech reco, want same thing said by difft speakers to be more similar

and difft things said byone speak to become less similar...</p>

<p>

recurrent nets: &nbsp;complex dynamics;</p>

<p>

&nbsp;</p>

<p>

he shows recurrent netw modeling sequences; &nbsp;arrows going from hidden satte at t0 to t1.

Ilya Sutskever 2011 &nbsp;used rec NN to predict &nbsp;new text in Wiki !!! &nbsp;&nbsp;lecture 2: part a &nbsp;architec.</p>

<p>

used 86 chars including punctuation...</p>

<p>

pick next char... one char at a time... &nbsp;most likely character.</p>

<p>

he shows example paragraph: amazingly correct.</p>

<p>

symmetr connected networks...easier to model...</p>

<p>

John Hopfield &nbsp;cannot model cycles....

*

Lecture 2b &nbsp;Perceptrons: &nbsp;early 1960s....&nbsp;

fell into disfavor cuz of Minsky and Papert:</p>

<p>

&nbsp;start &nbsp;Frank Rosenblatt...<b> prin of neurodynamics</b> &nbsp;early 1960s

v big book;

1) convert raw input vector into a vector of hand-picked feature activs.

2) learn how to weight each feature to get a single scalar.

add all the weighted features.</p>

<p>

&nbsp;</p>

<p>

lots of grand claims.... &nbsp;false claim: &nbsp;&nbsp;tanks and trucks... tanks on&nbsp;sunny day vs&nbsp;

trucks on cloudy day (just used total intensity of image)</p>

<p>

1969: &nbsp;Minsky and Papert: Perceptrons: showed&nbsp;limitations; &nbsp;their critique;

genl impression was that they debunked NNs... but not true... wildly generalized

that claim. &nbsp;&nbsp;</p>

<p>

google uses percetprons...</p>

<p>

binary threhold neurons. McCulloch and &nbsp;Pitts neurons:&nbsp;

&nbsp;0 or 1 if &nbsp;S xiwi > theta or b (bias);

to learn bias... just add an extra neuron.</p>

<p>

PERCEPTRONS: &nbsp;LECT 2C:

WEIGHT SPACE: &nbsp;&nbsp;look at his diagram: &nbsp;figure for st space:

scalar prod of wt vector and input vector;</p>

<p>

convex learning: &nbsp;combo of 2 solns is itself a soln.</p>

<p>

Lect 2e &nbsp;what preceptronss can't do:

if u make &nbsp;a huge # of features for eevery discrim then...</p>

<p>

cannot learn: &nbsp;exclusive OR: &nbsp;&nbsp;1,1 => 1 &nbsp;and 0,0 => 1 &nbsp;&nbsp;else 0.

not linearly separable... he shows figure in data space;</p>

<p>

cannot learn &nbsp;if transformastionf form a group;

translat with wrap-around form a group.</p>

<p>

NN must learn the feature detectors themselves.</p>

<p>

we need multiple layers of adaptive, non -linear hidden usints.</p>

<p>

*

lecture 3a &nbsp;learning the weights of a linear neuron.... &nbsp;like a perceptron.</p>

<p>

reduced sq error of output... &nbsp;&nbsp;Sum wixi &nbsp;&nbsp;these are linear filter neurons.</p>

<p>

*

Oct 8 2014: perceptrons always get better to a good set of weights;</p>

<p>

multilayer NNs;

outputs get closer to the desired output.</p>

<p>

linear neuron with sq error...: &nbsp;&nbsp;Sum of x dot x. = y.</p>

<p>

want to use an iterative method;</p>

<p>

only order ish, chips and ketchup &nbsp;&nbsp;several portions each; &nbsp;cashier "total price of meal"</p>

<p>

w = (w fish,,w &nbsp;chips,w &nbsp;ketchup)</p>

<p>

150 for fish

chips for 50

and 100 for a portion of ketch</p>

<p>

target value is 850; &nbsp;&nbsp;and we buy 2, 5, 3</p>

<p>

start with 50, 50, 50</p>

<p>

resid error is 350...</p>

<p>

delta wi = epsilon * &nbsp;xi (t-y)</p>

<p>

say eps = 1/35</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;</p>

<p>

&nbsp;

&nbsp;</p>

Attachments