1. Home
  2. Explore
  3. Computer Science
  4. Reinforcement Learning Overview

Study methods

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

Reinforcement Learning Overview

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

What is the central idea of reinforcement learning?

67 questions

  1. 1

    What is the central idea of reinforcement learning?

    1. A

      An algorithm proves that every decision has a unique correct answer

    2. B

      A system identifies objects without interacting with its environment

    3. C

      An automated agent learns through experience to make good decisions

    4. D

      A computer memorizes labels supplied for every possible input

    Correct answer
    C

    An automated agent learns through experience to make good decisions

    Explanation

    Reinforcement learning is described as an automated agent learning through experience to make good decisions.

  2. 2

    Why is decision-making important to a general theory of intelligence?

    1. A

      Decision-making eliminates the need for perceptual processing

    2. B

      Intelligent systems only need to recognize objects accurately

    3. C

      Intelligent behavior requires choosing actions based on perceptions and information

    4. D

      General intelligence depends exclusively on memorizing past observations

    Correct answer
    C

    Intelligent behavior requires choosing actions based on perceptions and information

    Explanation

    Perception identifies information, but intelligent behavior also requires making decisions based on that information.

  3. 3

    What makes reinforcement learning especially challenging compared with merely identifying objects?

    1. A

      It assumes that every possible action has a known correct label

    2. B

      It requires processing images without assigning any meaning to them

    3. C

      It avoids using experience because experience introduces uncertainty

    4. D

      It requires learning which actions are good under uncertainty and limited data

    Correct answer
    D

    It requires learning which actions are good under uncertainty and limited data

    Explanation

    The lecture emphasizes learning to make good decisions when the world is uncertain and available data are limited.

  4. 4

    Which researcher is especially associated with foundational ideas about learning to make decisions under uncertainty?

    1. A

      Yann LeCun

    2. B

      Hamsa Bastani

    3. C

      Peter Henderson

    4. D

      Richard Bellman

    Correct answer
    D

    Richard Bellman

    Explanation

    The lecture identifies Richard Bellman as a pioneer of ideas concerning decision-making under uncertainty.

  5. 5

    Why is reinforcement learning considered practically useful?

    1. A

      It requires no data, interaction, or specification of desired outcomes

    2. B

      It guarantees that every real-world problem has a simple solution

    3. C

      It can solve important problems and achieve unprecedented performance

    4. D

      It replaces all forms of supervised and unsupervised learning

    Correct answer
    C

    It can solve important problems and achieve unprecedented performance

    Explanation

    A major motivation for reinforcement learning is its practical success in challenging domains.

  6. 6

    What combination of techniques helped produce an AI system that played Go better than humans?

    1. A

      Imitation learning and nearest-neighbor search

    2. B

      Supervised classification and linear regression

    3. C

      Reinforcement learning and Monte Carlo Tree Search

    4. D

      Unsupervised clustering and principal component analysis

    Correct answer
    C

    Reinforcement learning and Monte Carlo Tree Search

    Explanation

    The Go system combined reinforcement learning with Monte Carlo Tree Search.

  7. 7

    In the fusion-science application, what did deep reinforcement learning control?

    1. A

      Databases used to store measurements from fusion experiments

    2. B

      Text models used to summarize scientific research papers

    3. C

      Coil controllers used to manipulate plasma into different shapes

    4. D

      Sensors used to classify images of laboratory equipment

    Correct answer
    C

    Coil controllers used to manipulate plasma into different shapes

    Explanation

    The application used reinforcement learning to command coil controllers and manipulate the plasma configuration.

  8. 8

    How was reinforcement learning used in Greece during the COVID-19 pandemic?

    1. A

      It automatically generated vaccines from infectious disease data

    2. B

      It replaced all human decisions about hospital treatment

    3. C

      It predicted every individual’s future infection with certainty

    4. D

      It helped decide whom to test at the border with limited resources

    Correct answer
    D

    It helped decide whom to test at the border with limited resources

    Explanation

    The system used changing data to allocate limited testing resources at Greece’s border.

  9. 9

    What was AlphaTensor presented as accomplishing?

    1. A

      Learning a faster algorithm for matrix multiplication while preserving correctness

    2. B

      Replacing matrix multiplication with a fixed hand-designed lookup table

    3. C

      Approximating matrix products more quickly by allowing numerical errors

    4. D

      Classifying matrices into categories using human-provided labels

    Correct answer
    A

    Learning a faster algorithm for matrix multiplication while preserving correctness

    Explanation

    AlphaTensor learned a faster matrix-multiplication algorithm and produced the correct value rather than an approximate one.

  10. 10

    Which set lists the four commonly emphasized aspects of reinforcement learning?

    1. A

      Classification, compression, clustering, and visualization

    2. B

      Perception, storage, retrieval, and compilation

    3. C

      Optimization, delayed consequences, exploration, and generalization

    4. D

      Recognition, translation, generation, and tokenization

    Correct answer
    C

    Optimization, delayed consequences, exploration, and generalization

    Explanation

    The four aspects identified are optimization, delayed consequences, exploration, and generalization.

  11. 11

    What does the optimization aspect of reinforcement learning require?

    1. A

      A representation containing only unlabeled observations

    2. B

      A notion of utility that allows different decisions to be ranked

    3. C

      A rule that prevents the agent from comparing alternative actions

    4. D

      A guarantee that all decisions produce identical outcomes

    Correct answer
    B

    A notion of utility that allows different decisions to be ranked

    Explanation

    Optimization concerns choosing the best decisions, so the agent needs some notion of utility or value.

  12. 12

    Why are delayed consequences difficult even when the world’s rules are known?

    1. A

      Planning must account for how current choices affect distant future outcomes

    2. B

      Known rules make it impossible to compare alternative decisions

    3. C

      Immediate rewards always provide enough information for optimal planning

    4. D

      Delayed consequences matter only when the environment is fully random

    Correct answer
    A

    Planning must account for how current choices affect distant future outcomes

    Explanation

    Chess illustrates this challenge: the rules are known, but selecting an action requires reasoning about long-term ramifications.

  13. 13

    What is temporal credit assignment?

    1. A

      Choosing actions randomly until an episode terminates

    2. B

      Predicting the next observation without considering past actions

    3. C

      Assigning the same reward to every action in an episode

    4. D

      Determining which earlier decisions caused a later good or bad outcome

    Correct answer
    D

    Determining which earlier decisions caused a later good or bad outcome

    Explanation

    Temporal credit assignment concerns identifying which prior decisions contributed to a later result.

  14. 14

    Why is exploration necessary in reinforcement learning?

    1. A

      The environment automatically reveals all counterfactual outcomes

    2. B

      The agent can learn optimal behavior without collecting experience

    3. C

      The agent is given complete information about every untried action

    4. D

      The agent learns about the world primarily through the actions it tries

    Correct answer
    D

    The agent learns about the world primarily through the actions it tries

    Explanation

    Information is censored: the agent directly learns about the outcomes of actions it actually tries.

  15. 15

    What counterfactual limitation makes exploration difficult?

    1. A

      An agent receives complete labels for all unavailable alternatives

    2. B

      An agent generally cannot observe what would have happened after an action it did not take

    3. C

      An agent always observes every possible future after taking one action

    4. D

      An agent can rewind the world and compare identical individuals under both choices

    Correct answer
    B

    An agent generally cannot observe what would have happened after an action it did not take

    Explanation

    The lecture uses alternative promotions and alternative life paths to illustrate that unchosen outcomes are generally unobservable.

  16. 16

    Why is generalization essential in realistic reinforcement-learning tasks?

    1. A

      Realistic tasks contain only a few states that can always be written in a table

    2. B

      Generalization allows an agent to avoid making decisions from observations

    3. C

      Generalization guarantees that the agent never needs a policy

    4. D

      The number of possible situations can be too large to list a separate action for each one

    Correct answer
    D

    The number of possible situations can be too large to list a separate action for each one

    Explanation

    Large input spaces, such as video-game images, make explicit action tables infeasible.

  17. 17

    Why might a deep neural network be useful for choosing actions from video-game images?

    1. A

      It removes the need to define rewards or evaluate outcomes

    2. B

      It converts every image into a guaranteed optimal action without learning

    3. C

      It can represent decisions across an extremely large space of possible images

    4. D

      It ensures that the environment has deterministic dynamics

    Correct answer
    C

    It can represent decisions across an extremely large space of possible images

    Explanation

    A neural network can provide a compact function for mapping many possible observations to decisions.

  18. 18

    Which pair of features is emphasized as central to supervised learning?

    1. A

      Optimization of long-term utility and temporal credit assignment

    2. B

      Stochastic policies and model-based planning

    3. C

      Delayed consequences and exploration through direct interaction

    4. D

      Learning from labeled data and generalizing to new inputs

    Correct answer
    D

    Learning from labeled data and generalizing to new inputs

    Explanation

    Supervised learning learns from labeled data and must generalize beyond the training examples.

  19. 19

    How does unsupervised learning differ from supervised learning in the comparison presented?

    1. A

      It receives expert trajectories containing correct actions

    2. B

      It requires a reward model for every observation

    3. C

      It optimizes delayed rewards through trial and error

    4. D

      It learns from experience without receiving explicit labels

    Correct answer
    D

    It learns from experience without receiving explicit labels

    Explanation

    Unsupervised learning does not receive labels, although it still learns from data and seeks useful generalization.

  20. 20

    What information is typically available in imitation learning or behavior cloning?

    1. A

      A complete model of every environmental transition

    2. B

      Only random actions with no indication of their quality

    3. C

      A reward signal generated independently of all demonstrations

    4. D

      Expert trajectories that demonstrate good policies

    Correct answer
    D

    Expert trajectories that demonstrate good policies

    Explanation

    Imitation learning generally assumes access to demonstrations of good behavior or expert trajectories.

  21. 21

    Why can imitation learning be reduced to supervised learning?

    1. A

      The learner maps observed inputs in demonstrations to the demonstrated actions

    2. B

      The learner must discover all useful behavior without observing actions

    3. C

      The learner receives rewards only after very long sequences

    4. D

      The learner constructs a transition model before seeing any examples

    Correct answer
    A

    The learner maps observed inputs in demonstrations to the demonstrated actions

    Explanation

    Behavior cloning treats demonstrated input-action pairs as supervised training examples.

  22. 22

    What is the main difference between ordinary imitation learning and RLHF as described for language models?

    1. A

      RLHF uses human preferences to learn a reward and then performs reinforcement learning

    2. B

      RLHF ignores human judgments and trains only on random internet text

    3. C

      Imitation learning always explores beyond human behavior, whereas RLHF cannot

    4. D

      Imitation learning requires reward modeling, whereas RLHF uses only fixed labels

    Correct answer
    A

    RLHF uses human preferences to learn a reward and then performs reinforcement learning

    Explanation

    RLHF collects comparisons or rankings from people, learns a preference-based reward model, and optimizes it with reinforcement learning.

  23. 23

    What was the high-level training sequence described for ChatGPT?

    1. A

      Unsupervised clustering, image classification, and Monte Carlo Tree Search

    2. B

      Reward modeling, behavior deletion, and deterministic policy execution

    3. C

      Planning with a known model, random exploration, and supervised labeling

    4. D

      Behavior cloning, preference-based reward modeling, and reinforcement learning

    Correct answer
    D

    Behavior cloning, preference-based reward modeling, and reinforcement learning

    Explanation

    The sequence begins with supervised imitation, then learns a reward from preferences, and finally applies RLHF.

  24. 24

    When might reinforcement learning outperform imitation learning?

    1. A

      When expert demonstrations completely specify every useful action

    2. B

      When the agent must exceed human performance rather than copy it

    3. C

      When exploration is unnecessary and all rewards are already labeled

    4. D

      When the task has no objective that can be optimized

    Correct answer
    B

    When the agent must exceed human performance rather than copy it

    Explanation

    Imitating experts generally cannot surpass the quality of the demonstrations, whereas reinforcement learning can optimize beyond them.

  25. 25

    Why can reinforcement learning be useful when no prior task data exist?

    1. A

      It can infer expert actions without interacting with the environment

    2. B

      It can learn from scratch through interaction and directly optimize performance

    3. C

      It transforms an unknown task into a labeled dataset automatically

    4. D

      It avoids needing any feedback about the quality of decisions

    Correct answer
    B

    It can learn from scratch through interaction and directly optimize performance

    Explanation

    Reinforcement learning is useful when an agent must acquire experience itself and optimize a specified objective.

  26. 26

    What is a sequential decision-making problem under uncertainty?

    1. A

      An agent repeatedly acts, receives observations and rewards, and chooses future actions

    2. B

      An algorithm selects one action after observing the entire future

    3. C

      A learner receives one fixed label and makes no further decisions

    4. D

      A system classifies a static dataset without affecting its environment

    Correct answer
    A

    An agent repeatedly acts, receives observations and rewards, and chooses future actions

    Explanation

    The agent interacts repeatedly with the world, receiving feedback after actions and using it to guide later decisions.

  27. 27

    What is the general objective of an agent in sequential decision-making?

    1. A

      To maximize the expected total of future rewards

    2. B

      To minimize the number of actions regardless of their consequences

    3. C

      To reproduce every past action exactly

    4. D

      To maximize only the probability of the next observation

    Correct answer
    A

    To maximize the expected total of future rewards

    Explanation

    The goal is to select actions that maximize expected future reward, including both immediate and later rewards.

  28. 28

    What trade-off may arise when an agent balances short-term and long-term rewards?

    1. A

      Long-term rewards can be ignored whenever the environment is uncertain

    2. B

      An action with a smaller immediate payoff may produce greater future benefits

    3. C

      Short-term and long-term rewards cannot occur in the same task

    4. D

      An action with the best immediate reward must always be globally optimal

    Correct answer
    B

    An action with a smaller immediate payoff may produce greater future benefits

    Explanation

    Sequential decisions often require sacrificing an immediate benefit to obtain a larger later benefit.

  29. 29

    In web advertising, which item is an example of an observation or feedback signal?

    1. A

      Whether a user clicks an advertisement or makes a purchase

    2. B

      The internal neural-network parameters of the advertising system

    3. C

      The set of all advertisements that could ever be created

    4. D

      The programmer’s preferred policy before deployment

    Correct answer
    A

    Whether a user clicks an advertisement or makes a purchase

    Explanation

    Clicks, viewing behavior, and purchases are observations that provide feedback about advertising decisions.

  30. 30

    Why might rewarding a household robot whenever no dishes remain on the counter cause reward hacking?

    1. A

      The robot could push the dishes onto the floor instead of cleaning them

    2. B

      The robot would learn that clean dishes are more valuable than dirty dishes

    3. C

      The reward would prevent the robot from taking any action

    4. D

      The robot would necessarily place every dish in the dishwasher correctly

    Correct answer
    A

    The robot could push the dishes onto the floor instead of cleaning them

    Explanation

    The specified reward can be achieved by removing dishes from the counter without accomplishing the intended goal of cleaning them.

  31. 31

    What would be a better reward specification for the dishwashing robot?

    1. A

      Rewarding only the absence of dishes from the counter

    2. B

      Rewarding the robot whenever it moves its joints quickly

    3. C

      Rewarding the robot whenever dishes become hidden from its camera

    4. D

      Rewarding dishes being placed in the dishwasher and successfully cleaned

    Correct answer
    D

    Rewarding dishes being placed in the dishwasher and successfully cleaned

    Explanation

    The intended objective is not merely clearing the counter but putting dishes in the dishwasher and cleaning them.

  32. 32

    What does a history hth_tht​ contain in a sequential decision process?

    1. A

      Only the agent’s current action and its next possible reward

    2. B

      Past actions, observations, and rewards up to the current time

    3. C

      Only the most recent observation, excluding prior actions and rewards

    4. D

      All future states that the environment will eventually visit

    Correct answer
    B

    Past actions, observations, and rewards up to the current time

    Explanation

    A history records the sequence of actions, observations, and rewards experienced up to time ttt.

  33. 33

    Why are sufficient statistics useful for representing history?

    1. A

      They replace rewards with labels from a supervised dataset

    2. B

      They guarantee that no uncertainty remains in the environment

    3. C

      They ensure that every policy becomes deterministic

    4. D

      They summarize relevant history without storing the entire past

    Correct answer
    D

    They summarize relevant history without storing the entire past

    Explanation

    A sufficient statistic provides the information needed for decision-making while avoiding an unbounded history representation.

  34. 34

    What is the state space in the educational tutoring example?

    1. A

      A representation of the student’s knowledge or learning history

    2. B

      The set of all possible advertisements shown to students

    3. C

      The set of actions the student could take outside the lesson

    4. D

      The list of rewards available to the tutoring agent

    Correct answer
    A

    A representation of the student’s knowledge or learning history

    Explanation

    Possible states include a vector describing mastery of addition and subtraction or a history of questions and responses.

  35. 35

    What is the action space in the tutoring example?

    1. A

      Giving the student an addition problem or a subtraction problem

    2. B

      Assigning a mastery score after observing the student

    3. C

      Recording whether the student’s answer was correct

    4. D

      Changing the numerical value of the reward after each problem

    Correct answer
    A

    Giving the student an addition problem or a subtraction problem

    Explanation

    The teaching agent’s available actions are to provide addition practice or subtraction practice.

  36. 36

    What reward does the tutoring agent receive when the student answers a practice problem correctly?

    1. A

      A reward equal to the student’s mastery probability

    2. B

      A reward of 000

    3. C

      A reward of +1+1+1

    4. D

      A reward of −1-1−1

    Correct answer
    C

    A reward of +1+1+1

    Explanation

    The specified reward is +1+1+1 for a correct answer and −1-1−1 for an incorrect answer.

  37. 37

    What does the dynamics model represent in the tutoring example?

    1. A

      How the student’s knowledge or history changes after a practice problem

    2. B

      How the agent chooses a discount factor independently of experience

    3. C

      How many possible topics exist in the entire curriculum

    4. D

      How the agent converts rewards into action labels

    Correct answer
    A

    How the student’s knowledge or history changes after a practice problem

    Explanation

    The dynamics model describes the transition to a new student state after the agent presents a question.

  38. 38

    What reward-hacking behavior could arise from the tutoring reward based on correctness or speed?

    1. A

      The tutor would optimize mastery even if mastery were never rewarded

    2. B

      The tutor would stop observing student answers altogether

    3. C

      The tutor would necessarily assign increasingly difficult questions

    4. D

      The tutor could give only very easy questions to obtain frequent rewards

    Correct answer
    D

    The tutor could give only very easy questions to obtain frequent rewards

    Explanation

    If easy questions produce reliable or rapid positive rewards, maximizing the stated reward may discourage meaningful learning.

  39. 39

    What is a Markov state?

    1. A

      A state that guarantees the next reward is always deterministic

    2. B

      A state that records every event that will occur in the future

    3. C

      A state that contains no information about the current environment

    4. D

      A state that makes the next-state distribution independent of earlier history

    Correct answer
    D

    A state that makes the next-state distribution independent of earlier history

    Explanation

    A state is Markov when conditioning on the current state and action gives the same next-state distribution as conditioning on the entire history.

  40. 40

    Which statement expresses the intuition behind the Markov assumption?

    1. A

      The present is irrelevant once the past has been observed

    2. B

      The future is completely predictable from the past alone

    3. C

      The past is independent of the present given the future

    4. D

      The future is independent of the past given the present

    Correct answer
    D

    The future is independent of the past given the present

    Explanation

    A sufficiently informative present state makes earlier history unnecessary for predicting the future.

  41. 41

    What is one reason for using the last four Atari frames rather than only the most recent frame?

    1. A

      Multiple frames eliminate the need for a policy network

    2. B

      Multiple frames can reveal motion such as velocity or acceleration

    3. C

      Four frames guarantee that the game dynamics are deterministic

    4. D

      A single frame always contains too many rewards to interpret

    Correct answer
    B

    Multiple frames can reveal motion such as velocity or acceleration

    Explanation

    Temporal differences across frames can reveal how objects are moving, information that one frame may not show.

  42. 42

    What is partial observability?

    1. A

      The agent observes every relevant variable without noise

    2. B

      The environment contains no hidden or latent information

    3. C

      The agent’s observations do not uniquely reveal the underlying state

    4. D

      The agent has a complete and accurate dynamics model

    Correct answer
    C

    The agent’s observations do not uniquely reveal the underlying state

    Explanation

    A partially observable environment prevents the agent from uniquely identifying its true state from available observations.

  43. 43

    Why might a student’s answer provide only a noisy observation of the student’s knowledge?

    1. A

      Every correct answer proves complete mastery with certainty

    2. B

      Every incorrect answer proves that the student has never studied

    3. C

      Student knowledge is directly observable without using responses

    4. D

      A student can answer correctly by guessing or incorrectly despite knowing the material

    Correct answer
    D

    A student can answer correctly by guessing or incorrectly despite knowing the material

    Explanation

    Correct and incorrect responses are imperfect indicators because people can guess or make occasional mistakes.

  44. 44

    Why could a robot using a laser rangefinder be unable to determine which floor it is on?

    1. A

      The robot’s actions make all rooms physically identical

    2. B

      The rangefinder measures rewards instead of environmental distances

    3. C

      Laser rangefinders reveal the robot’s exact location on every floor

    4. D

      Different floors may produce identical distance measurements from the robot’s viewpoint

    Correct answer
    D

    Different floors may produce identical distance measurements from the robot’s viewpoint

    Explanation

    Rooms with similar geometry can produce the same range measurements even when they are on different floors.

  45. 45

    What is the difference between deterministic and stochastic dynamics?

    1. A

      Deterministic dynamics involve actions, whereas stochastic dynamics involve only states

    2. B

      Deterministic dynamics have fixed outcomes, whereas stochastic dynamics specify outcome probabilities

    3. C

      Deterministic dynamics use rewards, whereas stochastic dynamics never use rewards

    4. D

      Deterministic dynamics require observations, whereas stochastic dynamics cannot produce observations

    Correct answer
    B

    Deterministic dynamics have fixed outcomes, whereas stochastic dynamics specify outcome probabilities

    Explanation

    In deterministic systems an action leads to a fixed outcome; in stochastic systems it induces a distribution over possible outcomes.

  46. 46

    What characterizes a bandit setting in the advertising example?

    1. A

      Each customer is guaranteed to respond identically to every advertisement

    2. B

      An advertisement affects immediate reward but does not change the next customer’s state

    3. C

      An advertisement determines the complete sequence of future customer states

    4. D

      The agent receives delayed rewards but no immediate feedback

    Correct answer
    B

    An advertisement affects immediate reward but does not change the next customer’s state

    Explanation

    In the bandit formulation, the selected ad affects the current customer’s reward but not the state of the next customer.

  47. 47

    What are the states in the Mars rover example?

    1. A

      The names of all scientific instruments on the rover

    2. B

      The rover’s seven possible discrete locations

    3. C

      The complete history of every rover mission ever conducted

    4. D

      The rover’s possible reward values only

    Correct answer
    B

    The rover’s seven possible discrete locations

    Explanation

    The simplified Mars environment contains seven locations, and the rover’s location defines its state.

  48. 48

    What actions are available to the Mars rover in the example?

    1. A

      Guaranteeing movement left or guaranteeing movement right

    2. B

      Choosing a new state or rewriting the dynamics model

    3. C

      Observing the planet or changing the reward function

    4. D

      Trying to move left or trying to move right

    Correct answer
    D

    Trying to move left or trying to move right

    Explanation

    The rover can choose the actions “try left” and “try right,” with movement not always succeeding.

  49. 49

    What does the rover’s dynamics model specify?

    1. A

      The number of locations that can be visited during the entire mission

    2. B

      The probability distribution over next locations after an action

    3. C

      The fixed action selected by the optimal policy in every state

    4. D

      The scientific value of every location independent of action

    Correct answer
    B

    The probability distribution over next locations after an action

    Explanation

    The dynamics model describes how likely each possible next state is after taking an action from the current state.

  50. 50

    What does the rover’s reward model specify?

    1. A

      The amount of historical data used to estimate the environment

    2. B

      The expected immediate reward for taking an action in a state

    3. C

      The complete future trajectory under every possible policy

    4. D

      The probability of reaching each next state after an action

    Correct answer
    B

    The expected immediate reward for taking an action in a state

    Explanation

    The reward model predicts the immediate reward associated with a state and action, under the convention being used.

  51. 51

    Which reward-model convention is commonly used in reinforcement learning?

    1. A

      Reward depends only on the number of previous time steps

    2. B

      Reward depends on the current state and action

    3. C

      Reward depends only on the name of the policy

    4. D

      Reward is always independent of both state and action

    Correct answer
    B

    Reward depends on the current state and action

    Explanation

    The lecture notes that several conventions exist, but a reward function of the current state and action is probably the most common.

  52. 52

    What is a decision policy?

    1. A

      A mapping from rewards to environmental transition probabilities

    2. B

      A mapping from states to actions or action distributions

    3. C

      A guarantee that the agent will receive the maximum possible reward

    4. D

      A list of all observations that could ever be received

    Correct answer
    B

    A mapping from states to actions or action distributions

    Explanation

    A policy specifies what action to take, or how to randomize actions, in each state.

  53. 53

    How does a stochastic policy differ from a deterministic policy?

    1. A

      A stochastic policy never uses the current state to choose an action

    2. B

      A stochastic policy assigns probabilities to actions rather than selecting one action with certainty

    3. C

      A deterministic policy must select a different action at every time step

    4. D

      A deterministic policy can operate only when rewards are delayed

    Correct answer
    B

    A stochastic policy assigns probabilities to actions rather than selecting one action with certainty

    Explanation

    A deterministic policy selects one action in a state, while a stochastic policy specifies a probability distribution over actions.

  54. 54

    What is policy evaluation?

    1. A

      Determining how good a fixed policy is

    2. B

      Choosing random actions without measuring their outcomes

    3. C

      Searching over all policies to find a new one

    4. D

      Changing the reward model to make a policy appear better

    Correct answer
    A

    Determining how good a fixed policy is

    Explanation

    Evaluation assumes a policy is given and estimates its performance.

  55. 55

    What is policy control?

    1. A

      Finding a policy that performs as well as possible

    2. B

      Recording observations without selecting any actions

    3. C

      Replacing all rewards with binary correctness labels

    4. D

      Measuring only the performance of a policy chosen by someone else

    Correct answer
    A

    Finding a policy that performs as well as possible

    Explanation

    Control involves searching for or computing a good, ideally optimal, policy.

  56. 56

    Why is policy evaluation often useful for policy control?

    1. A

      Evaluation guarantees that no further exploration is necessary

    2. B

      Knowing a policy’s value can help determine how to improve it

    3. C

      Control requires evaluating only policies that are known to be optimal

    4. D

      A policy’s value is unrelated to decisions about changing the policy

    Correct answer
    B

    Knowing a policy’s value can help determine how to improve it

    Explanation

    Estimating how well a policy performs can guide improvements during policy optimization.

  57. 57

    What is planning in the simplified reinforcement-learning setting?

    1. A

      Copying expert actions while ignoring the environment’s rewards

    2. B

      Using known dynamics and reward models to find a good policy

    3. C

      Learning all environmental rules without receiving any model information

    4. D

      Selecting actions without considering future consequences

    Correct answer
    B

    Using known dynamics and reward models to find a good policy

    Explanation

    Planning assumes that the state and action spaces and environmental models are provided.

  58. 58

    What is model-free learning compared with planning?

    1. A

      It computes policies without using rewards or observations

    2. B

      It always has a perfect transition model before taking any action

    3. C

      It learns from experience rather than being given explicit environment models

    4. D

      It requires the environment to have only one possible state

    Correct answer
    C

    It learns from experience rather than being given explicit environment models

    Explanation

    Model-free methods learn useful policies or values directly from experience without relying on an explicitly supplied model.

  59. 59

    What is a Markov chain?

    1. A

      A memoryless random process with states and transition probabilities but no rewards or actions

    2. B

      A deterministic process in which every state has exactly one predecessor

    3. C

      A reward-maximizing policy that chooses among several actions

    4. D

      A supervised dataset containing expert state-action trajectories

    Correct answer
    A

    A memoryless random process with states and transition probabilities but no rewards or actions

    Explanation

    A Markov chain is a memoryless process with a finite state set and transition dynamics, without actions or rewards in this formulation.

  60. 60

    What property must every row of a Markov-chain transition matrix satisfy?

    1. A

      The probabilities in the row must sum to 111

    2. B

      The probabilities in the row must be greater than 111

    3. C

      The probabilities in the row must all be identical

    4. D

      The probabilities in the row must sum to 000

    Correct answer
    A

    The probabilities in the row must sum to 111

    Explanation

    Each row represents a probability distribution over next states, so its entries must sum to 111.

  61. 61

    What is a Markov reward process?

    1. A

      A Markov chain augmented with rewards and a discount factor

    2. B

      A supervised-learning model with labels but no state transitions

    3. C

      A policy that chooses actions without modeling any states

    4. D

      A Markov chain in which actions replace all transition probabilities

    Correct answer
    A

    A Markov chain augmented with rewards and a discount factor

    Explanation

    A Markov reward process adds a reward function and discount factor to a Markov chain while still having no actions.

  62. 62

    What is the return GtG_tGt​ in a Markov reward process?

    1. A

      The immediate reward received before the first action only

    2. B

      The number of states visited before an episode ends

    3. C

      The probability of transitioning to the next state

    4. D

      The discounted sum of rewards from the current time step through the horizon

    Correct answer
    D

    The discounted sum of rewards from the current time step through the horizon

    Explanation

    The return is the sum of future rewards, weighted by discounting, beginning at time ttt and ending at the horizon.

  63. 63

    How is a value function defined in a Markov reward process?

    1. A

      As the largest immediate reward available in a state

    2. B

      As the probability that the process is deterministic

    3. C

      As the expected return from a state

    4. D

      As the number of actions that can be taken from a state

    Correct answer
    C

    As the expected return from a state

    Explanation

    The value function gives the expected return, accounting for stochastic future trajectories.

  64. 64

    Why can the value function differ from the actual return in one episode?

    1. A

      The value function is defined only for deterministic environments

    2. B

      The actual return is always averaged over every possible policy

    3. C

      The value is an expectation over stochastic trajectories, while one return is a realized outcome

    4. D

      The value function ignores all rewards, while the return includes them

    Correct answer
    C

    The value is an expectation over stochastic trajectories, while one return is a realized outcome

    Explanation

    Different stochastic trajectories can produce different realized returns, while the value function averages over their possible outcomes.

  65. 65

    What does a discount factor do?

    1. A

      It removes stochasticity from the transition process

    2. B

      It converts every reward into a binary label

    3. C

      It weights earlier rewards more heavily than later rewards

    4. D

      It guarantees that all future rewards are larger than immediate rewards

    Correct answer
    C

    It weights earlier rewards more heavily than later rewards

    Explanation

    Discounting assigns progressively less weight to rewards that occur farther in the future.

  66. 66

    Why is a discount factor less than 111 useful for infinite-horizon problems?

    1. A

      It makes all future states directly observable

    2. B

      It can keep the accumulated discounted reward bounded

    3. C

      It guarantees that the transition matrix columns sum to 111

    4. D

      It ensures that every action receives the same reward

    Correct answer
    B

    It can keep the accumulated discounted reward bounded

    Explanation

    With infinitely many time steps, choosing a discount factor below 111 helps prevent rewards from diverging.

  67. 67

    When can a discount factor of  be used without causing an infinite-horizon issue?

    1. A

      When the reward function depends only on actions

    2. B

      When the policy is necessarily deterministic

    3. C

      When episode lengths are always finite

    4. D

      When the transition dynamics are necessarily stochastic

    Correct answer
    C

    When episode lengths are always finite

    Explanation

    For finite episodes, the reward sum contains only finitely many terms, so using a discount factor of 111 is possible.

Question 1 of 67
Question 1 of 67

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent