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

  • 95Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: RL Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is reinforcement learning?

Tap to flipClick to flipspace

The study of an automated agent learning through experience to make good decisions.

Or swipe the card

95 cards

  1. What is reinforcement learning?

    The study of an automated agent learning through experience to make good decisions.

  2. Why is decision-making essential to general artificial intelligence?

    Intelligence requires not only perceiving information but also using it to choose good actions.

  3. What central problem has been studied in decision-making under uncertainty since at least the 1950s?

    How to learn to make good decisions when data are limited and the world is uncertain.

  4. What are two major motivations for studying reinforcement learning?

    Reinforcement learning is fundamental to intelligence and is practical for solving important problems.

  5. What is the difference between perceptual machine learning and reinforcement learning?

    Perceptual machine learning focuses on identifying or interpreting information; reinforcement learning focuses on making decisions based on information and consequences.

  6. What does a reinforcement learning agent learn from?

    It learns from direct experience with the world, including observations and rewards resulting from its actions.

  7. Why is reinforcement learning particularly useful when seeking performance beyond humans?

    It can optimize behavior directly rather than being limited to imitating human demonstrations.

  8. What is one important use of reinforcement learning in large search problems?

    An agent can search for and discover new algorithms or strategies instead of relying on humans to design them.

  9. What did AlphaGo combine to achieve superhuman Go performance?

    Reinforcement learning and Monte Carlo Tree Search.

  10. Why was AlphaGo's achievement significant for artificial intelligence?

    Go was considered an exceptionally difficult and long-standing AI challenge, harder than chess.

  11. How was reinforcement learning applied to fusion science?

    Deep reinforcement learning controlled coil actuators to manipulate plasma into different shapes inside a vessel.

  12. How was reinforcement learning used for COVID testing in Greece?

    It used changing data to help decide whom to test at the border when testing resources were limited.

  13. What is the basic reinforcement learning role in web advertising?

    An agent selects advertisements or product recommendations based on observations such as viewing, clicking, or purchasing behavior.

  14. What is an example of reinforcement learning in robotics?

    A robot can choose how to move a joint based on feedback such as camera images of its environment.

  15. Why might rewarding a robot simply for having no dishes on a counter cause reward hacking?

    The robot could push the dishes onto the floor instead of putting them in the dishwasher and cleaning them.

  16. What is an example of reinforcement learning for blood-pressure control?

    The agent recommends actions such as exercise or medication and receives feedback from the person's blood pressure.

  17. What did AlphaTensor demonstrate?

    Reinforcement learning can discover a faster algorithm for matrix multiplication while still producing the exact correct result.

  18. What are the four characteristic features commonly associated with reinforcement learning?

    Optimization, delayed consequences, exploration, and generalization.

  19. What does optimization mean in reinforcement learning?

    Finding the best way to make decisions according to an explicit notion of utility or reward.

  20. What is a simple optimization example?

    Finding the minimum-distance route between two cities in a road network.

  21. What are delayed consequences?

    The possibility that an action taken now affects outcomes much later.

  22. Why do delayed consequences make planning difficult?

    The agent must reason about long-term ramifications rather than only immediate outcomes.

  23. What is temporal credit assignment?

    Determining which earlier actions caused a later positive or negative outcome.

  24. Why is temporal credit assignment difficult during learning?

    The agent does not initially know how the world works, so it must infer which past actions contributed to later outcomes.

  25. What is exploration in reinforcement learning?

    Trying actions to obtain information about the world and discover which decisions are good.

  26. What does it mean that information is censored in exploration?

    The agent observes the consequences of actions it tries but generally cannot observe what would have happened under actions it did not take.

  27. Why is exploration related to causal inference?

    Both involve reasoning about counterfactual outcomes that cannot be directly observed for the same individual or situation.

  28. What is generalization in reinforcement learning?

    Using experience to make appropriate decisions across a very large set of possible situations.

  29. Why are deep neural networks useful for generalization in realistic RL settings?

    They can represent decision rules over enormous state or observation spaces that cannot be stored in a table.

  30. How does AI planning compare with reinforcement learning?

    Planning typically involves optimization and delayed consequences using a specified model, while reinforcement learning also involves learning from experience and exploration.

  31. How does supervised learning compare with reinforcement learning?

    Supervised learning learns from labeled data and generalizes, whereas reinforcement learning also optimizes sequential decisions and learns through consequences and exploration.

  32. How does unsupervised learning compare with reinforcement learning?

    Unsupervised learning uses experience without labels and seeks generalizable structure, while reinforcement learning additionally optimizes actions using utility or rewards.

  33. What is imitation learning or behavioral cloning?

    Learning to reproduce behavior from demonstrations of an expert or good policy.

  34. How does basic behavioral cloning reduce reinforcement learning to supervised learning?

    It treats observed expert state-action examples as input-output training pairs and learns to predict the demonstrated action.

  35. What are expert trajectories?

    Sequences of observations, actions, and outcomes demonstrating how a good policy behaves.

  36. What is a limitation of imitation learning for superhuman performance?

    Imitating human demonstrations generally cannot surpass the quality of the demonstrations.

  37. What is the difference between imitation learning and RLHF?

    Imitation learning trains on assumed-good responses, whereas RLHF uses human preferences to learn a reward model and then optimizes behavior with reinforcement learning.

  38. What is the first major training stage used for ChatGPT-like systems?

    Behavior cloning or imitation learning through direct supervised learning on example prompts and responses.

  39. How is the imitation-learning stage of ChatGPT formulated?

    As a supervised problem that maps an input prompt or task to a target output.

  40. Why is a reward or preference model added after supervised imitation learning?

    To explicitly represent how desirable or useful different outputs are.

  41. How is preference data collected for a language-model reward model?

    People compare or rank different model outputs.

  42. What does RLHF stand for?

    Reinforcement learning from human feedback.

  43. What are the high-level stages of RLHF-style ChatGPT training?

    Supervised imitation learning, preference-based reward-model learning, and reinforcement learning using the learned reward.

  44. Why is ChatGPT an important example of reinforcement learning?

    It showed that reinforcement learning from human feedback could substantially improve the capabilities of language systems.

  45. What is reward hacking?

    Reward hacking occurs when an agent exploits the specified reward in a way that achieves high reward but not the intended goal.

  46. Why can a tutoring agent rewarded for correct or fast answers fail to promote learning?

    It may maximize reward by presenting only easy questions rather than helping the student master difficult topics.

  47. What is sequential decision-making under uncertainty?

    A process in which an agent repeatedly selects actions, interacts with the world, receives observations and rewards, and uses them to choose future actions.

  48. What is the objective of a reinforcement learning agent?

    To select actions that maximize the total expected future reward.

  49. What trade-off often arises in sequential decision-making?

    The agent may need to balance short-term rewards against long-term rewards.

  50. What is the standard feedback cycle in a finite-horizon sequential decision process?

    The agent takes an action; the world updates and emits an observation and reward; the agent updates its information and chooses another action.

  51. What is a history hth_tht​ in reinforcement learning?

    The sequence of all actions, observations, and rewards received up to the current time ttt.

  52. What is a sufficient statistic of history?

    A summary of past experience that retains all information needed for making the next decision.

  53. What are the main components of a Markov decision process?

    A state space, action space, dynamics model, and reward model.

  54. What does a dynamics model specify?

    The distribution over next states resulting from taking an action in the current state.

  55. What does a reward model specify?

    The immediate reward expected from a state-action interaction, possibly conditioned on the next state.

  56. What is a policy?

    A mapping from states or information states to actions or probabilities over actions.

  57. What is the difference between a deterministic and stochastic policy?

    A deterministic policy selects one action in each state; a stochastic policy assigns probabilities to possible actions.

  58. What is policy evaluation?

    Determining how good a fixed policy is.

  59. What is policy control?

    Finding or improving a policy, ideally toward the best policy.

  60. How are planning and learning different in reinforcement learning?

    Planning uses a supplied dynamics and reward model to find a good policy; learning must gather experience and choose actions that help identify a good policy.

  61. What is partial observability?

    A condition in which the agent cannot directly observe the full state of the world.

  62. Why is a student's knowledge a partially observable state?

    Whether the student has mastered a topic is latent, while correct or incorrect answers are noisy observations of that knowledge.

  63. Why might a robot with a laser rangefinder face partial observability?

    Different physical locations can produce identical distance measurements, so the robot cannot uniquely determine its location.

  64. What does it mean for a state to satisfy the Markov property?

    Given the current state and action, the distribution of the next state is independent of the entire past history.

  65. Why can the full history always be considered Markov?

    If the state is defined as the complete history hth_tht​, it contains all prior information needed to predict the future.

  66. Why might an Atari agent use the last four frames rather than only the most recent frame?

    Multiple frames reveal temporal information such as an object's velocity or acceleration.

  67. What trade-off arises when choosing a state representation?

    Smaller representations are easier and faster to learn from but may omit important information; richer representations capture more complexity but require more computation and data.

  68. What is the difference between a state and an observation?

    An observation is the immediate information received after an interaction, while a state is an information representation intended to contain what is needed for future decisions.

  69. What is a bandit setting?

    A sequential choice setting in which an action affects the immediate reward but not the state or future customers.

  70. What is the difference between deterministic and stochastic dynamics?

    Deterministic dynamics produce a fixed outcome for a state-action pair; stochastic dynamics produce a probability distribution over possible outcomes.

  71. How can an educational tutoring problem be formulated as an MDP?

    The state represents the student's knowledge or interaction history, actions select practice topics, rewards reflect student performance, and dynamics describe how knowledge changes.

  72. What could the state space be in the tutoring example?

    It could represent mastery levels for addition and subtraction, such as a vector of estimated mastery values, or the history of questions and answers.

  73. What are the actions in the tutoring example?

    Give the student an addition practice problem or a subtraction practice problem.

  74. What does the dynamics model represent in the tutoring example?

    How the student's knowledge or interaction history changes after the agent presents a problem.

  75. What is the Mars rover example's state space?

    The rover's location, represented as one of seven discrete locations.

  76. What actions can the Mars rover take in the example?

    It can try to move left or try to move right.

  77. What rewards are assigned in the Mars rover example?

    The rover receives +1+1+1 at one interesting field site, +10+10+10 at another, and 000 elsewhere.

  78. How can a stochastic Mars rover transition be represented?

    If the rover is in state S1S_1S1​ and tries to move right, the dynamics specify probabilities of reaching S2S_2S2​ or remaining in S1S_1S1​.

  79. Does an agent's model necessarily describe the true world?

    No. The agent's model may be inaccurate because it learned from limited experience or made an incorrect assumption.

  80. What is a Markov chain?

    A memoryless stochastic process with a finite set of states and no actions or rewards.

  81. How can the dynamics of a finite Markov chain be represented?

    As a transition matrix whose entries give probabilities of moving from one state to another.

  82. What constraint must each row of a Markov-chain transition matrix satisfy?

    The probabilities in each row must sum to 111.

  83. What is a Markov reward process?

    A Markov chain augmented with a reward function and a discount factor.

  84. What is the horizon of an episode?

    The number of time steps over which decisions are made.

  85. What is the return GtG_tGt​?

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

  86. What is a value function in a Markov reward process?

    The expected return from a state.

  87. When does the value function equal the actual return?

    When the process is deterministic, so the trajectory and resulting return are fixed.

  88. What is the purpose of the discount factor?

    It weights earlier rewards more heavily than later rewards and helps keep infinite-horizon returns bounded.

  89. When can the discount factor be set to γ=1\gamma = 1γ=1?

    When episode lengths are always finite.

  90. Why is a discount factor less than 111 generally important for infinite horizons?

    It keeps the infinite sum of future rewards from becoming unbounded.

  91. What are model-free policy evaluation and model-free control?

    Model-free policy evaluation estimates the quality of a policy without a known world model, while model-free control seeks a good policy without a known model.

  92. What is policy search?

    A family of methods that directly searches for a high-performing decision policy.

  93. What is offline reinforcement learning?

    Learning a good decision policy from a fixed, already-collected dataset.

  94. What is direct preference optimization concerned with?

    Learning behavior directly from preference information about alternative outputs or actions.

  95. Why is evaluating RL algorithms difficult?

    There are many algorithms, and the appropriate evaluation and comparison criteria can depend on the application.

Card 1 of 95
Card 1 of 95

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent