Dive into Deep Learning · §15
Deep Reinforcement Learning: Sample Efficiency and Function Approximation
bootstrapped critics · trust regions · KL penalties · replay buffers · world models · offline logs · LLM post-training
Motivation
Core Ideas
Fundamental Hazard
Algorithmic Map
Experimental Suite
Study Guide
| Section | Central Question | Core Mathematical Mechanism |
|---|---|---|
| §15.1 Actor-Critic & GAE | Must a policy wait for the episode to end? | TD error \delta_t = r_t + \gamma \hat{V}(s_{t+1}) - \hat{V}(s_t) and backward scan \sum_l (\gamma\lambda)^l \delta_{t+l} |
| §15.2 Trust Regions & PPO | How many updates can one batch safely drive? | Per-step importance ratio \rho_t(\theta) and clipped surrogate \min(\rho_t \hat{A}_t, \textrm{clip}(\rho_t)\hat{A}_t) |
| §15.3 KL-Regularized RL | How far may a policy stray from preference data? | Reference tilt \pi^\star(a) \propto \pi_{\textrm{ref}}(a) e^{r(a)/\beta} and soft backup V_\beta = \beta \log \sum_a \pi_{\textrm{ref}} e^{Q_\beta/\beta} |
| §15.4 Deep Q-Networks | Can a network learn values from any transition? | Uniform experience replay, frozen target network Q_{w^-}, and Double DQN decoupling |
| §15.5 Soft Actor-Critic | How do we learn continuous control in 3{,}000 steps? | Maximum-entropy target -\beta \log \pi, squashed Gaussian Jacobian, twin critics \min_j Q_j |
| §15.6 World Models & MPC | Can a learned physics model plan a swing-up? | State-delta regression \hat{f}_\phi(s,a), warm-started random shooting, policy distillation |
| §15.7 Offline RL | What can be learned when no new trial is allowed? | Empirical MDP stitching and pessimistic penalty -\kappa/\sqrt{n(s,a)} (CQL / TD3+BC) |
| §15.8 RL for Sequences | What survives when actions are tokens? | Token credit decomposition, verifiable rewards, GRPO with k_3 KL loss, and DPO |