影片高階EN1.1 萬 次觀看
Build A Reasoning Model From Scratch 5: Inference Scaling 2 (Logprob Scoring, Self-Refinement)
看影片(在新分頁開啟原站)連到 YouTube・Sebastian Raschka
摘要
介紹推論時擴展技術中的自我改進(Self-Refinement)與對數機率評分(Logprob Scoring)。講者先示範如何建立基於規則與長度的簡單評分器,再深入探討利用 Token 機率計算序列似然度,並轉換為對數機率以解決數值不穩定問題。最後,影片展示如何將這些評分器整合進自我改進迴圈,透過生成批評與修正來提升模型回答的準確度,並評估其在數學題庫上的表現。
This video covers inference-time scaling techniques, focusing on self-refinement and log probability scoring to improve LLM answer quality and tie-breaking.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 介紹自我改進技術,透過生成批評與修正來最佳化模型回答。
- 詳細解說對數機率評分,將序列似然度轉換為對數和以穩定計算。
- 評估自我改進在數學題庫上的效果,並說明其作為強化學習基礎的價值。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction and inference-time scaling recap
- 05:02Loading the pretrained LLM
- 08:00Comparing and scoring model answers
- 10:18Building a rule-based scorer
- 17:53Token probabilities and sequence likelihood
- 26:47Computing token probabilities in PyTorch
- 30:12Token indexing and shifted targets
- 37:27Log probabilities and numerical stability
- 45:57Scoring answers with average log probabilities
- 56:24How self-refinement works
- 59:07Generating critiques and revised answers
- 1:01:00Implementing the self-refinement loop
- 1:05:57MATH-500 evaluation results
- 1:07:35Takeaways and next steps
提到的工具與公司
- PyTorch
- MATH-500
適合誰看
希望深入理解大模型推論最佳化技術、評分機制及自我改進迴圈原理的開發者或研究者。
摘要依據
- 講者
- Sebastian Raschka
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.48
- 新鮮
- 0.78
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Build A Reasoning Model From Scratch 4: Inference Scaling 1 (Temperature, Top-p, Self-Consistency)影片 ・ Sebastian Raschka ・ 1 小時 37 分 ・
- CMU LLM Inference (8): Self-Refine and Self-Correction Methods影片 ・ Graham Neubig ・ 42 分鐘 ・
- Categories of Inference-Time Scaling for Improved LLM Reasoning文章 ・ Sebastian Raschka(部落格) ・
- AI 能自我修正嗎?從 decoding、workflow 到 reasoning 的技術發展整理影片 ・ Hung-yi Lee ・ 1 小時 28 分 ・
- The Last Mile Problem in AI Verification (And How to Solve It)影片 ・ Jason Liu ・ 49 分鐘 ・
- You should have an agent that grades your agents影片 ・ Warp ・ 6 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
