Quiz Space

September 2023 term · Deep Learning · BSCS3004

Deep Learning Quiz 2: 3 December 2023 (September 2023 term)

The IIT Madras BS Deep Learning (Deep Learning) Quiz 2 paper sat on 3 Dec 2023, in the September 2023 term: 17 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
17
Marks
50
Duration
120 min
MCQ
4
MSQ
6
Written
3
Numerical
4

Updated

Official paper: IIT M DEGREE AN2 EXAM QDB2 03 Dec 2023 · No negative marking.

Question 1

+2 marksOne correct option

The statement that the bias correction in ADAM optimizer is an absolute requirement for it to converge to a local minimum is

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 2

+5 marksOne or more correct options

Team AA constructs a dataset D={X,y}\mathcal{D} = \{X, y\} that contains NN samples. Each sample xi∈Rx_i \in \mathbb{R} is uniformly sampled from the function y=f(x)=1+c1x+c2x2+⋯+cpxpy = f(x) = 1 + c_1x + c_2x^2 + \cdots + c_px^p in the interval −1≤x≤1-1 \le x \le 1, with p<80p < 80. The dataset is then given to Team BB with the information that the samples were not corrupted by noise. They split the dataset into a training set and a test (validation) set.

Team BB assumes a polynomial function g(x)=k0+k1x+k2x2+⋯+kdxdg(x) = k_0 + k_1x + k_2x^2 + \cdots + k_dx^d of unknown degree dd. Therefore, they decided to vary the degree of the polynomial from 1 to 100. For instance, setting d=2d = 2 gives the polynomial g(x)=k0+k1x1+k2x2g(x) = k_0 + k_1x_1 + k_2x^2 and the parameters are estimated using the training set.

They measure the mean squared error for each setting. Select the true statement(s). There exists a polynomial degree d∈{1,100}d \in \{1, 100\} for which

Select all that apply.

  1. A

    the training error becomes zero

  2. B

    the testing error becomes zero

  3. C

    both the bias and variance of the model become zero

  4. D

    model has zero bias and non-zero variance

  5. E

    model has non-zero bias and non-zero variance

Show answer

Correct answers

  • A

    the training error becomes zero

  • B

    the testing error becomes zero

  • C

    both the bias and variance of the model become zero

  • D

    model has zero bias and non-zero variance

  • E

    model has non-zero bias and non-zero variance

Question 3

+5 marksOne or more correct options

Select all that apply.

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

Correct answer

  • D

Question 4

+3 marksOne or more correct options

Which of the following optimization algorithms adapts the learning rate based on the current gradient and history of gradients?

Select all that apply.

  1. A

    Gradient Descent with exponentially decaying learning rate

  2. B

    RMSProp

  3. C

    Nesterov Accelerated Gradient Descent with step decay

  4. D

    ADAM

  5. E

    Ada-Delta

Show answer

Correct answers

  • B

    RMSProp

  • D

    ADAM

  • E

    Ada-Delta

Question 5

+3 marksOne or more correct options

In general, applying regularization to an over-fitted deep learning model

Select all that apply.

  1. A

    decreases the training error of the over-parameterized model

  2. B

    increases the training error of the over-parameterized model

  3. C

    reduces the testing error of the over-parameterized model

  4. D

    improves the generalization ability of the over-parameterized model

Show answer

Correct answers

  • B

    increases the training error of the over-parameterized model

  • C

    reduces the testing error of the over-parameterized model

  • D

    improves the generalization ability of the over-parameterized model

Question 6

+4 marksOne or more correct options

Assume a team has trained a CNN model for image classification. They observed that the model was performing poorly (that is, both training and testing errors were high). Which of the following would be a more appropriate measure that might improve the performance of the model?

Select all that apply.

  1. A

    apply data augmentation techniques

  2. B

    inject noise at the input

  3. C

    increase the model complexity by adding more layers (therefore, more parameters)

  4. D

    decrease the model complexity by removing a few layers

  5. E

    apply L2 regularization

Show answer

Correct answer

  • C

    increase the model complexity by adding more layers (therefore, more parameters)

Question 7

+4 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • B

Question 8

+2 marksOne correct option

Based on the above data, answer the given subquestions.

The statement that,“ The gradient of the weight w changes slowly as compared to the gradient of the bias b if we move on the contours of the loss surface in the direction parallel to the weight.” is

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 9

+2 marksOne correct option

Based on the above data, answer the given subquestions.

The statement that,“the gradient of the bias b changes rapidly as compared to the gradient of the weight w if we move on the contours of the loss surface in the direction perpendicular to the weight” is

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 10

+2 marksOne correct option

Based on the above data, answer the given subquestions.

The statement that,“The algorithm converged to the (local or global) minimum after 500 iterations” is

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 11

+2 marksWritten answer

Based on the above data, answer the given subquestions.

The dimension of C1 = 101 × 101 × 100. Suppose we use 25 kernels (filters) of shape 3 × 3, with stride 1 and no zero padding, to generate the convolution layer 2. Then, enter the number of parameters (excluding bias) in the convolution layer-2 (If your answer is 1050, enter 1050)

Show answer

Correct answer: 22,500

Question 12

+2 marksWritten answer

Based on the above data, answer the given subquestions.

We know that the shape of the flattened layer is N × 1. What is the value of N ?(If your answer is 1050,enter 1050)

Show answer

Correct answer: 14,400

Question 13

+2 marksWritten answer

Based on the above data, answer the given subquestions.

Suppose we feed in the features F of dimension N × 1 to a fully connected layer with 4 neurons (assume no bias) with the softmax activation function. How many additional parameters are added to the network?

Show answer

Correct answer: 57,600

Question 14

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1

Question 15

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 4

Question 16

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.09 (accepted within ±0.01)

Question 17

+4 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: -0.24 (accepted within ±0.01)