Quiz Space

May 2024 term · Reinforcement Learning · BSDA5007

Reinforcement Learning End Term: 1 September 2024, Set QDB3 (May 2024 term)

The IIT Madras BS Reinforcement Learning (Reinforcement Learning) End Term paper sat on 1 Sept 2024, in the May 2024 term, set QDB3: 22 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.

Questions
22
Marks
50
Duration
180 min
MCQ
15
MSQ
2
Numerical
5

Updated

Official paper: IIT M DEGREE AN EXAM QDB3 01 Sep 2024 · No negative marking.

Question 1

+2 marksOne correct option

Consider following assertion reason pair:
Assertion: Reinforcement learning is a type of unsupervised learning algorithm as both don’t have correct labels.
Reason: In unsupervised learning, a reward like quantity is not maximized.

  1. A

    Assertion and Reason are both true and Reason is a correct explanation of Assertion.

  2. B

    Assertion and Reason are both true and Reason is not a correct explanation of Assertion.

  3. C

    Assertion is true but Reason is false.

  4. D

    Assertion is false but Reason is true.

Show answer

Correct answer

  • D

    Assertion is false but Reason is true.

Question 2

+2 marksOne correct option

Which of these statements is true regarding the rewards obtained in an MDP?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 3

+2 marksOne correct option

Consider a reinforcement learning agent trying to balance a pole in a continuous environment. The agent receives a reward of +1 for each time step the pole remains balanced and 0 otherwise. Which of the following statements accurately describes the differences between Monte Carlo and Temporal Difference (TD) learning in this scenario?

  1. A

    Monte Carlo methods update the value function based on complete episodes, while TD methods update after each step.

  2. B

    TD methods are guaranteed to converge to the optimal policy, while Monte Carlo methods may not converge.

  3. C

    Monte Carlo methods are less sensitive to the choice of the discount factor compared to TD methods.

  4. D

    TD methods are more effective in environments with high variance and stochasticity compared to Monte Carlo methods.

  5. E

    None of these.

Show answer

Correct answer

  • A

    Monte Carlo methods update the value function based on complete episodes, while TD methods update after each step.

Question 4

+2 marksOne correct option

Consider a reinforcement learning agent learning to control a robotic arm in a simulated environment. The agent receives a reward of +1 for successfully placing an object in target location and 0 otherwise. Which of the following statements accurately describes a difference between SARSA and Q-learning in this scenario?

  1. A

    SARSA updates its action-value function using the action taken in the next state, while Q-learning updates its action-value function using the maximum action-value across all possible actions in the next state.

  2. B

    SARSA is less sensitive to the choice of policy compared to Q-learning, making it more robust in environments with frequent changes.

  3. C

    SARSA converges more quickly than Q-learning in environments with high reward variance.

  4. D

    Q-learning is inherently more computationally efficient than SARSA due to fewer updates required per episode.

  5. E

    None of these.

Show answer

Correct answer

  • A

    SARSA updates its action-value function using the action taken in the next state, while Q-learning updates its action-value function using the maximum action-value across all possible actions in the next state.

Question 5

+2 marksOne correct option

In Q-learning, what is the impact of maximization bias on the algorithm’s performance, especially in environments with noisy or stochastic rewards?

  1. A

    Maximization bias can lead to an overestimation of action values, causing the algorithm to favor suboptimal actions and potentially delaying convergence to the optimal policy.

  2. B

    Maximization bias tends to enhance the algorithm’s performance by consistently selecting actions with higher estimated values, leading to quicker convergence.

  3. C

    Maximization bias may result in excessive exploration, allowing the algorithm to discover better strategies in environments with highly variable rewards.

  4. D

    Maximization bias typically has a minor effect on the performance of Q- learning, as the exploration process naturally mitigates its influence over time.

  5. E

    None of these.

Show answer

Correct answer

  • A

    Maximization bias can lead to an overestimation of action values, causing the algorithm to favor suboptimal actions and potentially delaying convergence to the optimal policy.

Question 6

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • B

Question 7

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • C

Question 8

+2 marksOne correct option

What key issue in standard DQN does the dueling architecture seek to address?

  1. A

    The problem of ensuring faster convergence in environments with high- dimensional state spaces.

  2. B

    The challenge of distinguishing between actions in environments with a large number of potential moves.

  3. C

    The inefficiency in accurately evaluating actions that do not significantly affect the overall value of the state.

  4. D

    The difficulty in learning effective value functions when rewards are sparse and infrequent.

  5. E

    None of these.

Show answer

Correct answer

  • C

    The inefficiency in accurately evaluating actions that do not significantly affect the overall value of the state.

Question 9

+2 marksOne correct option

