Deep Reinforcement Learning Intro
- 102Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What kind of problems does reinforcement learning address?
Decision-making problems in which a system makes multiple decisions based on a stream of information.
Or swipe the card
102 cards
What kind of problems does reinforcement learning address?
Decision-making problems in which a system makes multiple decisions based on a stream of information.
What is the basic interaction loop in reinforcement learning?
The agent observes, takes an action, observes the new situation, and repeats the process.
What is the central goal of deep reinforcement learning?
To learn behavior that can be optimized using deep neural networks.
What is a policy in reinforcement learning?
A function or distribution, usually denoted by π, that maps states or observations to actions.
What does deep reinforcement learning emphasize compared with traditional reinforcement learning methods?
Methods that scale to deep neural networks.
What types of reinforcement learning are included within the broad scope of deep RL?
Imitation learning, model-free and model-based RL, offline and online RL, multitask and meta-RL, and RL for language models and robots.
What is imitation learning?
Learning behavior by mimicking a policy that achieves high reward.
What is model-free reinforcement learning?
A reinforcement learning approach that does not explicitly learn a model of the environment's dynamics.
What is model-based reinforcement learning?
A reinforcement learning approach that learns a model of the environment's dynamics for prediction, planning, or policy improvement.
What is offline reinforcement learning?
Reinforcement learning from previously collected data rather than newly interacting with the environment during learning.
What is online reinforcement learning?
Reinforcement learning in which the agent collects experience through ongoing interaction with the environment.
What is the difference between supervised learning and reinforcement learning data?
Supervised learning uses labeled input-output pairs, whereas reinforcement learning uses experience and indirect feedback.
What does supervised learning typically learn from an input-output pair (x,y)?
A function that maps x to its labeled answer y.
What does the i.i.d. assumption mean in typical supervised learning datasets?
Data points are sampled independently and identically from a common distribution.
Why is reinforcement learning data not generally sampled from one fixed distribution?
Because the data distribution depends on the policy currently being learned.
What does behavior mean in reinforcement learning?
The way an agent chooses actions while interacting with its environment.
Why is reinforcement learning useful when decisions have consequences?
It provides a framework for accounting for future consequences and optimizing behavior accordingly.
Why can recommendation systems be formulated as reinforcement learning problems?
Recommendations affect future user behavior, observations, and recommendations.
Why is reinforcement learning useful when direct supervision is unavailable?
It can learn from indirect feedback or from objectives that do not specify the exact correct output.
How is reinforcement learning more flexible than supervised learning?
It can optimize general objectives, including objectives without labels, objectives beyond accuracy, and nondifferentiable objectives.
Why is learning from experience considered fundamental to intelligence?
It enables an agent to improve through practice and discover new solutions rather than merely mimic data.
How can reinforcement learning support discovery?
By allowing agents to experiment with actions and discover strategies or solutions not present in prior human data.
What was significant about the Go system's Move 37?
It was an unexpected strategy that surprised expert players and represented a solution humans had not previously considered.
How has deep reinforcement learning been used with legged robots?
Policies have been trained in simulation and transferred to real-world robots, including robots performing locomotion and dancing.
How has reinforcement learning been used for robot manipulation?
It has enabled robots to perform tasks such as unloading and folding laundry or folding simple origami.
How can reinforcement learning be used with generative models?
It can optimize generations so that they better adhere to a specified prompt.
How has reinforcement learning been applied to chip design?
It has been used to design chips deployed in production tensor processing units.
How can reinforcement learning improve traffic systems?
It can learn traffic-control strategies, including ways to insert autonomous cars among human-driven cars to increase road throughput.
Why is reinforcement learning used in language-model post-training?
It can optimize model behavior for objectives such as improved interaction or advanced reasoning.
What is a major practical challenge in real-world robot reinforcement learning?
Collecting enough experience can be expensive because the robot may need to be manually reset after failed attempts.
What is reward learning?
Learning how to represent or infer the reward that indicates what behavior is desirable.
How can a simple robotics reward be defined using distance?
As the negative distance between an object and its goal position.
Why are sparse rewards difficult for reinforcement learning?
They provide little learning signal unless the agent happens to achieve the goal.
What is a state in reinforcement learning?
A representation of the current state of the world, denoted by S.
What is an observation in reinforcement learning?
Information available to the agent about the current situation, denoted by O.
What is the key difference between a state and an observation?
A state contains the relevant information for decision-making, while an observation may omit some of that information.
Why might a chatbot need a history of observations?
The most recent user message alone may not contain enough context to determine the appropriate response.
What is an action in reinforcement learning?
A decision taken by the agent, denoted by a.
What is a trajectory?
A sequence of states and actions, or observations and actions, produced during an interaction.
What is a reward function?
A function that indicates how good a state and action are for the task.
Give examples of state-dependent rewards in robotics.
Whether a towel is on a hook, how close a towel is to being hung, or whether a task has been completed.
Why might a reward function depend on actions as well as states?
To penalize costly or undesirable actions, such as applying excessive motor torque.
How can user feedback define a chatbot reward?
For example, assign 1 for an upvote, −10 for a downvote, and 0 when there is no feedback.
What might a robot's state representation include?
Camera RGB images, the positions of all robot joints, and the velocities of those joints.
What might be the action in a robot joint-control problem?
The commanded next joint position.
What might be the observation, action, and trajectory in a chatbot problem?
The observation is the user's latest message, the action is the chatbot's next message, and the trajectory is the conversation history.
How can time be represented differently in robot and chatbot trajectories?
Robot data may be sampled at a fixed rate such as 20 Hz, whereas chatbot time may advance when the user sends a response.
What is the Markov property?
Conditioned on the current state and action, the next state is independent of earlier states.
What does a dynamics function describe?
How the environment transitions to a next state based on the current state and action.
How can the dynamics of a Markov environment be written probabilistically?
As a conditional distribution such as P(S3∣S2,a2).
Why is the Markov property useful in reinforcement learning?
It allows the problem to be decomposed into local transitions without tracking all prior dependencies.
Why does the observation process generally depend on history when the state is hidden?
Past observations provide information about the hidden current state that the latest observation may not reveal.
How do tactile sensors illustrate partial observability?
They may reveal little information when there is no contact but provide much more information once contact occurs.
How can a history of observations be used to approximate a state?
By combining several past observations, such as a three-second history of sensor data.
What is an example of information missing from a single driving observation?
The velocities of nearby cars may be missing from a single LiDAR scan or image.
What is a stochastic environment?
An environment whose next state is sampled from a distribution rather than determined by a fixed function.
What is partial observability?
A condition in which the agent's observations do not fully reveal the underlying state of the world.
What is a policy rollout or episode?
A trajectory generated by repeatedly applying a policy and observing the resulting environment transitions.
How is a neural-network policy used to select an action?
The policy receives a state or observation, performs a forward pass, samples or selects an action, and executes it in the environment.
What does θ usually denote in deep reinforcement learning?
The parameters of the policy's neural network.
What types of function approximators can represent a policy?
Convolutional neural networks, transformers, fully connected neural networks, or linear functions.
When does a policy need memory?
When it receives observations that do not contain all the information needed for decision-making.
How can sequence models support policies under partial observability?
They process histories or sequences of observations to produce actions.
Why is using a fully observed state computationally convenient?
The policy can use the current state directly without storing a large observation history.
What is the primary objective of reinforcement learning?
To maximize expected cumulative reward over a trajectory.
What is the undiscounted cumulative-reward objective?
Maximize the sum of rewards across the trajectory: ∑t=1Tr(St,at).
Why is the cumulative reward from a policy generally nondeterministic?
The environment may be stochastic and the policy may itself select actions stochastically.
What are the two primary sources of variability in reinforcement learning outcomes?
Randomness in the environment dynamics and randomness in the policy's action selection.
How is the probability of a trajectory constructed?
It combines the probability of the initial state with the product of policy action probabilities and environment transition probabilities.
What can cause variation in the initial state of a trajectory?
Changing initial conditions, such as different card deals when playing a game.
How does the policy affect the reinforcement learning objective if it does not appear directly in the reward sum?
The policy determines the distribution of trajectories from which the rewards are obtained.
What is the expected-reward objective in reinforcement learning?
Find a policy π that maximizes the expected cumulative reward over trajectories generated by that policy and the environment.
Must the trajectory length T be fixed?
No. T can be variable, although a fixed T makes the objective easier to write.
What is a discount factor?
A factor, commonly denoted by γ, that weights future rewards relative to immediate rewards.
What is the discounted cumulative-reward objective?
A weighted sum such as ∑t=1Tγtr(St,at).
What range of values is typically used for the discount factor γ?
0<γ≤1.
What does a lower discount factor imply about an agent's preferences?
The agent is more focused on near-term rewards and more heavily discounts distant rewards.
Why might a policy be stochastic rather than deterministic?
Stochasticity supports exploration and can model naturally varying behavior in people or other systems.
How does stochasticity support exploration?
It causes the agent to try different actions or strategies instead of repeating exactly the same behavior.
Why might a stochastic policy be useful for behavior modeling?
People or other agents may use multiple strategies, so a distribution over actions can represent their varied behavior.
What is the value function Vπ(s)?
The expected future reward when starting in state s and following policy π thereafter.
What is the key difference between a value function and a Q-function?
A value function evaluates starting from a state, whereas a Q-function evaluates starting from a state, taking a specified action, and then following the policy.
What is the purpose of estimating a value function?
To determine how good the current policy is from a given state and use that information to improve behavior.
What do policy-gradient methods attempt to do?
Directly differentiate the expected-reward objective to improve the policy from experience.
What do actor-critic algorithms do?
They estimate the value of the current policy and use that estimate to improve the policy.
What do value-based methods attempt to estimate?
The value of the optimal policy, using that estimate to derive a good policy.
What do model-based methods learn?
They learn the environment's dynamics so they can predict the future and use those predictions for planning or policy improvement.
Why are there many reinforcement learning algorithms instead of one universal method?
Different algorithms make different trade-offs and work well under different assumptions.
How does the cost of data collection affect algorithm choice?
Cheap simulator data permits data-hungry methods, while expensive human or real-world data favors more data-efficient approaches.
What forms of supervision affect the choice of an RL algorithm?
The availability of demonstrations and detailed reward signals.
What trade-off exists between stability and data efficiency in reinforcement learning?
Some methods are easier and more stable to use, while others may use data more efficiently but require more tuning.
Which action properties influence the choice of reinforcement learning algorithm?
The action dimensionality and whether actions are continuous or discrete.
Why does the ease of learning a dynamics model matter?
Model-based approaches are more attractive when the environment's dynamics can be learned accurately and efficiently.
What is a Markov decision process (MDP)?
A reinforcement learning formulation consisting of states, actions, rewards, an initial-state distribution, and environment dynamics.
What is a partially observable Markov decision process (POMDP)?
A reinforcement learning formulation in which the agent receives observations rather than directly accessing the full state.
What components define a reinforcement learning problem?
States or observations, actions, trajectories, rewards, the initial-state distribution, and environment dynamics.
How does an MDP differ from a POMDP?
An MDP provides the relevant state directly, while a POMDP provides potentially incomplete observations of that state.
What is the relationship between a policy and a trajectory?
A policy selects actions, and the resulting actions together with environment dynamics generate a trajectory.
What is reset-free reinforcement learning designed to address?
The difficulty and cost of manually resetting a physical environment after failed attempts.
What is multitask reinforcement learning?
Learning behavior across multiple tasks rather than optimizing for only one task.
What is meta-reinforcement learning?
Reinforcement learning that aims to improve an agent's ability to learn or adapt across different tasks.
What are important open research questions in deep reinforcement learning?
How to represent good behavior, generalize across scenarios, scale to diverse data, transfer across tasks and goals, solve long-horizon tasks, and enable autonomous practice.

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