





















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















































































200 Rigorous Examination Questions with Detailed Rationales Covering Markov Decision Processes, Dynamic Programming, TD Learning, Function Approximation, Policy Gradients, and Advanced RL Topics. Module 1: Markov Decision Processes (MDPs) & Bellman Equations Q1. Consider the Bellman Expectation Equation for state value function V^pi(s). Which statement accurately expresses this relationship (Q1)? A. V^pi(s) = max_a sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] B. V^pi(s) = sum_a pi(a|s) sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] C. V^pi(s) = sum_{s'} P(s' | s) [r + gamma V^pi(s')] D. V^pi(s) = sum_a pi(a|s) [r + max_a V^pi(s')] Answer: B Rationale: The Bellman expectation equation for V^pi averages over all actions according to the policy pi(a|s) and over all next states and rewards according to the transition probabilities P(s', r | s, a). Q2. What is the fundamental distinction between the Bellman Expectation Equation and the Bellman Optimality Equation (Q2)? A. Optimality equations involve the max operator over actions, whereas expectation equations average over actions according to a specific policy. B. Expectation equations are non-linear, whereas optimality equations are strictly linear systems. C. Optimality equations only apply to deterministic environments.
D. Expectation equations require known rewards, while optimality equations do not. Answer: A Rationale: The Bellman expectation equations evaluate a fixed policy pi, hence summing over actions weighted by pi(a|s). The optimality equations define the optimal value functions V* and Q* by taking the maximum over all possible actions. Q3. Which of the following describes a Partially Observable Markov Decision Process (POMDP) relative to a standard MDP (Q3)? A. The agent has direct, unnoised access to the true underlying state of the environment at all times. B. The agent receives observations that are probabilistic functions of the underlying hidden state, requiring belief states. C. Actions do not affect state transitions in POMDPs. D. Transition probabilities are completely unknown and non- stationary. Answer: B Rationale: In a POMDP, the agent does not observe the state directly; instead, it receives an observation O_t governed by an observation probability function O(o | s, a). The agent maintains a belief state (probability distribution over states). Q4. Which of the following formal mathematical properties defines the Markov Property in a Reinforcement Learning environment (Q4)? A. The future state distribution depends entirely on the entire history of past states and actions. B. The probability of transitioning to any next state depends solely on the immediately preceding state and action, conditional on the history.
C. V^pi(s) = sum_{s'} P(s' | s) [r + gamma V^pi(s')] D. V^pi(s) = sum_a pi(a|s) [r + max_a V^pi(s')] Answer: B Rationale: The Bellman expectation equation for V^pi averages over all actions according to the policy pi(a|s) and over all next states and rewards according to the transition probabilities P(s', r | s, a). Q7. What is the fundamental distinction between the Bellman Expectation Equation and the Bellman Optimality Equation (Q7)? A. Optimality equations involve the max operator over actions, whereas expectation equations average over actions according to a specific policy. B. Expectation equations are non-linear, whereas optimality equations are strictly linear systems. C. Optimality equations only apply to deterministic environments. D. Expectation equations require known rewards, while optimality equations do not. Answer: A Rationale: The Bellman expectation equations evaluate a fixed policy pi, hence summing over actions weighted by pi(a|s). The optimality equations define the optimal value functions V* and Q* by taking the maximum over all possible actions. Q8. Which of the following describes a Partially Observable Markov Decision Process (POMDP) relative to a standard MDP (Q8)? A. The agent has direct, unnoised access to the true underlying state of the environment at all times. B. The agent receives observations that are probabilistic functions of the underlying hidden state, requiring belief states. C. Actions do not affect state transitions in POMDPs.
D. Transition probabilities are completely unknown and non- stationary. Answer: B Rationale: In a POMDP, the agent does not observe the state directly; instead, it receives an observation O_t governed by an observation probability function O(o | s, a). The agent maintains a belief state (probability distribution over states). Q9. Which of the following formal mathematical properties defines the Markov Property in a Reinforcement Learning environment (Q9)? A. The future state distribution depends entirely on the entire history of past states and actions. B. The probability of transitioning to any next state depends solely on the immediately preceding state and action, conditional on the history. C. Rewards are independent of state transitions. D. Actions are selected deterministically regardless of the current state. Answer: B Rationale: The Markov property states that the future depends only upon the present state and action, and is conditionally independent of all past states and actions: P(S{t+1}=s', R_{t+1}=r | S_t, A_t, S_{t- 1}, A_{t-1}, ..., S_0, A_0) = P(S_{t+1}=s', R_{t+1}=r | S_t, A_t)._ Q10. In a discounted Markov Decision Process with discount factor gamma in [0, 1), what is the primary mathematical purpose of gamma (Q10)? A. To ensure that the sum of rewards over an infinite horizon converges to a finite value and to model preference for immediate rewards.
D. Expectation equations require known rewards, while optimality equations do not. Answer: A Rationale: The Bellman expectation equations evaluate a fixed policy pi, hence summing over actions weighted by pi(a|s). The optimality equations define the optimal value functions V* and Q* by taking the maximum over all possible actions. Q13. Which of the following describes a Partially Observable Markov Decision Process (POMDP) relative to a standard MDP (Q13)? A. The agent has direct, unnoised access to the true underlying state of the environment at all times. B. The agent receives observations that are probabilistic functions of the underlying hidden state, requiring belief states. C. Actions do not affect state transitions in POMDPs. D. Transition probabilities are completely unknown and non- stationary. Answer: B Rationale: In a POMDP, the agent does not observe the state directly; instead, it receives an observation O_t governed by an observation probability function O(o | s, a). The agent maintains a belief state (probability distribution over states). Q14. Which of the following formal mathematical properties defines the Markov Property in a Reinforcement Learning environment (Q14)? A. The future state distribution depends entirely on the entire history of past states and actions.
B. The probability of transitioning to any next state depends solely on the immediately preceding state and action, conditional on the history. C. Rewards are independent of state transitions. D. Actions are selected deterministically regardless of the current state. Answer: B Rationale: The Markov property states that the future depends only upon the present state and action, and is conditionally independent of all past states and actions: P(S{t+1}=s', R_{t+1}=r | S_t, A_t, S_{t- 1}, A_{t-1}, ..., S_0, A_0) = P(S_{t+1}=s', R_{t+1}=r | S_t, A_t)._ Q15. In a discounted Markov Decision Process with discount factor gamma in [0, 1), what is the primary mathematical purpose of gamma (Q15)? A. To ensure that the sum of rewards over an infinite horizon converges to a finite value and to model preference for immediate rewards. B. To scale the variance of the policy gradient estimators. C. To guarantee that the environment dynamics remain stationary. D. To convert a partially observable MDP into a fully observable MDP. Answer: A Rationale: The discount factor gamma ensures mathematical convergence of infinite sums of rewards (geometric series convergence) and reflects the economic or practical time-preference for rewards sooner rather than later. Q16. Consider the Bellman Expectation Equation for state value function V^pi(s). Which statement accurately expresses this relationship (Q16)?
B. The agent receives observations that are probabilistic functions of the underlying hidden state, requiring belief states. C. Actions do not affect state transitions in POMDPs. D. Transition probabilities are completely unknown and non- stationary. Answer: B Rationale: In a POMDP, the agent does not observe the state directly; instead, it receives an observation O_t governed by an observation probability function O(o | s, a). The agent maintains a belief state (probability distribution over states). Q19. Which of the following formal mathematical properties defines the Markov Property in a Reinforcement Learning environment (Q19)? A. The future state distribution depends entirely on the entire history of past states and actions. B. The probability of transitioning to any next state depends solely on the immediately preceding state and action, conditional on the history. C. Rewards are independent of state transitions. D. Actions are selected deterministically regardless of the current state. Answer: B Rationale: The Markov property states that the future depends only upon the present state and action, and is conditionally independent of all past states and actions: P(S{t+1}=s', R_{t+1}=r | S_t, A_t, S_{t- 1}, A_{t-1}, ..., S_0, A_0) = P(S_{t+1}=s', R_{t+1}=r | S_t, A_t)._ Q20. In a discounted Markov Decision Process with discount factor gamma in [0, 1), what is the primary mathematical purpose of gamma (Q20)?
A. To ensure that the sum of rewards over an infinite horizon converges to a finite value and to model preference for immediate rewards. B. To scale the variance of the policy gradient estimators. C. To guarantee that the environment dynamics remain stationary. D. To convert a partially observable MDP into a fully observable MDP. Answer: A Rationale: The discount factor gamma ensures mathematical convergence of infinite sums of rewards (geometric series convergence) and reflects the economic or practical time-preference for rewards sooner rather than later. Q21. Consider the Bellman Expectation Equation for state value function V^pi(s). Which statement accurately expresses this relationship (Q21)? A. V^pi(s) = max_a sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] B. V^pi(s) = sum_a pi(a|s) sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] C. V^pi(s) = sum_{s'} P(s' | s) [r + gamma V^pi(s')] D. V^pi(s) = sum_a pi(a|s) [r + max_a V^pi(s')] Answer: B Rationale: The Bellman expectation equation for V^pi averages over all actions according to the policy pi(a|s) and over all next states and rewards according to the transition probabilities P(s', r | s, a). Q22. What is the fundamental distinction between the Bellman Expectation Equation and the Bellman Optimality Equation (Q22)? A. Optimality equations involve the max operator over actions, whereas expectation equations average over actions according to a specific policy.
A. The future state distribution depends entirely on the entire history of past states and actions. B. The probability of transitioning to any next state depends solely on the immediately preceding state and action, conditional on the history. C. Rewards are independent of state transitions. D. Actions are selected deterministically regardless of the current state. Answer: B Rationale: The Markov property states that the future depends only upon the present state and action, and is conditionally independent of all past states and actions: P(S{t+1}=s', R_{t+1}=r | S_t, A_t, S_{t- 1}, A_{t-1}, ..., S_0, A_0) = P(S_{t+1}=s', R_{t+1}=r | S_t, A_t)._ Q25. In a discounted Markov Decision Process with discount factor gamma in [0, 1), what is the primary mathematical purpose of gamma (Q25)? A. To ensure that the sum of rewards over an infinite horizon converges to a finite value and to model preference for immediate rewards. B. To scale the variance of the policy gradient estimators. C. To guarantee that the environment dynamics remain stationary. D. To convert a partially observable MDP into a fully observable MDP. Answer: A Rationale: The discount factor gamma ensures mathematical convergence of infinite sums of rewards (geometric series convergence) and reflects the economic or practical time-preference for rewards sooner rather than later.
Q26. Consider the Bellman Expectation Equation for state value function V^pi(s). Which statement accurately expresses this relationship (Q26)? A. V^pi(s) = max_a sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] B. V^pi(s) = sum_a pi(a|s) sum_{s', r} P(s', r | s, a) [r + gamma V^pi(s')] C. V^pi(s) = sum_{s'} P(s' | s) [r + gamma V^pi(s')] D. V^pi(s) = sum_a pi(a|s) [r + max_a V^pi(s')] Answer: B Rationale: The Bellman expectation equation for V^pi averages over all actions according to the policy pi(a|s) and over all next states and rewards according to the transition probabilities P(s', r | s, a). Q27. What is the fundamental distinction between the Bellman Expectation Equation and the Bellman Optimality Equation (Q27)? A. Optimality equations involve the max operator over actions, whereas expectation equations average over actions according to a specific policy. B. Expectation equations are non-linear, whereas optimality equations are strictly linear systems. C. Optimality equations only apply to deterministic environments. D. Expectation equations require known rewards, while optimality equations do not. Answer: A Rationale: The Bellman expectation equations evaluate a fixed policy pi, hence summing over actions weighted by pi(a|s). The optimality equations define the optimal value functions V* and Q* by taking the maximum over all possible actions.
all past states and actions: P(S{t+1}=s', R_{t+1}=r | S_t, A_t, S_{t- 1}, A_{t-1}, ..., S_0, A_0) = P(S_{t+1}=s', R_{t+1}=r | S_t, A_t)._ Q30. In a discounted Markov Decision Process with discount factor gamma in [0, 1), what is the primary mathematical purpose of gamma (Q30)? A. To ensure that the sum of rewards over an infinite horizon converges to a finite value and to model preference for immediate rewards. B. To scale the variance of the policy gradient estimators. C. To guarantee that the environment dynamics remain stationary. D. To convert a partially observable MDP into a fully observable MDP. Answer: A Rationale: The discount factor gamma ensures mathematical convergence of infinite sums of rewards (geometric series convergence) and reflects the economic or practical time-preference for rewards sooner rather than later. Module 2: Dynamic Programming & Planning Q31. In Value Iteration, how is the update step formulated for state value estimates V(s) at iteration k+1 (Q31)? A. V_{k+1}(s) = sum_a pi(a|s) sum_{s', r} P(s',r|s,a) [r + gamma V_k(s')] B. V_{k+1}(s) = max_a sum_{s', r} P(s',r|s,a) [r + gamma V_k(s')] C. V_{k+1}(s) = V_k(s) + alpha [r + gamma V_k(s') - V_k(s)] D. V_{k+1}(s) = min_a sum_{s', r} P(s',r|s,a) r Answer: B Rationale: Value Iteration turns the Bellman optimality equation into
an iterative update rule by applying the max operator over actions at each step. Q32. What is the main computational advantage of Asynchronous Dynamic Programming over synchronous sweeps (Q32)? A. It updates states in-place or in any order, allowing focused updates on relevant states without sweeping the entire state space. B. It eliminates the need for a discount factor. C. It guarantees convergence in exactly one iteration. D. It requires no model of the environment. Answer: A Rationale: Asynchronous DP updates states individually in any arbitrary order, which can dramatically reduce computation by focusing on states of interest (e.g., states reachable under the current policy). Q33. In Policy Iteration, when does the algorithm terminate (Q33)? A. When the value function changes by exactly zero across all states. B. When the policy improvement step produces a policy identical to the previous policy (policy stability). C. When the exploration parameter reaches zero. D. When the discount factor equals 1. Answer: B Rationale: Policy Iteration terminates when the policy is stable— meaning the greedy policy with respect to the evaluated value function yields no changes compared to the previous policy (which implies optimality). Q34. Which of the following conditions is required to apply Dynamic Programming algorithms like Value Iteration and Policy Iteration (Q34)?
an iterative update rule by applying the max operator over actions at each step. Q37. What is the main computational advantage of Asynchronous Dynamic Programming over synchronous sweeps (Q37)? A. It updates states in-place or in any order, allowing focused updates on relevant states without sweeping the entire state space. B. It eliminates the need for a discount factor. C. It guarantees convergence in exactly one iteration. D. It requires no model of the environment. Answer: A Rationale: Asynchronous DP updates states individually in any arbitrary order, which can dramatically reduce computation by focusing on states of interest (e.g., states reachable under the current policy). Q38. In Policy Iteration, when does the algorithm terminate (Q38)? A. When the value function changes by exactly zero across all states. B. When the policy improvement step produces a policy identical to the previous policy (policy stability). C. When the exploration parameter reaches zero. D. When the discount factor equals 1. Answer: B Rationale: Policy Iteration terminates when the policy is stable— meaning the greedy policy with respect to the evaluated value function yields no changes compared to the previous policy (which implies optimality). Q39. Which of the following conditions is required to apply Dynamic Programming algorithms like Value Iteration and Policy Iteration (Q39)?
A. The model of the environment (transition probabilities P(s',r|s,a) and reward function R(s,a,s')) must be completely known. B. The state space must be continuous and unbounded. C. The policy must be deterministic at all times. D. Exploration rate epsilon must decay exponentially. Answer: A Rationale: Dynamic Programming methods are model-based planning algorithms that require complete and accurate knowledge of the environment's transition and reward dynamics. Q40. What are the two alternating phases that constitute Generalized Policy Iteration (GPI) (Q40)? A. Policy Evaluation and Policy Improvement B. Value Maximization and Q-Learning Update C. Exploration and Exploitation D. Forward Pass and Backward Pass Answer: A Rationale: Generalized Policy Iteration (GPI) refers to the general interaction between policy evaluation (making the value function consistent with the current policy) and policy improvement (making the policy greedy with respect to the current value function). Q41. In Value Iteration, how is the update step formulated for state value estimates V(s) at iteration k+1 (Q41)? A. V_{k+1}(s) = sum_a pi(a|s) sum_{s', r} P(s',r|s,a) [r + gamma V_k(s')] B. V_{k+1}(s) = max_a sum_{s', r} P(s',r|s,a) [r + gamma V_k(s')] C. V_{k+1}(s) = V_k(s) + alpha [r + gamma V_k(s') - V_k(s)] D. V_{k+1}(s) = min_a sum_{s', r} P(s',r|s,a) r Answer: B Rationale: Value Iteration turns the Bellman optimality equation into