Artificial Neural Networks
- Threshold units
- Gradient descent
- Multilayer networks
- Backpropagation
- Hidden layer representations
- Example: Face Recognition
- Advanced topics
1
Artificial Neural Networks Threshold units Gradient descent - - PDF document
Artificial Neural Networks Threshold units Gradient descent Multilayer networks Backpropagation Hidden layer representations Example: Face Recognition Advanced topics 1 Connectionist Models Consider humans: Neuron
1
2
3
4
w1 w2 wn w0 x1 x2 xn x0=1
n i=0 1 if > 0
n i=0
⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩
⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩
5
6
7
8
9
1 2
1 2 3 5 10 15 20 25 w0 w1 E[w]
⎡ ⎢ ⎣ ∂E
⎤ ⎥ ⎦
10
11
12
13
14
15
16
w1 w2 wn w0 x1 x2 xn x0 = 1
i=0 n
17
⎛ ⎜ ⎝−∂od
⎞ ⎟ ⎠
18
19
20
Inputs Outputs
Input Output 10000000 → 10000000 01000000 → 01000000 00100000 → 00100000 00010000 → 00010000 00001000 → 00001000 00000100 → 00000100 00000010 → 00000010 00000001 → 00000001
21
Inputs Outputs
22
23
24
1 2 3 4 500 1000 1500 2000 2500 Weights from inputs to one hidden unit
25
26
27
0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01 5000 10000 15000 20000 Error Number of weight updates Error versus weight updates (example 1) Training set error Validation set error 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 1000 2000 3000 4000 5000 6000 Error Number of weight updates Error versus weight updates (example 2) Training set error Validation set error
28
left strt rght up
30x32 inputs
29
left strt rght up
30x32 inputs
Learned Weights
30
⎡ ⎢ ⎢ ⎢ ⎣(tkd − okd)2 + μ
⎛ ⎜ ⎜ ⎝∂tkd
⎞ ⎟ ⎟ ⎠
⎤ ⎥ ⎥ ⎥ ⎦
31
x(t) x(t) c(t) x(t) c(t) y(t)
b
y(t + 1)
Feedforward network
unfolded in time
y(t + 1) y(t + 1) y(t – 1) x(t – 1) c(t – 1) x(t – 2) c(t – 2) (a) (b) (c)
32