Save this video free

Reasoning & looping

Mohit Iyyer · 1:13:41 · Watch on YouTube

Part of University of Maryland CMSC 723. See all 20 lectures and search them

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

Overview

Mohit Iyyer explains test-time scaling through reasoning and looping: models can spend more inference compute by generating chain-of-thought tokens or by repeatedly running selected transformer layers. DeepSeek R1 Zero demonstrates that GRPO with verifiable rewards on final answers, without supervised reasoning examples or a reward model, can improve AIME 2024 accuracy from 15.6% to 71% while producing reasoning traces thousands of tokens long.

Key takeaways

Chapters

0:00 Test-Time Scaling, OpenAI o1, and DeepSeek R1
6:47 Chain of Thought Stores Intermediate Calculations
13:04 Prompting Elicits Reasoning but Does Not Train It
16:13 Reinforcement Learning Rewards Correct Reasoning Outcomes
20:35 Why Expert Chain-of-Thought SFT Can Misalign the Objective
25:11 Answer-Only Verifiable Rewards Leave Reasoning Unconstrained
32:25 DeepSeek R1 Zero: GRPO Improves AIME 2024 Results
44:23 Think and Answer Tags Separate Reasoning from Scoring
51:58 Reasoning Effort Settings Control the Thinking Budget
55:00 Why Model Providers Restrict Raw Chain of Thought
1:00:16 Backtracking Lets Reasoning Models Search Strategies
1:02:23 Majority Voting Helps Only When Correct Samples Exist
1:06:40 Looped Transformers Reuse Layers for Implicit Reasoning
1:10:45 Looping Requires Training the Model for Repeated Layers

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

Transcript excerpt

0:00 Um so today we are going to be talking about reasoning models. So we basically finished our um exploration into different RL algorithms that are used for um post-raining. Um so we talked about um reinforce with verifiable rewards and how GRPO lets us get a good baseline for this algorithm. We talked uh then about RLHF um and how we can get a reward signal even for non-verifiable tasks uh by training a reward model on human preferences and then optimizing our policy to maximize the expected reward. So today we are going to cover kind of

0:50 um uh a way that we can scale our models um not just through training time compute which we already covered with chinchilla involves like adding more parameters to our model and adding more training data. So here we're going to talk about a different paradigm called test time scaling. So this means we're going to keep our model the same like we've pre-trained it, we've post-trained it. Um, and the thing that we're going to change is how much compute do we use at test time when we're solving like a math problem or a programming problem. Um and we'll see how we can actually control this and uh incentivize

1:39 uh reasoning um that leads to the correct answer using reinforcement learning just all the algorithms that we've uh thought up so far. Okay. Um so broadly today we're going to be covering reasoning models and just as a bit of history um the uh way this came about was a couple years ago um OpenAI released this model called 01 which um uh had this uh you you would ask it a a prompt like a math problem or something and instead of immediately spitting out its response as we've uh discussed in this class, it

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

In this course

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, Mohit Iyyer.

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.