Reinforcement Learning Fundamentals
- 61Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is reinforcement learning?
A branch of machine learning concerned with learning control strategies for interacting with complex environments through experience.
Or swipe the card
61 cards
What is reinforcement learning?
A branch of machine learning concerned with learning control strategies for interacting with complex environments through experience.
Why is reinforcement learning considered biologically inspired?
Because animals and humans learn to interact with their environments through experience, trial and error, and rewards.
What two major fields lie at the intersection of reinforcement learning?
Control theory and machine learning.
How can reinforcement learning be used to teach a bipedal walker to walk?
It can optimize the walker's control strategy through experience, often in a simulated environment.
What is the role of positive reinforcement in animal training?
It strengthens desired behavior by providing a reward after the behavior occurs.
What are the two distinct components of a reinforcement-learning problem?
A framework for learning to interact with an environment and an optimization problem for selecting or improving the agent's actions or policy.
What is the ultimate goal of reinforcement learning?
To learn a policy that maximizes future rewards.
What are the two central components of the reinforcement-learning framework?
An agent and an environment.
What is an agent in reinforcement learning?
An entity that observes the environment, chooses actions, and interacts with the environment.
In the mouse-in-a-maze example, what are the agent and environment?
The mouse is the agent, and the maze is the environment.
What does the mouse observe about the maze?
It observes its current state, such as where it is now, rather than a complete top-down view of the entire maze.
What is a state in reinforcement learning?
A representation of the agent's current situation in the environment.
What is an action in reinforcement learning?
A decision made by the agent about what to do next.
What does agency mean in the reinforcement-learning framework?
The agent has control over which actions it takes.
What are sparse rewards?
Rewards that occur infrequently and may be separated by long periods of actions without feedback.
How does a chess game illustrate reinforcement learning?
The agent selects actions from a finite set under game rules, while an adversarial opponent also acts within the environment.
Why is backgammon an example of a stochastic environment?
Its rules are partly deterministic, but dice rolls introduce randomness into the next state.
What is a policy?
A rule that specifies the probability of taking action a given state s, written conceptually as π(a∣s).
Why is a reinforcement-learning strategy called a policy rather than a control law?
Because the environment may be probabilistic, so the strategy itself may assign probabilities to different actions.
What is a probabilistic policy?
A policy that assigns probabilities to possible actions in a given state.
Why can a probabilistic policy be useful in chess?
It allows the agent to explore different moves and respond to uncertainty caused by the opponent or incomplete knowledge.
How does reinforcement learning unfold over time?
The agent observes states, takes actions, and receives rewards across a sequence of time steps.
What is the central policy-design challenge in chess?
Determining which actions in a long sequence contributed to the eventual win or loss.
What is the value of a state under policy π?
The expected future reward obtained by starting in state s and then following policy π.
What does the discount factor γ represent?
A number between 0 and 1 that determines how much future rewards are discounted relative to immediate rewards.
Why are future rewards discounted?
Because immediate rewards are generally preferred to delayed rewards, both in economic models and in human behavior.
How can a chess player estimate the value of a board position?
By estimating the expected chance of future success, possibly using proxies such as the relative points of the remaining pieces.
How does a value function help improve a policy?
It identifies desirable states, allowing the agent to refine its actions to reach states with higher expected future rewards.
What is a Markov decision process (MDP)?
A model of decision-making in which actions and stochastic transitions determine the probability of moving from a current state to possible next states.
What makes an environment stochastic?
The same current state and action can lead to different next states with nonzero probabilities.
Why do stochastic environments encourage probabilistic policies?
Because uncertain transitions and outcomes make it useful for the agent to assign probabilities to alternative actions.
What is the credit-assignment problem?
The difficulty of determining which actions or action sequences caused a delayed reward.
Why are sparse rewards especially difficult for reinforcement learning?
They provide little information about which actions were good or bad, so the agent needs more trial and error and more data.
How do dense rewards differ from sparse rewards?
Dense rewards provide frequent intermediate feedback, whereas sparse rewards occur infrequently, often only at the end.
What is sample inefficiency in reinforcement learning?
The need to collect many trials or examples to learn a good policy.
What is reward shaping?
The use of designed intermediate or proxy rewards to guide the agent toward a final objective.
Why is reward shaping useful?
It reduces the difficulty of learning from sparse rewards by providing more frequent information about progress.
How are optimization problems approached in machine learning and control theory?
Machine learning typically solves them using data, while control theory solves them subject to system-dynamics constraints.
What is the exploration-exploitation trade-off?
The need to balance trying unfamiliar actions that might produce better rewards with using the strategy currently believed to be best.
What is policy iteration?
Repeatedly updating a policy using new reward information so that the policy improves over time.
What optimization methods can be used to improve reinforcement-learning policies?
Examples include simulated annealing, evolutionary optimization, gradient descent, stochastic gradient descent, and Adam optimization.
What is Monte Carlo optimization in reinforcement learning?
A strategy that estimates or improves policies by trying many experiences, often using complete sampled outcomes.
What is temporal-difference learning?
A model-free approach that balances ideas from differential programming and Monte Carlo methods.
What does model-free mean in reinforcement learning?
The method does not require an explicit model of the system's dynamics.
What is the relationship between reinforcement learning and Bellman optimization?
Reinforcement learning uses ideas related to Bellman's optimization framework, which helped establish foundations for modern optimal control and reinforcement learning.
How did a robot learn to catch a ball in a cup?
It first received an expert human demonstration and then improved through visual feedback and trial and error.
What is imitation learning?
Learning initiated from an expert demonstration of how to perform a task.
What did the ball-and-cup experiment demonstrate?
A robot can learn the relevant task physics and improve its control of a real physical system through repeated experience.
What is the Pilco learner used for?
Learning to swing up and stabilize a pendulum on a cart using trial and error combined with a physical model.
Why is a physical model useful for learning pendulum control?
It makes learning more sample-efficient by incorporating known physics and dynamics.
What happens when pendulum control is learned without a physical model?
Learning can be highly sample-inefficient, requiring extensive random trial and error to discover how to reach and stabilize the upright position.
What is a Q-function?
A function of a state and an action that estimates the quality of taking that action in that state.
How does Q-learning differ from separately learning a policy and a value function?
It learns a state-action quality function that combines information about the value of states and the desirability of actions.
What does Q(s,a) represent?
The expected quality of being in state s, taking action a, and then acting optimally in the future.
How does the Q-learning update use the learning rate and discount factor?
The learning rate α controls how strongly new experience changes the old estimate, while the discount factor γ weights future rewards.
What does the maximum over future Q-values represent in Q-learning?
The assumption that the agent will choose the best possible action in the future.
How does a Q-function determine an action?
Given state s, the agent chooses the action a with the highest Q(s,a) value.
What is hindsight replay?
A method that reuses experiences that failed to achieve the intended reward by treating them as successes for alternative goals.
How can hindsight replay help with sparse rewards?
It creates additional useful learning signals from experiences that did not produce the original desired reward.
Why does hindsight replay improve sample efficiency?
It extracts information from more experiences instead of discarding trials that miss the original goal.
How is hindsight replay related to human learning?
People can reinterpret unexpected outcomes as useful information for future goals.

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