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. Sort records in a database
B. Encrypt messages for transmission
C. Extract visual patterns from images
D. Compress text into sentences

2 What happens during a convolution operation?

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

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

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

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

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

5 Why is zero padding commonly added before convolution?

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

6 What does the stride of a convolution specify?

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

7 What does max pooling select from each local region?

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

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

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

9 LeNet was originally designed mainly for which task?

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

10 Which event made AlexNet especially influential in computer vision?

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

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. Only fully connected layers
B. A single convolutional filter
C. Fixed random model weights
D. Residual shortcut connections

13 What is a main feature of an Inception module?

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

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

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

15 What does batch normalization normalize during training?

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

16 What does dropout do during neural network training?

Dropout Easy
A. Duplicates every image in the dataset
B. Sets every model weight to zero
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 format of dataset labels
B. The optimizer's learning rate
C. The number of image channels
D. The names of output classes

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

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

20 When does early stopping usually end model training?

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

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. 9
C. 2
D. 6

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 detects vertical edge patterns
B. It normalizes the image intensity
C. It performs spatial downsampling
D. It removes all image noise

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 avoids nonlinear activations
B. It always contains fewer channels
C. It uses larger image files
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. One pixel on each side
C. Zero padding
D. Three pixels on each side

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 average in each window
B. , the maximum in each window
C. , the maximum in each window
D. , the maximum 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. Residual additions across identity shortcuts
D. Very deep blocks with batch normalization

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

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

31 What is a key architectural characteristic of VGG networks?

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

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

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

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

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

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

Regularization techniques Medium
A. Apply regularization
B. Increase model complexity
C. Remove validation data
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. Increase image spatial resolution
C. Replace all convolutional filters
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 encourages redundant representations
B. It permanently removes model neurons
C. It increases the training labels
D. It guarantees every feature is retained

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. Random label replacement
B. Random horizontal translation
C. Removing object pixels
D. Changing all images to one color

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. Reduce the learning rate
C. Increase the learning rate sharply
D. Randomize the learning rate every batch

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

Weight initialization Medium
A. Xavier initialization
B. All weights set to zero
C. All weights set to one
D. He 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. Continue until training loss reaches zero
B. Increase the batch size automatically
C. Remove the validation set
D. Stop and restore the best checkpoint

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-equivariant, while global average pooling makes the output translation-invariant
B. Both the feature extractor and global average pooling are strictly translation-invariant
C. The feature extractor is translation-invariant, while global average pooling makes the output translation-equivariant
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. Add to the filter and bias, then subtract from the corresponding next-layer weights
C. Multiply the filter and bias by , then multiply the corresponding next-layer weights by
D. Multiply the filter and bias by , then divide 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 values after
B. values before and value after
C. value before and values after
D. value before and value 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 cell shifts the output by cell
B. Shifting the input by cell leaves the output unchanged
C. Shifting the input by cells shifts the output by cells
D. Shifting the input by cells shifts the output by cell

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 more nonlinearities
C. A receptive field using weights and fewer nonlinearities
D. A receptive field using weights and fewer 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 every convolutional weight in both the main and residual branches 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 final batch-normalization layer to zero
D. Set the scale parameter of the residual branch's first batch-normalization layer to one

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 removes the gradient mean, while weight decay removes the parameter variance
B. Adam applies the gradient only to biases, while weight decay applies only to convolutional kernels
C. Adam evaluates the penalty after each epoch, while weight decay is evaluated after each batch
D. Adam adaptively rescales the gradient, while decoupled weight decay shrinks parameters separately

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 changes sign because batch normalization removes positive scaling
B. The normalized output is unchanged because both its mean and standard deviation scale by
C. The normalized output is divided by because only its variance scales by
D. The normalized output is multiplied by because only its mean scales by

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 independent rotation parameters, nearest-neighbor interpolation for the image, and bilinear interpolation for the mask
B. Use independent rotation parameters, bilinear interpolation for the image, and nearest-neighbor interpolation for the mask
C. Use the same rotation parameters, nearest-neighbor interpolation for the image, and bilinear interpolation for the mask
D. Use the same rotation parameters, bilinear interpolation for the image, and nearest-neighbor 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. Evaluate the selected checkpoint once on an untouched test set
B. Average the training loss over epochs before the selected checkpoint
C. Report the minimum validation loss as the final generalization estimate
D. Evaluate all checkpoints on the test set and report the minimum test loss