SlideShare a Scribd company logo
1 of 13
Convolutional Neural Networks
(CNN)
Convolutional Neural Networks
• Convolutional networks also known as convolutional neural
networks , or CNNs, are a specialized kind of neural network
for processing data that has a known grid-like topology.
• The name “convolutional neural network” indicates that the
network employs a mathematical operation called
Convolution. Convolution is a specialized kind of linear
operation
• Convolutional networks are simply neural networks that use
convolution in place of general matrix multiplication in at least
one of their layers
• Examples include
– time-series data as a 1-D grid taking samples at regular time intervals,
and
– image data as a 2-D grid of pixels.
The Convolution Operation
• In its most general form, convolution is an
operation on two functions of a real-valued
argument.
• Suppose we are tracking the location of a
spaceship with a laser sensor.
• Our laser sensor provides a single output x(t), the
position of the spaceship at time t.
• Both x and t are real valued, that is, we can get a
different reading from the laser sensor at any
instant in time
The Convolution Operation
• Now suppose that our laser sensor is somewhat noisy. To
obtain a less noisy estimate of the spaceship’s position, we
would like to average several measurements.
• So weighted average that gives more weight to recent
measurements with a weighting function w(a) where a is the
age of a measurement
• we obtain a new function s providing a smoothed estimate of
the position of the spaceship 𝑠 𝑡 − 𝑥 𝑎 𝑤 𝑡 − 𝑎 𝑑𝑎
• This operation is called convolution. The convolution
operation is typically denoted with an asterisk:
𝑠 𝑡 = (𝑥 ∗ 𝑤)(𝑡)
Where, x is input, w is kernel and the output s(t) is feature map
The Convolution Operation
• Here, x and w are defined only on integer t, we can define the
discrete convolution:
𝑠 𝑡 = 𝑥 ∗ 𝑤 𝑡 =
𝑎=−∞
∞
𝑥 𝑎 𝑤(𝑡 − 𝑎)
• In machine learning applications, the input is usually a
multidimensional array of data, and the kernel is usually a
multidimensional array of parameters that are adapted by the
learning algorithm.
• Finally, we often use convolutions over more than one axis at a time.
For example, if we use a two-dimensional image I as our input, we
probably also want to use a two-dimensional kernel K:
S(i, j) = (K ∗I)(i, j) =
𝑚 𝑛
I(i + m, j + n)K(m, n)
The Convolution Operation
Figure 1: An example of 2-D convolution without kernel flipping
Pooling
• A typical layer of a convolutional network
consists of three stage.
Figure 2: The components of a typical convolutional neural network layer
Pooling
• In the first stage, the layer performs several
convolutions in parallel to produce a set of linear
activations.
• In the second stage, each linear activation is run
through a nonlinear activation function, such as the
rectified linear activation function.
– This stage is sometimes called the detector stage
• In the third stage, we use a pooling function to modify
the output of the layer further.
• A pooling function replaces the output of the net at a
certain location with a summary statistic of the nearby
outputs.
• For example, the max pooling operation reports the
maximum output within a rectangular neighborhood.
Pooling
• In all cases, pooling helps to make the
representation approximately invariant to small
translations of the input.
• Invariance to translation means that if we
translate the input by a small amount, the
values of most of the pooled outputs do not
change. It is shown in figure 3, where Max
pooling introduces invariance.
Max pooling introduces invariance
• A view of the middle of the output
of a convolutional layer.
• The bottom row shows outputs of
the nonlinearity.
• The top row shows the outputs of
max pooling, with a stride of one
pixel between pooling regions and
a pooling region width of three
pixels
• A view of the same network, after the
input has been shifted to the right by
one pixel.
• Every value in the bottom row has
changed, but only half of the values in
the top row have changed, because
the max pooling units are sensitive
only to the maximum value in the
neighborhood, not its exact location.
Learned invariance
• Here it is shown that how a
set of three learned filters
and a max pooling unit can
learn to become invariant to
rotation.
• All three filters are intended
to detect a hand written 5.
• Each filter attempts to match
a slightly different
orientation of the 5.
• When a 5 appears in the
input, the corresponding
filter will match it and cause
a large activation in a
detector unit.
Figure 4: Example of learned invariances
Pooling with downsampling
• Here we use max pooling with a pool width of three and a
stride between pools of two.
• This reduces the representation size by a factor of two, which
reduces the computational and statistical burden on the next
layer.
• Note that the rightmost pooling region has a smaller size
Figure 5: Pooling with downsampling
Convolutional Networks and the
History of Deep Learning
• Convolutional networks have played an important
role in the history of deep learning.
• In the 1990s, the neural network research group at
AT&T developed a convolutional network for
reading checks.
• By the end of the 1990s, this system deployed by
NCR was reading over 10 percent of all the
checks in the United States.
• Later, several OCR and handwriting recognition
systems based on convolutional nets were
deployed by Microsoft

