Question 1
0
1
9
10
The IIT Madras BS Deep Learning (Deep Learning) End Term paper sat on 3 Sept 2023, in the May 2023 term, set QPE1-S2: 17 questions for 50 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
0
1
9
10
Correct answer
0
Consider the statement “the attention mechanism in RNN based Encoder- Decoder architecture helps the decoder to understand the context of words in a given sentence”. The statement is
True
False
Correct answer
True
Correct answers
The model has a low bias and low variance at t = 1 than at t = 8
The model has a high bias and low variance at t = 1 than at t = 8
The model has low bias and high variance at t = 8
The model has high bias and high variance at t = 8
Correct answers
The model has a high bias and low variance at t = 1 than at t = 8
The model has low bias and high variance at t = 8
Suppose that we have a deep Feed Forward Fully Connected Neural Network. The network is observed to have a high variance. Then, which of the following techniques regularize the parameter of the network to reduce the high variance?
Adding L2 norm of weights to the loss function
Adding a noise to the input samples
Adding a noise to the output prediction
Adding more samples to the dataset by augmenting existing samples using some augmentation techniques
Dropping hidden layers in a neural network randomly during training
Correct answers
Adding L2 norm of weights to the loss function
Adding a noise to the input samples
Adding a noise to the output prediction
Adding more samples to the dataset by augmenting existing samples using some augmentation techniques
The logistic sigmoid function is defined as follows,
The parameters are initialized to . Suppose the loss in defined as
where is the true value. Compute the gradient of for the following sample .
Correct answer: -0.055 (accepted within ±0.01)
Correct answer: 0.015 (accepted within ±0.005)
Correct answer: 9176
Consider a simple RNN for a binary sequence classification problem.
Correct answer: 2.05 (accepted within ±0.1)
Based on the above data, answer the given subquestions.
How many neurons are there in the network. Every neuron in the network has bias associated with it?
Note: A neuron is a computation unit that takes in some inputs and produce an output.
Correct answer: 163
Based on the above data, answer the given subquestions.
How many learnable parameters (including bias) does the network have? Assume dropout regularization is applied.
Correct answer: 6693
Based on the above data, answer the given subquestions.
The statement that, in general, the activation function of neurons in the network are not necessarily be the same across the network is
True
False
Correct answer
True
Consider a sentence inside the quote “I may be wrong, and you may be right, and by an effort, we may get nearer to the truth”
Based on the above data, answer the given subquestions.
Correct answer: 16
Consider a sentence inside the quote “I may be wrong, and you may be right, and by an effort, we may get nearer to the truth”
Based on the above data, answer the given subquestions.
Suppose all words in the vocabulary are represented using one-hot-encoded vector of size . Then compute the ordered pair-wise (that is, Cartesian product of ) cosine similarity between two word representations and enter their sum.
Correct answer: 16
The update rule for the ADAM (Adaptive Moments) optimization algorithm is given below,
Here, and and starts from zero (that is, ). Both and are initialized to zero. However, the update rule uses the bias corrected version of and . Which of the following is the bias corrected version of ?
Helper:
and assume that , if required.
Correct answer
Based on the above data, answer the given subquestions.
Suppose the input is (one hot representation of context word) and the corresponding label is (one hot representation of target word). The quantities are computed as follows,
Choose the expression that the model has to minimize using cross entropy loss (Assume natural logarithm where required).
Correct answer
Based on the above data, answer the given subquestions.
Correct answers