Unit 2: Convolutional Neural Networks and Training Techniques - Practice Quiz

CSE471 — Deep Learning For Computer Vision 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main purpose of a convolutional neural network in computer vision?

Convolutional neural networks Easy
A. Extract visual patterns from images
B. Sort records in a database
C. Encrypt messages for transmission
D. Compress text into sentences

2 What happens during a convolution operation?

Convolution operation Easy
A. A filter slides across the input
B. Each layer is replaced by a single value
C. All input pixels are randomly removed
D. The image channels are converted to text

3 What does a filter learn to detect in a convolutional neural network?

Filters Easy
A. Labels missing from the dataset
B. Local patterns such as edges
C. File names stored with images
D. The number of training epochs

4 What is a feature map in a convolutional neural network?

Feature maps Easy
A. The original image without any processing
B. A table containing image file paths
C. A chart showing the training duration
D. The output produced by applying a filter

5 Why is zero padding commonly added before convolution?

Padding Easy
A. To remove every border pixel
B. To help preserve spatial dimensions
C. To increase the number of image classes
D. To replace learned filter values

6 What does the stride of a convolution specify?

Stride Easy
A. How many classes the model predicts
B. How far the filter moves each step
C. How often the weights are initialized
D. How many images form the dataset

7 What does max pooling select from each local region?

Pooling Easy
A. The first value
B. The smallest value
C. The largest value
D. The median value

8 What is the receptive field of a neuron in a CNN?

Receptive fields Easy
A. The number of epochs used for training
B. The set of labels predicted by the neuron
C. The list of weights stored in the model
D. The input region affecting the neuron

9 LeNet was originally designed mainly for which task?

LeNet Easy
A. Speech signal generation
B. Machine language translation
C. Handwritten digit recognition
D. Large-scale video streaming

10 Which event made AlexNet especially influential in computer vision?

AlexNet Easy
A. Replacing images with text features
B. Creating the MNIST digit dataset
C. Winning the 2012 ImageNet competition
D. Introducing the first digital camera

11 Which type of convolutional filter is used extensively in VGG networks?

VGG Easy
A. filters
B. filters
C. filters
D. filters

12 What is the key architectural idea introduced by ResNet?

ResNet Easy
A. Residual shortcut connections
B. A single convolutional filter
C. Only fully connected layers
D. Fixed random model weights

13 What is a main feature of an Inception module?

Inception networks Easy
A. One fixed filter used in every layer
B. No activation functions between layers
C. Parallel operations with different filter sizes
D. Only fully connected operations in parallel

14 What is the main goal of regularization during neural network training?

Regularization techniques Easy
A. Remove labels from training examples
B. Convert color images to grayscale
C. Increase the number of output classes
D. Reduce overfitting to training data

15 What does batch normalization normalize during training?

Batch normalization Easy
A. Class names within the dataset
B. Image file sizes within a folder
C. Training epochs within a schedule
D. Layer activations within a mini-batch

16 What does dropout do during neural network training?

Dropout Easy
A. Sets every model weight to zero
B. Duplicates every image in the dataset
C. Permanently removes all hidden layers
D. Randomly disables some neuron outputs

17 Which operation is a common image data augmentation method?

Data augmentation methods Easy
A. Removing the validation set
B. Deleting every image label
C. Randomly flipping an image
D. Freezing every model layer

18 What does a learning rate scheduler change during training?

Learning rate scheduling Easy
A. The names of output classes
B. The optimizer's learning rate
C. The number of image channels
D. The format of dataset labels

19 Why is proper weight initialization important in a neural network?

Weight initialization Easy
A. It removes the need for an optimizer
B. It automatically labels every image
C. It supports stable and effective training
D. It guarantees perfect test accuracy

20 When does early stopping usually end model training?

Early stopping Easy
A. When the input image size increases
B. When validation performance stops improving
C. When the first training batch is loaded
D. When all model weights become identical

21 A CNN receives a grayscale image and applies 10 filters of size with stride 1 and no padding. What is the spatial size and depth of the resulting feature maps?

Convolutional neural networks Medium
A.
B.
C.
D.

22 A input is convolved with a filter using stride 1 and no padding. How many values are produced in the output feature map?

Convolution operation Medium
A. 4
B. 2
C. 6
D. 9

23 During early CNN training, a filter produces high activations mainly along vertical edges. What does this indicate about the filter?

Filters Medium
A. It performs spatial downsampling
B. It normalizes the image intensity
C. It removes all image noise
D. It detects vertical edge patterns

24 Why can a feature map in a deeper CNN layer represent more complex visual patterns than one in the first layer?

Feature maps Medium
A. It always contains fewer channels
B. It uses larger image files
C. It avoids nonlinear activations
D. It combines lower-level features

25 A image is processed with a filter using stride 1. What padding size preserves the spatial dimensions of the image?

Padding Medium
A. Two pixels on each side
B. Three pixels on each side
C. One pixel on each side
D. Zero padding

26 An input feature map has spatial size . A filter is applied with stride 2 and no padding. What is the output spatial size?

Stride Medium
A.
B.
C.
D.

