Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Mathematical Foundations of Generative AI
All 2025 papers
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Quiz 1 · 26 Oct 2025 (AN)Quiz 1
- Q1MCQ2 Marks·Choose one option
Suppose you replace the log-loss in the original GAN with a general f-divergence minimization framework. Which of the following cannot be directly represented as an f-divergence?
- AKL divergence
- BReverse KL divergence
- CTotal Variation distance
- DWasserstein distance
- Q2MCQ2 Marks·Choose one option

- A−log 2
- B0
- C−log(0.3)
- Dlog 2
- Q3MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q4MCQ2 Marks·Choose one option

- A−0.8008
- B−0.6432
- C−1.1412
- D−0.4794
- Q5MCQ2 Marks·Choose one option

- A80,402
- B99,402
- C242,503
- D159,3
- Q6MCQ2 Marks·Choose one option

- A0.22
- B0.28
- C0.34
- D0.41
- Q7MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q8MCQ2 Marks·Choose one option

- AThe first term measures bias shift; the second term measures covariance mismatch.
- BBoth terms measure covariance only.
- CBoth terms are dominated by the generator’s variance.
- DThe first term measures variance difference; the second measures mean shift.
- Q9MCQ2 Marks·Choose one option
FID compares real and generated image distributions by assuming they follow multivariate Gaussian distributions in a feature space extracted from a pretrained neural network. Which layer’s activations are typically used to compute this feature space in practice?
- AThe output logits of the generator
- BRaw RGB pixel values
- CThe first convolution layer of the discriminator
- DThe penultimate layer of an Inception-v3 network
- Q10MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q11MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q12MCQ3 Marks·Choose one option

- A0.20
- B0.35
- C0.55
- D0.75
- Q13MCQ3 Marks·Choose one option

- A0.57
- B0.24
- C0.32
- D0.137
- Q14MCQ3 Marks·Choose one option

- A[−2.1, 0.4]
- B[−2.2, −4.3]
- C[0.2, 0.1]
- D[0, 0]
- Q15MSQ3 Marks·Choose all correct options
Which of the following are valid reasons why GAN training based on JSD minimization is unstable?
- AJSD saturates when the supports of p_(data) and p_g do not overlap.
- BGradients for the generator can vanish when the discriminator becomes too strong.
- CJSD is not continuous w.r.t. the parameters of the generator distribution.
- DJSD always provides unbiased gradients in high dimensions.
- Q16MSQ4 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q17NAT2 Marks·Write the number
Your answer: - Q18NAT3 Marks·Write the number
Your answer: - Q19NAT3 Marks·Write the number
Your answer: - Q20NAT3 Marks·Write the number
Your answer:
End Term · 31 Aug 2025 (FN)End Term
- Q21MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q22MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q23MCQ4 Marks·Choose one option
Starting from 4×4 spatial size, apply four ConvTranspose2d blocks each with kernel 4, stride 2, padding 1. Final spatial size is:
- A16 × 16
- B32 × 32
- C64 × 64
- D128 × 128
- Q24MCQ4 Marks·Choose one option

- AIncrease capacity and reduce bias
- BReduce capacity, causing underfitting and gradient pathology
- CEnforce exact 1-Lipschitzness without bias
- DMake T convex
- Q25MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q26MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q27MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q28MCQ5 Marks·Choose one option
In the Sampling pipeline in VAE, Unconditional generation uses
- A

- B

- C

- D

- A
- Q29MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q30MCQ5 Marks·Choose one option

- A1.797
- B1.910
- C2.000
- D1.620
- Q31MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q32MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q33MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q34MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q35MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q36MCQ5 Marks·Choose one option

- A0.6
- B0.5
- C0.67
- D0.75
- Q37MCQ5 Marks·Choose one option

- A≈ 1.670
- B1.500
- C2.000
- D≈ 1.333
- Q38MCQ5 Marks·Choose one option

