Sri Raghavendra Educational Institutions Society (R)
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
www.skit.org.in
Course : Deep Learning (BCS714A)
CO Addressed: CO3
Presented by: Dr. Imran Ulla Khan
Department: Computer Science and Engineering
2
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Module-3 : Convolutional Networks
3
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
4
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
The Convolution Operation
x(t) = position of the spaceship at time t
Here: t = time, x(t) = position at that particular time
5
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
6
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
s(t) - This is the smoothed estimate of the spaceship's position at time t.
x(a) - This represents the measurement of the spaceship's position at time a.
w(t−a) - This represents the weight given to that measurement based on its age.
da - This means that we consider measurements over all possible times and combine them.
7
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
8
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
called the cross-correlation, which is the same as convolution
but without flipping the kernel
calculate an output value at each location.
9
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Motivation
There are three important ideas
Sparse interactions
10
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
Advantages of Sparse Connectivity
11
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
Dense connectivity – When s is formed by matrix multiplication,
connectivity is no longer sparse, so all the outputs are affected by x3.
Sparse connectivity - Tne input unit, x3, and highlight the output units
in s that are affected by this unit.
only three outputs are affected by x.
12
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
longer sparse, so all the inputs affect s3.
Sparse connectivity - one output unit, s3, and
highlight the input units in x that affect this unit.
These units are known as the receptive field of s3.
only three inputs affect s3
13
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Parameter sharing
14
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued..
element of a 3-element kernel in a convolutional model.
of the weight matrix in a fully connected model.
15
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Equivariant representations
This means:
16
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Pooling
A convolutional layer generally has three stages
17
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
Types of Pooling
Max Pooling
Average Pooling
L2 Pooling
Weighted Average Pooling
18
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
19
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
20
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
21
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
22
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Examples of architectures for classification with convolutional networks.
.
23
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Variants of the Basic Convolution Function
1. Full Convolution: Expands the input by padding it with zeros, ensuring the output is larger than the input. This helps in capturing more context around the edges.
2. Valid Convolution: No padding is added, so the output is smaller than the input because only fully overlapping parts are computed.
3. Same Convolution: Pads the input to maintain the same output size as the input.
4. Unshared Convolution: Uses different filters for each location in the input, rather than sharing the same filter across all positions. This increase flexibility but requires more parameters.
5. Tiled Convolution: Reuse filters at intervals instead of applying them at every position, balancing parameter sharing and diversity.
24
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Full Convolution
25
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Convolution operations
Operation / Type | Kernel Flip? | Padding | Padding Formula | Output Size Formula |
Valid Cross-Correlation | ❌ No | ❌ No | | |
Same Cross-Correlation | ❌ No | ✅ Yes | | |
Full Cross-Correlation | ❌ No | ✅ Yes | | |
Valid Convolution | ✅ Yes | ❌ No | | |
Same Convolution | ✅ Yes | ✅ Yes | | |
Full Convolution | ✅ Yes | ✅ Yes | | |
Unshared Convolution | ✅/❌ Depends | Depends | Depends | Depends |
Tiled Convolution | ✅/❌ Depends | Depends | Depends | Depends |
26
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
27
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Data Types
Data type | Example | Data structure |
1-D single channel | Audio waveform | Time |
1-D multichannel | Skeleton animation | Time + joint angles |
2-D single channel | Fourier audio | Frequency × Time |
2-D multichannel | Color image | Height × Width × RGB |
3-D single channel | CT scan | Height × Width × Depth |
3-D multichannel | Color video | Time × Height × Width × RGB |
28
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
Example:
Image 1 → 224 × 224 Image 2 → 224 × 224 Image 3 → 224 × 224
Example:
Image 1 → 224 × 224 Image 2 → 300 × 400 Image 3 → 512 × 512
29
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
For example, consider a collection of images in which each image has a different width and height
Example: Image 1 → 100 × 100 Image 2 → 200 × 300 Image 3 → 500 × 400
Problem with traditional neural networks
CNN handles this easily
30
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Continued…
31
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Convolutional Networks and the History of Deep Learning
- Optical Character Recognition (OCR)
- Handwriting recognition
32
27/07/2026
/skit.org.in
(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)
Sri Krishna Institute of Technology
Convolutional Networks and the History of Deep Learning
Example: an image is a 2D grid of pixels.