Save this video free

Stanford CS329A Self-Improving AI Agents | Part 6 | Train Time Scaling/Scaling RL

Stanford Online · 1:12:39 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

This lecture explores train-time scaling techniques to enhance AI model reasoning capabilities, focusing on three papers: STaR, DeepSeekMath, and DAPO. These methods aim to improve model performance on complex reasoning tasks like the AIME benchmark by leveraging self-generated data and reinforcement learning, demonstrating that increased training compute can compensate for fewer model parameters. Key insights include the effectiveness of rationalization, the challenges of RL implementation, and the importance of verifiability in domains like mathematics and coding.

Key takeaways

Chapters

0:00 Introduction to Train Time Scaling and Key Papers
5:07 The Train Time Scaling Loop and Compute Trade-offs
10:13 Comparing Train Time vs. Test Time Compute Scaling
12:00 The Role of Reasoning in AI Model Capabilities
27:04 STaR: Boosting Reasoning with Rationales
35:13 STaR's Iterative Process and Assumptions
41:53 STaR Algorithm Details and Data Sets
47:10 STaR Results and Limitations
1:00:53 V-STaR, Quiet-STaR, and STaR's Bounds
1:07:33 DeepSeekMath: Scaling RL for Mathematical Reasoning
1:12:30 GRPO: A Memory-Efficient RL Algorithm

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:05 Welcome, everyone, to the sixth lecture for CS320A. We'll today cover train time scaling or scaling RL. So far, we have gone through several topics related to test time scaling, feedback using tools and code, and then also robust verification. Today, we will see how we can close the loop to improve the models even further. OK. So today's lecture, we will actually cover three papers. The first paper will cover how can you boost the reasoning capabilities of the models with putting rationales in problems. This paper is called STaR. It was actually done by an author at Stanford. The second paper we will cover is DeepSeek math,

0:52 which talks about mathematical reasoning and how that can be boosted in language models. And then the third paper is more focused on reinforcement learning and how when you have to do reasoning with long reasoning chains, how can you stabilize that kind of reinforcement learning algorithms. So to motivate a lot of the papers that we'll present today, if you look at a benchmark called AIME, so AIME is a benchmark, which is on mathematical problems, which tests for mathematical reasoning. It's more complex mathematical reasoning problems than say, what was in a math benchmarks. We used math benchmarks earlier this year, and then that one is already saturated and contaminated

1:43 in most of the models. Basically, most of the models have been trained on it. So we had to change the benchmark. So this is AIME 2024 and AIME 2025, the benchmark that you use in homework 1. Is a recent benchmark that has mathematical reasoning problems. And if you were to evaluate GPT-3.5, which is a 175 billion parameter model, you would get-- or that's what it's believed to be, you get almost 5% accuracy. But if you were to take DeepSeekMath,

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Stanford Online.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.