- A768 × 768 = 589,824
- B768 × 64 = 49,152
- C64 × 64 = 4,096
- D12 × 64 = 768
- Q39MCQ5 Marks·Choose one option

- A(3,−1)
- B(2, 0)
- C(1,−1)
- D(0, 0)
- Q40MCQ5 Marks·Choose one option

- A2.62
- B2.00
- C2.81
- D1.90
- Q41MCQ5 Marks·Choose one option
An AR-LM can be viewed as an MDP by
- AState = token prefix, action = next token
- BState = next token, action = prefix
- CState = vocabulary, action = logits
- DImpossible
- Q42MCQ5 Marks·Choose one option

- A0.600
- B0.750
- C0.500
- D0.300
End Term · 31 Aug 2025 (AN)End Term
- Q43MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q44MCQ3 Marks·Choose one option

- AZero a.e.
- BNonzero and large
- CUndefined
- DEqual to the score of p_g
- Q45MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q46MCQ4 Marks·Choose one option

- A31
- B32
- C33
- D34
- Q47MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q48MCQ4 Marks·Choose one option

- A(1.205,−3.210)
- B(1.205,−1.895)
- C(0.500,−3.210)
- D(0.705,−2.000)
- Q49MCQ4 Marks·Choose one option
Given d_z=20, if the first decoder layer is a fully connected layer that outputs 3 x 64 x 64 units and includes a bias term, how many trainable parameters does this layer have?
- A245,760
- B258,048
- C122,880
- D262,144
- Q50MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q51MCQ5 Marks·Choose one option

- A1
- B2
- C3
- D4
- Q52MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q53MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q54MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q55MCQ5 Marks·Choose one option

- A0.28
- B0.32
- C0.20
- D0.18
- Q56MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q57MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q58MCQ5 Marks·Choose one option

- ASize = 4, prob ≈ 0.105
- BSize = 3, prob = 0
- CSize = 5, prob = 0.1
- DSize = 4, prob = 0.1
- Q59MCQ5 Marks·Choose one option

- A1,048,576 params
- B786,432 params
- C524,288 params
- D262,144 params
- Q60MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q61MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q62MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q63MCQ5 Marks·Choose one option

- A−0.85
- B−0.80
- C−0.20
- D−1.00
- Q64MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q65NAT2 Marks·Write the number
Your answer: - Q66NAT2 Marks·Write the number
Your answer: - Q67NAT2 Marks·Write the number
Your answer: - Q68NAT3 Marks·Write the number
Your answer: - Q69NAT3 Marks·Write the number
Your answer: - Q70NAT3 Marks·Write the number
Your answer: - Q71NAT3 Marks·Write the number
Your answer: - Q72NAT3 Marks·Write the number
Your answer: - Q73NAT3 Marks·Write the number
Your answer: - Q74NAT4 Marks·Write the number
Your answer: - Q75NAT4 Marks·Write the number
Your answer: - Q76MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q77MCQ3 Marks·Choose one option

- AAt t = 0, we assume perfect reconstruction
- BAt t = 0, adding noise will corrupt the final output
- CAt t = 0, the posterior is deterministic
- DAll of these
- Q78MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q79MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q80MCQ3 Marks·Choose one option
In a U-Net for DDPMs, the time embedding is usually added to the feature maps after a convolutional layer. If a feature map has shape ‘[B, C, H, W]’ and the time embedding has shape ‘[B, C]’, how is the embedding typically broadcasted and combined?
- AIt is reshaped to ‘[B, C, 1, 1]’ and then added.
- BIt is tiled to ‘[B, C, H, W]’ and then multiplied.
- CIt is passed through a separate linear layer for each spatial location.
- DIt is concatenated along the channel dimension.
- Q81MCQ3 Marks·Choose one option

- A[1]
- B[1, 1]
- C[1, 64]
- D[64, 64]
Official KeyMaster Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
Reveal KeyCollapse Key
Master Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.