1 00:00:01,000 --> 00:00:09,300 [Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon. 2 00:00:09,300 --> 00:00:35,950 [Hal Turing] Today's paper is "Automatic Curriculum Learning through Value Disagreement," from Yunzhi Zhang and colleagues Pieter Abbeel and Lerrel Pinto, at UC Berkeley and NYU. It appeared at NeurIPS 2020. The claim is that a reinforcement learning agent can pick its own training goals by checking where its own value estimates disagree with each other. Picture a robot arm that has to push a block to a target position, and the target can be anywhere on the table. 3 00:00:35,950 --> 00:00:56,450 [Dr. Ada Shannon] The problem is that most targets teach the arm nothing. Early on, almost every target is too hard, so the arm gets no signal. Late in training, most are too easy, so there's nothing left to learn. The paper bets that one cheap quantity, disagreement among an ensemble of value functions, can find the targets in between. Whether that bet is right is the question for today. 4 00:00:56,450 --> 00:01:00,775 [Hal Turing] Let's build up to it. Start with goal-conditioned RL. 5 00:01:00,775 --> 00:01:23,050 [Dr. Ada Shannon] One policy is trained to reach many goals, so the goal is an extra input to the network. That formalism comes from Universal Value Function Approximators, by Tom Schaul and colleagues at DeepMind, 2015. The reward here is sparse: zero if the block is within some small distance epsilon of the target, minus one otherwise. So on a hard target, nearly every attempt returns the same minus one, and there's no gradient to follow. 6 00:01:23,050 --> 00:01:27,675 [Hal Turing] And Hindsight Experience Replay is the standard fix for that? 7 00:01:27,675 --> 00:01:50,150 [Dr. Ada Shannon] Yes. Hindsight Experience Replay, Andrychowicz and colleagues at OpenAI, 2017. After an episode, you relabel the stored transitions with a goal the agent actually reached later in that episode. A failed push becomes a successful push to wherever the block ended up. That is already an implicit curriculum, because the agent is always learning from goals it can reach. It matters for this paper because any gain from the new method has to show up on top of HER. 8 00:01:50,150 --> 00:01:53,200 [Hal Turing] So what does an explicit curriculum add? 9 00:01:53,200 --> 00:02:26,300 [Dr. Ada Shannon] A curriculum here is a distribution over goals, sampled at the start of each episode. The default is uniform over the goal space. A curriculum tries to concentrate on what the paper calls the frontier of competence: goals the policy sometimes reaches but hasn't mastered. This is not the supervised-learning curriculum from Bengio and colleagues in 2009, where difficulty is a fixed property of the example. In RL, difficulty depends on the current policy, so a goal that is hopeless at step zero can be trivial a million steps later. The teacher has to track that online. 10 00:02:26,300 --> 00:02:28,625 [Hal Turing] Who tried that before? 11 00:02:28,625 --> 00:03:09,349 [Dr. Ada Shannon] Two lines of work matter. Goal GAN, by Carlos Florensa, David Held, Xinyang Geng and Pieter Abbeel, 2018, trains a generative adversarial network to output goals of intermediate difficulty. Those are goals the policy reaches with success probability between two thresholds, so it needs success labels for every goal it proposes. The other line is from Rémy Portelas, Cédric Colas, Katja Hofmann and Pierre-Yves Oudeyer, 2019. They compared learning-progress teachers: ALP-GMM, RIAC and Covar-GMM. These pick tasks where competence is changing fastest. Their notable finding is that plain uniform sampling is surprisingly competitive. Hold onto that, because it sets a bar for this paper. 12 00:03:09,349 --> 00:03:14,474 [Hal Turing] Now the part I want to understand: the Q-function and the ensemble. 13 00:03:14,474 --> 00:03:47,449 [Dr. Ada Shannon] The Q-function predicts the discounted return from a state, toward a goal, if you act well. It's trained by bootstrapping: it regresses toward the reward plus its own prediction one step later. That bootstrapping is a noise source, and it will matter later. Now epistemic uncertainty. That's uncertainty from lack of knowledge, as opposed to randomness in the outcome itself. The usual cheap approximation is a deep ensemble, from Lakshminarayanan and colleagues, 2017. You train K networks independently and look at the standard deviation of their predictions. Where they agree, the model is confident. Where they split, it isn't. 14 00:03:47,449 --> 00:03:50,599 [Hal Turing] And how does that map onto goals? 15 00:03:50,599 --> 00:04:10,650 [Dr. Ada Shannon] This is the paper's hypothesis, as a chain. On easy goals, the ensemble members all predict high value. On hopeless goals, they all predict low value. On frontier goals, they split. So if you sample goals in proportion to the standard deviation, you land on the frontier. No adversary, no success classifier, no extra policy. 16 00:04:10,650 --> 00:04:15,375 [Hal Turing] That's a tidy story. Is there anything to it beyond the story? 17 00:04:15,375 --> 00:04:34,175 [Dr. Ada Shannon] At this point it's a claim to test, so I'd keep it as one. The paper also frames the idea through biology: human infants move through palmar, power and fine grasps in order. That's motivation, not evidence. Whether disagreement really marks the frontier, or marks something else, is what we should hold the experiments to. 18 00:04:34,175 --> 00:04:39,125 [Hal Turing] Then let's see what the method actually does, and what the experiments show. 19 00:04:39,125 --> 00:04:57,199 [Dr. Ada Shannon] The method fits in one loop. At the start of each episode, you draw N candidate goals uniformly from the goal space. For each candidate, you ask K separate Q-networks what return they expect from this episode's start state. The spread of those K answers, their standard deviation, is the score for that goal. 20 00:04:57,199 --> 00:05:00,074 [Hal Turing] And then you pick the highest score? 21 00:05:00,074 --> 00:05:21,349 [Dr. Ada Shannon] No, you sample in proportion to it. Normalize the scores over the N candidates and draw one goal from that distribution. The paper allows a transformation f on the score first, but in every main experiment f is the identity. Then you run the episode, store the transitions, and give each Q-network its own independently sampled minibatch for a Bellman update. DDPG updates the policy as usual. 22 00:05:21,349 --> 00:05:25,299 [Hal Turing] So the policy learner never sees the ensemble. 23 00:05:25,299 --> 00:05:39,949 [Dr. Ada Shannon] Right. The ensemble is a separate module. It sees the same transition data, but the base learner is a black box that only receives goals. That's why it could in principle bolt onto any off-policy goal-conditioned method. 24 00:05:39,949 --> 00:05:41,974 [Hal Turing] What's the test bed? 25 00:05:41,974 --> 00:06:04,549 [Dr. Ada Shannon] DDPG with HER underneath, sparse reward, and success judged at the final timestep. There are 13 Gym robotics tasks, four Fetch arm and nine Hand manipulation. There are also three custom mazes and two Ant navigation tasks borrowed from Goal GAN, so 18 in total. Five seeds each. The teacher baselines, ALP-GMM, Covar-GMM and RIAC, run from the ALP-GMM codebase. 26 00:06:04,549 --> 00:06:08,249 [Hal Turing] Start with the main figure. What's on the axes? 27 00:06:08,249 --> 00:06:28,124 [Dr. Ada Shannon] Evaluation success rate, higher is better, against environment timesteps. So an earlier curve means fewer samples to reach the same success. On most of the 16 tasks that figure covers, VDS plus HER gets there with fewer steps than HER or the teacher baselines, and the clearest gains are on the harder manipulation tasks. 28 00:06:28,124 --> 00:06:29,974 [Hal Turing] Most. Not all. 29 00:06:29,974 --> 00:06:52,674 [Dr. Ada Shannon] Not all. The paper itself says plain uniform-goal HER is competitive on some tasks, which matches what Portelas and colleagues found. Also, the Hand tasks have very low absolute success. The HandManipulateBlock axis tops out around two percent, so a visible gap there is small in absolute terms. And the paper reports no tabulated numbers and no significance tests, only shaded bands over five seeds that it doesn't define. 30 00:06:52,674 --> 00:06:55,974 [Hal Turing] So a consistent trend, not a sweep. 31 00:06:55,974 --> 00:06:59,000 [Dr. Ada Shannon] That's the honest reading of what's in the paper. 32 00:06:59,000 --> 00:07:05,375 [Hal Turing] What about Goal GAN? That's the baseline that targets intermediate difficulty directly. 33 00:07:05,375 --> 00:07:25,975 [Dr. Ada Shannon] On Ant and AntMaze, both VDS plus HER and plain HER beat Goal GAN in sample efficiency. Two protocol differences favor Goal GAN, and the authors say so. Its episodes terminate when the goal is first reached, while HER and VDS run fixed-length episodes scored at the end. And its curve leaves out the timesteps spent labeling goal difficulty. 34 00:07:25,975 --> 00:07:31,700 [Hal Turing] But if HER alone beats it, the comparison doesn't tell us what VDS adds. 35 00:07:31,700 --> 00:07:47,750 [Dr. Ada Shannon] Correct. It says an adversarial generator was an expensive way to get a curriculum here. It doesn't isolate VDS. The comparisons to self-play and the other older baselines are indirect, made by pointing at curves in the Goal GAN paper. 36 00:07:47,750 --> 00:07:53,125 [Hal Turing] Is there any direct look at whether the sampled goals are the frontier? 37 00:07:53,125 --> 00:08:14,050 [Dr. Ada Shannon] One figure, in Section 4.5. On two 2D mazes, at iterations 0, 15 and 30, they plot reward over goal locations, mean Q, and the disagreement-based sampling density with recent training goals. The sampling density sits along the edge of what the policy can reach, and it moves outward toward harder goals. It's qualitative, on two simple mazes. 38 00:08:14,050 --> 00:08:18,400 [Hal Turing] And their explanation for why the edge gets high variance? 39 00:08:18,400 --> 00:08:36,200 [Dr. Ada Shannon] Two statements, as written. At the start, the distribution is close to uniform, quote, due to random initialization. Later, epsilon-greedy noise can occasionally land the policy on a goal near the frontier, giving a few reward signals, so those goals get higher Q-prediction variance. 40 00:08:36,200 --> 00:08:41,100 [Hal Turing] I'll hold my question on that for later, because it sounds like it matters. 41 00:08:41,100 --> 00:09:00,125 [Dr. Ada Shannon] It does. Ablations first. The paper reports that VDS is insensitive to the sampling function f, that ensemble size 10 matches size 3, and that VDS still improves vanilla DDPG without HER. Those details are in appendices that weren't in the source I have, so I can't give numbers. 42 00:09:00,125 --> 00:09:03,900 [Hal Turing] Three networks matching ten is good for cost. 43 00:09:03,900 --> 00:09:23,800 [Dr. Ada Shannon] It is, and the authors say all the VDS experiments ran on a single CPU. The no-HER result also suggests the gains aren't only an artifact of hindsight relabeling. Insensitivity to ensemble size could mean a robust signal, but it could also mean the signal is coarse. We can't tell from the summary alone. 44 00:09:23,800 --> 00:09:34,575 [Hal Turing] So that brings me to the thing I keep circling. Does a split ensemble mean 'solvable but not yet solved', or does it just mean 'the networks haven't seen much here'? 45 00:09:34,575 --> 00:09:55,050 [Dr. Ada Shannon] That's the central weakness. The ensemble members start from different random initializations. Wherever training data is thin, they extrapolate differently and disagree. That happens for rarely visited goals just as it does for goals the agent partly masters. Bellman bootstrapping adds more noise on top, because each network chases its own moving target. 46 00:09:55,050 --> 00:10:03,975 [Hal Turing] And the paper half admits this. It says the initial distribution is near uniform because of random initialization. 47 00:10:03,975 --> 00:10:24,725 [Dr. Ada Shannon] Right. So initialization variance is plainly part of the signal early on. The maze heatmaps are consistent with a frontier story. They're also consistent with a story where disagreement follows the edge of the visited region, because the frontier and the visited edge sit in the same place in a small 2D maze. Two mazes, qualitative, no way to separate the two readings. 48 00:10:24,725 --> 00:10:27,950 [Hal Turing] What's the experiment that would separate them? 49 00:10:27,950 --> 00:10:49,925 [Dr. Ada Shannon] Take every goal over training and estimate its actual success probability by running the current policy on it. Plot that against its disagreement. If disagreement peaks at middling success and falls at both ends, the claim holds. Then control for visitation counts, or compare against Goal GAN's intermediate-difficulty labels. If disagreement tracks visit count instead, the frontier story is in trouble. I don't know which way it comes out. The paper doesn't run it. 50 00:10:49,925 --> 00:11:03,200 [Hal Turing] Their own explanation for high variance at the edge is that epsilon-greedy noise occasionally stumbles onto near-frontier goals and gets a few reward signals. That sounds like it leans on luck. 51 00:11:03,200 --> 00:11:25,700 [Dr. Ada Shannon] It does, and this is a prediction, not a result. Suppose exploration never reaches the frontier: a narrow-corridor maze, a long-horizon task, a manipulation that needs precise timing. Then the networks all see no reward and agree the goal is unreachable. Agreement means low disagreement, so the sampler may fall back toward uniform or toward initialization noise. The paper has no failure-case environment, so we can't say where it collapses. 52 00:11:25,700 --> 00:11:33,550 [Hal Turing] What about goals that are impossible, or dynamics that are random? An ensemble could stay split on those forever. 53 00:11:33,550 --> 00:11:54,550 [Dr. Ada Shannon] Yes. Epistemic uncertainty shrinks with data, but only if the target is learnable. Pathak and colleagues at Berkeley and CMU, in their 2019 Self-Supervised Exploration via Disagreement, ran into the same trouble with dynamics models. Unlearnable stochasticity keeps looking interesting. The VDS paper never tests infeasible goals or stochastic environments. 54 00:11:54,550 --> 00:12:00,925 [Hal Turing] Then there's the marginal contribution. Hindsight relabeling is already a curriculum. 55 00:12:00,925 --> 00:12:21,700 [Dr. Ada Shannon] Right. Plain HER stays competitive on some tasks, and in the Ant mazes it beat Goal GAN by itself. The positive evidence is real, though. Gains on the harder manipulation tasks are the most consistent pattern, VDS still helped vanilla DDPG without HER, and the ensemble is cheap. My read is that an empirical improvement is likely, but the mechanism is unproven. 56 00:12:21,700 --> 00:12:23,925 [Hal Turing] What about the baselines? 57 00:12:23,925 --> 00:12:45,600 [Dr. Ada Shannon] The Portelas baselines, ALP-GMM, RIAC and Covar-GMM, were designed for low-dimensional parameterized environments. Here they're run from that codebase on different goal spaces, so they may not be at their best. And Portelas and colleagues at Inria already found uniform sampling surprisingly competitive. With five seeds and no significance tests, I'd read the gains as a trend, not a proven margin. 58 00:12:45,600 --> 00:12:49,650 [Hal Turing] Even the cheapness seems less clear than advertised. 59 00:12:49,650 --> 00:13:06,600 [Dr. Ada Shannon] The single-CPU claim still hides work. You train K critics with their own minibatches, and every episode you scan N candidate goals through all of them. As far as I can see in the source, the paper gives no wall-clock comparison against HER or the other curricula. 60 00:13:06,600 --> 00:13:12,725 [Hal Turing] There's a feedback loop too, right? The sampler shapes the data the ensemble learns from. 61 00:13:12,725 --> 00:13:25,900 [Dr. Ada Shannon] Yes, and the same data fills the replay buffer that HER then relabels. So the disagreement signal and the training distribution are tangled together, which is one more reason the visitation control matters. 62 00:13:25,900 --> 00:13:29,325 [Hal Turing] Is there a simpler way to get the frontier? 63 00:13:29,325 --> 00:13:52,850 [Dr. Ada Shannon] Often. Prioritized Level Replay, by Jiang and colleagues in 2021, scores levels by a single network's value loss. DAPO, from Yu and colleagues in 2025, drops prompts whose rollouts are all right or all wrong. Both read difficulty from cheaper statistics. The VDS paper never says when an ensemble beats direct success-rate estimates, and a miscalibrated DDPG critic could make the ensemble disagree for reasons unrelated to competence. 64 00:13:52,850 --> 00:13:56,150 [Hal Turing] What would you tell someone about to try this? 65 00:13:56,150 --> 00:14:16,576 [Dr. Ada Shannon] It needs a goal space you can sample uniformly with state-based goals. The paper explicitly excludes pixel goals. It's also a black-box add-on to an off-policy goal-conditioned learner, so it's cheap to try. Before trusting it, run three diagnostics: a disagreement-versus-success scatter, a visitation control, and one environment where the frontier is hard to reach. 66 00:14:16,576 --> 00:14:39,201 [Hal Turing] So here's where I land. The paper shows an inexpensive ensemble-disagreement goal sampler that often improves sample efficiency on simulated sparse-reward benchmarks, with HER and DDPG underneath. Whether it tracks the frontier of competence, instead of rarely visited goals, is plausible but untested. Thanks for listening, everyone. 67 00:14:39,201 --> 00:14:41,601 [Dr. Ada Shannon] Thanks, everyone. See you next time.