uiz Space

January 2026 term · Deep Learning for Computer Vision · BSDA5006

Deep Learning for Computer Vision Quiz 2: 12 April 2026 (January 2026 term)

The IIT Madras BS Deep Learning for Computer Vision (Deep Learning for Computer Vision) Quiz 2 paper sat on 12 Apr 2026, in the January 2026 term: 23 questions for 23 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
23
Marks
23
Duration
120 min
MCQ
14
MSQ
3
Numerical
6

Updated

Official paper: Deep Learning For Computer Vision 07 Apr 26 · No negative marking.

Question 1

+1 markOne correct option

Why do very deep plain CNNs (without skip connections) sometimes show higher training error than shallower CNNs?

  1. A

    The increased capacity leads to severe overfitting on the training set before convergence can be reached.

  2. B

    Optimization becomes harder; skip connections make learning identity mappings easier and improve gradient flow.

  3. C

    The receptive field becomes excessively large, causing the network to lose fine-grained spatial information.

  4. D

    Saturated activations cause exploding gradients that cannot be mitigated by standard initialization techniques.

Show answer

Correct answer

  • B

    Optimization becomes harder; skip connections make learning identity mappings easier and improve gradient flow.

Question 2

+1 markOne correct option

In a standard ResNet-50 bottleneck block, the three convolutions are typically:

  1. A

    3×3, 1×1, 3×3

  2. B

    1×1, 3×3, 1×1

  3. C

    1×1, 5×5, 1×1

  4. D

    3×3, 3×3, 3×3

Show answer

Correct answer

  • B

    1×1, 3×3, 1×1

Question 3

+1 markOne correct option

In Inception/GoogLeNet modules, the main purpose of 1×1 convolutions is to:

  1. A

    Increase the receptive field of subsequent convolutional layers without downsampling.

  2. B

    Reduce channel dimensionality (bottleneck) and add non-linearity

  3. C

    Act as a differentiable substitute for max-pooling operations to preserve exact spatial hierarchies.

  4. D

    Project the feature maps into a higher-dimensional space to separate entangled features.

Show answer

Correct answer

  • B

    Reduce channel dimensionality (bottleneck) and add non-linearity

Question 4

+1 markOne correct option

MobileNetV1 reduces computation primarily by using:

  1. A

    Grouped convolutions followed by spatial pyramid pooling

  2. B

    Depthwise separable convolutions (depthwise + pointwise)

  3. C

    Asymmetric convolutions (e.g., factorizing a 3×3 into 3×1 followed by 1×3)

  4. D

    Low-rank matrix factorization of dense classification layers

Show answer

Correct answer

  • B

    Depthwise separable convolutions (depthwise + pointwise)

Question 5

+1 markOne correct option

EfficientNet’s key scaling idea is:

  1. A

    Scaling the network depth logarithmically while linearly increasing the input resolution

  2. B

    Utilizing neural architecture search (NAS) to independently optimize depth, width, and resolution for each block

  3. C

    Compound scaling of depth, width, and resolution using a single coefficient

  4. D

    Adjusting the channel multiplier dynamically based on the target device's hardware constraints

Show answer

Correct answer

  • C

    Compound scaling of depth, width, and resolution using a single coefficient

Question 6

+1 markOne correct option

You have a pretrained CNN backbone and only 500 labeled images for a new task. A strong first baseline is:

  1. A

    Fine-tune the entire network immediately using a very small learning rate to preserve pre-trained features

  2. B

    Freeze backbone, train a new classifier head; optionally unfreeze later with smaller LR

  3. C

    Train a completely new architecture from scratch using heavy data augmentation to compensate for the lack of data

  4. D

    Unfreeze the backbone from the bottom layers upwards, gradually increasing the learning rate

Show answer

Correct answer

  • B

    Freeze backbone, train a new classifier head; optionally unfreeze later with smaller LR

Question 7

+1 markOne correct option

