
Deep Learning for Computer Vision End Term: 21 December 2025 (September 2025 term)
The IIT Madras BS Deep Learning for Computer Vision (Deep Learning for Computer Vision) End Term paper sat on 21 Dec 2025, in the September 2025 term: 19 questions for 19 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.
- 19
- 19
- 180 min
- 7
- 8
- 4
Show answer
Correct answer: 62
Question 2
Show answer
Correct answer: 93 (accepted within ±1)
Question 3
Passing patch embeddings through the Transformer encoder
Linear projection of flattened image patches
Adding a class token
Layer normalization of patch embeddings
Show answer
Correct answer
Linear projection of flattened image patches
Question 4
Flattens the softmax distribution, reducing gradient magnitude
sharpens the softmax distribution, increasing emphasis on hard negatives
has no effect on the loss landscape
makes image and text embeddings orthogonal
Show answer
Correct answer
sharpens the softmax distribution, increasing emphasis on hard negatives
Question 5
In a Feature Pyramid Network (FPN), the primary purpose of the top-down pathway with lateral connections is to:
increase the receptive field at the lowest-resolution level
enrich high-resolution feature maps with strong semantics from deeper layers
perform non-maximum suppression at multiple scales
reduce the number of anchors required per level
Show answer
Correct answer
enrich high-resolution feature maps with strong semantics from deeper layers
Question 6
Consider the following pyTorch code:
tensor([0.09, 0.24, 0.67])
tensor([0.09, 0.24, 0.66])
tensor([0.09, 0.23, 0.68])
tensor([0.10, 0.27, 0.63])
Show answer
Correct answer
tensor([0.09, 0.24, 0.67])
Question 7
Use the test set to select the best hyperparameters
Use k-fold cross-validation on the training data and keep the test set untouched for final re-porting
Tune on the training loss only; validation is unnecessary
Pick hyperparameters from a prior paper without checking performance
Show answer
Correct answer
Use k-fold cross-validation on the training data and keep the test set untouched for final re-porting
Question 8
How is disentangled representation evaluated?:
Using Mutual Information Gap
Using mean Average Precision
KL divergence
Sparsity in the latent one-hot codes
Show answer
Correct answer
Using Mutual Information Gap
Question 9
Which statements about generative models are true? (Select all that apply.)
VAEs optimize a lower bound on the data log-likelihood.
GANs perform explicit maximum likelihood estimation.
Diffusion models can trade off speed and quality via the number of sampling steps.
Autoregressive models factorize the joint distribution into a product of conditionals.
Show answer
Correct answers
VAEs optimize a lower bound on the data log-likelihood.
Diffusion models can trade off speed and quality via the number of sampling steps.
Autoregressive models factorize the joint distribution into a product of conditionals.
Question 10
In classifier-free guidance for diffusion models, increasing the guidance scale γ tends to: (Select all that apply.)
improve fidelity to the conditioning signal
always reduce mode collapse to zero
reduce sample diversity at very high values
be equivalent to classifier guidance
Show answer
Correct answers
improve fidelity to the conditioning signal
reduce sample diversity at very high values
Question 11
Which statements are correct? (Select all that apply.)
A linear autoencoder with MSE and no activation learns a subspace equivalent to PCA (up to rotation) when the hidden dimension < input dimension.
Global attention assigns alignment weights to all encoder time steps for each decoder step.
Positional encodings convey order information that self-attention lacks.
it is impossible to generate multiple, semantically similar captions with different styles for the same image.
Show answer
Correct answers
A linear autoencoder with MSE and no activation learns a subspace equivalent to PCA (up to rotation) when the hidden dimension < input dimension.
Global attention assigns alignment weights to all encoder time steps for each decoder step.
Positional encodings convey order information that self-attention lacks.
Question 12
Show answer
Correct answer: 27
Question 13
Show answer
Correct answer: 50
Question 14
Show answer
Correct answer: 156
Question 15
Mixup data augmentation primarily:
reduces label noise by hardening labels
creates convex combinations of inputs and labels to encourage linear behavior between classes
prunes redundant training samples
increases input resolution without changing model capacity
Show answer
Correct answer
creates convex combinations of inputs and labels to encourage linear behavior between classes
Question 16
Show answer
Correct answer: 0.645 (accepted within ±0.045)
Question 17
During training, Batch Normalization uses:
Running (population) statistics only
batch statistics for normalization and updates running estimates for inference
neither batch nor running statistics
group-wise normalization identical to GroupNorm
Show answer
Correct answer
batch statistics for normalization and updates running estimates for inference
Question 18
Which techniques help mitigate exploding/vanishing gradients in RNNs? (Select all that apply.)
Gradient clipping
Orthogonal or identity initialization of recurrent weights
Using LSTM/GRU cells
Randomly reversing input sequences as augmentation
Show answer
Correct answers
Gradient clipping
Orthogonal or identity initialization of recurrent weights
Using LSTM/GRU cells
Question 19
Show answer
Correct answer: 6