1. Home
  2. Explore
  3. Computer Science
  4. Deep Reinforcement Learning Intro

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Deep Reinforcement Learning Intro

  • 66Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: RL Foundations

What type of problem does reinforcement learning primarily address?

66 questions

  1. 1

    What type of problem does reinforcement learning primarily address?

    1. A

      A classification problem involving one prediction from a fixed input

    2. B

      A decision-making problem involving multiple actions based on a stream of information

    3. C

      A regression problem involving independent numerical input-output pairs

    4. D

      A clustering problem involving unlabeled examples from one data distribution

    Correct answer
    B

    A decision-making problem involving multiple actions based on a stream of information

    Explanation

    Reinforcement learning addresses sequential decision-making: an agent observes information, takes an action, observes again, and continues making decisions.

  2. 2

    What is the central mapping learned by a reinforcement learning policy?

    1. A

      A mapping from states or observations to actions

    2. B

      A mapping from actions to previously observed rewards

    3. C

      A mapping from labels to independent input examples

    4. D

      A mapping from future states to past observations

    Correct answer
    A

    A mapping from states or observations to actions

    Explanation

    A policy, denoted by π\piπ, maps a state or observation to an action.

  3. 3

    How does reinforcement learning feedback typically differ from supervised learning feedback?

    1. A

      Reinforcement learning avoids using experience generated by the behavior being learned

    2. B

      Reinforcement learning receives the correct action for every state from an expert

    3. C

      Reinforcement learning always uses a larger labeled data set than supervised learning

    4. D

      Reinforcement learning uses indirect feedback rather than being directly given the correct output

    Correct answer
    D

    Reinforcement learning uses indirect feedback rather than being directly given the correct output

    Explanation

    In supervised learning, the desired output is explicitly labeled. In reinforcement learning, behavior is learned from more indirect feedback, such as rewards or other objectives.

  4. 4

    Why are reinforcement learning data points generally not independent and identically distributed?

    1. A

      The data distribution depends on the policy currently generating experience

    2. B

      The data distribution depends only on the neural network architecture

    3. C

      The data are generated independently without any interaction with an environment

    4. D

      The data always come from a fixed distribution of manually assigned labels

    Correct answer
    A

    The data distribution depends on the policy currently generating experience

    Explanation

    Reinforcement learning data are often generated by the policy being learned, so the policy influences which states and actions are encountered.

  5. 5

    Which situation is best characterized as a reinforcement learning problem because decisions affect future outcomes?

    1. A

      A clustering algorithm grouping documents without taking actions

    2. B

      A recommender choosing songs while considering what it should recommend later

    3. C

      A regression model estimating house prices from independent examples

    4. D

      A classifier assigning a fixed label to an isolated image

    Correct answer
    B

    A recommender choosing songs while considering what it should recommend later

    Explanation

    A recommendation affects future interactions and future recommendations, creating a feedback loop that is naturally modeled as sequential decision-making.

  6. 6

    What does deep reinforcement learning emphasize compared with traditional reinforcement learning methods?

    1. A

      Methods that scale to representations and policies implemented with deep neural networks

    2. B

      Methods that avoid neural networks and use only manually designed tables

    3. C

      Methods that require all actions to be provided by human demonstrators

    4. D

      Methods that apply only to games rather than physical or language tasks

    Correct answer
    A

    Methods that scale to representations and policies implemented with deep neural networks

    Explanation

    Deep reinforcement learning focuses on reinforcement learning solutions that can scale using deep neural networks.

  7. 7

    Which objective is especially suitable for reinforcement learning rather than ordinary supervised learning?

    1. A

      Estimating a continuous target from a fixed labeled data set

    2. B

      Optimizing an objective that lacks labels or is nondifferentiable

    3. C

      Predicting a provided label from an independently sampled input

    4. D

      Matching each training input to a known correct output

    Correct answer
    B

    Optimizing an objective that lacks labels or is nondifferentiable

    Explanation

    Reinforcement learning is useful when direct labels are unavailable, when feedback is indirect, or when the objective is not simply accuracy or is nondifferentiable.

  8. 8

    Which example illustrates reinforcement learning discovering a strategy that humans had not previously considered?

    1. A

      A robot executing a fixed trajectory programmed by an engineer

    2. B

      A chatbot copying the most common response in its training corpus

    3. C

      A recommender repeating the same song whenever it receives a click

    4. D

      A Go-playing system producing the surprising Move 37 against Lee Sedol

    Correct answer
    D

    A Go-playing system producing the surprising Move 37 against Lee Sedol

    Explanation

    Deep reinforcement learning helped a Go-playing system discover Move 37, a strategy that surprised human experts.

  9. 9

    Why can reinforcement learning be useful when direct supervision is unavailable?

    1. A

      It guarantees that an expert will demonstrate every possible behavior

    2. B

      It automatically converts every unlabeled example into a correct action label

    3. C

      It can learn from indirect feedback about whether behavior achieved a desired objective

    4. D

      It eliminates the need to define any objective for the agent

    Correct answer
    C

    It can learn from indirect feedback about whether behavior achieved a desired objective

    Explanation

    Reinforcement learning can use indirect feedback, such as positive or negative responses from a user, rather than requiring the correct output for every input.

  10. 10

    Which application was described as using reinforcement learning to transfer behavior from simulation to the real world?

    1. A

      Image classifiers assigning labels to independently sampled photographs

    2. B

      Legged robots learning behaviors in simulation and then performing them physically

    3. C

      Regression systems estimating values from manually entered spreadsheets

    4. D

      Chatbots learning language exclusively from static text without interaction

    Correct answer
    B

    Legged robots learning behaviors in simulation and then performing them physically

    Explanation

    The content described legged robots whose policies were trained with reinforcement learning in simulation and transferred to real-world robots.

  11. 11

    What role can reinforcement learning play in generative models?

    1. A

      It can ensure that a model never generates any output outside its original data set

    2. B

      It can replace the need for a prompt by selecting outputs independently of user goals

    3. C

      It can train only the tokenizer while leaving generated content unchanged

    4. D

      It can optimize generations so that they follow a specified prompt more effectively

    Correct answer
    D

    It can optimize generations so that they follow a specified prompt more effectively

    Explanation

    Reinforcement learning can optimize generative models so that outputs better adhere to a requested prompt, such as an image of a dolphin riding a bike.

  12. 12

    What did the real-world robot experiments illustrate about reinforcement learning?

    1. A

      A robot can learn effectively without interacting with the physical environment

    2. B

      A robot must receive a complete action sequence before it can perform any task

    3. C

      A robot improves only when its sensors are removed from the learning process

    4. D

      A robot can improve its task performance through repeated practice and experience

    Correct answer
    D

    A robot can improve its task performance through repeated practice and experience

    Explanation

    The experiments showed robots improving through repeated real-world practice, including learning to insert objects into target locations.

  13. 13

    Why is autonomous practice important for reinforcement learning in robotics?

    1. A

      Human assistance is required because robots cannot execute actions repeatedly

    2. B

      Autonomous practice prevents the robot from receiving any reward signal

    3. C

      Human assistance during every reset makes collecting large amounts of experience impractical

    4. D

      Human assistance guarantees that the robot explores more diverse strategies than autonomous practice

    Correct answer
    C

    Human assistance during every reset makes collecting large amounts of experience impractical

    Explanation

    If a human must repeatedly reset or reposition a robot after every attempt, large-scale data collection becomes impractical. Reset-free learning aims to reduce this dependence.

  14. 14

    Why is reward learning often necessary in real-world reinforcement learning?

    1. A

      Reward learning is needed because reinforcement learning never uses objectives

    2. B

      Task-specific rewards are always easier to define than behavioral feedback

    3. C

      Rewards cannot ever be measured using sensors or external tracking systems

    4. D

      Task-specific reward measurements are difficult to design and do not generalize easily

    Correct answer
    D

    Task-specific reward measurements are difficult to design and do not generalize easily

    Explanation

    Rewards such as negative distance to a goal or puck position can be designed for particular tasks, but these measurements are difficult to generalize, motivating reward learning.

  15. 15

    Which representation is an example of a robot's state?

    1. A

      Only the action selected at the previous time step

    2. B

      Only the final reward received after the entire task

    3. C

      Only the name of the task assigned to the robot

    4. D

      The arm position, towel position, and hook position

    Correct answer
    D

    The arm position, towel position, and hook position

    Explanation

    A state can include relevant information about the world, such as the positions of the robot arm, towel, and hook.

  16. 16

    What distinguishes an observation from a fully informative state?

    1. A

      An observation always contains more information than the underlying state

    2. B

      An observation is necessarily a reward rather than a world description

    3. C

      An observation may omit information needed to make the best decision

    4. D

      An observation can be used only in supervised learning systems

    Correct answer
    C

    An observation may omit information needed to make the best decision

    Explanation

    An observation may provide only partial information about the world, so the agent may need past observations to infer what is relevant for decision-making.

  17. 17

    Why might a chatbot need the history of previous messages rather than only the latest message?

    1. A

      Previous messages are required because chatbots cannot process individual messages

    2. B

      The latest message always contains the complete hidden state of the conversation

    3. C

      History is used only to increase response length, not to improve decision-making

    4. D

      The latest message alone may not specify the context needed for the next response

    Correct answer
    D

    The latest message alone may not specify the context needed for the next response

    Explanation

    A recent message may depend on earlier questions, answers, and feedback. Conversation history helps recover information about the current state.

  18. 18

    In a chatbot interaction, what could serve as an observation?

    1. A

      The total number of rewards from unrelated tasks

    2. B

      The complete set of all possible future conversations

    3. C

      The user's most recent message

    4. D

      The policy parameters used by the chatbot

    Correct answer
    C

    The user's most recent message

    Explanation

    The user's most recent message is an example of an observation available to the chatbot at a given time.

  19. 19

    When can a history of observations help approximate a state?

    1. A

      When actions are not allowed to depend on any sensory information

    2. B

      When individual observations omit information such as the velocity of nearby objects

    3. C

      When the environment is guaranteed to have no hidden or changing variables

    4. D

      When the current observation already contains every relevant variable exactly

    Correct answer
    B

    When individual observations omit information such as the velocity of nearby objects

    Explanation

    A history can reveal information missing from one observation. For example, successive LiDAR measurements can help infer how quickly nearby cars are moving.

  20. 20

    Why might a designer use an observation-based representation even when sensors are imperfect?

    1. A

      The algorithmic cost of storing extensive history may outweigh the benefit of exact state information

    2. B

      Imperfect sensors make it impossible to represent any current information

    3. C

      Observation-based representations always require less computation than state-based representations

    4. D

      A state representation is prohibited whenever a sensor can occasionally fail

    Correct answer
    A

    The algorithmic cost of storing extensive history may outweigh the benefit of exact state information

    Explanation

    Although imperfect sensors technically create partial observability, a state approximation may still be practical if maintaining the necessary history would be too costly.

  21. 21

    What is an action in a reinforcement learning formulation?

    1. A

      A hidden variable that describes the environment but cannot be controlled

    2. B

      A label assigned by a teacher to indicate the correct behavior

    3. C

      A decision taken by the agent that can affect the subsequent state

    4. D

      A summary of all rewards obtained before the current time step

    Correct answer
    C

    A decision taken by the agent that can affect the subsequent state

    Explanation

    Actions are the decisions made by the agent, such as moving a robot joint or producing a chatbot message.

  22. 22

    What is a trajectory?

    1. A

      A distribution containing only the rewards from many unrelated episodes

    2. B

      A single state paired with one externally supplied label

    3. C

      A sequence of states and actions, or observations and actions, during an interaction

    4. D

      A neural network that maps observations directly to parameter values

    Correct answer
    C

    A sequence of states and actions, or observations and actions, during an interaction

    Explanation

    A trajectory records the sequential interaction between an agent and its environment, including states or observations, actions, and often rewards.

  23. 23

    What does a reward function represent?

    1. A

      How good a particular state and action are for the task

    2. B

      How many observations must be stored before selecting an action

    3. C

      The probability that the initial state was sampled incorrectly

    4. D

      Which neural network architecture should be used for the policy

    Correct answer
    A

    How good a particular state and action are for the task

    Explanation

    A reward function assigns feedback describing the desirability of a state-action situation. In some tasks it depends only on the state.

  24. 24

    Why might a reward function depend on the action as well as the state?

    1. A

      State-only rewards cannot represent whether a task was completed

    2. B

      Action-dependent rewards are required for every reinforcement learning problem

    3. C

      Actions always contain more information about the world than states

    4. D

      The task may penalize costly actions, such as applying excessive motor torque

    Correct answer
    D

    The task may penalize costly actions, such as applying excessive motor torque

    Explanation

    A robot may receive reward for forward progress based on its state but also incur a penalty for using excessive energy or motor torque, which depends on the action.

  25. 25

    What is the Markov property in a state-based reinforcement learning model?

    1. A

      The reward is independent of both the state and the action

    2. B

      The next state depends equally on every previous state and action in the trajectory

    3. C

      The next state depends on the current state and action, not earlier states once the current state is known

    4. D

      The current action is determined only by the initial state of the environment

    Correct answer
    C

    The next state depends on the current state and action, not earlier states once the current state is known

    Explanation

    The Markov property states that, conditioned on the current state and action, earlier states do not provide additional information needed to determine the next-state distribution.

  26. 26

    What does the dynamics distribution P(St+1∣St,at)P(S_{t+1}\mid S_t,a_t)P(St+1​∣St​,at​) describe?

    1. A

      The probability of an observation given the entire future trajectory

    2. B

      The probability that the policy selected the current state from a reward label

    3. C

      The expected reward given only the initial state distribution

    4. D

      The probability distribution over the next state given the current state and action

    Correct answer
    D

    The probability distribution over the next state given the current state and action

    Explanation

    The dynamics model describes how the environment transitions from StS_tSt​ to St+1S_{t+1}St+1​ after action ata_tat​.

  27. 27

    Why does the Markov property generally not hold directly for partial observations?

    1. A

      The environment becomes deterministic whenever only observations are available

    2. B

      Partial observations contain all historical information by definition

    3. C

      A future observation may depend on hidden state information that earlier observations help reveal

    4. D

      Observations are always independent of the underlying state and environment

    Correct answer
    C

    A future observation may depend on hidden state information that earlier observations help reveal

    Explanation

    Because observations may omit parts of the state, earlier observations can provide information about the hidden state and therefore affect predictions of future observations.

  28. 28

    Which set of variables is a common state representation for a robot?

    1. A

      Only the final task reward and the robot's policy parameters

    2. B

      The user's message, conversation history, and chatbot response

    3. C

      Camera images, joint positions, and joint velocities

    4. D

      Only commanded joint positions without any sensory information

    Correct answer
    C

    Camera images, joint positions, and joint velocities

    Explanation

    A common robot representation includes RGB camera images, joint positions, and joint velocities.

  29. 29

    In the robot example, what is an action?

    1. A

      The velocity measured at the previous time step

    2. B

      The current camera image from the robot

    3. C

      The binary value indicating whether the towel is on the hook

    4. D

      A commanded next joint position

    Correct answer
    D

    A commanded next joint position

    Explanation

    The robot's action can be the next commanded joint position, such as moving a joint from 909090 degrees to 929292 degrees.

  30. 30

    What does representing a robot trajectory at 202020 Hertz imply?

    1. A

      The robot completes exactly 202020 independent tasks before receiving a reward

    2. B

      The robot uses exactly 202020 joints during every movement

    3. C

      Images, joint observations, and commanded actions are recorded 202020 times per second

    4. D

      The policy chooses one action every 202020 seconds

    Correct answer
    C

    Images, joint observations, and commanded actions are recorded 202020 times per second

    Explanation

    At 202020 Hertz, the trajectory is discretized into observations and actions occurring 202020 times per second.

  31. 31

    Which reward specification matches the robot towel-hanging example?

    1. A

      Reward 111 when the towel is on the hook and reward 000 otherwise

    2. B

      Reward only the number of camera images recorded during the episode

    3. C

      Reward 000 when the towel is on the hook and reward 111 otherwise

    4. D

      Reward 111 for every joint movement and reward 000 when the towel is placed

    Correct answer
    A

    Reward 111 when the towel is on the hook and reward 000 otherwise

    Explanation

    A sparse reward can assign 111 when the towel is successfully on the hook and 000 otherwise.

  32. 32

    What is the action in the chatbot example?

    1. A

      The time elapsed since the conversation began

    2. B

      The total number of positive and negative user ratings

    3. C

      The chatbot's next message, which may be a sentence or paragraph

    4. D

      The user's previous message, which serves as the current observation

    Correct answer
    C

    The chatbot's next message, which may be a sentence or paragraph

    Explanation

    The chatbot selects its next message as its action.

  33. 33

    How can the chatbot trajectory differ from the robot trajectory?

    1. A

      The chatbot trajectory must always contain exactly 202020 steps per second

    2. B

      The chatbot trajectory is event-driven by user responses rather than sampled at a fixed frequency

    3. C

      The chatbot trajectory cannot contain actions because language is not physical movement

    4. D

      The robot trajectory is always continuous while the chatbot trajectory contains no observations

    Correct answer
    B

    The chatbot trajectory is event-driven by user responses rather than sampled at a fixed frequency

    Explanation

    Robot data may be recorded at a fixed rate such as 202020 Hertz, whereas chatbot interaction timing depends on when the user responds.

  34. 34

    Which reward scheme matches the chatbot example?

    1. A

      Reward 111 for an upvote, reward −10-10−10 for a downvote, and reward 000 without feedback

    2. B

      Reward 111 for every message, reward −10-10−10 for waiting, and reward 000 for an upvote

    3. C

      Reward 111 for a downvote, reward −10-10−10 for an upvote, and reward 000 for every response

    4. D

      Reward only the length of the message, regardless of user feedback

    Correct answer
    A

    Reward 111 for an upvote, reward −10-10−10 for a downvote, and reward 000 without feedback

    Explanation

    The example assigns 111 for an upvote, −10-10−10 for a downvote, and 000 when the user provides no feedback.

  35. 35

    What is a policy in reinforcement learning?

    1. A

      A data set containing only independent labeled input-output pairs

    2. B

      A reward signal that evaluates the environment independently of behavior

    3. C

      A function or distribution that selects actions from states or observations

    4. D

      A transition rule that determines the next state without an action

    Correct answer
    C

    A function or distribution that selects actions from states or observations

    Explanation

    The policy, usually denoted by π\piπ, maps states, observations, or observation histories to actions.

  36. 36

    What can be used to represent a policy?

    1. A

      A convolutional neural network, transformer, fully connected network, or linear function

    2. B

      Only a dynamics model that predicts the next environment state

    3. C

      Only a convolutional neural network trained on image labels

    4. D

      Only a manually written lookup table with no learnable parameters

    Correct answer
    A

    A convolutional neural network, transformer, fully connected network, or linear function

    Explanation

    A policy may be represented by many function classes, including convolutional networks, transformers, fully connected networks, or linear functions.

  37. 37

    What does θ\thetaθ typically denote in a neural-network policy?

    1. A

      The parameters of the policy network being learned

    2. B

      The number of observations stored in the trajectory

    3. C

      The next state sampled from the environment dynamics

    4. D

      The reward received at the terminal state

    Correct answer
    A

    The parameters of the policy network being learned

    Explanation

    The symbol θ\thetaθ commonly denotes the parameters of the neural network used to represent the policy.

  38. 38

    What happens during a policy rollout?

    1. A

      The environment selects actions while the policy only records rewards after completion

    2. B

      The agent repeatedly observes the environment, samples actions, executes them, and records the resulting trajectory

    3. C

      The agent receives all correct actions in advance and never interacts with the environment

    4. D

      The agent predicts one state and terminates without collecting sequential experience

    Correct answer
    B

    The agent repeatedly observes the environment, samples actions, executes them, and records the resulting trajectory

    Explanation

    A rollout or episode is generated by repeatedly applying the policy, executing actions, observing new states, and forming a trajectory.

  39. 39

    Why does an observation-based policy often need memory?

    1. A

      Memory replaces the need for a policy network entirely

    2. B

      Memory is needed because actions cannot be selected from any current input

    3. C

      Multiple observations can provide information about hidden aspects of the current state

    4. D

      Memory guarantees that the environment becomes deterministic

    Correct answer
    C

    Multiple observations can provide information about hidden aspects of the current state

    Explanation

    When observations are partial, a history of observations can help infer the underlying state. Sequence models are often used to provide this memory.

  40. 40

    When is policy memory unnecessary in the ideal state-based formulation?

    1. A

      When the policy must imitate several different human strategies

    2. B

      When the current observation omits velocity and other hidden variables

    3. C

      When the current state contains all information needed for decision-making

    4. D

      When the environment has stochastic dynamics and uncertain outcomes

    Correct answer
    C

    When the current state contains all information needed for decision-making

    Explanation

    If the state is fully informative, the policy can select an action from the current state without requiring a history of past observations.

  41. 41

    Why might a stochastic policy be useful during learning?

    1. A

      It removes all variability caused by the environment

    2. B

      It ensures that the agent repeats exactly the same behavior in every situation

    3. C

      It encourages trying different actions or strategies for exploration

    4. D

      It prevents the policy from modeling variation in human behavior

    Correct answer
    C

    It encourages trying different actions or strategies for exploration

    Explanation

    A stochastic policy can explore different strategies rather than repeating one behavior, which is important for learning from practice.

  42. 42

    Why might a stochastic policy be useful for modeling human behavior?

    1. A

      Human behavior is always deterministic once the state is known

    2. B

      Human data never contain variation between individuals

    3. C

      A stochastic policy can model only physical actions, not decisions

    4. D

      Different people may use different strategies in the same situation

    Correct answer
    D

    Different people may use different strategies in the same situation

    Explanation

    If people use different strategies, a probability distribution over actions can represent the variation in their behavior.

  43. 43

    What is the primary objective of reinforcement learning?

    1. A

      To maximize the dimensionality of the policy's input

    2. B

      To minimize the number of states encountered during an episode

    3. C

      To reproduce the most frequent action in a labeled data set

    4. D

      To maximize the expected sum of rewards over a trajectory

    Correct answer
    D

    To maximize the expected sum of rewards over a trajectory

    Explanation

    The reinforcement learning objective is to find a policy that maximizes expected cumulative reward over trajectories.

  44. 44

    Why is the cumulative reward from a policy generally not deterministic?

    1. A

      The initial state is fixed and therefore creates unavoidable reward variation

    2. B

      The policy parameters change randomly during every environment transition

    3. C

      Both the environment dynamics and the policy may be stochastic

    4. D

      The reward function is always an independently sampled label

    Correct answer
    C

    Both the environment dynamics and the policy may be stochastic

    Explanation

    Different trajectories can result from stochastic environment transitions and stochastic action selection by the policy.

  45. 45

    How is the probability of a trajectory formed in a standard reinforcement learning model?

    1. A

      It is determined only by the final reward and ignores intermediate transitions

    2. B

      It is the sum of all state probabilities without any action probabilities

    3. C

      It is determined only by the probability of the first action

    4. D

      It combines the initial-state probability with the product of policy and dynamics probabilities

    Correct answer
    D

    It combines the initial-state probability with the product of policy and dynamics probabilities

    Explanation

    A trajectory probability includes the initial-state probability and the successive probabilities of actions under the policy and next states under the dynamics.

  46. 46

    How does the policy affect the expected-reward objective even when it is not written as a direct reward argument?

    1. A

      The policy has no effect on the objective unless reward explicitly includes π\piπ

    2. B

      The policy changes only the notation for rewards, not the states visited

    3. C

      The policy affects the objective only through the initial-state distribution

    4. D

      The policy changes the distribution of trajectories over which rewards are evaluated

    Correct answer
    D

    The policy changes the distribution of trajectories over which rewards are evaluated

    Explanation

    The policy determines action probabilities, which influence the trajectory distribution and therefore the expected cumulative reward.

  47. 47

    What does a discount factor less than 111 do to the reinforcement learning objective?

    1. A

      It removes the effect of the policy on the trajectory distribution

    2. B

      It guarantees that the environment will have deterministic dynamics

    3. C

      It makes all future rewards count exactly as much as immediate rewards

    4. D

      It gives greater relative importance to near-term rewards than distant rewards

    Correct answer
    D

    It gives greater relative importance to near-term rewards than distant rewards

    Explanation

    Discounting weights rewards by powers of a factor typically in (0,1](0,1](0,1]. Lower values make the objective more focused on near-term rewards.

  48. 48

    What happens when the discount factor equals 111?

    1. A

      Future rewards are weighted more heavily than immediate rewards

    2. B

      Only the first reward is included in the objective

    3. C

      The policy becomes deterministic regardless of its parameterization

    4. D

      The discounted objective reduces to the ordinary undiscounted sum of rewards

    Correct answer
    D

    The discounted objective reduces to the ordinary undiscounted sum of rewards

    Explanation

    When the discount factor is 111, each reward receives the same weight, giving the original sum-of-rewards objective.

  49. 49

    What does the value function Vπ(s)V^\pi(s)Vπ(s) represent?

    1. A

      The expected future reward from state sss when following policy π\piπ thereafter

    2. B

      The immediate reward of action aaa without considering any future states

    3. C

      The maximum reward achievable by any policy from every possible state

    4. D

      The probability that the initial state was sampled from the policy

    Correct answer
    A

    The expected future reward from state sss when following policy π\piπ thereafter

    Explanation

    The value function for policy π\piπ gives the expected future cumulative reward when starting at state sss and then following π\piπ.

  50. 50

    How does a Q-value function differ from a value function?

    1. A

      A Q-value evaluates starting from a state, taking a specified action, and then following a policy

    2. B

      A Q-value evaluates only the initial state and never conditions on an action

    3. C

      A Q-value always evaluates the optimal policy, whereas a value function evaluates no policy

    4. D

      A Q-value measures the probability of observing the next state without rewards

    Correct answer
    A

    A Q-value evaluates starting from a state, taking a specified action, and then following a policy

    Explanation

    A Q-value function considers a state-action pair: it evaluates taking action aaa at state sss and then following the policy afterward.

  51. 51

    What is the main idea of imitation learning?

    1. A

      To choose actions randomly until all states have been visited

    2. B

      To estimate the environment dynamics without observing demonstrations

    3. C

      To imitate a policy that achieves high reward

    4. D

      To optimize only the immediate reward without using behavior data

    Correct answer
    C

    To imitate a policy that achieves high reward

    Explanation

    Imitation learning seeks to reproduce the behavior of a policy, typically one that achieves high reward.

  52. 52

    What do policy-gradient methods attempt to do?

    1. A

      Copy actions from demonstrations without learning from experience

    2. B

      Directly differentiate the reinforcement learning objective to improve the policy

    3. C

      Predict future states while never changing the action distribution

    4. D

      Estimate only the initial-state distribution and leave the policy unchanged

    Correct answer
    B

    Directly differentiate the reinforcement learning objective to improve the policy

    Explanation

    Policy-gradient methods directly optimize the policy by differentiating the expected-reward objective.

  53. 53

    What is the central idea of actor-critic algorithms?

    1. A

      They estimate the current policy's value and use that estimate to improve the policy

    2. B

      They use only demonstrations and never estimate values

    3. C

      They learn only the environment dynamics and do not represent a policy

    4. D

      They replace rewards with independent supervised labels

    Correct answer
    A

    They estimate the current policy's value and use that estimate to improve the policy

    Explanation

    Actor-critic methods use a value estimate of the current policy to guide policy improvement.

  54. 54

    What do value-based methods generally do?

    1. A

      They learn only a reward function and never select actions

    2. B

      They estimate the value of an optimal policy and use it to derive a good policy

    3. C

      They directly imitate a high-reward policy without estimating values

    4. D

      They require the policy to remain stochastic throughout training

    Correct answer
    B

    They estimate the value of an optimal policy and use it to derive a good policy

    Explanation

    Value-based methods estimate values associated with optimal behavior and then use those estimates to obtain a policy.

  55. 55

    What is the defining strategy of model-based reinforcement learning?

    1. A

      Estimate policy values without representing how actions affect the world

    2. B

      Learn only the reward labels while assuming the environment never changes

    3. C

      Learn a model of environment dynamics, predict the future, and use it for planning or policy improvement

    4. D

      Copy human actions without predicting any future state

    Correct answer
    C

    Learn a model of environment dynamics, predict the future, and use it for planning or policy improvement

    Explanation

    Model-based methods learn or use a dynamics model to predict future states, enabling planning or policy improvement.

  56. 56

    Why are there many different reinforcement learning algorithms?

    1. A

      Every algorithm is designed for exactly the same data and action setting

    2. B

      All algorithms optimize different objectives that are unrelated to reward

    3. C

      Different algorithms make different trade-offs and rely on different assumptions

    4. D

      Reinforcement learning has no common objective across applications

    Correct answer
    C

    Different algorithms make different trade-offs and rely on different assumptions

    Explanation

    Algorithm choice depends on factors such as data cost, supervision availability, stability, action structure, and whether dynamics are easy to learn.

  57. 57

    Which condition would favor an algorithm designed for data efficiency?

    1. A

      Collecting experience requires expensive interaction with people or physical systems

    2. B

      The environment provides unlimited labeled demonstrations at no cost

    3. C

      The action space has no effect on the cost of collecting data

    4. D

      Experience can be generated almost freely in a fast simulator

    Correct answer
    A

    Collecting experience requires expensive interaction with people or physical systems

    Explanation

    When real-world or human interaction is expensive, methods that learn effectively from limited data are especially valuable.

  58. 58

    Which action-space characteristic can affect reinforcement learning algorithm choice?

    1. A

      Whether the environment was introduced before or after supervised learning

    2. B

      Whether the agent's observations are stored in a chronological file

    3. C

      Whether actions are discrete or continuous and how high-dimensional they are

    4. D

      Whether the task has a title that identifies its application domain

    Correct answer
    C

    Whether actions are discrete or continuous and how high-dimensional they are

    Explanation

    Algorithms can behave differently depending on whether actions are discrete or continuous and on the dimensionality of the action space.

  59. 59

    What is a sparse reward problem?

    1. A

      A problem in which the environment has no possible terminal state

    2. B

      A problem in which the policy has too many parameters but abundant supervision

    3. C

      A problem in which rewards provide little feedback toward the goal during most attempts

    4. D

      A problem in which rewards are received at every time step with detailed guidance

    Correct answer
    C

    A problem in which rewards provide little feedback toward the goal during most attempts

    Explanation

    Sparse rewards provide little learning signal, such as giving 111 only upon task completion and 000 otherwise.

  60. 60

    Why can demonstrations help with sparse-reward reinforcement learning?

    1. A

      They make all environment transitions deterministic

    2. B

      They ensure that the agent never needs to try alternative actions

    3. C

      They eliminate the need for any reward function or objective

    4. D

      They can initialize behavior near successful trajectories and improve exploration

    Correct answer
    D

    They can initialize behavior near successful trajectories and improve exploration

    Explanation

    Demonstrations can jumpstart exploration by showing the agent behavior that reaches the goal, providing useful experience when rewards are rarely observed.

  61. 61

    Which pair represents the two main sources of variability in trajectory rewards?

    1. A

      Supervised labels and independent input sampling

    2. B

      Neural network architecture and the number of reward terms

    3. C

      Fixed initial states and deterministic policy action selection

    4. D

      Stochastic environment dynamics and stochastic policy action selection

    Correct answer
    D

    Stochastic environment dynamics and stochastic policy action selection

    Explanation

    Trajectory rewards vary because the environment can transition randomly and the policy can sample different actions.

  62. 62

    Why is exploration necessary when learning a task such as playing tennis?

    1. A

      Exploration is needed only when the environment has no rewards

    2. B

      Trying different techniques can reveal which strategies produce better outcomes

    3. C

      Trying different techniques prevents the policy from learning any useful behavior

    4. D

      Repeating one technique guarantees discovery of all possible strategies

    Correct answer
    B

    Trying different techniques can reveal which strategies produce better outcomes

    Explanation

    A stochastic policy can explore multiple techniques, allowing the agent to discover which strategies work best.

  63. 63

    What is an MDP in the terminology introduced?

    1. A

      A formulation using only observations and no actions or rewards

    2. B

      A formulation using states, actions, rewards, initial-state distribution, and dynamics

    3. C

      A policy that always selects the same action from every state

    4. D

      A neural network architecture for predicting labels from independent examples

    Correct answer
    B

    A formulation using states, actions, rewards, initial-state distribution, and dynamics

    Explanation

    A Markov decision process, or MDP, describes the reinforcement learning problem using states, actions, reward functions, an initial-state distribution, and dynamics.

  64. 64

    What is a POMDP?

    1. A

      A process in which the agent observes the complete state but cannot take actions

    2. B

      A supervised learning problem with partially missing labels

    3. C

      A partially observable Markov decision process in which the agent receives observations rather than complete states

    4. D

      A deterministic process that contains no reward function

    Correct answer
    C

    A partially observable Markov decision process in which the agent receives observations rather than complete states

    Explanation

    A POMDP, or partially observable Markov decision process, models settings where the agent has observations that may not reveal the full state.

  65. 65

    What is the key relationship between an observation and the underlying state?

    1. A

      The state is generated from the observation and always contains less information

    2. B

      The observation is generated from the current state but may contain only part of its information

    3. C

      The observation and state are unrelated random variables in the environment

    4. D

      The observation is necessarily identical to the complete state

    Correct answer
    B

    The observation is generated from the current state but may contain only part of its information

    Explanation

    An observation is a function or measurement of the current state, but it may omit information needed for optimal decisions.

  66. 66

    Which collection of concepts together describes a standard reinforcement learning problem?

    1. A

      Labels, independent inputs, prediction errors, and a fixed classification boundary

    2. B

      Actions, neural networks, demonstrations, and no environmental transitions

    3. C

      Images, class names, batch sizes, and a supervised loss only

    4. D

      States or observations, actions, rewards, initial conditions, and transition dynamics

    Correct answer
    D

    States or observations, actions, rewards, initial conditions, and transition dynamics

    Explanation

    The reinforcement learning formulation includes the agent's information state, actions, rewards, initial-state distribution, and environment dynamics.

Question 1 of 66
Question 1 of 66

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent