uiz Space

September 2024 term · Deep Learning · BSCS3004

Deep Learning Quiz 1: 27 October 2024 (September 2024 term)

The IIT Madras BS Deep Learning (Deep Learning) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term: 12 questions for 40 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
12
Marks
40
Duration
120 min
Numerical
5
MCQ
6
MSQ
1

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 27 Oct 2024 · No negative marking.

Question 1

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 2

+2 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • D

Question 3

+2 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • D

Question 4

+3 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • C

Question 5

+4 marksOne correct option

Consider a Perceptron model which outputs(y^\hat{y}) 1 if wTx≥0\mathbf{w^T x} \ge 0 else it outputs 0. This model has been trained on the given dataset. The learned weights are w1=3\mathbf{w_1} = \mathbf{3} and w2=−1\mathbf{w_2} = -\mathbf{1}, corresponding to the two input features.

Based on this information, what is the possible range for the bias term w0\mathbf{w_0} such that the Perceptron correctly classifies all the data points?

x1x_1x2x_2yy
000
010
101
111
  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • A

Question 6

+3 marksOne correct option

A team has a data set that contains 20000 samples for training a feed-forward neural network. Suppose they used a mini-batch gradient descent algorithm with a batch size of 500 to update the weights. How many times do the weights get updated after training the network for 10 epochs?

  1. A

    400

  2. B

    20000

  3. C

    100000

  4. D

    40

Show answer

Correct answer

  • A

    400

Question 7

+2 marksOne correct option

What is the key difference between Nesterov Accelerated Gradient (NAG) and traditional momentum-based gradient descent?

  1. A

    NAG uses an exponentially weighted moving average of gradients.

  2. B

    NAG calculates the gradient at the current point rather than a look-ahead point.

  3. C

    NAG calculates the gradient at a look-ahead point.

  4. D

    NAG only works for convex optimization problems.

Show answer

Correct answer

  • C

    NAG calculates the gradient at a look-ahead point.

Question 8

+3 marksOne or more correct options

Which of the following strategies are commonly used for adjusting the learning rate during training?

Select all that apply.

  1. A

    Step decay

  2. B

    Momentum based gradient descent optimization

  3. C

    Stochastic gradient descent optimization

  4. D

    Exponential decay

Show answer

Correct answers

  • A

    Step decay

  • D

    Exponential decay

Question 9

+5 marksNumerical answer

Consider a sigmoid neuron that takes in an input vector x=[10.51]\mathbf{x} = \begin{bmatrix} 1 \\ 0.5 \\ 1 \end{bmatrix}. The weight vector w\mathbf{w} is initialized to [0.510.5]\begin{bmatrix} 0.5 \\ 1 \\ 0.5 \end{bmatrix} and b=1\mathbf{b} = 1. The output from the sigmoid neuron is

y^=11+exp−(wTx+b)\hat{\mathrm{y}} = \frac{1}{1 + exp^{-(\mathbf{w^T x} + \mathbf{b})}}

Suppose we use the following loss function

L=12(y−y^)2\mathcal{L} = \frac{1}{2}(y - \hat{y})^2

Update the weight vector once by running the vanilla Gradient Descent algorithm with η=2\eta = 2. Assume the true label y=0\mathbf{y} = \mathbf{0}. What is the new loss value (that is, the loss computed after updating the weight vector)?

(consider upto two digits after the decimal for all the calculations)

Show answer

Correct answer: 0.39 (accepted within ±0.02)

Question 10

+4 marksNumerical answer
Show answer

Correct answer: 2.16 (accepted within ±0.02)

Question 11

+4 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.6 (accepted within ±0.1)

Question 12

+5 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.15 (accepted within ±0.05)