uiz Space

May 2026 term · Deep Learning for Computer Vision · BSDA5006

Deep Learning for Computer Vision Quiz 2: 16 August 2026 (May 2026 term)

The IIT Madras BS Deep Learning for Computer Vision (Deep Learning for Computer Vision) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term: 22 questions for 50 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
22
Marks
50
Duration
120 min
MCQ
13
MSQ
3
Numerical
6

Updated

Official paper: Deep Learning For Computer Vision 16 Aug 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

    They always overfit because parameter count increases.

  2. B

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

  3. C

    BatchNorm guarantees this never happens.

  4. D

    Using sigmoid activations instead of ReLU always fixes it.

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

MobileNetV1 reduces computation primarily by using:

  1. A

    Dilated convolutions everywhere

  2. B

    Depthwise separable convolutions (depthwise + pointwise)

  3. C

    ROI pooling

  4. D

    Fully-connected layers instead of convolutions

Show answer

Correct answer

  • B

    Depthwise separable convolutions (depthwise + pointwise)

Question 3

+1 markOne correct option

EfficientNet’s key scaling idea is:

  1. A

    Only scale depth while keeping width and resolution fixed

  2. B

    Only scale resolution while keeping depth and width fixed

  3. C

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

  4. D

    Scale width but reduce depth to keep parameters constant

Show answer

Correct answer

  • C

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

Question 4

+1 markOne correct option

Which technique most directly helps reduce catastrophic forgetting early in fine-tuning?

  1. A

    Use very high weight decay on the backbone

  2. B

    Use differential learning rates (small LR for backbone, larger LR for head)

  3. C

    Replace ReLU with sigmoid

  4. D

    Remove skip connections

Show answer

Correct answer

  • B

    Use differential learning rates (small LR for backbone, larger LR for head)

Question 5

+1 markOne correct option

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

  1. A

    PCA

  2. B

    Grad-CAM

  3. C

    Histogram equalization

  4. D

    t-SNE

Show answer

Correct answer

  • B

    Grad-CAM

Question 6

+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

    RetinaNet

Show answer

Correct answer

  • C

    Faster R-CNN

Question 7

+1 markOne correct option

RetinaNet is notable primarily because it introduced:

  1. A

    ROI Align

  2. B

    Focal loss to address class imbalance

  3. C

    Depthwise separable convolutions

  4. D

    Self-attention

Show answer

Correct answer

  • B

    Focal loss to address class imbalance

Question 8

+1 markOne correct option

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

  1. A

    Object detection

  2. B

    Instance segmentation

  3. C

    Semantic segmentation

  4. D

    Captioning

Show answer

Correct answer

  • C

    Semantic segmentation

Question 9

+1 markOne correct option

Which statement is true?

  1. A

    Transformers rely on recurrence to model sequences.

  2. B

    Transformers cannot handle variable-length sequences.

  3. C

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

  4. D

    Transformers require optical flow for vision tasks.

Show answer

Correct answer

  • C

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

Question 10

+2 marksOne correct option

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

  1. A

    3×3, 3×3, 3×3

  2. B

    1×1, 3×3, 1×1

  3. C

    5×5, 3×3, 1×1

  4. D

    1×1, 1×1, 3×3

Show answer

Correct answer

  • B

    1×1, 3×3, 1×1

Question 11

+2 marksOne correct option

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

  1. A

    Increase spatial resolution

  2. B

    Reduce channel dimensionality (bottleneck) and add non-linearity

  3. C

    Replace pooling

  4. D

    Implement residual learning

Show answer

Correct answer

  • B

    Reduce channel dimensionality (bottleneck) and add non-linearity

Question 12

+2 marksOne correct option

Which statement is most accurate?

  1. A

    Two-stage detectors do not use CNN backbones.

  2. B

    Single-stage detectors cannot regress bounding boxes.

  3. C

    Two-stage detectors typically generate proposals then classify/refine

  4. D

    Single-stage detectors require ROI pooling.

Show answer

Correct answer

  • C

    Two-stage detectors typically generate proposals then classify/refine

Question 13

+2 marksOne correct option

Vanishing gradients in vanilla RNNs are largely caused by:

  1. A

    Too much data augmentation

  2. B

    Repeated multiplication by Jacobians whose spectral norm is often < 1

  3. C

    Using convolutions before the RNN

  4. D

    Using attention layers

Show answer

Correct answer

  • B

    Repeated multiplication by Jacobians whose spectral norm is often < 1

Question 14

+3 marksOne 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

    BN always improves performance even with batch size 1.

  4. D

    Setting BN to eval disables 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 15

+3 marksOne 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

    IoU loss cannot be used for box regression.

  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 16

+3 marksOne 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

    Hard attention always has higher test-time compute than soft 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 17

+4 marksNumerical 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 18

+4 marksNumerical answer

Input feature map: 14×14×128, output: 14×14×256, kernel: 3×3, stride 1, same padding, ignore bias, compute total MACs (multiply-accumulates).

Show answer

Correct answer: 57802752

Question 19

+4 marksNumerical 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 20

+4 marksNumerical 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 21

+4 marksNumerical 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 22

+4 marksNumerical answer

Let query q = [1,2]^T and keys:k1 = [1,0]^T, k2 = [0,1]^T, k3 = [1,1]^T. Scores si = q^T 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.645 (accepted within ±0.045)