When fine-tuning a model, what is a common way to prevent the new training from "overwriting" or destroying the useful features already learned during pre-training?

  1. A

    Applying a high dropout rate exclusively to the newly initialized classification head

  2. B

    Use differential learning rates (small LR for the pre-trained backbone, larger LR for the new head)

  3. C

    Re-initializing the weights of the last convolutional block before training

  4. D

    Freezing the classification head and only fine-tuning the backbone features

Show answer

Correct answer

  • B

    Use differential learning rates (small LR for the pre-trained backbone, larger LR for the new head)

Question 8

+1 markOne correct option

Which method produces a heatmap by weighting convolutional feature maps using gradients of a target class score?

  1. A

    Guided Backpropagation

  2. B

    Grad-CAM

  3. C

    SmoothGrad

  4. D

    Integrated Gradients

Show answer

Correct answer

  • B

    Grad-CAM

Question 9

+1 markOne correct option

Which detector is a classic two-stage detector with an RPN + ROI feature extraction?

  1. A

    SSD

  2. B

    YOLO

  3. C

    Faster R-CNN

  4. D

    DETR

Show answer

Correct answer

  • C

    Faster R-CNN

Question 10

+1 markOne correct option

Which statement is most accurate?

  1. A

    Two-stage detectors optimize a single joint loss function for classification and localization, whereas single-stage uses decoupled losses.

  2. B

    Single-stage detectors rely on selective search for region generation, whereas two-stage detectors use a dedicated sub-network.

  3. C

    Two-stage detectors typically generate proposals then classify/refine; single- stage predicts boxes/classes densely.

  4. D

    Two-stage detectors process the entire image in one pass, while single-stage detectors evaluate crops sequentially.

Show answer

Correct answer

  • C

    Two-stage detectors typically generate proposals then classify/refine; single- stage predicts boxes/classes densely.

Question 11

+1 markOne correct option

RetinaNet is notable primarily because it introduced:

  1. A

    A novel feature pyramid network (FPN) architecture that eliminates the need for anchor boxes

  2. B

    Focal loss to address class imbalance

  3. C

    The concept of Region of Interest (RoI) pooling to align features extracted from different scales

  4. D

    A dynamic routing mechanism that directly assigns bounding box predictions to ground truth objects

Show answer

Correct answer

  • B

    Focal loss to address class imbalance

Question 12

+1 markOne correct option

A model that predicts a class label for every pixel without separating object instances is:

  1. A

    Panoptic segmentation

  2. B

    Instance segmentation

  3. C

    Semantic segmentation

  4. D

    Image matting

Show answer

Correct answer

  • C

    Semantic segmentation

Question 13

+1 markOne correct option

Vanishing gradients in vanilla RNNs are largely caused by:

  1. A

    The continuous addition of bias terms at each timestep which suppresses the gradient signal

  2. B

    Repeated multiplication by Jacobians whose spectral norm is often < 1

  3. C

    The use of unbounded activation functions like ReLU that cause activations to decay over time

  4. D

    The inability of the standard cross-entropy loss function to distinguish between short-term and long-term dependencies

Show answer

Correct answer

  • B

    Repeated multiplication by Jacobians whose spectral norm is often < 1

Question 14

+1 markOne correct option

Which statement is true?

  1. A

    Transformers process sequences sequentially but utilize parallelized loss computation to speed up training.

  2. B

    The attention mechanism strictly limits the context window size, whereas RNNs have a theoretically infinite context window in practice.

  3. C

    Self-attention enables direct interactions between any pair of tokens within a layer.

  4. D

    Transformers inherently encode positional information in their feed-forward weights, eliminating the need for explicit sequence tracking.

Show answer

Correct answer

  • C

    Self-attention enables direct interactions between any pair of tokens within a layer.

Question 15

+1 markOne or more correct options

Which statements can be true in practice when fine-tuning with small batch sizes?

