Convolutional Neural Networks
- 28Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
Why are MLPs not translation invariant in image classification?
The network reacts differently depending on where an object appears in the image. For digit classification, centered digits are classified well, but off-center digits reduce prediction reliability.
Or swipe the card
28 cards
Why are MLPs not translation invariant in image classification?
The network reacts differently depending on where an object appears in the image. For digit classification, centered digits are classified well, but off-center digits reduce prediction reliability.
What problem arises from the large number of parameters in a fully connected network for image data?
Excessive parameters make the network highly prone to overfitting and require vast amounts of data and training time.
Estimate the number of parameters in a fully connected network with a 224x224x3 input and three hidden layers of 128 neurons each.
Over 300 billion parameters.
What motivated the development of Convolutional Neural Networks?
To more effectively and efficiently process image data, overcoming the limitations of MLPs like lack of translation invariance and excessive parameters.
Describe the high-level architecture of VGG-16.
It consists of five convolutional blocks (feature extractor) followed by three fully connected layers (classifier).
What is the input shape to VGG-16?
224x224x3 (RGB color image).
How does the shape of data change as it passes through a CNN?
Spatial dimensions (height and width) are intentionally reduced, while the depth (number of channels) is increased.
What are the two main components of a CNN architecture?
Feature extractor (backbone/body) and classifier (head).
What is a convolutional block in a CNN?
A sequence of layers typically containing one or more 2D convolutional layers followed by a pooling layer.
How does a convolutional layer process input data?
It uses filters (kernels) that slide across the input. At each position, a convolution operation (dot product) is performed, and the result is passed through an activation function to produce a value in the output activation map.
What determines the number of channels (depth) in the output of a convolutional layer?
The number of filters used in that layer. Each filter produces one activation map (channel).
Why must the depth of a filter match the depth of the input?
To perform the convolution operation, the filter is applied across all input channels simultaneously, and the results are summed (plus bias).
Given a 224x224x3 input and a convolutional layer with one 3x3x3 filter, how many trainable parameters are in that filter?
28 (27 weights + 1 bias).
How does stride affect the output spatial size of a convolution?
A larger stride reduces the output size. Default stride is 1.
What is the role of padding in convolutional layers?
Padding adds extra pixels around the input to control the spatial size of the output, often used to maintain the same size.
Are the kernels in a CNN fixed or learned?
They are learned during training from random initial values.
How do multiple filters in a convolutional layer behave differently?
Each filter learns to detect different types of features, such as vertical edges, horizontal edges, or color blobs.
Describe the concept of hierarchical feature learning in CNNs.
Early layers detect basic structures (edges, corners, color blobs); deeper layers detect more complex, compositional features (e.g., wheels, faces).
What types of features do filters in the first convolutional layer typically learn?
Basic structural elements like edges and color blobs.
What is the purpose of pooling layers in a CNN?
To reduce the spatial dimensions of activation maps, decreasing the number of parameters and computations, and helping to mitigate overfitting.
What are the two common types of pooling? Which is most frequently used?
Average pooling and max pooling. Max pooling is the most common.
How does max pooling work with a 2x2 filter and stride 2?
The 2x2 window slides over the input with a step of 2, and at each position the maximum value is output. This reduces spatial dimensions by half.
Do pooling layers have trainable parameters?
No.
Why is flattening required before the fully connected layers in a CNN?
The output of the last convolutional block is a 3D tensor. Flattening converts it into a 1D vector so it can be fed into the fully connected (dense) classifier.
What is the role of the fully connected layers in a CNN?
To transform the extracted features from the feature extractor into class probabilities, using learned weights to combine features from the entire image.
How many connections are approximately between the flattened activation maps and the first fully connected layer in VGG-16?
Over 100 million.
In a trained CNN, how does the network map different input images to correct class predictions?
Fixed weights in the feature extractor produce different activation maps for different images. The classifier's large weights and high activations at each layer combine to fire the correct output neuron.
What is a receptive field in a convolutional layer?
The region of the input that a filter covers at a given position.

Ask anything
We've read this whole study set, so questions about it get the best answers.