Closed form of the KL-regularised RL optimum
ProofGraduate⏱ 1 hourLLMsrlhfkl regularisationgibbsvariational
Problem
Prove that the maximiser of is , and explain why RLHF uses PPO rather than this formula.
Write a complete argument. Every inequality you use should be one you could state precisely.
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Rewards are identifiable only up to a prompt-dependent shift | LLMs | Proof | 30 min | ||
| The DPO gradient is a weighted contrastive step | LLMs | Proof | 30 min | ||
| The RAG evidence lower bound | RAG | Proof | 30 min | ||
| Derive the DPO objective abyss | LLMs | Proof | 1 hour |