Seyed Masoud Hosseini · Overview · Study log · Weekly summaries · Ideas · Search · Transcript · RSS feed
Deep Reinforcement Learning · Lecture 96 of 99 · 28:24
Lecture 23, Part 1: Challenges and Open Problems in Deep RL
Study guide
What this lecture covers
This is the opening part of the final lecture of Berkeley CS285. It starts with a map of the course, showing how imitation learning, model-free RL (value-based, policy gradient, actor-critic), model-based RL, exploration, and control-as-inference relate to one another as branches of learning-based control.
The bulk of the lecture surveys open problems in deep RL. It covers core algorithmic challenges, stability and hyperparameter sensitivity across value-based, policy-gradient and model-based methods, then works through a rough hierarchy of sample efficiency across algorithm classes, and closes by discussing why generalization and scale remain much harder in RL than in supervised learning.
Key ideas
- Course map: learning-based control splits into imitation learning (from demonstrations) and RL (from rewards); RL splits into model-free (value-based, policy gradient, actor-critic) and model-based methods, with exploration, unsupervised RL objectives, and control-as-inference cutting across all of them.
- Stability and hyperparameter sensitivity: value-based methods with deep function approximation generally lack convergence guarantees, so techniques like target networks, replay buffers, and normalization are practical fixes for a deeper theoretical gap.
- The "magic" of deep learning is still unexplained: why supervised deep learning generalizes despite heavy overparameterization is not fully understood, and it is unclear whether the same implicit regularization helps value-based RL.
- Policy gradient trade-off: these methods largely avoid the bias of function approximation but suffer from high, sometimes catastrophically high, variance, making batch size, learning rate, and baseline design critical.
- Model-based RL's own challenges: more accurate models do not always yield better policies, since not all model errors matter equally, and policies can exploit model inaccuracies adversarially.
- Sample efficiency hierarchy: roughly ordered from least to most efficient: gradient-free methods, fully online on-policy methods (A2C/A3C), batch policy gradient methods (TRPO/PPO), off-policy methods with replay buffers, model-based RL, and shallow model-based methods like PILCO, with roughly an order-of-magnitude efficiency gain at each step.
- Efficiency isn't the only cost: less sample-efficient methods can still be preferable when they parallelize well or need less compute per update, since wall-clock time and compute cost also matter.
- Generalization gap versus supervised learning: supervised deep learning is evaluated on generalization across huge, diverse datasets, while RL is typically evaluated on mastery of narrow tasks, making breadth and generalization much less studied and much harder to achieve at scale.
- The RL "outer loop" problem: because RL learns through continuous interaction, changing the method often means re-running the entire interactive training process, which becomes impractical at internet scale, unlike supervised learning's fixed-dataset workflow.
Walkthrough
Course review and the map of learning-based control (0:00)
The lecture draws a conceptual map of the course: learning-based control covers imitation learning and reinforcement learning; RL splits into model-free methods (value-based, policy gradient, actor-critic) and model-based methods, with exploration, skill discovery, and control-as-inference as cross-cutting tools, and notes this is a rough overview rather than an exhaustive list of topics covered.
Core algorithmic challenges: stability and convergence (3:00)
The lecture distinguishes RL-specific challenges (stability, efficiency, generalization) from challenges rooted in RL's problem assumptions (such as needing a reward function). It explains why value-based methods with deep networks generally lack convergence guarantees, why many stabilizing tricks exist as practical fixes, and raises the open question of whether deep learning's mysterious generalization properties extend to value-based RL.
Policy gradient and model-based challenges (8:02)
Policy gradient methods are shown to trade bias for variance, which can become catastrophically large and unpredictable, requiring careful tuning of batch size and baselines. Model-based RL is described as effectively an adversarial process, where a policy can exploit small model inaccuracies, and where more accurate models don't always translate into better policies.
A hierarchy of sample efficiency (12:04)
The lecture ranks RL algorithm classes by sample efficiency, from gradient-free evolutionary methods through online policy gradient methods, batch policy gradient methods, off-policy replay-buffer methods, model-based RL, and shallow model-based methods, with concrete real-time equivalents (from roughly 15 days down to seconds) for a half-cheetah locomotion task, while noting less efficient methods can still win on parallelism or compute cost.
Generalization, scale, and the outer-loop problem (17:09)
The lecture contrasts supervised learning's emphasis on large-scale, diverse training evaluated by generalization with RL's typical emphasis on mastering narrow tasks, and explains why RL's continuous-interaction workflow makes the "outer loop" of retraining after every method change far more costly at scale than in supervised learning, illustrated with humanoid locomotion examples that generalize poorly beyond their training terrain.
Before you watch
- Complete or review the core CS285 sequence, including model-free RL, model-based RL, and exploration lectures, since this lecture assumes familiarity with all of them.
- Recall homework experiences with Q-learning, policy gradients, and model-based methods, which this lecture uses as concrete reference points for discussing stability and efficiency.
Check your understanding
- Why do value-based deep RL methods generally lack convergence guarantees, and what practical techniques compensate for this?
- What is the fundamental trade-off between policy gradient methods and value-based or model-based methods, in terms of bias and variance?
- According to the sample-efficiency hierarchy, why might someone choose a less sample-efficient algorithm in practice?
- Why does the lecture argue that RL's "outer loop" workflow becomes impractical at large scale, compared to supervised learning?
Vocabulary
- open problem (noun)
- A question in a field that has not yet been solved.
The lecture surveys open problems in deep RL. - value-based (adjective)
- Describes methods that learn by estimating the value of states or actions.
Value-based methods lack strong convergence guarantees. - hyperparameter (noun)
- A setting chosen before training, like learning rate, that is not learned from data.
Stability depends heavily on hyperparameter choices. - overparameterization (noun)
- Having far more model parameters than seem necessary for the task.
Deep learning generalizes well despite overparameterization. - implicit regularization (noun)
- A hidden tendency of a training process to favor simpler solutions, without an explicit penalty.
Implicit regularization may or may not help value-based RL. - catastrophic (adjective)
- Extremely severe or damaging.
Policy gradient variance can become catastrophically high. - sample efficiency (noun)
- How much benefit an algorithm gets per unit of collected data.
Model-based methods rank higher in sample efficiency. - hierarchy (noun)
- An ordered ranking from lowest to highest, or least to most.
The lecture ranks algorithms in a sample-efficiency hierarchy. - wall-clock time (noun)
- The real elapsed time a process takes to run, as measured by a clock.
Wall-clock time also matters, not just sample count. - outer loop (noun)
- The overall repeated process that surrounds and controls smaller inner steps.
The RL outer loop must rerun after every method change. - bias-variance trade-off (noun)
- The balance between an estimate that is systematically off (bias) and one that varies a lot (variance).
Policy gradient methods sit on a different point of the bias-variance trade-off. - adversarial (adjective)
- Involving two sides working against each other.
Model-based RL is described as an adversarial process against the model. - target network (noun)
- A slowly updated copy of a network used to make training more stable.
Target networks are a practical fix for instability in Q-learning. - replay buffer (noun)
- A stored collection of past experiences that a learning algorithm can reuse.
Off-policy methods with a replay buffer are more sample-efficient. - normalization (noun)
- A technique that rescales data or activations to keep values in a stable range.
Normalization is one of several practical stability fixes. - on-policy (adjective)
- Learning only from data collected by the current policy.
Fully online on-policy methods sit low on the efficiency hierarchy. - off-policy (adjective)
- Learning from data collected by a different, possibly older, policy.
Off-policy methods reuse a replay buffer for better efficiency. - batch size (noun)
- The number of samples used together in one training update.
Batch size must be tuned carefully for policy gradient methods. - generalization gap (noun)
- The difference between performance on training data and performance on new, unseen data.
RL is studied far less for its generalization gap than supervised learning. - locomotion (noun)
- The ability to move from place to place, such as walking or running.
The efficiency comparison uses a half-cheetah locomotion task. - parallelize (verb)
- To run multiple parts of a computation at the same time.
Some methods parallelize well even if they are less sample-efficient. - narrow task (noun)
- A task with a small, specific scope rather than broad, varied conditions.
RL is usually evaluated on mastery of a narrow task.
Chapters
- 0:00 Course Review
- 2:37 Challenges
- 4:38 Core Algorithms
- 12:13 Efficiency
- 19:14 Generalization
- 24:12 Assumptions
← Lecture 22, Part 5: Meta-RL as Partially Observed MDPs · Lecture 23, Part 2: Three Perspectives on What RL Is →
