Deep Reinforcement Learning
- 11Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the primary function of a deep policy network in reinforcement learning?
What is the primary function of a deep policy network in reinforcement learning?
11 questions
- 1
What is the primary function of a deep policy network in reinforcement learning?
- A
To compute the temporal difference error
- B
To estimate the value function for a given state
- C
To parametrize the policy as a neural network that outputs action probabilities
- D
To store and replay past experiences for training
Correct answer
CTo parametrize the policy as a neural network that outputs action probabilities
Explanation
A deep policy network uses a neural network to represent the policy function π, taking the state as input and outputting the probability of each action.
- A
- 2
In the policy gradient derivation, what does the gradient of the expected reward with respect to the policy parameters involve?
- A
The gradient of the reward function with respect to the action
- B
The gradient of the log policy multiplied by the quality function
- C
The gradient of the temporal difference error
- D
The gradient of the value function with respect to the state
Correct answer
BThe gradient of the log policy multiplied by the quality function
Explanation
The policy gradient is given by the expected value of the quality function times the gradient of the log policy, i.e., ∇θJ=E[Q(s,a)∇θlogπθ(a∣s)].
- A
- 3
What is the main advantage of using deep Q learning over tabular Q learning?
- A
It requires no experience replay
- B
It eliminates the need for exploration
- C
It guarantees convergence to the optimal policy
- D
It can handle very large or continuous state spaces using function approximation
Correct answer
DIt can handle very large or continuous state spaces using function approximation
Explanation
Deep Q learning parametrizes the Q function with a neural network, allowing generalization across states and addressing the curse of dimensionality.
- A
- 4
What loss function is minimized in deep Q learning?
- A
The negative log-likelihood of the policy
- B
The expectation of the squared temporal difference error
- C
The cross-entropy between predicted and target Q values
- D
The mean absolute error between state values
Correct answer
BThe expectation of the squared temporal difference error
Explanation
The cost function is L(θ)=E[(r+γmaxa′Qθ(s′,a′)−Qθ(s,a))2], which is the mean squared TD error.
- A
- 5
What is the key architectural innovation in dueling deep Q networks (DDQN)?
- A
Using two separate Q networks to reduce overestimation
- B
Replacing convolutional layers with fully connected layers
- C
Splitting the Q function into a value function and an advantage function
- D
Adding a recurrent layer to handle partial observability
Correct answer
CSplitting the Q function into a value function and an advantage function
Explanation
DDQN decomposes the Q function as Q(s,a)=V(s)+A(s,a), allowing the network to learn state values separately from the advantage of each action.
- A
- 6
In an actor-critic method, what role does the critic play?
- A
It learns the policy directly
- B
It estimates the value function to critique the actor's actions
- C
It stores and replays experiences
- D
It explores the environment by taking random actions
Correct answer
BIt estimates the value function to critique the actor's actions
Explanation
The critic learns a value function (or Q function) and provides feedback to the actor, which updates the policy based on the critic's evaluation.
- A
- 7
How does an advantage actor-critic (A2C) typically compute the policy gradient?
- A
Using the advantage function A(s,a)=Q(s,a)−V(s) as the weight
- B
Using the raw return as the weight for the log policy gradient
- C
Using only the value function V(s) as the baseline
- D
Using the temporal difference error without any baseline
Correct answer
AUsing the advantage function A(s,a)=Q(s,a)−V(s) as the weight
Explanation
A2C uses the advantage function to reduce variance in the policy gradient estimate, where the advantage is often computed as the TD error.
- A
- 8
What is the primary purpose of deep model predictive control (MPC) in the context of reinforcement learning?
- A
To perform value iteration in continuous state spaces
- B
To replace the need for exploration
- C
To directly optimize the Q function using gradient descent
- D
To learn a policy that mimics an expensive optimal controller
Correct answer
DTo learn a policy that mimics an expensive optimal controller
Explanation
Deep MPC trains a neural network policy to approximate the behavior of a computationally intensive model predictive controller, enabling fast execution.
- A
- 9
Which of the following best describes the relationship between the actor and critic in an actor-critic architecture?
- A
The actor directly updates the critic's parameters
- B
The actor and critic are trained independently on separate data
- C
The critic provides a learning signal to the actor, and both are updated jointly
- D
The critic uses the actor's policy to generate experience
Correct answer
CThe critic provides a learning signal to the actor, and both are updated jointly
Explanation
In actor-critic, the critic estimates the value function and the actor updates its policy using the critic's evaluation, allowing combined learning.
- A
- 10
In policy gradient methods, why is it beneficial to use the quality function Q(s,a) in the gradient estimate?
- A
It eliminates the need for a baseline
- B
It makes the gradient independent of the policy parameters
- C
It guarantees monotonic improvement of the policy
- D
It provides a lower variance estimate compared to using the full return
Correct answer
DIt provides a lower variance estimate compared to using the full return
Explanation
Using Q(s,a) as the weight in the policy gradient reduces variance by providing a more focused credit assignment for each action.
- A
- 11
What is a key characteristic of deep Q learning that distinguishes it from actor-critic methods?
- A
Deep Q learning learns a value function and derives a policy implicitly, while actor-critic explicitly learns a policy
- B
Deep Q learning uses a neural network only for the policy, not the value function
- C
Deep Q learning directly optimizes the policy, while actor-critic optimizes the value function
- D
Deep Q learning is on-policy, while actor-critic is off-policy
Correct answer
ADeep Q learning learns a value function and derives a policy implicitly, while actor-critic explicitly learns a policy
Explanation
Deep Q learning learns the Q function (value-based) and the policy is obtained by greedily selecting actions; actor-critic directly learns a policy (actor) and a value function (critic).
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.