Select all that apply.

  1. A

    Freezing BatchNorm running statistics can improve stability.

  2. B

    If the new dataset distribution differs, re-estimating BN stats may help.

  3. C

    Setting BatchNorm to training mode with a batch size of 1 provides an unbiased estimate of the population variance.

  4. D

    Calling .eval() on a BatchNorm layer disables the application of the learned affine parameters (γ, β).

Show answer

Correct answers

  • A

    Freezing BatchNorm running statistics can improve stability.

  • B

    If the new dataset distribution differs, re-estimating BN stats may help.

Question 16

+1 markOne or more correct options

Which statements are true?

Select all that apply.

  1. A

    Smooth L1 (Huber) is often used for box regression due to robustness to outliers.

  2. B

    Focal loss primarily addresses foreground/background (class) imbalance.

  3. C

    Standard Cross-Entropy loss scales the loss of easy examples to zero more aggressively than Focal Loss.

  4. D

    In two-stage detectors, the RPN has its own objectness + box regression losses.

Show answer

Correct answers

  • A

    Smooth L1 (Huber) is often used for box regression due to robustness to outliers.

  • B

    Focal loss primarily addresses foreground/background (class) imbalance.

  • D

    In two-stage detectors, the RPN has its own objectness + box regression losses.

Question 17

+1 markOne or more correct options

Which statements are true ?

Select all that apply.

  1. A

    Soft attention is differentiable and can be trained with backpropagation.

  2. B

    Hard attention often needs sampling + REINFORCE (or similar) due to non- differentiability.

  3. C

    Soft attention significantly reduces the computational complexity of the forward pass compared to Hard attention.

  4. D

    Cross-attention can align decoder queries to encoder keys/values (e.g., words attending to image regions).

Show answer

Correct answers

  • A

    Soft attention is differentiable and can be trained with backpropagation.

  • B

    Hard attention often needs sampling + REINFORCE (or similar) due to non- differentiability.

  • D

    Cross-attention can align decoder queries to encoder keys/values (e.g., words attending to image regions).

Question 18

+1 markNumerical answer

Input feature map: 14×14×128, output: 14×14×256, kernel: 3×3, stride 1, same padding, ignore bias. Compute number of parameters for a standard convolution layer.

Show answer

Correct answer: 294912

Question 19

+1 markNumerical answer

Using the same setup (Input feature map: 14×14×128, output: 14×14×256, kernel: 3×3, stride 1, same padding, ignore bias), compute total MACs operation (multiply-accumulates). A single MAC operation multiplies two numbers and adds the result to an accumulator.

Show answer

Correct answer: 57802752

Question 20

+1 markNumerical answer

A ResNet bottleneck block takes 256 channels in and uses: 1×1 conv to 256 channels → 3×3 conv at 256 → 1×1 conv to 1024 channels. Ignore bias. Compute total parameters in these three convolutions (exclude projection shortcut).

Show answer

Correct answer: 917504

Question 21

+1 markNumerical answer

A detector uses three pyramid levels: P3 = 80×80, P4 = 40×40, P5 = 20×20. At each location, it uses 9 anchors (3 scales × 3 aspect ratios). Compute total anchors per image.

Show answer

Correct answer: 75600

Question 22

+1 markNumerical answer

Box A: top-left (2,2), bottom-right (10,12) Box B: top-left (6,5), bottom-right (14,15) Compute IoU rounded to 3 decimals.

Show answer

Correct answer: 0.212 (accepted within ±0.001)

Question 23

+1 markNumerical answer

Let query q = [1,2]T and keys: k1 = [1,0]T, k2 = [0,1]T, k3 = [1,1]T. Scores si = qT ki. Use softmax over scores. Use exp(1)=2.72, exp(2)=7.39, exp(3)=20.09.
What is α3 (the attention weight for k3)? Provide a value in a reasonable range.

Show answer

Correct answer: 0.665 (accepted within ±0.025)