More Related Content

Similar to CNN.pptx

Scale free network Visualiuzation
Scale free network VisualiuzationScale free network Visualiuzation
Scale free network VisualiuzationHarshit Srivastava
 
Case Study of Convolutional Neural Network
Case Study of Convolutional Neural NetworkCase Study of Convolutional Neural Network
Case Study of Convolutional Neural NetworkNamHyuk Ahn
 
Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015Beatrice van Eden
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural networkFerdous ahmed
 
Overview of Convolutional Neural Networks
Overview of Convolutional Neural NetworksOverview of Convolutional Neural Networks
Overview of Convolutional Neural Networksananth
 
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...Machine learning by using python lesson 2 Neural Networks By Professor Lili S...
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...Professor Lili Saghafi
 
ML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptxML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptxDebabrataPain1
 
APPLIED MACHINE LEARNING
APPLIED MACHINE LEARNINGAPPLIED MACHINE LEARNING
APPLIED MACHINE LEARNINGRevanth Kumar
 
Feed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxFeed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxneelamsanjeevkumar
 
Rethinking Attention with Performers
Rethinking Attention with PerformersRethinking Attention with Performers
Rethinking Attention with PerformersJoonhyung Lee
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Universitat Politècnica de Catalunya
 
cs 601 - lecture 1.pptx
cs 601 - lecture 1.pptxcs 601 - lecture 1.pptx
cs 601 - lecture 1.pptxGopalPatidar13
 
Hands on machine learning with scikit-learn and tensor flow by ahmed yousry
Hands on machine learning with scikit-learn and tensor flow by ahmed yousryHands on machine learning with scikit-learn and tensor flow by ahmed yousry
Hands on machine learning with scikit-learn and tensor flow by ahmed yousryAhmed Yousry
 
Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSarthakKabi2
 
A brief introduction to recent segmentation methods
A brief introduction to recent segmentation methodsA brief introduction to recent segmentation methods
A brief introduction to recent segmentation methodsShunta Saito
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerZahra Sadeghi
 
Competitive Learning [Deep Learning And Nueral Networks].pptx
Competitive Learning [Deep Learning And Nueral Networks].pptxCompetitive Learning [Deep Learning And Nueral Networks].pptx
Competitive Learning [Deep Learning And Nueral Networks].pptxraghavaram5555
 

Similar to CNN.pptx (20)

Scale free network Visualiuzation
Scale free network VisualiuzationScale free network Visualiuzation
Scale free network Visualiuzation
 
Case Study of Convolutional Neural Network
Case Study of Convolutional Neural NetworkCase Study of Convolutional Neural Network
Case Study of Convolutional Neural Network
 
CNN_AH.pptx
CNN_AH.pptxCNN_AH.pptx
CNN_AH.pptx
 
CNN_AH.pptx
CNN_AH.pptxCNN_AH.pptx
CNN_AH.pptx
 
Wits presentation 6_28072015
Wits presentation 6_28072015Wits presentation 6_28072015
Wits presentation 6_28072015
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural network
 
Overview of Convolutional Neural Networks
Overview of Convolutional Neural NetworksOverview of Convolutional Neural Networks
Overview of Convolutional Neural Networks
 
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...Machine learning by using python lesson 2 Neural Networks By Professor Lili S...
Machine learning by using python lesson 2 Neural Networks By Professor Lili S...
 
ML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptxML Module 3 Non Linear Learning.pptx
ML Module 3 Non Linear Learning.pptx
 
APPLIED MACHINE LEARNING
APPLIED MACHINE LEARNINGAPPLIED MACHINE LEARNING
APPLIED MACHINE LEARNING
 
TensorFlow.pptx
TensorFlow.pptxTensorFlow.pptx
TensorFlow.pptx
 
Feed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxFeed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptx
 
Rethinking Attention with Performers
Rethinking Attention with PerformersRethinking Attention with Performers
Rethinking Attention with Performers
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
 
cs 601 - lecture 1.pptx
cs 601 - lecture 1.pptxcs 601 - lecture 1.pptx
cs 601 - lecture 1.pptx
 
Hands on machine learning with scikit-learn and tensor flow by ahmed yousry
Hands on machine learning with scikit-learn and tensor flow by ahmed yousryHands on machine learning with scikit-learn and tensor flow by ahmed yousry
Hands on machine learning with scikit-learn and tensor flow by ahmed yousry
 
Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptx
 
A brief introduction to recent segmentation methods
A brief introduction to recent segmentation methodsA brief introduction to recent segmentation methods
A brief introduction to recent segmentation methods
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
Competitive Learning [Deep Learning And Nueral Networks].pptx
Competitive Learning [Deep Learning And Nueral Networks].pptxCompetitive Learning [Deep Learning And Nueral Networks].pptx
Competitive Learning [Deep Learning And Nueral Networks].pptx
 

