Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : REINFORCEMENT LEARNING
(COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
(COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
What is a key advantage of using n-step TD prediction over one-step TD prediction?
Solution
In which of the following scenarios is Expected SARSA a good fit?
Solution
Consider the following target equations:
Equation 1

Equation 2

In both equations,
refers to the shared parameters between the state-value network and advantage network.
and
refer to the non-shared parameters of the state-value and advantage network, respectively.
In both equations,
is calculated using the following network.

Note:
are target network parameters for online network parameters 
Which among the following are correct statements?
Equation 1
Equation 2
In both equations,
In both equations,
Note:
Which among the following are correct statements?
Solution
Which of the following methods are a form of Generalized Policy Iteration?
Solution
In value-based deep reinforcement learning, the max operator in Q-learning can lead to systematic overestimation of Q-values when neural networks are used for function approximation Which option best explains why vanilla Deep Q-Netwok (DQN) tends to produce overoptimistic Q- value estimates?
Solution
Inscript
Consider the following MDP:

Evaluate the value function
, where
is the equiprobable random policy. What is
? (Set
)
Consider the following MDP:
Evaluate the value function
Solution
Comprehension Passage
Consider a 2D navigation environment (as shown in the figure below) where an autonomous cleaning robot must locate and collect trash items (T1 and T2) scattered in the environment and then deliver them to a designated disposal bin (G). The environment is shaped by curved, contour- like walls, forming nested spaces with only one narrow passage connecting them, which requires
deliberate path planning.

In this environment, the robot takes discrete actions from its action space
,
{ NORTH, SOUTH, EAST, WEST }
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
) can be represented as a tuple
, where
and
are the distances of the robot from the bottom-left corner of the environment.
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
into
{
}
.


Observe that there are 3 different grid-tilings here:

Based on the above data, answer the given subquestions.
deliberate path planning.
In this environment, the robot takes discrete actions from its action space
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
Observe that there are 3 different grid-tilings here:
Based on the above data, answer the given subquestions.
Inscript
Using the coded state representation (
) as input to a DQN with two hidden layers and a fully connected output layer, what should be the dimensionality of the network’s input layer?
Using the coded state representation (
Solution
Comprehension Passage
Consider a 2D navigation environment (as shown in the figure below) where an autonomous cleaning robot must locate and collect trash items (T1 and T2) scattered in the environment and then deliver them to a designated disposal bin (G). The environment is shaped by curved, contour- like walls, forming nested spaces with only one narrow passage connecting them, which requires
deliberate path planning.

In this environment, the robot takes discrete actions from its action space
,
{ NORTH, SOUTH, EAST, WEST }
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
) can be represented as a tuple
, where
and
are the distances of the robot from the bottom-left corner of the environment.
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
into
{
}
.


Observe that there are 3 different grid-tilings here:

Based on the above data, answer the given subquestions.
deliberate path planning.
In this environment, the robot takes discrete actions from its action space
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
Observe that there are 3 different grid-tilings here:
Based on the above data, answer the given subquestions.
Inscript
Using the coded state representation (
) as input to a DQN with two hidden layers and a fully connected output layer, what should be the size of the output layer?
Using the coded state representation (
Solution
Comprehension Passage
Consider a 2D navigation environment (as shown in the figure below) where an autonomous cleaning robot must locate and collect trash items (T1 and T2) scattered in the environment and then deliver them to a designated disposal bin (G). The environment is shaped by curved, contour- like walls, forming nested spaces with only one narrow passage connecting them, which requires
deliberate path planning.

In this environment, the robot takes discrete actions from its action space
,
{ NORTH, SOUTH, EAST, WEST }
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
) can be represented as a tuple
, where
and
are the distances of the robot from the bottom-left corner of the environment.
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
into
{
}
.


Observe that there are 3 different grid-tilings here:

Based on the above data, answer the given subquestions.
deliberate path planning.
In this environment, the robot takes discrete actions from its action space
Each action attempts to move the robot by 0.1 cm in the corresponding direction. If the action would cause a collision with a wall boundary, the robot remains in the same position and receives a penalty.
The grey regions represent potholes. If the robot ends up in one, it cannot escape on its own and requires human help, leading to a substantial penalty and relocation to the nearest safe position.
When the agent reaches a trash item, it automatically collects it and receives a reward. Likewise, upon reaching a disposal bin, it automatically unloads the collected trash. Therefore, explicit pickup and drop actions are not required.
The episode terminates either when the agent reaches the Goal (G) while carrying at least one piece of trash, or when it has fallen into potholes a total of 10 times.
The position of the Robot (
For state representation, we would consider state discretisation by performing tile as well as coarse coding, which converts
Observe that there are 3 different grid-tilings here:
Based on the above data, answer the given subquestions.
You have decided to use the Dueling DQN architecture with the aggregation.

What is the primary purpose of subtracting the term
in this formulation?
What is the primary purpose of subtracting the term
Solution
Comprehension Passage
In Deep Q-Networks (DQN), a separate target network is maintained whose weights are periodically copied from the main (online) network rather than updated at every step.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What is the primary reason for using a separate target network with periodically updated weights in DQN?
Solution
Comprehension Passage
In Deep Q-Networks (DQN), a separate target network is maintained whose weights are periodically copied from the main (online) network rather than updated at every step.
Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What are the effects of periodically updating the weights of the target network in DQN?
Solution
Comprehension Passage
Consider a discounted (
), episodic task that has two non-terminal states, A and B. The rewards belongs to { 0,1,2,3 } set. The following are some episodes experienced by an agent following a fixed policy. The terminal state is not explicitly mentioned for any of the episodes.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
What is the estimate of
returned by first-visit MC?
What is the estimate of
Solution
Comprehension Passage
Consider a discounted (
), episodic task that has two non-terminal states, A and B. The rewards belongs to { 0,1,2,3 } set. The following are some episodes experienced by an agent following a fixed policy. The terminal state is not explicitly mentioned for any of the episodes.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
What is the estimate of
returned by first-visit MC?
What is the estimate of
Solution
Comprehension Passage
Consider a discounted (
), episodic task that has two non-terminal states, A and B. The rewards belongs to { 0,1,2,3 } set. The following are some episodes experienced by an agent following a fixed policy. The terminal state is not explicitly mentioned for any of the episodes.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
What is the estimate of
returned by batch
?
What is the estimate of
Solution
Comprehension Passage
Consider a discounted (
), episodic task that has two non-terminal states, A and B. The rewards belongs to { 0,1,2,3 } set. The following are some episodes experienced by an agent following a fixed policy. The terminal state is not explicitly mentioned for any of the episodes.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Inscript
What is the estimate of
returned by batch
?
What is the estimate of
Solution
Comprehension Passage
Consider the following Deep Q-Network given below that approximates the Q-values for actions
and
for states
. The hidden layer nodes (colored green) employ the
activation
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
and -3 is the weight for edge
.

We are interested in the Q-values calculated by the network for the following states:

Based on the above data, answer the given subquestions.
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
We are interested in the Q-values calculated by the network for the following states:
Based on the above data, answer the given subquestions.
Inscript
Recall the linear-approximator view for DQNs (
). Evaluate
i.e. the state-representation for
. Enter
(the L-1 norm of the state-representation) as your answer.
Recall the linear-approximator view for DQNs (
Solution
Comprehension Passage
Consider the following Deep Q-Network given below that approximates the Q-values for actions
and
for states
. The hidden layer nodes (colored green) employ the
activation
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
and -3 is the weight for edge
.

We are interested in the Q-values calculated by the network for the following states:

Based on the above data, answer the given subquestions.
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
We are interested in the Q-values calculated by the network for the following states:
Based on the above data, answer the given subquestions.
Obtain the state-representations for
and
as well. Which of the following pairs of states are the closest (euclidean distance) in their respective representations?
Solution
Comprehension Passage
Consider the following Deep Q-Network given below that approximates the Q-values for actions
and
for states
. The hidden layer nodes (colored green) employ the
activation
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
and -3 is the weight for edge
.

We are interested in the Q-values calculated by the network for the following states:

Based on the above data, answer the given subquestions.
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
We are interested in the Q-values calculated by the network for the following states:
Based on the above data, answer the given subquestions.
Inscript
What is
?
What is
Solution
Comprehension Passage
Consider the following Deep Q-Network given below that approximates the Q-values for actions
and
for states
. The hidden layer nodes (colored green) employ the
activation
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
and -3 is the weight for edge
.

We are interested in the Q-values calculated by the network for the following states:

Based on the above data, answer the given subquestions.
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
We are interested in the Q-values calculated by the network for the following states:
Based on the above data, answer the given subquestions.
Inscript
What is
?
What is
Solution
Comprehension Passage
Consider the following Deep Q-Network given below that approximates the Q-values for actions
and
for states
. The hidden layer nodes (colored green) employ the
activation
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
and -3 is the weight for edge
.

We are interested in the Q-values calculated by the network for the following states:

Based on the above data, answer the given subquestions.
function. The weights of the connections are given directly above the edges connecting the nodes. For instance, 3 is the weight for edge
We are interested in the Q-values calculated by the network for the following states:
Based on the above data, answer the given subquestions.
Inscript
Suppose you use
-greedy with
selection for balancing exploration with exploitation during training. What is the probability that you'll pick action O2 given that the observed state is
?
Suppose you use
Solution
Shape
Thickness [ / ]
3
All colors