Convolutional Neural Networks (1) : Geena Kim
Convolutional Neural Networks (1) : Geena Kim
Convolutional Neural Networks (1) : Geena Kim
Geena Kim
Why Deep Learning?
https://www.youtube.com/watch?v=EhcpGpFHCrw
Why Deep Learning?
Medical Imaging,
AI in Medicine
P. Rajpurkar et el.,
Why Deep Learning?
Shopping,
e-commerce
Success of deep learning
Why Deep Learning?
Voice
Recog
Smar
t Dev nition,
ices
What is Artificial Neuron (Perceptron)
Activation functions
• Binary Threshold (Step function) • Sigmoid
• Tanh
• Softmax
Activation functions
• Sigmoid • Softmax
OR
Activation functions
Design Parameters
- Architecture
- Number of layers
- Number of neurons in a layer
- Activation functions
How Neural Network Training Works
hj = f(wij * Xi + bj)
j k
Weight update rule
i (Gradient descent)
0
y_pred y_target
1
…
2
Depth Width
or
Channel
Height
Dealing with images- filters
Gaussian Blurring Mexican hat filtering
What is Convolution (2D) in an Image?
filter
Image
Convolutional Layer
Q1. What is the feature map dimension, after a convolution layer with N filters?
2D Convolution
Convolutional Neural Network
W
W W
FC FC out
Conv Conv Conv
W W W
Convolutional Layer- hyper parameters
• Filter size (3x3, 5x5, • Padding • Stride
1x1….)
• Number of filters
h’
w’
d
- Learning Filters
- Weight Sharing
- Computational Efficiency
- Translational Invariance
- Robust: less overfit
Typical CNN architecture
• Str
id
e
What do the multiple convolution layers do?
What do the multiple convolution layers do?
Geometrical shapes are made of pieces of small curves, lines, and color blobs
What do the multiple convolution layers do?
arXiv:1311.2901v3
Next time!
• CNN Architectures
• How to train CNNs