Convolutional Neural Networks
- 38Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Who developed the Mark I Perceptron machine in 1957?
Who developed the Mark I Perceptron machine in 1957?
38 questions
- 1
Who developed the Mark I Perceptron machine in 1957?
- A
Yann LeCun
- B
Alex Krizhevsky
- C
Geoff Hinton
- D
Frank Rosenblatt
Correct answer
DFrank Rosenblatt
Explanation
Frank Rosenblatt developed the Mark I Perceptron machine in 1957, which was the first implementation of the perceptron algorithm.
- A
- 2
What was the first time that multilayer perceptron networks were achieved?
- A
With backpropagation introduced in 1986
- B
With Adaline and Madaline by Widrow and Hoff in 1960
- C
With deep neural network pre-training in 2006
- D
With the Mark I Perceptron in 1957
Correct answer
BWith Adaline and Madaline by Widrow and Hoff in 1960
Explanation
Widrow and Hoff's Adaline and Madaline in 1960 were the first examples of stacking linear layers into multilayer perceptron networks.
- A
- 3
When was backpropagation first introduced for training neural networks?
- A
2012 by Krizhevsky
- B
1957 by Rosenblatt
- C
1998 by LeCun
- D
1986 by Rumelhart
Correct answer
D1986 by Rumelhart
Explanation
Backpropagation was first introduced in 1986 by Rumelhart, providing a principled way to train neural networks using the chain rule.
- A
- 4
What breakthrough did Hinton and Salakhutdinov achieve in 2006?
- A
They developed the first multilayer perceptron
- B
They introduced the first convolutional neural network for image classification
- C
They showed that deep neural networks could be trained effectively using pre-training with restricted Boltzmann machines
- D
They applied backpropagation to convolutional networks for digit recognition
Correct answer
CThey showed that deep neural networks could be trained effectively using pre-training with restricted Boltzmann machines
Explanation
In 2006, Hinton and Salakhutdinov demonstrated that deep neural networks could be trained effectively by pre-training each layer as a restricted Boltzmann machine, followed by backpropagation fine-tuning.
- A
- 5
Which landmark paper in 2012 dramatically reduced error on ImageNet classification using a convolutional neural network?
- A
Alex Krizhevsky's paper introducing AlexNet
- B
Fukushima's neocognitron paper
- C
Rumelhart's backpropagation paper
- D
LeCun's paper on document recognition
Correct answer
AAlex Krizhevsky's paper introducing AlexNet
Explanation
In 2012, Alex Krizhevsky from Geoff Hinton's lab introduced AlexNet, which achieved dramatic error reduction on the ImageNet classification benchmark, sparking widespread use of ConvNets.
- A
- 6
What did Hubel and Wiesel discover about neurons in the visual cortex?
- A
Neurons only respond to colors, not edges
- B
The visual cortex has no topographic mapping
- C
Neurons are all connected to the entire visual field
- D
Nearby cells represent nearby regions in the visual field, and neurons have a hierarchical organization
Correct answer
DNearby cells represent nearby regions in the visual field, and neurons have a hierarchical organization
Explanation
Hubel and Wiesel found a topographic mapping where nearby cells represent nearby visual field regions, and a hierarchical organization from simple cells (oriented edges) to complex cells (movement and orientation).
- A
- 7
In Hubel and Wiesel's experiments, what are simple cells responsive to?
- A
Oriented edges
- B
Circular spots
- C
Movement with endpoints
- D
Complex shapes like faces
Correct answer
AOriented edges
Explanation
Simple cells were found to be responsive to oriented edges, with different preferred orientations.
- A
- 8
What was the neocognitron, introduced by Fukushima in 1980?
- A
A model of the retina
- B
The first implementation of backpropagation
- C
A convolutional network trained with gradient descent
- D
A network architecture with alternating layers of simple and complex cells
Correct answer
DA network architecture with alternating layers of simple and complex cells
Explanation
Fukushima's neocognitron in 1980 was the first network architecture to model Hubel and Wiesel's simple and complex cells in alternating layers.
- A
- 9
What was Yann LeCun's contribution to convolutional neural networks in 1998?
- A
He introduced the neocognitron
- B
He applied backpropagation and gradient-based learning to train ConvNets for document and digit recognition
- C
He developed the Mark I Perceptron
- D
He proposed using GPUs for training neural networks
Correct answer
BHe applied backpropagation and gradient-based learning to train ConvNets for document and digit recognition
Explanation
In 1998, Yann LeCun demonstrated the first application of backpropagation and gradient-based learning to train convolutional neural networks, achieving strong results on digit recognition for zip codes.
- A
- 10
What is the main difference between a fully connected layer and a convolutional layer?
- A
A convolutional layer stretches the input into a long vector
- B
A convolutional layer has fewer parameters but no spatial reasoning
- C
A convolutional layer preserves spatial structure by using filters that slide over the input
- D
A fully connected layer uses small filters that slide over the input
Correct answer
CA convolutional layer preserves spatial structure by using filters that slide over the input
Explanation
Unlike fully connected layers that flatten input into a vector, convolutional layers preserve spatial structure by sliding small filters across the input and computing dot products at each location.
- A
- 11
In a convolutional layer, each filter always extends through the full depth of the input volume. True or false?
- A
Only for RGB images
- B
Only if the filter size is 1x1
- C
True
- D
False
Correct answer
CTrue
Explanation
Filters in a convolutional layer always extend the full depth of the input volume, so for an input of depth D, each filter has depth D.
- A
- 12
What operation is performed when a filter is placed at a spatial location in the input?
- A
A convolution with the flipped filter
- B
An element-wise multiplication followed by a sum
- C
All of the above
- D
A dot product between the filter and the corresponding input region
Correct answer
CAll of the above
Explanation
The operation is a dot product, which can be seen as element-wise multiplication and sum, and technically it is a correlation (convolution with flipped filter), but all descriptions apply.
- A
- 13
If an input volume is 32x32x3 and we use a 5x5 filter with stride 1 and no padding, what is the spatial size of the output activation map?
- A
32x32
- B
27x27
- C
28x28
- D
30x30
Correct answer
C28x28
Explanation
Using the formula (N - F)/stride + 1 = (32 - 5)/1 + 1 = 28, so the output is 28x28.
- A
- 14
What is the output size if we have a 7x7 input, a 3x3 filter, stride 1, and zero padding of 1?
- A
6x6
- B
9x9
- C
5x5
- D
7x7
Correct answer
D7x7
Explanation
Effective input size after padding is 7+2=9. Using formula (N - F)/stride + 1 = (9 - 3)/1 + 1 = 7, so output is 7x7.
- A
- 15
What happens when a stride of 3 is used on a 7x7 input with a 3x3 filter?
- A
The output is 3x3
- B
The output is 2x2
- C
The filter does not fit evenly, so the convolution is not performed
- D
The output is 5x5
Correct answer
CThe filter does not fit evenly, so the convolution is not performed
Explanation
With N=7, F=3, stride=3, (7-3)/3 = 4/3, which is not an integer, so the filter does not fit evenly and the convolution is not valid.
- A
- 16
Common filter sizes in convolutional layers are typically:
- A
3x3, 5x5, 7x7
- B
Only 3x3
- C
8x8, 16x16
- D
1x1, 2x2, 4x4
Correct answer
A3x3, 5x5, 7x7
Explanation
Common filter sizes are 3x3, 5x5, and 7x7, often with zero padding to maintain spatial size.
- A
- 17
To maintain the same spatial size after convolution with a 5x5 filter and stride 1, what zero padding is needed?
- A
3
- B
1
- C
2
- D
0
Correct answer
C2
Explanation
For a 5x5 filter, padding of 2 ensures output size equals input size: (N+4-5)/1+1 = N.
- A
- 18
How many parameters are in a convolutional layer with input depth 3, using 10 filters of size 5x5, with bias?
- A
7600
- B
760
- C
750
- D
250
Correct answer
B760
Explanation
Each filter has 553 = 75 weights plus 1 bias = 76 parameters. With 10 filters, total = 10*76 = 760.
- A
- 19
What is the output depth of a convolutional layer with K filters?
- A
The same as the input depth
- B
K times the input depth
- C
K
- D
1
Correct answer
CK
Explanation
Each filter produces one activation map, so the output depth equals the number of filters K.
- A
- 20
What is a 1x1 convolution useful for?
- A
Downsampling the spatial dimensions
- B
Performing a spatial convolution without any effect
- C
Changing the depth of the output while preserving spatial dimensions
- D
Replacing pooling layers
Correct answer
CChanging the depth of the output while preserving spatial dimensions
Explanation
A 1x1 convolution performs a dot product through the depth, allowing the number of filters to change the output depth while keeping spatial size the same.
- A
- 21
In a trained ConvNet, what kind of features do early layers typically detect?
- A
Complex objects like cars
- B
High-level semantic concepts
- C
Faces and text
- D
Edges and low-level features
Correct answer
DEdges and low-level features
Explanation
Early layers in a ConvNet tend to learn low-level features such as edges, oriented edges, and simple textures.
- A
- 22
What method is used to visualize what a neuron is looking for by finding the input that maximizes its activation?
- A
Backpropagation from the neuron to the input
- B
Principal component analysis
- C
Forward pass with random noise
- D
Saliency maps
Correct answer
ABackpropagation from the neuron to the input
Explanation
By performing backpropagation from a specific neuron activation, we can see what input pattern would maximize that neuron's response, revealing what it is tuned to detect.
- A
- 23
What is the purpose of a pooling layer in a convolutional network?
- A
To introduce non-linearity
- B
To downsample the spatial dimensions and reduce the number of parameters
- C
To perform classification
- D
To increase the depth of the network
Correct answer
BTo downsample the spatial dimensions and reduce the number of parameters
Explanation
Pooling layers downsample the spatial dimensions, making the representation smaller and more manageable, which reduces the number of parameters and provides some invariance.
- A
- 24
What is a common type of pooling that takes the maximum value in each region?
- A
Sum pooling
- B
Max pooling
- C
Min pooling
- D
Average pooling
Correct answer
BMax pooling
Explanation
Max pooling is a common pooling operation where the maximum value in each pooling window is taken as the output.
- A
- 25
In pooling, what is the typical relationship between filter size and stride to avoid overlap?
- A
Filter size is larger than stride
- B
Stride is always 1
- C
They are often equal, e.g., 2x2 filter with stride 2
- D
Stride is double the filter size
Correct answer
CThey are often equal, e.g., 2x2 filter with stride 2
Explanation
Common practice is to set the stride equal to the filter size (e.g., 2x2 filter with stride 2) to avoid overlap and produce a direct downsampling.
- A
- 26
Does pooling affect the depth of the output volume?
- A
Yes, pooling reduces depth by half
- B
It depends on the stride
- C
No, pooling only operates spatially and depth remains the same
- D
Yes, pooling doubles the depth
Correct answer
CNo, pooling only operates spatially and depth remains the same
Explanation
Pooling downsamples only the spatial dimensions; the depth (number of channels) remains unchanged.
- A
- 27
What is the typical architecture of a convolutional neural network?
- A
Input -> Pool -> Conv -> FC -> softmax
- B
Input -> Conv -> Softmax
- C
Input -> [Conv -> ReLU -> Pool]*N -> FC -> ReLU -> FC -> softmax
- D
Input -> FC -> Conv -> Pool -> softmax
Correct answer
CInput -> [Conv -> ReLU -> Pool]*N -> FC -> ReLU -> FC -> softmax
Explanation
The typical architecture consists of several stages of convolutional layers followed by ReLU and occasional pooling, ending with fully connected layers and a softmax for classification.
- A
- 28
What is a trend in modern convolutional architectures mentioned in the lecture?
- A
Using only fully connected layers
- B
Using smaller filters and deeper networks, and sometimes removing pooling and fully connected layers
- C
Using pooling before convolution
- D
Using larger filters and shallower networks
Correct answer
BUsing smaller filters and deeper networks, and sometimes removing pooling and fully connected layers
Explanation
Trends include smaller filters (e.g., 3x3), deeper architectures, and eliminating pooling or fully connected layers entirely in some networks like ResNet.
- A
- 29
Which modern architecture challenges the typical Conv-ReLU-Pool pattern?
- A
LeNet
- B
AlexNet
- C
Neocognitron
- D
ResNet and GoogLeNet
Correct answer
DResNet and GoogLeNet
Explanation
ResNet and GoogLeNet are newer architectures that deviate from the standard pattern, using skip connections or inception modules.
- A
- 30
What is the role of the fully connected layer at the end of a ConvNet?
- A
To aggregate all high-level features and produce class scores
- B
To introduce non-linearity
- C
To perform downsampling
- D
To preserve spatial structure for the output
Correct answer
ATo aggregate all high-level features and produce class scores
Explanation
The fully connected layer takes the output of the last convolutional/pooling layer, flattens it, and computes class scores by connecting to every element.
- A
- 31
In the context of convolutional networks, what does 'receptive field' refer to?
- A
The number of filters in a layer
- B
The region of the input that influences a neuron's activation
- C
The stride of the convolution
- D
The size of the filter
Correct answer
BThe region of the input that influences a neuron's activation
Explanation
Receptive field is the local spatial region in the input that a neuron is connected to, e.g., a 5x5 filter gives a 5x5 receptive field.
- A
- 32
How do filters in a convolutional layer share parameters?
- A
Filters share weights across different layers
- B
Filters do not share parameters
- C
The same filter weights are used at every spatial location
- D
Each spatial location has its own set of weights
Correct answer
CThe same filter weights are used at every spatial location
Explanation
In a convolutional layer, a single filter is slid across the entire spatial input, so the same set of weights is used at every location, which is parameter sharing.
- A
- 33
What is the output of a convolutional layer if the input is 56x56x64 and we apply 32 filters of size 1x1?
- A
56x56x32
- B
56x56x64
- C
56x56x1
- D
1x1x32
Correct answer
A56x56x32
Explanation
A 1x1 convolution with 32 filters slides over each spatial location, performing a dot product through depth (64), resulting in 32 activation maps of size 56x56.
- A
- 34
What is a key advantage of using GPUs for training ConvNets?
- A
GPUs reduce the number of parameters
- B
GPUs are only useful for fully connected layers
- C
GPUs have larger memory for storing datasets
- D
Parallel processing enables efficient training and inference
Correct answer
DParallel processing enables efficient training and inference
Explanation
GPUs provide parallel computing power that allows efficient training and running of ConvNets, which was crucial for scaling up networks like AlexNet.
- A
- 35
Which application of ConvNets was mentioned as being used in self-driving cars?
- A
Style transfer
- B
Segmentation and object detection
- C
Image captioning
- D
Pose recognition
Correct answer
BSegmentation and object detection
Explanation
Segmentation algorithms that label every pixel (e.g., outlining trees, people) are used in self-driving cars for scene understanding.
- A
- 36
What did the lecture indicate about the use of stride versus pooling for downsampling?
- A
Recently, stride has been used more often for downsampling instead of pooling
- B
Stride cannot be used for downsampling
- C
Pooling is always better than stride
- D
They are never used together
Correct answer
ARecently, stride has been used more often for downsampling instead of pooling
Explanation
The lecture noted that more recent architectures have begun to use stride for downsampling instead of pooling layers, as it can achieve better results.
- A
- 37
What is the purpose of zero padding in convolutional layers?
- A
To maintain the spatial size and allow filters to be applied at edges
- B
To increase the number of parameters
- C
To reduce overfitting
- D
To add extra features to the input
Correct answer
ATo maintain the spatial size and allow filters to be applied at edges
Explanation
Zero padding is used to control the output spatial size, often to keep it the same as input, and to allow filters to be centered on edge pixels.
- A
- 38
In the lecture, what was the output size when using a 7x7 input, 3x3 filter, stride 1, and no padding?
- A
5x5
- B
7x7
- C
6x6
- D
4x4
Correct answer
A5x5
Explanation
With N=7, F=3, stride=1, no padding: (7-3)/1+1 = 5, so output is 5x5.
- A

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