uiz Space

January 2025 term · Reinforcement Learning · BSDA5007

Reinforcement Learning End Term: 13 April 2025, Set 1 (January 2025 term)

The IIT Madras BS Reinforcement Learning (Reinforcement Learning) End Term paper sat on 13 Apr 2025, in the January 2025 term, set 1: 16 questions for 43 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.

Questions
16
Marks
43
Duration
180 min
MCQ
5
MSQ
4
Numerical
7

Updated

Official paper: IIT M IMPROVEMENT FN EXAM QIM2 13 Apr · No negative marking.

Question 1

+2 marksOne correct option

In which of the following scenarios is Expected SARSA a good fit?

  1. A

    When the environment has a high degree of stochasticity, makingbootstrapping unstable in value-based methods

  2. B

    When function approximation is necessary due to large state spaces, requiringdeep networks for learning representations

  3. C

    When learning needs to prioritize separating state value and advantagefunctions for better decision-making

  4. D

    When experience replay is essential for stable learning and sample efficiency

Show answer

Correct answer

  • A

    When the environment has a high degree of stochasticity, makingbootstrapping unstable in value-based methods

Question 2

+3 marksOne correct option
  1. A

    SARSA updates its action-value function based on the action actually taken inthe next state, while Q-learning updates its action-value function based on the maximum action-value in the next state.

  2. B

    SARSA is guaranteed to converge to the optimal policy under certainconditions, while Q-learning may diverge or oscillate without additional modifications.

  3. C

    SARSA is more computationally efficient than Q-learning, requiring fewerupdates to converge to the optimal policy.

  4. D

    SARSA and Q-learning exhibit similar performance in terms of convergencespeed and solution quality in this scenario.

Show answer

Correct answer

  • A

    SARSA updates its action-value function based on the action actually taken inthe next state, while Q-learning updates its action-value function based on the maximum action-value in the next state.

Question 3

+3 marksOne or more correct options

Choose the correct statement in context of multi armed bandits (MAB), assuming stationary and normal reward distribution:

Select all that apply.

  1. A

    If there are n arms, the lower bound of finding the optimal arm is ω(n).

  2. B

    If an agent doesn’t sufficiently pull each arm, then it can incorrectly pick asuboptimal arm as the optimal arm.

  3. C

    Exploration is very important step and an agent should keep exploringregularly, to minimize the regret.

  4. D

    The optimal arm can be determined by pulling each arm once and then itshould be pulled every time afterwards.

Show answer

Correct answers

  • A

    If there are n arms, the lower bound of finding the optimal arm is ω(n).

  • B

    If an agent doesn’t sufficiently pull each arm, then it can incorrectly pick asuboptimal arm as the optimal arm.

Question 4

+3 marksOne or more correct options

Which of the following methods are a form of Generalized Policy Iteration?

Select all that apply.

  1. A

    Policy Improvement

  2. B

    Value Iteration

  3. C

    Q-Learning and SARSA

  4. D

    Monte Carlo control methods

Show answer

Correct answers

  • B

    Value Iteration

  • C

    Q-Learning and SARSA

  • D

    Monte Carlo control methods

Question 5

+3 marksOne or more correct options

Select all that apply.

  1. A

    b can be a function of s

  2. B

    b can be a function of a

  3. C

    b can be a random variable independent of s, a

  4. D

    None of these

Show answer

Correct answers

  • A

    b can be a function of s

  • C

    b can be a random variable independent of s, a

Question 6

+2 marksOne or more correct options

Select all that apply.

  1. A

    It increases the variance in the estimate of the gradient of the performance.

  2. B

    It decreases the variance in the estimate of the gradient of the performance.

  3. C

    It introduces a bias in the estimate of the gradient of the performance.

  4. D

    It doesn’t introduce any bias in the estimate of the gradient of theperformance.

  5. E

    None of these.

Show answer

Correct answers

  • B

    It decreases the variance in the estimate of the gradient of the performance.

  • C

    It introduces a bias in the estimate of the gradient of the performance.

Question 7

+3 marksNumerical answer
Show answer

Correct answer: -6

Question 8

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 14

Question 9

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: -5

Question 10

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 40

Question 11

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.96 (accepted within ±0.01)

Question 12

+2 marksOne correct option

Based on the above data, answer the given subquestions.

Which of the routes illustrated on the grid is taken when the Hierarchically Optimal policy is executed?

  1. A

    Route 1

  2. B

    Route 2

  3. C

    Route 3

Show answer

Correct answer

  • B

    Route 2

Question 13

+2 marksOne correct option

Based on the above data, answer the given subquestions.

Which of the routes illustrated on the grid is taken when the Flat Optimal policy is executed?

  1. A

    Route 1

  2. B

    Route 2

  3. C

    Route 3

Show answer

Correct answer

  • C

    Route 3

Question 14

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Calculate the number of time-steps taken to finish the episode when the re-cursively optimal policy is executed.

Show answer

Correct answer: 12

Question 15

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: -3.62 (accepted within ±0.01)

Question 16

+2 marksOne correct option

Based on the above data, answer the given subquestions.

Which action would you pick, after having performed this rollout?

  1. A

    Action a1

  2. B

    Action a2

  3. C

    Both actions are equally rewarding

Show answer

Correct answer

  • A

    Action a1