Question 1
(A figure from the original paper is missing from the source site.)
(A figure from the original paper is missing from the source site.)
(A figure from the original paper is missing from the source site.)

The IIT Madras BS Deep Learning (Deep Learning) End Term paper sat on 10 May 2026, in the January 2026 term: 20 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.
(A figure from the original paper is missing from the source site.)
(A figure from the original paper is missing from the source site.)
(A figure from the original paper is missing from the source site.)
Correct answer
(A figure from the original paper is missing from the source site.)
Consider a vanilla Recurrent Neural Network (RNN) and an LSTM network with the same input dimension, hidden dimension, and output dimension.
Statement 1: The number of trainable parameters in a vanilla RNN is higher than that in an LSTM network. Statement 2: An LSTM has a higher number of parameters because it contains multiple gates (input gate, forget gate, output gate, and candidate state), each having separate weight matrices and biases.
Choose the correct option from the following.
Statement 1 is true, and Statement 2 is the correct reason.
Statement 1 is true, but Statement 2 is false.
Statement 1 is false, but Statement 2 is true.
Statement 1 is false, and Statement 2 is false.
Correct answer
Statement 1 is false, but Statement 2 is true.
Correct answer
Yes
No
Correct answer
Yes
Match the attention mechanism in Column I with the correct description in Column II.
Correct answer
Correct answer: 0.5
Correct answer: 0
It remains the same after the first update using stochastic gradient descent.
Different neurons in the first hidden layer will receive different gradient updates.
Correct answer
Based on the above data, answer the given subquestions.
Find the total number of parameters in the network.
Correct answer: 9
Based on the above data, answer the given subquestions.
The loss is defined as
. If
then compute
.
Correct answer: 0
After training a neural network, the training error is observed to be 10%. It gives the test error to be 56%. Which of the following methods can be used to reduce the test error?
Adam
ReLu activation
Injecting noise at input
Maxout
L2 regularization
Correct answers
Injecting noise at input
L2 regularization
Consider a transformer model using scaled dot-product attention:
If all attention heads learn identical projection matrices, multi-head attention behaves equivalently to single-head attention.
For a fixed embedding dimension, increasing the number of heads always increases the total number of parameters in the query, key, and value projections.
Correct answers
If all attention heads learn identical projection matrices, multi-head attention behaves equivalently to single-head attention.
Correct answer: 2
Positive
Zero
Negative
Correct answer
Positive
Which of the following problems of the co-occurrence matrix are addressed by applying Singular Value Decomposition (SVD)? Choose all the correct options.
High dimensional representation
Sparse matrix with many zeros
Captures latent semantic similarity between words
Increases vocabulary size
Produces dense low-dimensional embeddings
Correct answers
Sparse matrix with many zeros
Captures latent semantic similarity between words
Produces dense low-dimensional embeddings
•
Compute the total number of elements in the resulting attention output.
Correct answer: 512
•
Correct answer: 12288
•
Assume a Feed-Forward Network (FFN) follows the Multi-Head Attention layer in the encoder. The FFN consists of two linear transformations:
Correct answer: 33088
Assume that your CBOW model outputs a probability distribution over a vocabulary of 20,000 words for a given context. If the correct target word is word number 150, and the model's predicted probability for this word is 0.2, calculate the cross-entropy loss for this prediction. Enter the answer correct to two decimal places. (use natural log)
Correct answer: 1.6 (accepted within ±0.03)
In the Skip-gram model with a window size of 2 (on each side), how many unique pairs of target and context words will be generated for the following sentence. Note: Ignore punctuation in your calculation
'Learning from data helps build intelligent systems for society'
Correct answer: 30