uiz Space

May 2025 term · Deep Learning · BSCS3004

Deep Learning Quiz 2: 3 August 2025 (May 2025 term)

The IIT Madras BS Deep Learning (Deep Learning) Quiz 2 paper sat on 3 Aug 2025, in the May 2025 term: 16 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
16
Marks
50
Duration
120 min
MCQ
9
MSQ
1
Numerical
6

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 03 Aug 2025 · No negative marking.

Question 1

+3 marksOne correct option

Consider four training experiments, each involving a neural network trained on the same dataset for 50 epochs using gradient descent. The loss curves for these models are shown below. The model obtained at the end of 50 epochs is retained in each of the four cases. The solid curve is the training loss and the dashed curve is the validation loss.

Now consider these four statements.
(A) Learning rate used is too high
(B) Low bias and high variance
(C) Low bias and low variance
(D) High bias and low variance
Choose the most appropriate pairing of models with the statements.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 2

+3 marksOne or more correct options

Which of the following optimizers use an adaptive learning rate?

Select all that apply.

  1. A

    ADAM

  2. B

    RMSprop

  3. C

    Momentum based GD

  4. D

    Nesterov accelerated gradient descent

Show answer

Correct answers

  • A

    ADAM

  • B

    RMSprop

Question 3

+2 marksNumerical answer

An autoencoder is a feedforward neural network in which the input and the output layer have the same number of neurons. There is one hidden layer in between. The number of neurons in the hidden layer is 30% of the neurons present in the input layer. Call the two weight matrices W1W_1 and W2W_2. Ignore biases everywhere. We now consider two instances of this architecture:

  • Network-1: W1W_1 and W2W_2 are not tied, meaning, they are two different weight matrices with no parameters being shared.
  • Network-2: W1W_1 and W2W_2 are tied, meaning, W2=W1TW_2 = W_1^T with parameters being shared.

Both networks are trained on some dataset and their parameters are saved on a hard-disk with efficient storage being the focus. If the number of parameters that need to be stored in networks 1 and 2 are n1n_1 and n2n_2 respectively, find n1/n2n_1/n_2.

Show answer

Correct answer: 2

Question 4

+4 marksNumerical answer
Show answer

Correct answer: 37.32 (accepted within ±36.68)

Question 5

+3 marksOne correct option

The input volume to a convolutional layer of a CNN has shape 64 × 64 × 8, where 8 is the depth or the number of channels. The conv-layer has 16 kernels each of spatial extent 5 × 5. The stride is 1 and padding is 2. Ignore biases.
Based on the above data, answer the given subquestions.

Which of these is the shape of the output volume after the convolution operation?

  1. A

    64 × 64 × 16

  2. B

    62 × 62 × 16

  3. C

    64 × 64 × 8

  4. D

    32 × 32 × 8

  5. E

    32 × 32 × 16

Show answer

Correct answer

  • A

    64 × 64 × 16

Question 6

+3 marksNumerical answer

The input volume to a convolutional layer of a CNN has shape 64 × 64 × 8, where 8 is the depth or the number of channels. The conv-layer has 16 kernels each of spatial extent 5 × 5. The stride is 1 and padding is 2. Ignore biases.
Based on the above data, answer the given subquestions.

Find the total number of parameters associated with the convolutional layer.

Show answer

Correct answer: 3200

Question 7

+3 marksOne correct option

The input volume to a convolutional layer of a CNN has shape 64 × 64 × 8, where 8 is the depth or the number of channels. The conv-layer has 16 kernels each of spatial extent 5 × 5. The stride is 1 and padding is 2. Ignore biases.
Based on the above data, answer the given subquestions.

If the input volume to the convolutional layer is 128 × 128 × 8, would the number of parameters associated with the conv layer change?

  1. A

    Yes, it will double.

  2. B

    Yes, it will halve.

  3. C

    Yes, it will quadrapule.

  4. D

    No, it will remain the same.

Show answer

Correct answer

  • D

    No, it will remain the same.

Question 8

+3 marksOne correct option

Consider an ML model for which the un-regularized loss on some dataset DD as a function of parameter vector w=(w1,w2)w = (w_1, w_2) is LD(w)=w12+w22−2w1−2w2+2L_D(w) = w_1^2 + w_2^2 - 2w_1 - 2w_2 + 2. Let the L2- regularization term be LR(w)=λ2⋅∣∣w∣∣2L_R(w) = \frac{\lambda}{2} \cdot ||w||^2, where λ>0\lambda > 0 is the regularization rate. The L2-regularized total loss is L=LD+LRL = L_D + L_R. Define:

wD∗=arg⁡min⁡w LDw∗=arg⁡min⁡w L\begin{aligned} w_D^* &= \underset{w}{\arg\min}\ L_D \\ w^* &= \underset{w}{\arg\min}\ L \end{aligned}

