VKVlad KulikovPublic / lectures

Library

RL for LLM

Reinforcement learning, preference optimization, verifiable rewards, agents, and safety.

Read online

Contents

  1. Module 1. Introduction: Reinforcement Learning for LLMs · Quizzes · Exercises · Notebooks
  2. Module 2. State, Value, and Bellman Equations · Quizzes · Exercises · Notebooks
  3. Module 3. Bandits, exploration, and one-step decisions · Quizzes · Exercises · Notebooks
  4. Module 4. Policy gradients: from REINFORCE to PPO · Quizzes · Exercises · Notebooks
  5. Module 5. Learning from fixed data: imitation, deep Q-methods, and offline RL · Quizzes · Exercises · Notebooks
  6. Module 6. The LLM as a policy: tokens, log-probabilities, and KL · Quizzes · Exercises · Notebooks
  7. Module 7. Reward models and preference data · Quizzes · Exercises · Notebooks
  8. Module 8. RLHF and direct preference optimization · Quizzes · Exercises · Notebooks
  9. Module 9. RLVR and GRPO: verifiable rewards, group-relative estimates, and stability · Quizzes · Exercises · Notebooks
  10. Module 10. Search, verification, and test-time compute · Quizzes · Exercises · Notebooks
  11. Module 11. RL for LLM agents: tools, environments, and long trajectories · Quizzes · Exercises · Notebooks
  12. Module 12. RL infrastructure for LLMs: memory, rollouts, and asynchrony · Quizzes · Exercises · Notebooks
  13. Module 13. Evaluating RL systems for LLMs: statistics, reward hacking, and safety · Quizzes · Exercises · Notebooks

Open in Stepik · Free PDF / EPUB · Support the author