27 A feature map is processed using max pooling with stride 2. What is the output size, and what does each output value represent?

Pooling Medium
A. , the maximum in each window
B. , the maximum in each window
C. , the maximum in each window
D. , the average in each window

28 Two consecutive convolutional layers use filters, stride 1, and no pooling. What is the receptive field size of one activation in the second layer relative to the original input?

Receptive fields Medium
A.
B.
C.
D.

29 Which design choice is most characteristic of the original LeNet architecture?

LeNet Medium
A. Small convolutions followed by subsampling
B. Parallel branches with factorized convolutions
C. Very deep blocks with batch normalization
D. Residual additions across identity shortcuts

30 Which combination of techniques helped AlexNet achieve strong performance on the ImageNet classification task?

AlexNet Medium
A. Residual shortcuts and depthwise convolutions
B. Very small grayscale inputs and no pooling
C. Only sigmoid activations and no augmentation
D. ReLU activations and data augmentation

31 What is a key architectural characteristic of VGG networks?

VGG Medium
A. A single large convolutional layer
B. Repeated small convolutions
C. Only fully connected processing
D. No pooling between convolutional blocks

32 A residual block computes . What is the primary benefit of the shortcut connection?

ResNet Medium
A. It improves gradient propagation
B. It guarantees zero training error
C. It removes the need for convolution
D. It reduces the input image resolution

33 Why does an Inception module apply convolutions with different kernel sizes in parallel?

Inception networks Medium
A. To eliminate all nonlinear operations
B. To capture patterns at multiple scales
C. To ensure every layer has one channel
D. To replace training with fixed filters

34 A CNN achieves very low training error but substantially higher validation error. Which intervention most directly addresses this problem?

Regularization techniques Medium
A. Remove validation data
B. Apply regularization
C. Increase model complexity
D. Train for more epochs without changes

35 During training, batch normalization is inserted between a convolutional layer and its activation. What is its main purpose?

Batch normalization Medium
A. Randomly remove feature channels
B. Replace all convolutional filters
C. Increase image spatial resolution
D. Normalize intermediate activations

36 During training, dropout randomly sets a fraction of activations to zero. Why can this improve validation performance?

Dropout Medium
A. It permanently removes model neurons
B. It encourages redundant representations
C. It guarantees every feature is retained
D. It increases the training labels

37 Which augmentation is generally suitable for an object-recognition dataset when the object can appear at different horizontal positions but its class is unchanged?

Data augmentation methods Medium
A. Changing all images to one color
B. Removing object pixels
C. Random label replacement
D. Random horizontal translation

38 A model's validation loss stops improving while the learning rate remains relatively large. Which scheduling strategy may help refine the solution?

Learning rate scheduling Medium
A. Set the learning rate permanently to zero
B. Randomize the learning rate every batch
C. Increase the learning rate sharply
D. Reduce the learning rate

39 A CNN uses ReLU activations. Which initialization is generally appropriate for maintaining activation variance across layers?

Weight initialization Medium
A. All weights set to zero
B. All weights set to one
C. He initialization
D. Xavier initialization

40 Training loss continues decreasing, but validation loss has increased for several consecutive epochs. What is the most appropriate early-stopping action?

Early stopping Medium
A. Remove the validation set
B. Increase the batch size automatically
C. Stop and restore the best checkpoint
D. Continue until training loss reaches zero

41 A fully convolutional network contains only stride- convolutions, pointwise nonlinearities, and no padding effects. A global average pooling layer is then applied to its final feature maps. Which statement best describes the resulting transformation?

Convolutional neural networks Hard
A. The feature extractor is translation-invariant, while global average pooling makes the output translation-equivariant
B. The feature extractor is translation-equivariant, while global average pooling makes the output translation-invariant
C. Both the feature extractor and global average pooling are strictly translation-invariant
D. Both the feature extractor and global average pooling are strictly translation-equivariant

42 An input of size is processed by a grouped convolution with output channels, a kernel, dilation , padding , stride , and groups. Biases are disabled. What are the output shape and number of trainable weights?

Convolution operation Hard
A. and weights
B. and weights
C. and weights
D. and weights

43 A convolutional filter and its bias produce one channel followed by ReLU. Which parameter transformation leaves the network function unchanged if the next layer is linear with respect to that channel?

Filters Hard
A. Multiply the filter and bias by , then divide the corresponding next-layer weights by
B. Multiply the filter and bias by , then divide the corresponding next-layer weights by
C. Add to the filter and bias, then subtract from the corresponding next-layer weights
D. Multiply the filter and bias by , then multiply the corresponding next-layer weights by

44 At each spatial location, a -channel feature map is transformed by a convolution to channels and then by another convolution back to channels. No nonlinearities or biases are used. What is the maximum rank of the resulting channel-wise linear transformation?

Feature maps Hard
A.
B.
C.
D.

45 A one-dimensional convolution uses input length , kernel size , dilation , and stride . Under the SAME_UPPER convention, what padding is added to obtain output length ?

Padding Hard
A. values before and value after
B. values before and values after
C. value before and value after
D. value before and values after

46 Consider a convolution with stride on an infinite input grid. Ignoring nonlinearities, which translation property is guaranteed for arbitrary convolutional weights?