Recently uploaded

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsmeharikiros2
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 

Recently uploaded (20)

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 

CNN.pptx

  • 2. Convolutional Neural Networks • Convolutional networks also known as convolutional neural networks , or CNNs, are a specialized kind of neural network for processing data that has a known grid-like topology. • The name “convolutional neural network” indicates that the network employs a mathematical operation called Convolution. Convolution is a specialized kind of linear operation • Convolutional networks are simply neural networks that use convolution in place of general matrix multiplication in at least one of their layers • Examples include – time-series data as a 1-D grid taking samples at regular time intervals, and – image data as a 2-D grid of pixels.
  • 3. The Convolution Operation • In its most general form, convolution is an operation on two functions of a real-valued argument. • Suppose we are tracking the location of a spaceship with a laser sensor. • Our laser sensor provides a single output x(t), the position of the spaceship at time t. • Both x and t are real valued, that is, we can get a different reading from the laser sensor at any instant in time
  • 4. The Convolution Operation • Now suppose that our laser sensor is somewhat noisy. To obtain a less noisy estimate of the spaceship’s position, we would like to average several measurements. • So weighted average that gives more weight to recent measurements with a weighting function w(a) where a is the age of a measurement • we obtain a new function s providing a smoothed estimate of the position of the spaceship 𝑠 𝑡 − 𝑥 𝑎 𝑤 𝑡 − 𝑎 𝑑𝑎 • This operation is called convolution. The convolution operation is typically denoted with an asterisk: 𝑠 𝑡 = (𝑥 ∗ 𝑤)(𝑡) Where, x is input, w is kernel and the output s(t) is feature map
  • 5. The Convolution Operation • Here, x and w are defined only on integer t, we can define the discrete convolution: 𝑠 𝑡 = 𝑥 ∗ 𝑤 𝑡 = 𝑎=−∞ ∞ 𝑥 𝑎 𝑤(𝑡 − 𝑎) • In machine learning applications, the input is usually a multidimensional array of data, and the kernel is usually a multidimensional array of parameters that are adapted by the learning algorithm. • Finally, we often use convolutions over more than one axis at a time. For example, if we use a two-dimensional image I as our input, we probably also want to use a two-dimensional kernel K: S(i, j) = (K ∗I)(i, j) = 𝑚 𝑛 I(i + m, j + n)K(m, n)
  • 6. The Convolution Operation Figure 1: An example of 2-D convolution without kernel flipping
  • 7. Pooling • A typical layer of a convolutional network consists of three stage. Figure 2: The components of a typical convolutional neural network layer
  • 8. Pooling • In the first stage, the layer performs several convolutions in parallel to produce a set of linear activations. • In the second stage, each linear activation is run through a nonlinear activation function, such as the rectified linear activation function. – This stage is sometimes called the detector stage • In the third stage, we use a pooling function to modify the output of the layer further. • A pooling function replaces the output of the net at a certain location with a summary statistic of the nearby outputs. • For example, the max pooling operation reports the maximum output within a rectangular neighborhood.
  • 9. Pooling • In all cases, pooling helps to make the representation approximately invariant to small translations of the input. • Invariance to translation means that if we translate the input by a small amount, the values of most of the pooled outputs do not change. It is shown in figure 3, where Max pooling introduces invariance.
  • 10. Max pooling introduces invariance • A view of the middle of the output of a convolutional layer. • The bottom row shows outputs of the nonlinearity. • The top row shows the outputs of max pooling, with a stride of one pixel between pooling regions and a pooling region width of three pixels • A view of the same network, after the input has been shifted to the right by one pixel. • Every value in the bottom row has changed, but only half of the values in the top row have changed, because the max pooling units are sensitive only to the maximum value in the neighborhood, not its exact location.
  • 11. Learned invariance • Here it is shown that how a set of three learned filters and a max pooling unit can learn to become invariant to rotation. • All three filters are intended to detect a hand written 5. • Each filter attempts to match a slightly different orientation of the 5. • When a 5 appears in the input, the corresponding filter will match it and cause a large activation in a detector unit. Figure 4: Example of learned invariances
  • 12. Pooling with downsampling • Here we use max pooling with a pool width of three and a stride between pools of two. • This reduces the representation size by a factor of two, which reduces the computational and statistical burden on the next layer. • Note that the rightmost pooling region has a smaller size Figure 5: Pooling with downsampling
  • 13. Convolutional Networks and the History of Deep Learning • Convolutional networks have played an important role in the history of deep learning. • In the 1990s, the neural network research group at AT&T developed a convolutional network for reading checks. • By the end of the 1990s, this system deployed by NCR was reading over 10 percent of all the checks in the United States. • Later, several OCR and handwriting recognition systems based on convolutional nets were deployed by Microsoft