YouTube2Text

YouTube transcript (AyO6wyu4DEg) — Transcript

10,366 words · 1,765 segments · language en · Watch on YouTube

Full transcript

  1. 0:05Okay, so we will start with
  2. 0:08with an overview of what we have covered
  3. 0:11in this quarter.
  4. 0:13So we started the class with just giving
  5. 0:15you an overview of LLMs and how over the
  6. 0:19past year test time scaling and train
  7. 0:23time scaling using self-improvement
  8. 0:24techniques where the fundamental loop is
  9. 0:26driven by verifiers and feedback from
  10. 0:30running those verifiers and getting
  11. 0:32rewards and then using reinforcement
  12. 0:34learning and even search algorithms to
  13. 0:36to help the models to hill climb on math
  14. 0:39and coding for example have been a lot
  15. 0:42of the focus of initial part of the
  16. 0:44class.
  17. 0:45From there we started talking about
  18. 0:47evolutionary strategies so there was a
  19. 0:49whole class on open-endedness where
  20. 0:51we're not just um
  21. 0:53driving self-improvement loop with um
  22. 0:56rewards we also allow the models to just
  23. 0:58go explore if the exploration space can
  24. 1:01be defined and here we discussed
  25. 1:03Alpha Evolve and similar techniques.
  26. 1:07Then we moved
  27. 1:08to to a paradigm where we build
  28. 1:10end-to-end workflows for agents using
  29. 1:13tool use and as the models interact with
  30. 1:16environments and tools you basically are
  31. 1:19able to drive the workflows end-to-end.
  32. 1:22And um
  33. 1:23if you imagine that you have tasks that
  34. 1:26need to be completed over multiple steps
  35. 1:28then you do need to have perhaps the
  36. 1:30ability to look at knowledge bases so
  37. 1:32that requires
  38. 1:33retrieval and memory. So basically
  39. 1:36as we go towards real-world workflows we
  40. 1:39need better planning and multi-step
  41. 1:42reasoning in these models so we
  42. 1:44discussed
  43. 1:45some works around that and how to really
  44. 1:48look at evaluations in the next
  45. 1:51generation of models and what
  46. 1:53capabilities would drive that. And then
  47. 1:55we had several guest lectures on post
  48. 1:58training and multi model agents and
  49. 2:00robotics and reasoning and so on.
  50. 2:03Is there anything you would like to add
  51. 2:05here?
  52. 2:07>> Yeah, I think I think this sounds good.
  53. 2:09This was full coverage. I guess so one
  54. 2:11of our guest speakers also talked about
  55. 2:15um
  56. 2:15the symbolic techniques which goes under
  57. 2:18the umbrella of tool use and how that
  58. 2:20could add to the synthetic data which is
  59. 2:23another trend we're seeing.
  60. 2:25>> Amazing. Thank you.
  61. 2:29So
  62. 2:30so I think just to recap and and this uh
  63. 2:33the class is named as self-improving
  64. 2:35agents. So it's not just focusing on
  65. 2:37LLMs, it's focusing on the agent aspect
  66. 2:40of it. What I roughly if I were to if if
  67. 2:43you were to remind you of what we
  68. 2:44discussed in first class um is that what
  69. 2:47how is an agent a generalization of LLM?
  70. 2:50It has a goal and it will go and
  71. 2:52interact with the environment, collect
  72. 2:53feedback, and use that feedback to
  73. 2:55correct its steps. So they're basically
  74. 2:57systems that can direct their own
  75. 2:59processes, use tools, and then
  76. 3:01accomplish a goal.
  77. 3:03And often times in the current paradigm
  78. 3:06uh the LLMs uh by themselves are not
  79. 3:08powerful enough to drive towards a full
  80. 3:10goal. Um they're getting there. So often
  81. 3:13times we would handwrite these uh
  82. 3:16systems as workflows where you are
  83. 3:18orchestrating LLMs and tools. Uh
  84. 3:20however, in certain
  85. 3:21certain scenarios like coding agents,
  86. 3:24you are seeing some of these uh agentic
  87. 3:26workflows being driven by themselves. So
  88. 3:29it's an exciting time where we are
  89. 3:30seeing a lot of progress in this area.
  90. 3:34And how we construct these workflows uh
  91. 3:36often times means you're orchestrating
  92. 3:38LLMs, you're orchestrating verifiers
  93. 3:40because you need some form of reward.
  94. 3:42You might have LLMs as judges for
  95. 3:44verifiers. You might have tool calls.
  96. 3:46You might have uh search algorithms in
  97. 3:48there. So you might have parallel uh
  98. 3:50parallel LLM calls that are going and
  99. 3:52doing this kind of search, but overall
  100. 3:54since uh agentic workflow is driving
  101. 3:56towards a goal, it needs the capability
  102. 3:58to plan and to
  103. 4:00reason over multiple steps, correct
  104. 4:02itself if it were going in the wrong
  105. 4:05direction, and overall keep improving in
  106. 4:08its capabilities, which is where the
  107. 4:10self-improvement aspect comes in. So, in
  108. 4:13this lecture as we wanted we wanted to
  109. 4:15cover some future research areas. So,
  110. 4:19we organized it as key ideas from
  111. 4:21certain papers that both cover the
  112. 4:24self-improvement side of things and just
  113. 4:26generally the
  114. 4:28efficiency side of things for
  115. 4:29intelligence, both of which we believe
  116. 4:31are extremely important directions in
  117. 4:34the next research areas.
  118. 4:38So,
  119. 4:40for the first three papers that I will
  120. 4:42cover um
  121. 4:44I'll just present the key ideas, but let
  122. 4:46me just present what
  123. 4:48why those papers were chosen and what
  124. 4:50are the key ideas that they kind of um
  125. 4:54point in terms of next steps and
  126. 4:56directions. So, what we learned in the
  127. 4:58classes a lot about say test time
  128. 5:00scaling where you could
  129. 5:02improve
  130. 5:04by having multiple samples and majority
  131. 5:06voting and so on. And then train time
  132. 5:09scaling where you can use that feedback
  133. 5:11in the inference loop to and get rewards
  134. 5:15to drive that self-improvement loop.
  135. 5:17Often times this is still limited to
  136. 5:19narrow domains like math and coding. So,
  137. 5:22how do you get generalization across
  138. 5:24these domains?
  139. 5:25And how do you generally get those
  140. 5:27reasoning chains
  141. 5:28to be diverse enough so that you can
  142. 5:30continue to drive that self-improvement
  143. 5:33loop is something that is
  144. 5:35an important research area even now.
  145. 5:38An important aspect of
  146. 5:41building these self-improvement loops
  147. 5:43continues to be verification. So, how do
  148. 5:45you have robust verification techniques
  149. 5:48or meta verification techniques where
  150. 5:50you verify
  151. 5:51what was going into the reasoning chain
  152. 5:54is
  153. 5:55often quite valuable. So that's another
  154. 5:57area that the second paper I will
  155. 5:59present the ideas on will cover. And the
  156. 6:02third aspect is that
  157. 6:04even though we talk about train time
  158. 6:05scaling that
  159. 6:07the prompts that go into training these
  160. 6:09models
  161. 6:10get selected very statically and require
  162. 6:12humans to select them.
  163. 6:14So
  164. 6:15how do you break through the data
  165. 6:17barriers so that the self-improvement
  166. 6:19loop can pick the right set of data that
  167. 6:22drives that loop.
  168. 6:24So that's going to be the first part of
  169. 6:25the focus and the second part of the
  170. 6:27focus will be focused on just what
  171. 6:29drives
  172. 6:30efficiency for intelligence. So
  173. 6:33intelligence per what aspects?
  174. 6:35So let's take a quick look at some of
  175. 6:37the ideas that might drive the
  176. 6:40self-improvement loop further in the
  177. 6:42next generation of systems and given how
  178. 6:45fast the field is moving
  179. 6:46maybe we'll be teaching papers on each
  180. 6:48of this next time.
  181. 6:51So the first paper that we cover is
  182. 6:54coming from multi-agent fine-tuning
  183. 6:55which focuses on self-improvement with
  184. 6:58diverse reasoning chains.
  185. 7:00The key idea of this paper is that
  186. 7:04pre-training computer and instruction
  187. 7:05tuning is bottlenecked by
  188. 7:07so pre-training computers are
  189. 7:09compression of internet scale data and
  190. 7:10instruction fine-tuning often requires
  191. 7:12real human data where you
  192. 7:14need human preferences to decide what is
  193. 7:17good model response and bad response
  194. 7:21bad model response. So an alternative to
  195. 7:24this is that you can use the data
  196. 7:25generated by LLMs which is often called
  197. 7:27a synthetic data and you can do
  198. 7:28iterative fine-tuning where you
  199. 7:30generate possible solutions and filter
  200. 7:32out the incorrect ones. This is called
  201. 7:34rejection sampling and fine-tune only on
  202. 7:36the good ones. Now there are many
  203. 7:37variants star and so on which uh can
  204. 7:41help drive this loop even better. We
  205. 7:43covered star in in class. Uh you can
  206. 7:45even add reasoning chains in in in that
  207. 7:48process.
  208. 7:49But, what typically happens is that if
  209. 7:51you're using a single uh large language
  210. 7:53model to generate the data, then uh
  211. 7:56it will generate solutions that will be
  212. 7:58very similar, and often time the
  213. 8:00performance increase will start uh will
  214. 8:02stop uh after a few uh iterations or
  215. 8:05after tens of iterations. And typically
  216. 8:08this problem is uh
  217. 8:10uh comes down to really the notion of
  218. 8:12lack of diversity. So, when uh you look
  219. 8:14at model training at the pre-training
  220. 8:16scale, the data is so diverse because it
  221. 8:18was generated over such a long time uh
  222. 8:21by humans, so it
  223. 8:23it is quite diverse, and that helps to
  224. 8:25uh helps improve the performance. But,
  225. 8:27when a single large language model is
  226. 8:29generating outputs for a set of prompts,
  227. 8:32it will not have very diverse responses
  228. 8:34even at high temperatures. And if uh so,
  229. 8:37the intuitive solution for this often
  230. 8:38means that you can use multiple agents
  231. 8:41uh which are specialized in some way,
  232. 8:43and then
  233. 8:44>> [snorts]
  234. 8:44>> use them to uh
  235. 8:46improve the diversity. So, what this
  236. 8:48paper proposes, for example, is multiple
  237. 8:50specialized agents uh for generations
  238. 8:52that will then produce uh diverse
  239. 8:55initial solutions. So, they they train
  240. 8:57generation agents and critic agents. So,
  241. 9:00um the generation agents will help
  242. 9:02generate a lot of diverse initial
  243. 9:04solutions, while the critic agents will
  244. 9:06evaluate and refine the solutions. Uh
  245. 9:09so, those are specialists as well. So,
  246. 9:11if you were to look at um step-by-step
  247. 9:13process, and we don't need to go through
  248. 9:15every single uh detail in the algorithm
  249. 9:18below, uh but uh the generation agent
  250. 9:20will come up with an initial answer, um
  251. 9:23and then there will be debate over
  252. 9:25multiple rounds. So, uh what the
  253. 9:27generation agent will In the In the
  254. 9:29initial step, it will just have the
  255. 9:31initial answer, but in the subsequent
  256. 9:33steps, it will summarize uh and get a
  257. 9:36summary of all other agents' responses,
  258. 9:38and use that also as part of generating
  259. 9:42the next response.
  260. 9:43The goal of the critic critic agent is
  261. 9:45to critique this updated set of answers.
  262. 9:47So, basically, if you're doing any
  263. 9:49iterations, there's an initial response
  264. 9:52from each of the generation agents, then
  265. 9:55you do a summary across all of these
  266. 9:57agents, and then the critic agent will
  267. 9:58critique this updated set of answers.
  268. 10:01So, it's very similar to what you guys
  269. 10:04were already familiar with. The main
  270. 10:05difference here is that instead of
  271. 10:07getting um
  272. 10:09uh the critique over a single agent's
  273. 10:12response, you're actually using multiple
  274. 10:14agents' responses, and then then
  275. 10:16specializing
  276. 10:17uh and summarizing across them. What
  277. 10:19this enables is that uh you have some
  278. 10:22form of diversity even at the generation
  279. 10:25stage before you're critiquing the
  280. 10:26answers. So, you basically get majority
  281. 10:28voting for free just by having multiple
  282. 10:31agents, and
  283. 10:32uh
  284. 10:33assuming that these are trained slightly
  285. 10:35differently, you
  286. 10:37uh you get diversity for free.
  287. 10:39So, uh the generation models in this
  288. 10:42particular case are fine-tuned from the
  289. 10:43same base models. So, they uh and and
  290. 10:46the goal there is to produce good
  291. 10:47answers given a question. So,
  292. 10:49uh over multiple iterations, what
  293. 10:51they're doing is they're taking outputs
  294. 10:53and filtering for a match with the
  295. 10:55majority vote, and then they're doing a
  296. 10:56SFT on this list of prompt and response
  297. 10:59pairs. Um if you were looking at a very
  298. 11:02naive version of doing this, uh you
  299. 11:03could just use different models, which
  300. 11:05is something that
  301. 11:06uh people do in practice as well. So,
  302. 11:08they will get very different responses
  303. 11:10with different prompts. So, that's the
  304. 11:13poor man's version of doing uh multiple
  305. 11:16generations.
  306. 11:17And uh the critic models in this
  307. 11:19particular paper was proposed as uh
  308. 11:22The critic models will basically take
  309. 11:24the
  310. 11:25uh
  311. 11:26input uh the updated answer, and then
  312. 11:29select the best one. So, they are also
  313. 11:30fine-tuned.
  314. 11:32Uh and uh these are um
  315. 11:34fine tuned on a mix of trajectories
  316. 11:35where answers correct at the start and
  317. 11:37then it's corrected over a course of
  318. 11:39debate. So basically the critic model is
  319. 11:42learning how to uh contrast the um
  320. 11:46correct and the incorrect answer.
  321. 11:49So to summarize the whole process, um
  322. 11:52there is end generation models and
  323. 11:54they're all each producing an output.
  324. 11:56The summarization happens. So you can
  325. 11:58imagine that either you summarize it
  326. 12:00with a model or you can just concatenate
  327. 12:02the responses of all the
  328. 12:04uh models. Then there is a
  329. 12:06um critic critique process on that and
  330. 12:09that's uh added to the um input uh and
  331. 12:12then then you do a second round where
  332. 12:14all of the models generates
  333. 12:16outputs, updated answers, and then then
  334. 12:18you do uh majority voting on top of that
  335. 12:20and again summarize the responses and
  336. 12:23you can continue this process in form of
  337. 12:25a debate in some ways. So uh those
  338. 12:28trajectories can then be used to fine
  339. 12:30tune different um different uh critiques
  340. 12:33as well.
  341. 12:35So how does this help? Um why did we
  342. 12:37discuss this? So I think the key metric
  343. 12:40that we're looking for is that
  344. 12:42uh
  345. 12:43on the x-axis you're looking at uh how
  346. 12:45many iterations of fine tuning it has
  347. 12:47gone through and on the y-axis you
  348. 12:49either have the negative log likelihood
  349. 12:51or you have the embedding uh
  350. 12:53dissimilarity. Uh the negative log
  351. 12:55likelihood is just uh a proxy for
  352. 12:57performance and the embedding
  353. 12:59dissimilarity the
  354. 13:00higher the
  355. 13:02higher uh the value, uh the more um
  356. 13:05diverse it is. So what we see on the
  357. 13:08left is for two open source models uh
  358. 13:11when they go and do fine tuning, they're
  359. 13:13actually able to continue to increase
  360. 13:14performance when they do this
  361. 13:16multi-agent fine tuning. So um and Llama
  362. 13:183 seems more responsive to this
  363. 13:20technique. Um I think the right side is
  364. 13:23more interesting as to
  365. 13:24uh
  366. 13:25as they're going through this process,
  367. 13:27uh the responses continue to stay quite
  368. 13:29diverse. And this is over math as a
  369. 13:32dataset.
  370. 13:33And overall, they tried this
  371. 13:36again in math over three open-source
  372. 13:38models. Uh and since they were going
  373. 13:40with fine-tuning, they had to stick with
  374. 13:42open-source models, but with multi-agent
  375. 13:44techniques, they were able to continue
  376. 13:46to see improvements even over multiple
  377. 13:49steps of fine-tuning. While for
  378. 13:51single-agent fine-tuning,
  379. 13:53the accuracy collapses or doesn't
  380. 13:56continue to improve.
  381. 13:58And uh they also show that
  382. 14:01not just in domain, which is math, in
  383. 14:04adjacent domains like GSM8K, this is a
  384. 14:06slightly older piece of work, so
  385. 14:09the numbers are not that high, but in
  386. 14:11even in adjacent domains like GSM8K, the
  387. 14:14model the fine-tuned agents actually
  388. 14:16show higher performance.
  389. 14:18Uh so this technique actually does help
  390. 14:20even it
  391. 14:21So it generalizes beyond just the
  392. 14:24in-domain uh datasets that it's trained
  393. 14:26on.
  394. 14:27So that's first set of comments. Um
  395. 14:30So what that roughly says is that if we
  396. 14:32want self-improvement, the reasoning
  397. 14:34chains that are provided to the model to
  398. 14:37drive those need to be diverse in some
  399. 14:39way, and how you do generate that, one
  400. 14:41technique could be based on having
  401. 14:42multiple models or multiple agents
  402. 14:44generate those kind of chains.
  403. 14:46A second problem that's very challenging
  404. 14:49and we covered actually in
  405. 14:51the first few lectures is around
  406. 14:53verification. So it's quite hard to
  407. 14:55verify
  408. 14:57model outputs.
  409. 14:58And typically, you would just look at
  410. 15:01the
  411. 15:02outcome. So if you have a math problem
  412. 15:04or a theorem proving uh
  413. 15:07a theorem proof, what you will look at
  414. 15:09is the final outcome, and then you have
  415. 15:11an outcome reward model. So does that
  416. 15:13match the ground truth? And then you
  417. 15:14will say that this verifies. One of the
  418. 15:16questions that we discussed
  419. 15:18in the
  420. 15:19verification lecture is that what
  421. 15:21happens if the reasoning chains are
  422. 15:23wrong and will that lead the model
  423. 15:25astray and or or will that
  424. 15:28cause uh some performance gap uh at the
  425. 15:30end. And
  426. 15:32we also realized that process reward
  427. 15:34models are quite hard to build. So,
  428. 15:36DeepSeek-Math V2 is a recent paper that
  429. 15:38came out which tries to show that at
  430. 15:40least in the theorem proving domain, it
  431. 15:42is possible to build uh
  432. 15:44self-verification loops uh which are
  433. 15:46automated. So, uh that's a very
  434. 15:48interesting uh concept.
  435. 15:50Um
  436. 15:51just to remind you on what I was saying,
  437. 15:54the current reinforcement learning
  438. 15:55approach assumes that final answer will
  439. 15:57match the ground truth and that's how uh
  440. 16:00you're basically creating the rewards.
  441. 16:02So, this has enabled saturation of
  442. 16:04multiple benchmarks like AMIE or uh
  443. 16:07other math-related benchmarks, but often
  444. 16:08times uh even when you have the correct
  445. 16:11answer, you might not have the correct
  446. 16:12reasoning. And if you are actually
  447. 16:14trying to get the models to do better in
  448. 16:16theorem proving, you do require rigorous
  449. 16:18step-by-step derivation which um the
  450. 16:20final output doesn't quite give you.
  451. 16:23Now, the interesting aspect is that uh
  452. 16:25the large language models are often
  453. 16:27trained on quantitative reasoning. So,
  454. 16:29the proofs that they might generate are
  455. 16:31mathematically invalid. And
  456. 16:34uh if you ask them to uh verify, they
  457. 16:37will claim that the incorrect proofs are
  458. 16:39valid. So, LLM as a judge technique
  459. 16:41doesn't quite work uh here. But, if you
  460. 16:43actually have expert humans look look at
  461. 16:46these proofs, um
  462. 16:47they will be able to look at the proof
  463. 16:49and and kind of uh reason about the fact
  464. 16:52that they know this area, they can
  465. 16:53reason about the fact and say that,
  466. 16:55"Okay, this proof has issues. It's just
  467. 16:57um not making sense because uh this next
  468. 16:59step is not following from the last step
  469. 17:02or there's reasoning gaps in the
  470. 17:04reference in the proof uh solution."
  471. 17:07So, uh what uh DeepSeek-Math V2 proposes
  472. 17:10is that instead of uh just training uh
  473. 17:14the reward models, they train uh
  474. 17:17verifiers, so meta verifiers basically.
  475. 17:19So, they get humans to identify issues
  476. 17:22in the proofs
  477. 17:23without any reference solutions, and
  478. 17:26based on that they train LLMs to
  479. 17:29identify issues in the proof and
  480. 17:32improve upon those. And then if you will
  481. 17:35find that there So, you basically have
  482. 17:38trained a model which can now critique
  483. 17:40the proofs themselves.
  484. 17:41So,
  485. 17:42what the final architecture for
  486. 17:44DeepSeek-Math V2 looks like. You folks
  487. 17:46are already familiar with the fact that
  488. 17:47there's a generator and a verifier
  489. 17:49typically in the in the loop for
  490. 17:51building
  491. 17:52chain time scaling systems. So, you are
  492. 17:55you have one model that is producing
  493. 17:56proofs and another model that is uh
  494. 18:00perhaps verifying things. So, it's
  495. 18:01identifying issues. What DeepSeek-Math
  496. 18:04V2 adds is this notion of meta verifier.
  497. 18:06So, you have
  498. 18:08a meta verifier that will review the
  499. 18:10verifier's analysis for whether it makes
  500. 18:13sense or whether there are issues with
  501. 18:14the proofs. And then the verifier is
  502. 18:16trained to
  503. 18:18take these issues and then score the
  504. 18:19proofs on a scale of 0.5 and 1.
  505. 18:23So, the verifier will then go improve
  506. 18:25the generator and the generator will
  507. 18:27produce harder proofs which will then go
  508. 18:29improve the verifier. So, there's this
  509. 18:31basically this ends up being a loop in
  510. 18:33some way.
  511. 18:35And the other interesting aspect here is
  512. 18:37that because
  513. 18:39once you seed the data for
  514. 18:41finding incorrect proofs, then you can
  515. 18:44actually automate that kind of labeling.
  516. 18:46So, you don't have to just rely on
  517. 18:47humans identifying issues in the proofs
  518. 18:49once the model once the meta verifier
  519. 18:51starts to learn this.
  520. 18:55So,
  521. 18:56this notion of meta verification is
  522. 18:58generally quite interesting in that
  523. 19:00verifiers can get correct score
  524. 19:02when the reasoning chains are incorrect.
  525. 19:04For example,
  526. 19:06they might come up with fabricated
  527. 19:08errors. So, meta verification has
  528. 19:10evaluation of this analysis to these
  529. 19:13issues that the
  530. 19:15that the verifier a verifier here is LLM
  531. 19:17as a judge uh
  532. 19:19do these identified issues actually
  533. 19:21exist? Does the score follow from the
  534. 19:23issues? So, they're basically analyzing
  535. 19:25whether the verifier did a good job or
  536. 19:26not. And then they have experts annotate
  537. 19:29the quality of this evaluation. And just
  538. 19:32by adding this additional block, they
  539. 19:34are able to improve the quality. So,
  540. 19:36it's almost like you had reasoning
  541. 19:38chains and then now you have um the
  542. 19:41verifier
  543. 19:42over those reasoning chains, which is
  544. 19:44basically saying that is this evaluation
  545. 19:46correct or not? Um so,
  546. 19:50it there is an LLM as a judge, which is
  547. 19:52identifying the issues in this reasoning
  548. 19:53chain and then
  549. 19:55do those issues exist or not is what
  550. 19:57meta verification is uh looking for.
  551. 20:02If you look at the results here,
  552. 20:05um
  553. 20:06just with this iterative optimization,
  554. 20:08uh I think all of those are familiar
  555. 20:10that a lot of the RL loop uh
  556. 20:12often uh is built on top of GRPO. Um in
  557. 20:15this particular case, they're building
  558. 20:17on top of DeepSeek V3 base models. So,
  559. 20:20just the verification generation loop
  560. 20:22now um benchmarked on IMO problems and
  561. 20:26CNML problems. Um this was present like
  562. 20:29the Gemini version of that was presented
  563. 20:31by
  564. 20:32uh one of our guest lecturers, but this
  565. 20:34is an open-source version that was
  566. 20:35released uh recently.
  567. 20:37Uh they are able to show that in
  568. 20:40eight iterations, um just with positive
  569. 20:43one, the proof score continues to climb
  570. 20:45just with that iterative loop. And then
  571. 20:47if you have best at 32, best at 32 means
  572. 20:50you pick the best solution out of 32
  573. 20:52generated proofs. Um there you are
  574. 20:55almost getting to 42% in uh proof score
  575. 20:58uh for IMO short list of 2024. So, this
  576. 21:02is quite promising as a hill climbing
  577. 21:04technique, which can suggests that there
  578. 21:06is some promise if you can identify the
  579. 21:09issues in the reasoning chains and
  580. 21:10actually push the model or nudge the
  581. 21:12model towards correcting them.
  582. 21:15So, overall um
  583. 21:18the insights here are that
  584. 21:20the best proofs will achieve higher
  585. 21:22verification scores and the generator
  586. 21:25can learn to differentiate higher
  587. 21:27quality proofs from flawed proofs and
  588. 21:29the self-verification as a result can uh
  589. 21:32basically uh have this better
  590. 21:35improvement loop. So, verification can
  591. 21:37be a bottleneck and this is one way to
  592. 21:39break that bottleneck.
  593. 21:41Overall, I think if you were to try to
  594. 21:44generalize this technique in other
  595. 21:46areas, what you're basically looking for
  596. 21:48is you're if you have LLM-based
  597. 21:50verifiers, you need need to find a way
  598. 21:53to get them to identify issues without
  599. 21:55reference solutions. That's what this
  600. 21:56paper is relying on. Then you need some
  601. 21:59form of an additional block which is
  602. 22:01meta meta verification so that it can
  603. 22:04reduce the chance of hallucinated issues
  604. 22:06that were identified by the verifier.
  605. 22:08And
  606. 22:09then you add an additional incentive for
  607. 22:11the generator to maximize
  608. 22:15quality through deliberate reasoning.
  609. 22:17So, you're basically improving the
  610. 22:18quality of the model responses here.
  611. 22:20So, overall, this notion of
  612. 22:22self-verification is introduced by our
  613. 22:24Deep Seek Deep Seek Math V2 and it
  614. 22:27starts to
  615. 22:28break the bottleneck in in verification
  616. 22:31if you can
  617. 22:32make that more automated end-to-end.
  618. 22:34Uh of course, this is still limited by
  619. 22:38uh by domains where verification is
  620. 22:40easier
  621. 22:42uh rather than more difficult.
  622. 22:46Okay.
  623. 22:47So, we covered through um
  624. 22:50what is the diversity in reasoning
  625. 22:52chains and we discussed a bit about um
  626. 22:57the verification bottleneck in the
  627. 22:58models where oftentimes um
  628. 23:01to get the models to
  629. 23:03uh, get over the bottleneck of, uh,
  630. 23:06verification, you need some form of meta
  631. 23:08verification techniques and N Deep Seek
  632. 23:10Math V2, uh, publishes that in open
  633. 23:13source. A third problem that you have to
  634. 23:15solve is this notion of, um,
  635. 23:18what data or what prompts, uh, should I
  636. 23:22train on? Um, so there's this very
  637. 23:24interesting paper that has not, um,
  638. 23:26uh, seen, uh, much, uh, um,
  639. 23:29use yet, but is quite promising and
  640. 23:31interesting is that, um,
  641. 23:34you basically, uh, have the models
  642. 23:36propose the set of tasks that they
  643. 23:38should go train on that are just, um, at
  644. 23:41the edge of, uh, what they have learned.
  645. 23:43So,
  646. 23:44to remind you, typically in the current
  647. 23:46AI training stack, um, you are either
  648. 23:49using human curated re- reasoning
  649. 23:51traces, so that's for the supervised
  650. 23:53learning stage, or for reinforcement
  651. 23:56learning with verifiable rewards, you
  652. 23:58are expecting some experts to curate the
  653. 24:00question-answer pairs, but that that
  654. 24:03basically requires that if you're
  655. 24:04constructing such, uh, model in, um,
  656. 24:07math, then you need math experts. If
  657. 24:09it's an IMO problems, then you need IMO
  658. 24:11experts, or if it is in coding, then you
  659. 24:14need, um, strong software coders. Uh,
  660. 24:17so,
  661. 24:18as, uh, the models continue to surpass
  662. 24:21human intelligence, um, the
  663. 24:23the ability to find more and more
  664. 24:25experts and more and more such tasks
  665. 24:27starts to be, uh, limiting.
  666. 24:30So, what this, uh, paper proposes, um,
  667. 24:33and this idea is still very new, is that
  668. 24:35a single model can both propose tasks
  669. 24:38and then solve them, so it
  670. 24:40it's almost goes to the other extreme of
  671. 24:42like, we should not really need an
  672. 24:44external, um,
  673. 24:46external source of data. So, basically,
  674. 24:48we don't should not need human
  675. 24:50generated, um,
  676. 24:52uh, prompts uh, to help climb on. The
  677. 24:55model itself will propose the tasks and
  678. 24:57then then it will go solve them and uh,
  679. 25:00so that's a very interesting set of
  680. 25:01ideas
  681. 25:03and uh
  682. 25:04it is feasible in certain domains. So
  683. 25:06they focus more on coding as a domain
  684. 25:08and they
  685. 25:10effectively construct three types of
  686. 25:12tasks
  687. 25:13abduction deduction and induction and I
  688. 25:16will explain this diagram in the
  689. 25:18subsequent slides but effectively what
  690. 25:20this is saying is that in the proposal
  691. 25:22stage
  692. 25:23they will
  693. 25:25construct the tasks based on this task
  694. 25:27types and then come up with a reward to
  695. 25:30select which tasks make sense and in the
  696. 25:32solution stage they will verify
  697. 25:35and then have an accuracy reward and
  698. 25:37then that can help give a joint update
  699. 25:40on the model itself as opposed to
  700. 25:43just one sided updates.
  701. 25:45So
  702. 25:46what is the proposer? How is the
  703. 25:48proposer proposing tasks? That's quite
  704. 25:50interesting. So it's effectively based
  705. 25:52on code coding paradigm so it's
  706. 25:54effectively saying that
  707. 25:55you have deduction tasks where
  708. 25:58you are generating program and input um
  709. 26:02and the
  710. 26:03environment is executing to get get
  711. 26:05output. So this is your usual
  712. 26:07um
  713. 26:09come up with a program and an input pair
  714. 26:11and then the environment will execute to
  715. 26:13get outputs.
  716. 26:15Abduction tasks they're similar to
  717. 26:17deduction you're generating the program
  718. 26:19and inputs and
  719. 26:20environment again computes outputs but
  720. 26:22induction tasks are different. It
  721. 26:24samples an existing program and then
  722. 26:26generates a new inputs for it
  723. 26:29plus a natural language message
  724. 26:30describing the function and the
  725. 26:33environment then goes and executes and
  726. 26:35and kind of decides whether this um
  727. 26:38this is going in the right direction or
  728. 26:40not.
  729. 26:41So
  730. 26:43what I and another interesting bit that
  731. 26:44I should mention here is that the
  732. 26:46proposer will be conditioned on past
  733. 26:49here. So
  734. 26:50I'll cover that in a later slide because
  735. 26:52otherwise it will get confusing, but it
  736. 26:54will be basically conditioned on past
  737. 26:56generated examples that are explicitly
  738. 26:58prompted
  739. 27:00so that they're basically added to
  740. 27:02promote diversity.
  741. 27:05So how do you how do you select tasks?
  742. 27:08The proposal will get a reward based on
  743. 27:11optimizing for task difficulty. So if
  744. 27:15when the solver so
  745. 27:17each of the tasks that are generated are
  746. 27:19passed to the solver
  747. 27:21and success rate is um
  748. 27:23zero, then you get a zero reward and if
  749. 27:26the
  750. 27:27success rate is non-zero, then you
  751. 27:28basically get one minus average success
  752. 27:30rate and the kind of tasks that you want
  753. 27:33to select are
  754. 27:35the [snorts] ones that are not trivial
  755. 27:36and the ones that are not impossible, so
  756. 27:38there is some ability to continue to
  757. 27:40learn. So you end up selecting tasks
  758. 27:42that are of moderate difficulty where
  759. 27:44solver will sometimes succeed and
  760. 27:46sometimes fail and this will generally
  761. 27:49help with uh
  762. 27:51getting the model to learn. So that's
  763. 27:54the goal of the
  764. 27:55proposer is to
  765. 27:57generate tasks for optimal task
  766. 27:59difficulty at a current set of model
  767. 28:02weights and as the model becomes more
  768. 28:03capable, then the proposal should learn
  769. 28:06to propose harder problems.
  770. 28:08Um of course, if you generate tasks,
  771. 28:11then you need to somehow make sure that
  772. 28:13these are valid tasks. So in the coding
  773. 28:15abstraction, one can run program
  774. 28:17integrity, so you can actually execute
  775. 28:19these tasks and see whether there are
  776. 28:21any errors. You can do safety checks.
  777. 28:23You can also make sure that if you run
  778. 28:25these inputs multiple times, you get
  779. 28:28exactly same outputs because in code
  780. 28:30that's possible. So
  781. 28:32the proposed tasks before it goes into
  782. 28:34the training pipeline is validated. So
  783. 28:36that's one way to make sure that
  784. 28:38um
  785. 28:39the proposal doesn't just um hack and
  786. 28:43come up with garbage tasks.
  787. 28:45And in terms of
  788. 28:46there's a buffer that is kept. So,
  789. 28:49for
  790. 28:50every seat triplet like there's an
  791. 28:52identifying like basically the the
  792. 28:55input, output, and the program for each
  793. 28:58of those triplet tasks, you're adding
  794. 29:00them to the task buffer and the proposer
  795. 29:03can sample references from the our
  796. 29:04buffer. So,
  797. 29:06there's some sort of a buffer that is
  798. 29:08kept
  799. 29:09along with how
  800. 29:13how many times the model is succeeding
  801. 29:15or failing on this. So, this is
  802. 29:16basically leading to this idea of
  803. 29:18curriculum learning that is evolving
  804. 29:20over time.
  805. 29:22And
  806. 29:23why is this exciting or interesting? I
  807. 29:25mean, on coding benchmarks, this notion
  808. 29:28starts to let you hill climb despite
  809. 29:30having much human curated data,
  810. 29:33which you know, human humans can
  811. 29:35generate a lot of coding data, but that
  812. 29:37after a while synthetic data or some
  813. 29:39This is almost a play on synthetic data
  814. 29:42in some ways, but it's um
  815. 29:44generating that in the loop at the task
  816. 29:47level as as well. So, what they show is
  817. 29:49that they're able to get state of the
  818. 29:51art on coding benchmarks even though
  819. 29:53they didn't have any human curated data
  820. 29:55on the prompt side, and they are able to
  821. 29:58outperform models trained on tens of
  822. 30:00thousands of expert examples. Some
  823. 30:02emerging behaviors that they show are
  824. 30:04that the complexity metrics increase
  825. 30:06over time. So, that can be expected if
  826. 30:08the proposer is continuing to increase
  827. 30:11the difficulty of what it's learning.
  828. 30:13And another aspect is that the diversity
  829. 30:16of programs and answers when the loop is
  830. 30:17set up correctly is is improving and the
  831. 30:20proposer is actually increasingly
  832. 30:23generating more and more difficult tasks
  833. 30:26as it's
  834. 30:27as the training is progressing. So, in
  835. 30:29in some ways it's almost like game
  836. 30:30theory where the proposer and solver are
  837. 30:33slightly adversarial, but overall
  838. 30:35they're helping each other improve in
  839. 30:37some ways.
  840. 30:38So, this is solving through the
  841. 30:40bottleneck of which tasks to go uh train
  842. 30:42the models on.
  843. 30:44So, if you were to uh look at takeaways
  844. 30:46here, I think it's it's basically going
  845. 30:48down the path of like the the task
  846. 30:50selection problem on which these models
  847. 30:53um run their self-improvement loop
  848. 30:55should not get bottlenecked on human
  849. 30:57data because otherwise you are very
  850. 30:59bottlenecked on which human experts as
  851. 31:01long as you can have some form of
  852. 31:03verification there.
  853. 31:04And uh you need some form of uh ability
  854. 31:06to do curriculum learning. So,
  855. 31:09uh this particular technique definitely
  856. 31:11relies on that. And uh even though they
  857. 31:14only
  858. 31:15hill climb on self-proposed code tasks,
  859. 31:18they actually see strong performance on
  860. 31:20both coding and math math benchmarks.
  861. 31:23So, that's actually surprising that they
  862. 31:25are also seeing strong performance on
  863. 31:26math benchmarks, but one can explain
  864. 31:28that from other results that have been
  865. 31:29seen in the field. And overall, larger
  866. 31:31models get bigger gains relative to
  867. 31:33smaller models. So,
  868. 31:35uh this is another uh idea in the space
  869. 31:38of uh improving the self-improvement
  870. 31:40loop that uh seems quite promising and
  871. 31:43uh continuing to hill climb in that
  872. 31:44area.
  873. 31:46>> Uh can I add something on on the
  874. 31:49previous? So, I feel like we are seeing
  875. 31:51the same thing. Like, we learned about
  876. 31:53Swirl, the step-by-step RL with
  877. 31:55synthetic data. Like, I feel like the
  878. 31:57findings here and there really kind of
  879. 32:00resonate with each other in the sense
  880. 32:02that uh synthetic data, like model
  881. 32:05generating its own training data, can
  882. 32:09improve the model not only on the
  883. 32:12the task that the generation is
  884. 32:14happening on, but also in
  885. 32:15transferability. Like, in Swirl, it was
  886. 32:18on us to a multi-hop question answering
  887. 32:21with retrieval, but then as more
  888. 32:23synthetic data was generated and RL
  889. 32:25training was done, the model was getting
  890. 32:27better at other tool calling, like
  891. 32:30calling a Python and solving math
  892. 32:33problems and vice versa. So, it seems
  893. 32:35like there is this like clear kind of
  894. 32:38repeated trend that we are seeing in
  895. 32:40terms of synthetic data generation by
  896. 32:42the model and generalization. And the
  897. 32:45other piece that's interesting again
  898. 32:46that
  899. 32:47kind of is the same kind of observation
  900. 32:50is that larger models seems to be better
  901. 32:53at absorbing this kind of data flywheel
  902. 32:56and also generalizing through that.
  903. 32:58Uh especially when it comes to in swirl
  904. 33:01at least on the RL optimization side,
  905. 33:03which is like an interesting
  906. 33:05observation.
  907. 33:07>> Great. Great.
  908. 33:09Uh where where would you take it from
  909. 33:10here
  910. 33:11from what you learn in swirl, right? So,
  911. 33:13I was going to summarize then you can
  912. 33:15add more bullet points. I I think to me
  913. 33:17uh
  914. 33:18to achieve true generalization and
  915. 33:19reasoning, we really need that notion of
  916. 33:22diversity um
  917. 33:24in the reasoning chain. So, that that
  918. 33:25was the first set of comments I was
  919. 33:27making and how we achieve that um
  920. 33:30continues to be an open problem. Uh we
  921. 33:32need better verification and the more we
  922. 33:34can break that verifier loop in a way
  923. 33:37where uh we are not bottlenecked by
  924. 33:39humans or or tasks that are uh
  925. 33:42verified only through human experts, uh
  926. 33:45the better off we are in some ways.
  927. 33:47Like, building reward models is
  928. 33:48challenging.
  929. 33:49And then I think the third is the
  930. 33:50selection of data itself. Um
  931. 33:53there's only so much uh
  932. 33:55data that can be curated by humans for
  933. 33:57what prompts go in. Uh so, that breaking
  934. 33:59that barrier is also quite important in
  935. 34:01next generation of
  936. 34:03uh self-improving models. What else do
  937. 34:05you would add there?
  938. 34:08>> Yeah, I think uh
  939. 34:10one just uh based on these kind of
  940. 34:12existing work
  941. 34:14uh
  942. 34:15uh
  943. 34:16something that would be interesting is
  944. 34:18that how much we can push the front here
  945. 34:21of the self-improvement just
  946. 34:23only be based on the verifiable domains
  947. 34:26that we can generate synthetic data and
  948. 34:28bring it back to the model
  949. 34:30on diverse task on diverse verifiable
  950. 34:33task, how much that pushes the
  951. 34:35performance and generalizes to other
  952. 34:38domains where we don't have uh
  953. 34:41automated verification. Like, can we
  954. 34:43generally make the model smarter and
  955. 34:45smarter in areas that we can verify
  956. 34:48verify
  957. 34:50and
  958. 34:51uh minimize or
  959. 34:54remove the need for label data in on
  960. 34:58non-verifiable
  961. 35:00domains based on that. So, I think that
  962. 35:02would be an interesting kind of research
  963. 35:04area, of course, a very compute-heavy
  964. 35:07research experiment.
  965. 35:10>> Uh there are there are some questions
  966. 35:12that people are asking. Uh what are some
  967. 35:14other applications of AI that don't fall
  968. 35:16into verifiable problems?
  969. 35:20>> So, it
  970. 35:21So, it comes in I I can just think about
  971. 35:24uh
  972. 35:25some uh areas that verification is very
  973. 35:29slow.
  974. 35:30Uh like, scientific discovery, running a
  975. 35:34very slow simulation in chip design that
  976. 35:36takes like a few days to run it to run
  977. 35:38to collect one kind of reward signal, or
  978. 35:42running this chemical experiment that
  979. 35:44you actually need to like go to a wet
  980. 35:47lab and run things and see like what the
  981. 35:50output, the quality, or the reward is.
  982. 35:53Those are the domains that the
  983. 35:54verification is really hard because
  984. 35:58in RL fine-tuning, we need or in test
  985. 36:02time scaling, we need these verifiers to
  986. 36:04be almost instant, right? Or we can wait
  987. 36:06a little bit. Maybe we can wait minutes.
  988. 36:08Maybe we can allow like 1 hour, but if
  989. 36:11this in this RL training route we RL
  990. 36:14training, we need like hundreds or
  991. 36:16thousands of steps of iteration,
  992. 36:18we can't wait like days
  993. 36:21uh or like someone a human in the loop
  994. 36:24to collect the reward for us.
  995. 36:27So those are the non verifiable domains.
  996. 36:31Those are some examples of non non
  997. 36:32verifiable domains.
  998. 36:35>> I think truly non verifiable also comes
  999. 36:37from creativity or any metrics that
  1000. 36:40where where there's subjectivity in some
  1001. 36:41ways.
  1002. 36:44>> Like creative writing, right? It's like
  1003. 36:46a
  1004. 36:48designing an exact reward function for
  1005. 36:50that is hard.
  1006. 36:52But of course we can always model that,
  1007. 36:54but then you you can the RL or the agent
  1008. 36:58can do reward hacking if the model is
  1009. 36:59slightly off
  1010. 37:01off base, yeah.
  1011. 37:04>> Any other questions from the class on
  1012. 37:05those aspects?
  1013. 37:11>> Yeah, we have one question. Can you hear
  1014. 37:12us?
  1015. 37:13>> Yes, we can hear you.
  1016. 37:15>> Uh
  1017. 37:16you mentioned
  1018. 37:18the harder areas to verify. Like how are
  1019. 37:22people attempting to
  1020. 37:25uh solve that?
  1021. 37:28Like for example, like chip design or
  1022. 37:30like
  1023. 37:31like bio
  1024. 37:33discoveries.
  1025. 37:37>> Um so one way to to go about it is to
  1026. 37:43train a model like a separate reward
  1027. 37:45model that can predict the outcome of a
  1028. 37:48simulation. So instead of actually
  1029. 37:51running those expensive uh simulations
  1030. 37:54or emulations or true experiment, you
  1031. 37:57collect a lot of data on them offline
  1032. 38:00and then you train a reward model that
  1033. 38:02for a given input it can predict the
  1034. 38:05quality of the output and you use this
  1035. 38:07reward model as your verification
  1036. 38:11object like uh
  1037. 38:13in the loop of RL optimization and so
  1038. 38:15on. But of course the generality of the
  1039. 38:19reward model is a function of how much
  1040. 38:20data you have and
  1041. 38:22um
  1042. 38:23it can
  1043. 38:24uh can be inaccurate and that can cause
  1044. 38:26problems.
  1045. 38:28So that's that's one area. Akanksha, do
  1046. 38:30you have any?
  1047. 38:32>> So
  1048. 38:33I think we talked about chip design and
  1049. 38:35so on, right? But even even before going
  1050. 38:37to chip design, just the kernel bench
  1051. 38:38stuff that was done at Stanford in your
  1052. 38:40lab.
  1053. 38:41Even there, for example, um
  1054. 38:44get get you get compiler execution, so
  1055. 38:47you can see that did you generate the
  1056. 38:48right code or not? You can get some
  1057. 38:49metrics, but
  1058. 38:51there's a class project that is actually
  1059. 38:53trying to read performance profiles as
  1060. 38:55you make things more complex and that's
  1061. 38:57a harder problem. So you basically
  1062. 39:00even though you might be able to do
  1063. 39:01design optimized kernels for simple
  1064. 39:03enough things, but if you actually
  1065. 39:05concatenate all of these things together
  1066. 39:07and you want to
  1067. 39:08performance profile and and change parts
  1068. 39:11of the code that are
  1069. 39:13not optimized, that's a harder problem
  1070. 39:15in general in some ways and often times
  1071. 39:18the way people will go about solving it
  1072. 39:20is okay, the models can
  1073. 39:22solve maybe kernel optimization problem,
  1074. 39:25so maybe I break down the problem into
  1075. 39:27sub parts and then then get the model to
  1076. 39:29look at each part and then have some
  1077. 39:32reference solutions to look at a
  1078. 39:33knowledge base. I'm literally describing
  1079. 39:36a class project right now. So what I'm
  1080. 39:38trying to say here is that it's
  1081. 39:40because of this being a hard enough
  1082. 39:43problem and the models not being at that
  1083. 39:44capability, often it requires breaking
  1084. 39:46down the problem in interesting ways to
  1085. 39:49what what the models are able to do now.
  1086. 39:58Okay.
  1087. 39:59Let's move to
  1088. 40:01more along the lines of okay, we can do
  1089. 40:03the self-improvement, but you're now
  1090. 40:05doing a lot more inference and there's a
  1091. 40:08cost to this intelligence. So Azalia
  1092. 40:10will cover more on how to get efficiency
  1093. 40:12there.
  1094. 40:14>> Sounds good. Should I I, uh, present
  1095. 40:17myself or would you like scroll? Like
  1096. 40:19how what would
  1097. 40:20>> Uh, whatever is fastest. I can continue
  1098. 40:23to if you just tell me next I'll
  1099. 40:24continue to this.
  1100. 40:24>> Okay. Okay. Sounds good. So, next,
  1101. 40:26please.
  1102. 40:28Um, so this is a recent work, uh, that
  1103. 40:31we did, uh, in collaboration with uh,
  1104. 40:34Professor Ray and uh, Professor John
  1105. 40:37Hennessy and a large team of uh,
  1106. 40:40great collaborators. Um, so in this
  1107. 40:43project we're what we're looking for is
  1108. 40:46like looking into the the trends that
  1109. 40:48are happening on the model side and also
  1110. 40:51on the hardware accelerator side and
  1111. 40:54we're what we are interested in, uh, in
  1112. 40:58kind of like
  1113. 41:00uh, thinking about the future and
  1114. 41:02thinking about how the workloads and AI
  1115. 41:04inference,
  1116. 41:06uh,
  1117. 41:07uh, is going to look like in terms of
  1118. 41:09like the type of the size of the models
  1119. 41:11and the type of accelerators that we're
  1120. 41:14going to need to serve them. Uh, next,
  1121. 41:16please.
  1122. 41:20So, uh,
  1123. 41:22right now we call we are in the
  1124. 41:24mainframe uh, era meaning that uh,
  1125. 41:29the
  1126. 41:30the
  1127. 41:31LLMs that we're running using ChatGPT,
  1128. 41:34Gemini, uh, a lot of these uh, larger
  1129. 41:37models that we're running, all of them
  1130. 41:38are being run on cloud, uh,
  1131. 41:42we don't we don't run them locally
  1132. 41:44because these models are large. Uh, some
  1133. 41:46of them we even don't have access to
  1134. 41:48them, they're proprietary and the even
  1135. 41:50the open source one for the larger
  1136. 41:52models we're still using cloud to run
  1137. 41:54these models.
  1138. 41:55Uh, and at the same time what the
  1139. 41:57observation is that the demand for
  1140. 42:00compute
  1141. 42:01as a result is exploding like Google
  1142. 42:03Cloud uh, had grew in something in the
  1143. 42:07order of 1200x in the last 12 20 months
  1144. 42:11in terms of the compute serving in video
  1145. 42:14had a 10x year over year kind of growth
  1146. 42:18growth. And this is like crazy, right?
  1147. 42:20These numbers are
  1148. 42:22explicitly driven by AI and as a result
  1149. 42:26you're going to need something in the
  1150. 42:28order of 250 gigabyte gigawatt of data
  1151. 42:31centers
  1152. 42:33to be able to serve this demand right
  1153. 42:35now and again this is exploding. So that
  1154. 42:38means you're going to need more and more
  1155. 42:41energy kind of supply for these data
  1156. 42:44centers.
  1157. 42:45On the right side we are this we are
  1158. 42:47showing this graph of the number of
  1159. 42:49tokens
  1160. 42:50that are kind of like
  1161. 42:52from from on the Google side has been
  1162. 42:55processed. So in the February of last
  1163. 42:58year it was 160 trillion and in October
  1164. 43:01of this year it was 1.3
  1165. 43:04quadrillion.
  1166. 43:06So this is like one of the fastest
  1167. 43:08growing compute demands that we are
  1168. 43:10seeing in history.
  1169. 43:12Next please.
  1170. 43:15>> [clears throat]
  1171. 43:15>> At the same time so we looked into like
  1172. 43:18what kind of workloads are or the type
  1173. 43:21of activities or AI serving
  1174. 43:24demand that we are observing and there
  1175. 43:26from this
  1176. 43:28data set this very large scale data set
  1177. 43:31of chat GPT users it turns out that
  1178. 43:34something in the order of 77%
  1179. 43:36of requests are for task like practical
  1180. 43:41guidance, information,
  1181. 43:44like asking for information or writing
  1182. 43:47and a lot of these task
  1183. 43:49it turns out that we don't need the very
  1184. 43:51best frontier models to ask to to answer
  1185. 43:54them correctly. Rather small smaller and
  1186. 43:59local models can be used to address to
  1187. 44:02address them. So on the right side you
  1188. 44:04are seeing this kind of like categories
  1189. 44:06of user queries, the type of user
  1190. 44:09queries that exist and over time and
  1191. 44:14what is interesting here is that of
  1192. 44:16course users are going to ask more and
  1193. 44:18more complex problems from the chatbots
  1194. 44:21over time because the chatbots are
  1195. 44:23getting better, but still it's kind of
  1196. 44:26like the vast majority of the type of
  1197. 44:29queries that are being asked are on the
  1198. 44:32on the side of again the simpler side of
  1199. 44:36complexity that can be addressed by
  1200. 44:39smaller models rather than
  1201. 44:42large proprietary models.
  1202. 44:44Next, please.
  1203. 44:47Um
  1204. 44:48another trend that is happening right
  1205. 44:50now is the improvements in local
  1206. 44:54inference accelerators. So, the graph on
  1207. 44:57the right what it shows is us since 2012
  1208. 45:00up until now uh
  1209. 45:03we we saw something like 126x
  1210. 45:06improvement in the GPU memory of the
  1211. 45:09local accelerators and right now
  1212. 45:13we have laptops that our MacBooks could
  1213. 45:16have
  1214. 45:17something in the order of 100 GB of
  1215. 45:19memory and that means that we can fit
  1216. 45:23very very large model
  1217. 45:26if we
  1218. 45:27especially if you serve the model in
  1219. 45:28quantized versions like in eight and so
  1220. 45:31the larger some of the largest models
  1221. 45:34that are out there we can take them and
  1222. 45:36serve them locally. This is like a very
  1223. 45:38interesting trend that is following this
  1224. 45:41other trend that
  1225. 45:42a lot of user queries are addressable by
  1226. 45:46smaller models.
  1227. 45:48Next, please.
  1228. 45:50So, the question that we wanted to
  1229. 45:52answer here is that
  1230. 45:54uh
  1231. 45:55what role can local inference play in
  1232. 45:59re-redistributing
  1233. 46:01the inference demand? So, we have all
  1234. 46:03this traffic right now that pretty much
  1235. 46:06all of it is going to cloud.
  1236. 46:08Pretty much all of it is going is going
  1237. 46:10to these accelerators like H100s and
  1238. 46:14TPUs and GP200s, GP300s. But,
  1239. 46:19the trends right now are suggesting that
  1240. 46:21maybe we can do something different
  1241. 46:22here. And so, let's see the next slide.
  1242. 46:27Uh so, in order to look into this more
  1243. 46:30systematically, we first did did
  1244. 46:33uh
  1245. 46:34define this new metric that looks into
  1246. 46:37not only the capability or the way the
  1247. 46:40models are the accuracy of the models,
  1248. 46:43but also on the efficiency side. So, on
  1249. 46:46the capability side, we are looking in
  1250. 46:48this metric that I'm about to define
  1251. 46:51called intelligence per watt is looking
  1252. 46:54into the percentage of
  1253. 46:57uh of the queries that are being uh are
  1254. 47:00that are addressable by the model in in
  1255. 47:03for the single turn and reasoning uh
  1256. 47:06type of queries. And when I say local
  1257. 47:09models right now, at least in this
  1258. 47:10study, we considered those are the
  1259. 47:13models that are 20 have 20 billion
  1260. 47:15active parameters or less.
  1261. 47:18Um and on the efficiency side is how
  1262. 47:21much uh
  1263. 47:22useful compute we can get from these uh
  1264. 47:25per watt from running these models on
  1265. 47:28our local hardware. So, in short, the
  1266. 47:31definition of intelligence per watt is
  1267. 47:34the average task accuracy divided by the
  1268. 47:36average power draw to uh
  1269. 47:40to to solve this task by the model.
  1270. 47:43Uh next, please.
  1271. 47:46And we looked into a variety of uh
  1272. 47:49models, hardware, work uh type of tasks,
  1273. 47:52and uh evaluation metrics.
  1274. 47:54Uh we looked into more than 20 local
  1275. 47:57models and like quant, GPTQ, llama 3,
  1276. 48:00and so on.
  1277. 48:02Uh we looked into both enterprise
  1278. 48:04accelerators and local accelerators.
  1279. 48:07Uh
  1280. 48:08the type of workloads we looked into, as
  1281. 48:10you can see here, were there were 1
  1282. 48:12million queries from sourced from chat
  1283. 48:14GPT
  1284. 48:16and other reasoning
  1285. 48:18benchmarks such as natural reasoning,
  1286. 48:20MMLU Pro, and Super GPQA.
  1287. 48:24Um and we also looked into the
  1288. 48:26evaluation metrics such as accuracy,
  1289. 48:28energy, latency,
  1290. 48:30uh the compute used, and so on. And all
  1291. 48:32of this data, so this massive data we
  1292. 48:35used it to up to understand the trends,
  1293. 48:37but we are also
  1294. 48:39uh open-sourcing all of these kind of
  1295. 48:41different metrics across different
  1296. 48:44uh
  1297. 48:45uh type of on the underlying model and
  1298. 48:47hardware substrates.
  1299. 48:49Next, please.
  1300. 48:51So, here is our find our findings.
  1301. 48:54Uh it turns out that local models are
  1302. 48:58not only are very very good already, but
  1303. 49:01the trend of their improvement is also
  1304. 49:04very interesting. So, since 2023,
  1305. 49:08um there was a 3.1x
  1306. 49:11improvement in the accuracy or the
  1307. 49:14portion of the chat queries that they
  1308. 49:17could add they could solve.
  1309. 49:19Um this is very very fast, and this
  1310. 49:21happened in only 2 years. Um and right
  1311. 49:24now they could among the queries that I
  1312. 49:27described in the previous slide, they
  1313. 49:29could address something in the order of
  1314. 49:3188.7%
  1315. 49:33of all these queries. Uh this is a very
  1316. 49:35very large number number.
  1317. 49:38Um another observation, which is like
  1318. 49:41kind of not very surprising, is that
  1319. 49:44local accelerators, in terms of their
  1320. 49:46efficiency, they lag behind enterprise
  1321. 49:49chips.
  1322. 49:50Uh for example, an Apple M4 Max, uh,
  1323. 49:54it delivers 1 and 1/2,
  1324. 49:57uh,
  1325. 49:58X lower intelligence per watt than a
  1326. 50:01B200. And the reason for that is that
  1327. 50:04these B200s are extremely, like,
  1328. 50:06optimized to run language model
  1329. 50:10workloads, whereas an Apple M4, of
  1330. 50:12course, is optimized to run these AI
  1331. 50:14metrics, but there are other metrics,
  1332. 50:16other other kind of workloads that are
  1333. 50:18out there that, uh, they're optimized
  1334. 50:20for. And in general, while designing
  1335. 50:23these chips, the understanding wasn't
  1336. 50:26that
  1337. 50:27the LLMs are going to be running
  1338. 50:30locally.
  1339. 50:31That's why, like, the majority of focus
  1340. 50:34of chip designers are on this cloud
  1341. 50:36cloud scale uh, chips for running these
  1342. 50:39workloads.
  1343. 50:40And lastly,
  1344. 50:42there is this other very important
  1345. 50:44observation that the intelligence
  1346. 50:47efficiency, like, or the improvement in
  1347. 50:49this IQ EW metric, is something in the
  1348. 50:52order of 5.3X over the last 2 years. So,
  1349. 50:553.1X of it is coming from better models,
  1350. 50:59and another 1.7X of it is coming from
  1351. 51:01the improvement in the hardware, and the
  1352. 51:04how the hardware is becoming more and
  1353. 51:06more efficient. So, both of these, uh,
  1354. 51:09so the the all of these, uh,
  1355. 51:12both of these trends, one is that local
  1356. 51:15models are, like, becoming better and
  1357. 51:17better. They can
  1358. 51:18solve problems, uh, that they couldn't
  1359. 51:21solve before at this, like, very
  1360. 51:23accelerated rate. At the same time,
  1361. 51:27uh, model efficiency is becoming better,
  1362. 51:29and hardware efficiency is becoming
  1363. 51:31better. This suggests that we're heading
  1364. 51:34towards this future that more and more
  1365. 51:36of this traffic can be addressed or can
  1366. 51:40be solved by models that we can run on
  1367. 51:42our edge device, for example, on our
  1368. 51:44laptop or on our, uh, phone device in
  1369. 51:48the future.
  1370. 51:49Uh next, please.
  1371. 51:52Um so, uh
  1372. 51:55let's just go to the next slide. Uh
  1373. 51:58so,
  1374. 52:00with that, uh
  1375. 52:02I get back to the IPW and the future
  1376. 52:04directions for that in a second, but
  1377. 52:07given this observation and everything
  1378. 52:09else that we have kind of learned in
  1379. 52:11this class,
  1380. 52:12there are a few directions that are
  1381. 52:16remain like open. There are a lot of
  1382. 52:18interesting research questions around it
  1383. 52:20that can be that are not addressed yet,
  1384. 52:22and it's going to be interesting to work
  1385. 52:24on.
  1386. 52:25Uh one is the the fund foundational
  1387. 52:28principles in test time scaling,
  1388. 52:30um and learning from this like
  1389. 52:33new kind of era of synthetic data and
  1390. 52:37synthetic data flywheel that these
  1391. 52:38models are creating.
  1392. 52:40Uh right now, the way we are approaching
  1393. 52:43it is through RL, through collecting
  1394. 52:45this data, and then fine-tuning the
  1395. 52:46models.
  1396. 52:48Uh but, it kind of like suggests that
  1397. 52:50there is more here, like our
  1398. 52:51understanding of
  1399. 52:53um
  1400. 52:56First of all, why is why are we seeing
  1401. 52:58this kind of property? Like, what does
  1402. 53:01it suggest from the model that as they
  1403. 53:03ask the model a question over and over
  1404. 53:06again through test time scaling, what is
  1405. 53:08happening that these correct answers are
  1406. 53:10coming out? Like, what are the best
  1407. 53:12practices to kind of distill these
  1408. 53:15successful trajectories back to the
  1409. 53:18model.
  1410. 53:19Um these are still open questions, and
  1411. 53:21there is a very clear segway from this
  1412. 53:24synthetic data flywheel
  1413. 53:26uh kind of phenomenon back to continual
  1414. 53:29learning.
  1415. 53:30Um
  1416. 53:31something that is that seems like maybe
  1417. 53:34it's not really we haven't gotten it
  1418. 53:36right yet is the following. Like, us
  1419. 53:39humans, like as we solve tasks, as we
  1420. 53:43uh solve problems and study and do new
  1421. 53:46things, there is this continual kind of
  1422. 53:49progress in how our brain develops and
  1423. 53:51how we become more and more skillful.
  1424. 53:54Whereas for the models, it seems like
  1425. 53:56mostly there's this offline process of
  1426. 53:59like
  1427. 54:00here is like some agent take up uh kind
  1428. 54:03of experiences that are generated and
  1429. 54:05then maybe after some time there's like
  1430. 54:08this fine-tuning process of
  1431. 54:10of the model.
  1432. 54:12Uh it is not something that happens on
  1433. 54:15the go.
  1434. 54:16Uh and there is this kind of a mismatch
  1435. 54:18between
  1436. 54:20human behavior and model behavior that's
  1437. 54:23a concept like continual learning could
  1438. 54:25potentially answer. Like, what are the
  1439. 54:28new practices that we can bring in model
  1440. 54:31development that we can kind of like
  1441. 54:34bring these
  1442. 54:36uh positive experiences and learning
  1443. 54:38from negative experiences and type of
  1444. 54:41problem-solving that the model do back
  1445. 54:43into the model in a more natural way
  1446. 54:46uh that is different from the current
  1447. 54:49like
  1448. 54:50asynchronous like data generation and on
  1449. 54:52and fine-tuning paradigm.
  1450. 54:55Um
  1451. 54:57Uh the last piece is the infra for the
  1452. 55:01high-throughput low latency test time
  1453. 55:03scaling. So, again, a a very
  1454. 55:07um
  1455. 55:08the way we do test time scaling, whether
  1456. 55:11it's repeated sampling, whether it's uh
  1457. 55:13these kind of like back and forth in
  1458. 55:16terms of uh
  1459. 55:18up updates that we do to the previous
  1460. 55:20generations, we do tool calling, we do
  1461. 55:21this and that. That is very different
  1462. 55:23from the
  1463. 55:25current mainstream chatbot usage, which
  1464. 55:27is uh just like kind of mostly
  1465. 55:30single-turn back and forth with the
  1466. 55:32model.
  1467. 55:33And that what that means is that there
  1468. 55:35are very a lot of opportunities for
  1469. 55:38doing systems and inference optimization
  1470. 55:41work
  1471. 55:42uh for these type of test time scaling.
  1472. 55:45Uh my lab did some of this work like
  1473. 55:48works like hydrogen, Tokamak
  1474. 55:50uh and these things are going to matter
  1475. 55:53again a lot more in the future because
  1476. 55:56uh these methods are becoming more and
  1477. 55:58more mainstream. So, that means we need
  1478. 56:00to have uh specific ways to deal or
  1479. 56:03optimize the systems and the underlying
  1480. 56:05compute for them. So, overall, it seems
  1481. 56:08like pre-training
  1482. 56:10uh looking at the the figure on the
  1483. 56:12bottom of the slide, pre-training a lot
  1484. 56:15of interesting work in there. This
  1485. 56:17course or our series of lectures touched
  1486. 56:20less on that even though uh Akanksha is
  1487. 56:22an expert on pre-training, but we mostly
  1488. 56:26focused on post-training and the test
  1489. 56:29time scaling methods. And there is this
  1490. 56:33new kind of on unleashed area of like
  1491. 56:36synthetic data flywheel and continual
  1492. 56:39learning that is happening in this kind
  1493. 56:41of connection between the fine-tuning
  1494. 56:44and online learning and test time
  1495. 56:45scaling that we hope that all of you
  1496. 56:48learned a ton about it, but there's also
  1497. 56:50a lot of interesting unsolved challenges
  1498. 56:52that you can address going forward. Uh
  1499. 56:55next slide, please.
  1500. 56:58Um
  1501. 57:00uh going back to the IPW metric and the
  1502. 57:03observation about the shift the possible
  1503. 57:05shift from everything on cloud to a lot
  1504. 57:09more locally
  1505. 57:11uh
  1506. 57:12also suggests new direction in terms of
  1507. 57:14inference
  1508. 57:16uh serving engines that are hybrid
  1509. 57:19uh that we we can kind of smoothly route
  1510. 57:23traffic between our local and cloud kind
  1511. 57:26of uh models and accelerators depending
  1512. 57:29on the need and the complexity of
  1513. 57:32uh of the resources.
  1514. 57:34Um
  1515. 57:36The other direction here again is new
  1516. 57:39model architectures and kernels that we
  1517. 57:42can use for any energy-efficient
  1518. 57:44inference, especially on the local
  1519. 57:46accelerators that we have, which is like
  1520. 57:48a which is like a
  1521. 57:50area that has much less
  1522. 57:52uh kind of focus on compared to the
  1523. 57:55cloud cloud accelerators.
  1524. 57:58Um and the other important piece is that
  1525. 58:00energy is going to be the most like kind
  1526. 58:03of uh valuable resource that we have
  1527. 58:06going forward. Uh and
  1528. 58:08uh metrics such as intelligence per watt
  1529. 58:11and better ways of our understanding of
  1530. 58:14measuring energy and watt and power
  1531. 58:17usage and optimizing for that again is
  1532. 58:20going to be very very important. And
  1533. 58:22that is an area that
  1534. 58:26uh
  1535. 58:27is less focused on right now in terms of
  1536. 58:29like the metric of the target metric of
  1537. 58:32optimization, but we expect that it's um
  1538. 58:35it becomes more mainstream and more
  1539. 58:37popular
  1540. 58:38uh going forward.
  1541. 58:41And
  1542. 58:42I think that's the last slide on the
  1543. 58:44future directions.
  1544. 58:52Um Akanksha, you're muted.
  1545. 58:58Okay, there's some some things in chat.
  1546. 59:00So,
  1547. 59:01um
  1548. 59:03I'll start with the first question here.
  1549. 59:05Do you think this is more pertaining
  1550. 59:08This is more pertaining to memory
  1551. 59:09systems
  1552. 59:11or the LLMs themselves?
  1553. 59:15I'm guessing uh So, whoever asked this
  1554. 59:17question, can you ask it real time
  1555. 59:19perhaps to uh put a little bit more
  1556. 59:21context there? Otherwise, we're guessing
  1557. 59:23the question.
  1558. 59:25>> Yeah, happy to.
  1559. 59:28Uh
  1560. 59:28yeah, I was just referring to a few
  1561. 59:30slides back when you were talking about
  1562. 59:33that continual learning like from
  1563. 59:35failures and success. Um
  1564. 59:38Do you think that we're going to see
  1565. 59:40more of that in
  1566. 59:41you know, long-term memory systems and
  1567. 59:43architectures or the you know, what's
  1568. 59:45designed around an LLM or the models
  1569. 59:48themselves?
  1570. 59:50In terms of what's improved and what's
  1571. 59:52worked on.
  1572. 59:54>> So, I think the continual learning idea
  1573. 59:55that might pertain to long-term memory
  1574. 59:58systems with that's that would be the
  1575. 1:00:00human analog of it, but if you're trying
  1576. 1:00:03to but but before we even go there,
  1577. 1:00:07get even in multi-step reasoning
  1578. 1:00:09learning from success or failures or
  1579. 1:00:11getting the model to keep that skill set
  1580. 1:00:13and update things in the weights the or
  1581. 1:00:16in subset of weights in a useful way
  1582. 1:00:19like can you learn a new skill? Can you
  1583. 1:00:23learn how to learn is is an important
  1584. 1:00:26capability that we basically don't have
  1585. 1:00:28right now.
  1586. 1:00:30Like if you can watch videos robots try
  1587. 1:00:32this when can you watch videos of how to
  1588. 1:00:35do something and and learn how to do it
  1589. 1:00:37as opposed to
  1590. 1:00:38uh being given a lot of task
  1591. 1:00:40demonstrations.
  1592. 1:00:45Sorry, do you have more to add there?
  1593. 1:00:49You're muted if you're
  1594. 1:00:52Yeah, I think um
  1595. 1:00:55um
  1596. 1:00:56Yeah, I think there are other ways also
  1597. 1:00:59to bring this knowledge like obviously
  1598. 1:01:02in context learning
  1599. 1:01:04is one way to enable continual learning.
  1600. 1:01:07Imagine like one way I think about is
  1601. 1:01:09that imagine we had an infinite context
  1602. 1:01:12that the model could perfectly have
  1603. 1:01:14access to every piece of it and could
  1604. 1:01:17learn from everything in it. We don't
  1605. 1:01:19have that, but if we had that, maybe
  1606. 1:01:21that was one solution to like
  1607. 1:01:24continual learning, right? Because we
  1608. 1:01:26could put everything positive and
  1609. 1:01:28negative in the context and the model
  1610. 1:01:30could just remember all of that at the
  1611. 1:01:32same time and reason over all of that at
  1612. 1:01:34the same time.
  1613. 1:01:35But, we don't have that. And we go
  1614. 1:01:37through right now even a million or a
  1615. 1:01:40few million, the models like kind of uh
  1616. 1:01:43keep ability to reason over its ICL or
  1617. 1:01:47in context uh kind of data diminishes.
  1618. 1:01:51Um and there are other ways like we
  1619. 1:01:54learned about cartridge in this tape in
  1620. 1:01:56this uh in the span of our lectures. So,
  1621. 1:01:59that's one other way that
  1622. 1:02:01to be our enabling this long context and
  1623. 1:02:05in context learning without changing the
  1624. 1:02:07weights of the model, without fine
  1625. 1:02:09fine-tuning it fine-tuning the model,
  1626. 1:02:11but instead bringing them into the
  1627. 1:02:14activations or in this case into the KB
  1628. 1:02:16caches of the model. So, um
  1629. 1:02:20all I'm saying here is that there are
  1630. 1:02:22other ways to think about like continual
  1631. 1:02:24learning uh without model
  1632. 1:02:28without model fine-tuning. One could be
  1633. 1:02:30by just increasing the effe- effective
  1634. 1:02:32context length uh massively. Um
  1635. 1:02:37and that could be another approach to
  1636. 1:02:41memory like long-term memory and uh and
  1637. 1:02:44continual learning.
  1638. 1:02:48>> As a as a sort of follow-up to that,
  1639. 1:02:49like
  1640. 1:02:50in in practice, like in implementation,
  1641. 1:02:52like do you think you know, what what
  1642. 1:02:54would be easier to do? Like, you know,
  1643. 1:02:57constantly updating the model's weights
  1644. 1:02:58or uh you know, updating a memory store,
  1645. 1:03:01right?
  1646. 1:03:03>> So, I I I think it depends on the
  1647. 1:03:04application, right? I mean, uh of course
  1648. 1:03:07you can argue that updating the memory
  1649. 1:03:09store
  1650. 1:03:10would would be easier. Um if it's a
  1651. 1:03:13knowledge base, if what you're I mean,
  1652. 1:03:15the simplest and naive version of that
  1653. 1:03:18is that if I could keep a database that
  1654. 1:03:20the LM could learn to look at, then I
  1655. 1:03:22should just go update the database,
  1656. 1:03:23right? But what you're really trying to
  1657. 1:03:25teach the LM is to the ability to reason
  1658. 1:03:28over new domains, and and oftentimes
  1659. 1:03:31having a side memory system doesn't
  1660. 1:03:33quite achieve that. So that's where
  1661. 1:03:35updating the weights does the job
  1662. 1:03:36better. And the example that I was
  1663. 1:03:39giving in robotics actually is very
  1664. 1:03:42very pertinent there as to like no
  1665. 1:03:44matter how much
  1666. 1:03:46memory systems you add, the robot which
  1667. 1:03:49has learned, I mean, the
  1668. 1:03:50cross-embodiment generalization that you
  1669. 1:03:52were looking at on the lecture on
  1670. 1:03:54Monday, for example, that doesn't happen
  1671. 1:03:56if you don't update the LM weights just
  1672. 1:03:58by by having memory systems, right? So
  1673. 1:04:01that's more of a skills transfer
  1674. 1:04:03problem.
  1675. 1:04:04>> Okay, makes sense. Yeah, thanks so much.
  1676. 1:04:09>> Okay, there's one more question, I think
  1677. 1:04:11from
  1678. 1:04:12What he's saying is that in the zero in
  1679. 1:04:15the absolute zero paper, the environment
  1680. 1:04:17seems like the data used for
  1681. 1:04:18post-training is in the paper for agents
  1682. 1:04:20to self-create environments.
  1683. 1:04:23So um
  1684. 1:04:25I mean, if you go back to the worlds
  1685. 1:04:27where there was narrow intelligence,
  1686. 1:04:30right?
  1687. 1:04:31There you could basically create
  1688. 1:04:33simulations for games. So
  1689. 1:04:37and those were used as environments for
  1690. 1:04:38toy tasks.
  1691. 1:04:40The
  1692. 1:04:41The reason environments matter in the
  1693. 1:04:43current generation are that they are
  1694. 1:04:44proxies for real-world tasks. So it's
  1695. 1:04:47not so much that there's a paper for
  1696. 1:04:49agents to self-create environments, it's
  1697. 1:04:51more along the lines of what is the set
  1698. 1:04:53of tasks that you're trying to
  1699. 1:04:54represent. Um
  1700. 1:04:55if there is an easy way to simulate
  1701. 1:04:57them, then
  1702. 1:04:59whether you use agents to create that or
  1703. 1:05:01software to create that, that's fairly
  1704. 1:05:03straightforward, but is it a reasonable
  1705. 1:05:05proxy of
  1706. 1:05:06how the model will interact with the
  1707. 1:05:09real world to get feedback.
  1708. 1:05:10And for gaming
  1709. 1:05:12it's
  1710. 1:05:13kind of a finite space to explore, so
  1711. 1:05:17it's easier to represent that in code
  1712. 1:05:19and have simulations.
  1713. 1:05:22>> Okay, thank you.
  1714. 1:05:25>> Uh more questions from the class?
  1715. 1:05:41You were saying something?
  1716. 1:05:42>> I was saying
  1717. 1:05:44no questions.
  1718. 1:05:46>> Okay, we can't hear you, Jared. You have
  1719. 1:05:48to speak up.
  1720. 1:05:48>> I I think he said there are no further
  1721. 1:05:50questions.
  1722. 1:05:52>> Okay, awesome.
  1723. 1:05:53>> Uh okay, cool.
  1724. 1:05:55>> Okay, so let's start by let's end by
  1725. 1:05:57thanking the class. It's been a It's
  1726. 1:06:00been a real pleasure teaching you all
  1727. 1:06:03and creating the content for this class
  1728. 1:06:05so that you can learn about the latest
  1729. 1:06:07and greatest set of techniques in the
  1730. 1:06:09self-improving agents
  1731. 1:06:11area. It's a evolving area, so anything
  1732. 1:06:14that we teach now starts to be history
  1733. 1:06:17by the next time the class rolls around,
  1734. 1:06:20so and yet the basic techniques that
  1735. 1:06:22you're learning um are extremely
  1736. 1:06:25valuable over time because a lot of the
  1737. 1:06:28new stuff still builds on top of the
  1738. 1:06:31basic techniques.
  1739. 1:06:33So, really grateful to have worked with
  1740. 1:06:35you all and looking forward to what you
  1741. 1:06:37do in your projects and in your posters.
  1742. 1:06:40And let Azalia also thank the class.
  1743. 1:06:43>> Yes, thank you so much for
  1744. 1:06:46uh kind of
  1745. 1:06:49the way we created this class is that we
  1746. 1:06:51were also learning about a lot of things
  1747. 1:06:54as we were creating the slides and we
  1748. 1:06:57were preparing the course material
  1749. 1:06:58because a lot of these topics are just
  1750. 1:07:00like so fresh and so new and we were
  1751. 1:07:03excited about them and we wanted you to
  1752. 1:07:06also be aware of them. So,
  1753. 1:07:08thanks for like kind of accompanying us
  1754. 1:07:10in this journey journey and we're very
  1755. 1:07:13grateful to you and we hope that you
  1756. 1:07:16learned
  1757. 1:07:17uh
  1758. 1:07:18you learned some new skills, you got
  1759. 1:07:20inspired in some new direction
  1760. 1:07:22directions and we really hope that this
  1761. 1:07:26is just the beginning for you to do to
  1762. 1:07:28go ahead and do so so many more amazing
  1763. 1:07:30work in your research projects, in your
  1764. 1:07:32jobs, and in the future in general. So,
  1765. 1:07:34thank you so much.

About this transcript

This page contains the full transcript of YouTube transcript (AyO6wyu4DEg) , generated from the public captions YouTube serves with the video. The transcript has 10,366 words across 1,765 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.