影片高階EN6.2 萬 次觀看
Stanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 4 - Reinforcement Learning with LLMs
看影片(在新分頁開啟原站)連到 YouTube・Stanford Online
摘要
課深入探討大型語言模型(LLM)的強化學習訓練方法,涵蓋從策略梯度、REINFORCE 到 PPO 的數學原理與實作細節。講師詳細分析了 PPO 如何利用價值函式與重要性取樣比率來最佳化策略,並對比了 GRPO 如何透過群組相對優勢消除價值函式需求。最後介紹了 OPD 與 DAPO 等自監督與多教師蒸餾技術,解決了傳統方法缺乏詞元級回饋與需額外模型權重的限制。
This lecture covers reinforcement learning methods for LLMs, detailing the math behind PPO, GRPO, and recent advancements like OPD and DAPO for token-level feedback.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 詳細解析 PPO 的優勢函式計算、重要性取樣比率與 KL 懲罰機制。
- 比較 GRPO 透過群組相對優勢最佳化,省去訓練價值函式的負擔。
- 介紹 OPD 與 DAPO 等自監督技術,實現詞元級回饋並減少模型依賴。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction
- 06:35RL setup
- 09:32Reward design
- 12:23Policy gradient
- 17:12Derivation of the gradient
- 23:50REINFORCE
- 25:51Importance sampling ratio
- 33:22Challenges of policy gradients
- 40:34Proximal Policy Optimization (PPO)
- 42:49Value function and advantage
- 51:16Policy ratio
- 53:03Ratio clipping
- 57:45KL Penalty
- 59:48Connection with DPO
- 1:07:29Group Relative Policy Optimization (GRPO)
- 1:09:42Comparison of GRPO and PPO
- 1:18:25Limitations of GRPO
- 1:22:41DAPO, Dr. GRPO
- 1:25:17On-Policy Distillation (OPD)
- 1:39:32Self (OPSD) and Multi-Teacher (OPD) variants
提到的工具與公司
- PPO
- GRPO
- DAPO
- Dr. GRPO
- OPD
- OPSD
- KL Penalty
適合誰看
適合希望深入理解 LLM 後訓練強化學習演算法原理、數學推導及最新演進技術的開發者與研究者。
摘要依據
- 依據
- 自動字幕
為什麼排在這裡
- 人氣
- 0.85
- 新鮮
- 0.86
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Stanford CS229 Machine Learning | Spring 2026 | Lecture 20: GMM (EM), PCA影片 ・ Stanford Online ・ 1 小時 19 分 ・
- Reinforcement Learning for LLMs: The Complete Guide文章 ・ Deep (Learning) Focus(Cameron R. Wolfe) ・
- PPO for LLMs: A Guide for Normal People文章 ・ Deep (Learning) Focus(Cameron R. Wolfe) ・
- Post-Train Your Local AI: Which Method Actually Works影片 ・ Discover AI ・ 37 分鐘 ・
- Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 19: Model-Based RL影片 ・ Stanford Online ・ 1 小時 22 分 ・
- GLM-5.2: DeepSeek Was Wrong About RL?影片 ・ bycloud ・ 16 分鐘 ・
這個來源最近的內容
- LLM-as-a-Judge: How to Grade AI Agents | Stanford CS329Z Lecture 13 with John Yang ・ 影片 ・ 1 小時 20 分
- Andrew Ng on Building AI Agents | Stanford CS329Z Fireside Chat with Andrew Ng & Diyi Yang ・ 影片 ・ 1 小時 11 分
- How to Evaluate AI Agents: Benchmark Design | Stanford CS329Z Lecture 12 with John Yang ・ 影片 ・ 1 小時 21 分
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
