CNN Slides KD
CNN Slides KD
(CNN)
“beak” detector
Same pattern appears in different places:
They can be compressed!
What about training a lot of such “small” detectors
and each detector must “move around”.
“upper-left
beak” detector
They can be
compressed
to the same
parameters.
“middle beak”
detector
A convolutional layer
A CNN is a neural network with some convolutional layers
(and some other layers). A convolutional layer has a number
of filters that does convolutional operation.
Beak detector
A filter
Convolution vs. Fully Connected
1 0 0 0 0 1 1 -1 -1 -1 1 -1
0 1 0 0 1 0 -1 1 -1 -1 1 -1
0 0 1 1 0 0 -1 -1 1 -1 1 -1
1 0 0 0 1 0
0 1 0 0 1 0
0 0 1 0 1 0
convolution
image
x1
1 0 0 0 0 1
0 1 0 0 1 0 x2
Fully 0 0 1 1 0 0
connected 1 0 0 0 1 0 …
…
…
…
0 1 0 0 1 0
0 0 1 0 1 0
x36
Convolutional neural network for
Image recognition
Dense neural network and Convolutional neural
network
A simple CNN structure
1. LeNet-5.
• It is the first successful applications of Convolutional Networks
were developed by Yann LeCun in 1990’s.
• Its main contribution was in showing that the depth of the network is a critical
component for good performance. Their final best network contains 16
CONV/FC layers and, appealingly, features an extremely homogeneous
architecture that only performs 3x3 convolutions and 2x2 pooling from the
beginning to the end.