Question 1
reduces
remains 90^(o)
increases
insufficient information
The IIT Madras BS Deep Learning (Deep Learning) End Term paper sat on 24 Dec 2023, in the September 2023 term, set ADB3: 18 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.
reduces
remains 90^(o)
increases
insufficient information
Correct answer
remains 90^(o)
200
100
301
201
300
Correct answer
201
Increasing the value of b shifts the sigmoid function to the left (i.e., towards negative infinity)
Increasing the value of b shifts the sigmoid function to the right (i.e., towards positive infinity)
Increasing the value of w increases the steepness of the sigmoid function
Increasing the value of w decreases the steepness of the sigmoid function
Correct answers
Increasing the value of b shifts the sigmoid function to the right (i.e., towards positive infinity)
Increasing the value of w decreases the steepness of the sigmoid function
Suppose that a neural network has millions of parameters (weights and biases). A team decides to use an optimization algorithm with a learning rate scheme that is local to each parameter in the network. Moreover, the learning rate changes in each iteration such that it should decrease on the steep surface and increase on the gentle surface. Which of the following optimization algorithms satisfy the team’s requirements?
GD with an exponentially decaying learning rate scheduler
AdaGrad
AdaM
NADAM
RMSProp
SGD with line search
Correct answers
AdaM
NADAM
RMSProp
Suppose we divide the available training samples into mini batches of size 32 to train a model with mini-batch gradient descent. Assume that we have 33 different machines to train the model. One out of 33 machines acts as a master machine. The actual weight update happens in the master machine. The master machine can send one sample for the rest of the machines along with a copy of the model in its current state to compute the gradients. We call this entire set-up parallelization. Which of the following deep learning architectures can be trained in parallel then?
Fully connected Feed forword neural network
Convolutional Neural network
Reccurent Neural Network
Transformers
Correct answers
Fully connected Feed forword neural network
Convolutional Neural network
Reccurent Neural Network
Transformers
Select all correct statements about the bias and variance of deep learning models.
A model with high bias produces high training error and high validation error
A model with high variance produces high training error and low validation error
A model with high variance produces low training error and high validation error
Bias and variance can be both made zero if the underlying distribution of the samples are known and also the samples are not corrupted by noise
Correct answers
A model with high bias produces high training error and high validation error
A model with high variance produces low training error and high validation error
Bias and variance can be both made zero if the underlying distribution of the samples are known and also the samples are not corrupted by noise
Dropout reduces (removes) 25 percent of weights from the model during training and inference
For each iteration, 75% of neurons are dropped randomly from the model
For each iteration, 25% of neurons are dropped randomly from the model
Each weight gets multiplied by a factor p during inference.
Each weight gets multiplied by a factor 1 − p during inference.
Correct answers
For each iteration, 25% of neurons are dropped randomly from the model
Each weight gets multiplied by a factor p during inference.
The loss surface is convex (with a global minimum)
The loss value oscillates over iterations
The loss value decreases consistently over iterations
The loss value increases consistently
Correct answers
The loss surface is convex (with a global minimum)
The loss value decreases consistently over iterations
definitely, the loss value at the end of the training is zero
The neuron in the hidden layer might be experiencing a vanishing gradient problem
The loss could have converged to the local minimum after a finite number of iterations
The loss value at the end of the training may not necessarily be zero
Correct answers
The neuron in the hidden layer might be experiencing a vanishing gradient problem
The loss could have converged to the local minimum after a finite number of iterations
The loss value at the end of the training may not necessarily be zero
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 produces an output.
Correct answer: 263
Based on the above data, answer the given subquestions.
How many parameters (including bias) does the network have to learn? Assume dropout regularization is applied.
Correct answer: 19293
Based on the above data, answer the given subquestions.
What is the size of the vocabulary |V |?
Correct answer: 9
Based on the above data, answer the given subquestions.
Suppose we consider the three words (wood,woodchuck, much). Assume we use one-hot encoded vector representation for all these words. The statement that,“The cosine similarity between the pair (wood,woodchuck) is greater than the pair (wood,much)” is
True
False
Correct answer
False
Suppose that we need to develop an RNN model for sentiment classification tasks. The input to the model is a sentence composed of 10 words and the output is the sentiment (positive or negative). Assume that each word is represented as a vector of length and the output labels are one-hot encoded. Further, the state vector and the prediction are computed as follows
The state vector is initialized with all zeros of size .
Based on the above data, answer the given subquestions.
How many parameters (including bias) are there in the network?
Correct answer: 7652
Suppose that we need to develop an RNN model for sentiment classification tasks. The input to the model is a sentence composed of 10 words and the output is the sentiment (positive or negative). Assume that each word is represented as a vector of length and the output labels are one-hot encoded. Further, the state vector and the prediction are computed as follows
The state vector is initialized with all zeros of size .
Based on the above data, answer the given subquestions.
For the given input sentence containing 10 words, how many sequential time steps does RNN take to make a final prediction?
Correct answer: 10
Suppose that we need to develop an RNN model for sentiment classification tasks. The input to the model is a sentence composed of 10 words and the output is the sentiment (positive or negative). Assume that each word is represented as a vector of length and the output labels are one-hot encoded. Further, the state vector and the prediction are computed as follows
The state vector is initialized with all zeros of size .
Based on the above data, answer the given subquestions.
Suppose we train the model using the BPTT algorithm for 200 iterations. In each iteration, we feed the input sentence and make a prediction, compute the loss, back-propagate through time and update the parameter. How many times does the parameter matrix W get updated over 200 iterations?
Correct answer: 200
Correct answer: 2500
Consider an intermediate feature map obtained after applying convolution operation on the input using kernel .
Apply the max-pooling operation with stride and no padding () and store the resultant output in matrix . The prediction is simply the sum of elements in . Suppose (that is, the gradient of loss with respect to the prediction). What is the gradient where is the element at the 1-st row and 0-th column? If you think the given info is insufficient, enter -1 as the answer.
Correct answer: 1.5