Which of the following best captures the key difference between policy gradient methods and Q- learning in reinforcement learning?

  1. A

    Policy gradient methods directly optimize the policy by computing gradients of the expected reward, while Q-learning indirectly improves the policy by learning a value function that estimates the expected rewards for actions.

  2. B

    Q-learning focuses on optimizing the policy parameters directly, while policy gradient methods estimate the action-value function to guide policy improvement.

  3. C

    Policy gradient methods require a model of the environment’s dynamics to compute gradients, while Q-learning does not rely on any such model.

  4. D

    Q-learning is used primarily for continuous action spaces, while policy gradient methods are better suited for discrete action spaces.

  5. E

    None of these.

Show answer

Correct answer

  • A

    Policy gradient methods directly optimize the policy by computing gradients of the expected reward, while Q-learning indirectly improves the policy by learning a value function that estimates the expected rewards for actions.

Question 10

+2 marksOne correct option

Consider following assertion reason pair:
Assertion: A3C can provide better performance compared to A2C, provided the updates are small enough.
Reason: In A2C, if a thread runs for a long time, other threads have to wait for it to finish.

  1. A

    Assertion and Reason are both true and Reason is a correct explanation of Assertion.

  2. B

    Assertion and Reason are both true and Reason is not a correct explanation of Assertion.

  3. C

    Assertion is true but Reason is false.

  4. D

    Assertion is false but Reason is true.

Show answer

Correct answer

  • A

    Assertion and Reason are both true and Reason is a correct explanation of Assertion.

Question 11

+2 marksOne correct option

What role do ”meta-policies” play in Hierarchical Reinforcement Learning?

  1. A

    They define the specific actions to take in each state.

  2. B

    They manage the high-level decisions and selection of subtasks.

  3. C

    They directly compute the rewards for each subtask.

  4. D

    They optimize the low-level action policies.

  5. E

    None of these.

Show answer

Correct answer

  • B

    They manage the high-level decisions and selection of subtasks.

Question 12

+2 marksOne correct option

In HRL, what is a ”subtask” typically used for?

  1. A

    To evaluate the performance of the overall policy

  2. B

    To execute the final decision made by the high-level policy

  3. C

    To break down complex tasks into more manageable components

  4. D

    To directly interact with the environment and collect rewards

  5. E

    None of these.

Show answer

Correct answer

  • C

    To break down complex tasks into more manageable components

Question 13

+2 marksOne correct option

How does HRL handle long-term dependencies in tasks?

  1. A

    By using recurrent neural networks (RNNs)

  2. B

    By focusing on immediate rewards only

  3. C

    By leveraging hierarchical structures to manage dependencies

  4. D

    By reducing the state space through dimensionality reduction

  5. E

    None of these.

Show answer

Correct answer

  • C

    By leveraging hierarchical structures to manage dependencies

Question 14

+2 marksOne correct option

What is a common challenge when implementing HRL in practice?

  1. A

    Finding suitable reward functions for all levels

  2. B

    Scaling the approach to very large state spaces

  3. C

    Ensuring the subtasks are independent of each other

  4. D

    Integrating HRL with existing non-hierarchical methods

  5. E

    None of these.

Show answer

Correct answer

  • A

    Finding suitable reward functions for all levels

Question 15

+2 marksOne correct option

Choose the correct formula for UCT:

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • B

Question 16

+2 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answers

  • A
  • B
  • C
  • D

Question 17

+2 marksOne or more correct options

Select the correct statements about Generalized Policy Iteration (GPI).

Select all that apply.

  1. A

    GPI lets policy evaluation and policy improvement interact with each other regardless of the details of the two processes.

  2. B

    At the end of evaluation, the policy is not greedy with respect to the value function computed

  3. C

    GPI converges only when a policy has been found which is greedy with respect to its own value function.

  4. D

    The policy and value function found by GPI at convergence will both be optimal.

  5. E

    None of these.

Show answer

Correct answers

  • A

    GPI lets policy evaluation and policy improvement interact with each other regardless of the details of the two processes.

  • B

    At the end of evaluation, the policy is not greedy with respect to the value function computed

  • C

    GPI converges only when a policy has been found which is greedy with respect to its own value function.

  • D

    The policy and value function found by GPI at convergence will both be optimal.

Question 18

+2 marksNumerical answer
Show answer

Correct answer: 10.115 (accepted within ±0.185)

Question 19

+2 marksNumerical answer
Show answer

Correct answer: 1.4 (accepted within ±0.05)

Question 20

+4 marksNumerical answer
Show answer

Correct answer: 2.9 (accepted within ±0.05)

Question 21

+4 marksNumerical answer
Show answer

Correct answer: 4.35 (accepted within ±0.05)

Question 22

+4 marksNumerical answer
Show answer

Correct answer: 8 (accepted within ±0.05)