Stride Hard
A. Shifting the input by cells shifts the output by cell
B. Shifting the input by cells shifts the output by cells
C. Shifting the input by cell shifts the output by cell
D. Shifting the input by cell leaves the output unchanged

47 A max-pooling layer has stride and no padding. An interior activation is the unique maximum in every pooling window that contains it. If the upstream gradient from each such output is , what gradient reaches this activation?

Pooling Hard
A.
B.
C.
D.

48 A network applies, in order: a convolution with stride , a convolution with stride , a convolution with dilation and stride , and a pooling layer with stride . All other dilations are . What are the final receptive-field size and input-space jump?

Receptive fields Hard
A. Receptive field , jump
B. Receptive field , jump
C. Receptive field , jump
D. Receptive field , jump

49 The original LeNet-5 spatial pipeline is applied unchanged to a input: valid convolution, pooling, valid convolution, pooling, and a valid C5 layer. What happens?

LeNet Hard
A. The input to C5 is , so C5 produces a output
B. The input to C5 is , so C5 produces a output
C. The input to C5 is , so C5 produces a output
D. The input to C5 is , so its kernel is invalid

50 AlexNet historically used grouped convolutions to distribute computation across two GPUs. In a convolution with two groups, what is the direct connectivity consequence?

AlexNet Hard
A. Each output channel receives all channels but produces half-resolution maps
B. Each output channel receives input from all channels using half-sized kernels
C. Each output channel receives input from only half of the preceding channels
D. Each output channel receives alternating pixels from every preceding channel

51 Assume constant channel width , stride , and no biases. Compared with one convolution, what is achieved by three consecutive convolutions?

VGG Hard
A. A receptive field using weights and more nonlinearities
B. A receptive field using weights and fewer nonlinearities
C. A receptive field using weights and fewer nonlinearities
D. A receptive field using weights and more nonlinearities

52 For a residual block , which initialization most directly makes the block begin as an identity mapping while retaining trainable parameters in the residual branch?

ResNet Hard
A. Set the scale parameter of the residual branch's final batch-normalization layer to zero
B. Set every bias in the residual branch to one and convolutional weight to zero
C. Set the scale parameter of the residual branch's first batch-normalization layer to one
D. Set every convolutional weight in both the main and residual branches to zero

53 An Inception module receives channels and has four branches: with outputs; with outputs followed by with outputs; with outputs followed by with outputs; and pooling followed by with outputs. Ignoring biases, what are the concatenated output depth and total convolutional weight count?

Inception networks Hard
A. channels and weights
B. channels and weights
C. channels and weights
D. channels and weights

54 Why is adding an penalty to the loss generally not equivalent to decoupled weight decay when training with Adam?

Regularization techniques Hard
A. Adam adaptively rescales the gradient, while decoupled weight decay shrinks parameters separately
B. Adam evaluates the penalty after each epoch, while weight decay is evaluated after each batch
C. Adam applies the gradient only to biases, while weight decay applies only to convolutional kernels
D. Adam removes the gradient mean, while weight decay removes the parameter variance

55 During training, a bias-free convolution is immediately followed by batch normalization. Ignoring , what happens if all weights of one output filter are multiplied by a positive constant ?

Batch normalization Hard
A. The normalized output is divided by because only its variance scales by
B. The normalized output is multiplied by because only its mean scales by
C. The normalized output is unchanged because both its mean and standard deviation scale by
D. The normalized output changes sign because batch normalization removes positive scaling

56 In inverted dropout, an activation is dropped with probability and otherwise divided by the keep probability. What are the expectation and variance of the training-time output, conditional on fixed ?

Dropout Hard
A. and
B. and
C. and
D. and

57 For semantic segmentation with integer-valued class masks, which augmentation pipeline correctly applies a random rotation to each image-mask pair?

Data augmentation methods Hard
A. Use the same rotation parameters, bilinear interpolation for the image, and nearest-neighbor interpolation for the mask
B. Use independent rotation parameters, bilinear interpolation for the image, and nearest-neighbor interpolation for the mask
C. Use independent rotation parameters, nearest-neighbor interpolation for the image, and bilinear interpolation for the mask
D. Use the same rotation parameters, nearest-neighbor interpolation for the image, and bilinear interpolation for the mask

58 A cosine schedule without restarts uses . If , , , and , what is ?

Learning rate scheduling Hard
A.
B.
C.
D.

59 A ReLU convolution has a kernel and input channels. Under He normal initialization, what variance and approximate standard deviation should each weight have?

Weight initialization Hard
A. Variance and standard deviation
B. Variance and standard deviation
C. Variance and standard deviation
D. Variance and standard deviation

60 A model is evaluated on the same validation set after every epoch, and the checkpoint with the lowest validation loss is selected. Which evaluation protocol best estimates the selected model's generalization performance?

Early stopping Hard
A. Average the training loss over epochs before the selected checkpoint
B. Evaluate all checkpoints on the test set and report the minimum test loss
C. Evaluate the selected checkpoint once on an untouched test set
D. Report the minimum validation loss as the final generalization estimate