Deep Learning Basics Lecture 5: Convolution
Princeton University COS 495 Instructor: Yingyu Liang
Lecture 5: Convolution Princeton University COS 495 Instructor: - - PowerPoint PPT Presentation
Deep Learning Basics Lecture 5: Convolution Princeton University COS 495 Instructor: Yingyu Liang Convolutional neural networks Strong empirical application performance Convolutional networks: neural networks that use convolution in
Princeton University COS 495 Instructor: Yingyu Liang
place of general matrix multiplication in at least one of their layers for a specific kind of weight matrix ๐ โ = ๐(๐๐๐ฆ + ๐)
๐ก ๐ข = โซ ๐ฃ ๐ ๐ฅ ๐ข โ ๐ ๐๐ ๐ก = ๐ฃ โ ๐ฅ
๐ก ๐ข = (๐ฃ โ ๐ฅ)(๐ข)
๐ก๐ข = เท
๐=โโ +โ
๐ฃ๐๐ฅ๐ขโ๐ ๐ก = ๐ฃ โ ๐ฅ
๐ก๐ข = ๐ฃ โ ๐ฅ ๐ข
a b c d e f x y z xb+yc+zd ๐ฅ = [z, y, x] ๐ฃ = [a, b, c, d, e, f]
a b c d e f x y z xc+yd+ze
a b c d e f x y z xd+ye+zf
a b c d e f x y xe+yf
y z x y z x y z x y z x y z x y a b c d e f
a b c d e f g h i j k l w x y z wa + bx + ey + fz
a b c d e f g h i j k l w x y z bw + cx + fy + gz wa + bx + ey + fz
a b c d e f g h i j k l w x y z bw + cx + fy + gz wa + bx + ey + fz Kernel (or filter) Feature map Input
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Fully connected layer, ๐ ร ๐ edges ๐ output nodes ๐ input nodes
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Convolutional layer, โค ๐ ร ๐ edges ๐ output nodes ๐ input nodes ๐ kernel size
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Multiple convolutional layers: larger receptive field
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
The same kernel are used repeatedly. E.g., the black edge is the same weight in the kernel.
the location
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Induce invariance
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
brain (V1 or primary visual cortex), and won Nobel prize for this
channels)
a b c d e f x y z xd+ye+zf
a b c d e f x y xe+yf
Figure from Deep Learning, by Goodfellow, Bengio, and Courville
Figure from Deep Learning, by Goodfellow, Bengio, and Courville