arg min returns the value of ww at which the function attains its minimum.

The subquestions are independent of each other.

Based on the above data, answer the given subquestions.

  1. A

    (1, 1)

  2. B

    (0, 0)

  3. C

    (−1,−1)

  4. D

    (1,−1)

  5. E

    (−1, 1)

Show answer

Correct answer

  • A

    (1, 1)

Question 9

+3 marksNumerical answer

Consider an ML model for which the un-regularized loss on some dataset DD as a function of parameter vector w=(w1,w2)w = (w_1, w_2) is LD(w)=w12+w22−2w1−2w2+2L_D(w) = w_1^2 + w_2^2 - 2w_1 - 2w_2 + 2. Let the L2- regularization term be LR(w)=λ2⋅∣∣w∣∣2L_R(w) = \frac{\lambda}{2} \cdot ||w||^2, where λ>0\lambda > 0 is the regularization rate. The L2-regularized total loss is L=LD+LRL = L_D + L_R. Define:

wD∗=arg⁡min⁡w LDw∗=arg⁡min⁡w L\begin{aligned} w_D^* &= \underset{w}{\arg\min}\ L_D \\ w^* &= \underset{w}{\arg\min}\ L \end{aligned}

arg min returns the value of ww at which the function attains its minimum.

The subquestions are independent of each other.

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 10

+3 marksOne correct option

Consider an ML model for which the un-regularized loss on some dataset DD as a function of parameter vector w=(w1,w2)w = (w_1, w_2) is LD(w)=w12+w22−2w1−2w2+2L_D(w) = w_1^2 + w_2^2 - 2w_1 - 2w_2 + 2. Let the L2- regularization term be LR(w)=λ2⋅∣∣w∣∣2L_R(w) = \frac{\lambda}{2} \cdot ||w||^2, where λ>0\lambda > 0 is the regularization rate. The L2-regularized total loss is L=LD+LRL = L_D + L_R. Define:

wD∗=arg⁡min⁡w LDw∗=arg⁡min⁡w L\begin{aligned} w_D^* &= \underset{w}{\arg\min}\ L_D \\ w^* &= \underset{w}{\arg\min}\ L \end{aligned}

arg min returns the value of ww at which the function attains its minimum.

The subquestions are independent of each other.

Based on the above data, answer the given subquestions.

  1. A

    Yes, there is at least one such value for which this happens.

  2. B

    Yes, there are infinitely many values for which this happens.

  3. C

    Yes, there are finitely many values from which this happens.

  4. D

    No, there is no such λ> 0 for which this happens.

Show answer

Correct answer

  • D

    No, there is no such λ> 0 for which this happens.

Question 11

+3 marksOne correct option

Based on the above data, answer the given subquestions.

  1. A
  2. B
  3. C
Show answer

Correct answer

  • A

Question 12

+3 marksOne correct option

Based on the above data, answer the given subquestions.

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • A

Question 13

+4 marksOne correct option

Based on the above data, answer the given subquestions.

  1. A
  2. B
  3. C
Show answer

Correct answer

  • A

Question 14

+3 marksOne correct option

For a regression problem, consider an image X of size 4×4 and true label y that is passed through a toy convolutional network that has one convolutional layer with a single kernel followed by a max- pooling layer. Ignore the bias.

W denotes the kernel. S is the stride. P is the padding and K is the number of kernels. F is the spatial extent of the kernel for the max-pooling operation.
Based on the above data, answer the given subquestions.

Which of the following is the output produced by the conv+relu layer?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 15

+3 marksNumerical answer

For a regression problem, consider an image X of size 4×4 and true label y that is passed through a toy convolutional network that has one convolutional layer with a single kernel followed by a max- pooling layer. Ignore the bias.

W denotes the kernel. S is the stride. P is the padding and K is the number of kernels. F is the spatial extent of the kernel for the max-pooling operation.
Based on the above data, answer the given subquestions.

Show answer

Correct answer: 5

Question 16

+4 marksNumerical answer

For a regression problem, consider an image X of size 4×4 and true label y that is passed through a toy convolutional network that has one convolutional layer with a single kernel followed by a max- pooling layer. Ignore the bias.

W denotes the kernel. S is the stride. P is the padding and K is the number of kernels. F is the spatial extent of the kernel for the max-pooling operation.
Based on the above data, answer the given subquestions.

If the loss is defined as L(y,y^)=12⋅(y^−y)2L(y, \hat{y}) = \frac{1}{2} \cdot (\hat{y} - y)^2 and W=[W11W12W13W21W22W23W31W32W33]W = \begin{bmatrix} W_{11} & W_{12} & W_{13} \\ W_{21} & W_{22} & W_{23} \\ W_{31} & W_{32} & W_{33} \end{bmatrix}, then compute ∂L∂W13\frac{\partial L}{\partial W_{13}}.

Show answer

Correct answer: 2