Deep Reinforcement Learning Foundations

Deep Reinforcement Learning Foundations

The general reinforcement-learning substrate — classical theory through deep RL — that the LLM-specific RL skills (agentic-rl, reasoning-models, llm-alignment-post-training) assume and build on but never re-derive. RLHF/PPO, GRPO, and agentic-RL rollouts are all special cases of the machinery below: an agent maximizing expected return from reward signal, optimized by policy gradients or value backups. Canonical text: Sutton & Barto, Reinforcement Learning: An Introduction (2nd ed., 2018); canonical implementation tutorial: OpenAI Spinning Up.

1. The RL problem: MDPs, returns, value functions

2. Dynamic programming (known model)

When P, R are known, solve exactly:

3. Model-free prediction & control

Learn from sampled experience without P:

4. Function approximation & the deep RL leap

Tabular methods don’t scale to large/continuous S. Approximate V_θ, Q_θ, or π_θ with neural nets. The deadly triad (function approximation + bootstrapping + off-policy) can diverge; deep RL’s engineering (target networks, replay, trust regions, clipping) largely exists to tame it.

5. Value-based deep RL: DQN → Rainbow

6. Policy gradient & actor-critic

Directly optimize π_θ — works for continuous/high-dim action spaces and stochastic policies.

7. Continuous control & maximum-entropy RL

8. Model-based RL

Learn (or use) a dynamics model to plan or generate synthetic experience — far more sample-efficient than model-free.

9. Exploration

Balancing exploration vs exploitation:

10. Offline (batch) RL

Learn from a fixed logged dataset, no environment interaction:

11. Reward shaping & reward hacking

12. Sample efficiency, sim-to-real, multi-agent (pointers)

13. Frameworks & benchmarks

Routing vs the LLM-RL siblings

This skill owns general RL theory and algorithms. Route LLM-specific applications elsewhere:

Sources

  1. Sutton & Barto — Reinforcement Learning: An Introduction (2nd ed., MIT Press, 2018). http://incompleteideas.net/book/the-book-2nd.html
  2. OpenAI — Spinning Up in Deep RL (docs + algorithm implementations). https://spinningup.openai.com/en/latest/
  3. Mnih et al. — Human-level control through deep reinforcement learning (DQN), Nature 518, 2015. https://www.nature.com/articles/nature14236
  4. Hessel et al. — Rainbow: Combining Improvements in Deep Reinforcement Learning, AAAI 2018. https://arxiv.org/abs/1710.02298
  5. Schulman et al. — Trust Region Policy Optimization (TRPO), 2015. https://arxiv.org/abs/1502.05477
  6. Schulman et al. — High-Dimensional Continuous Control Using Generalized Advantage Estimation (GAE), 2016. https://arxiv.org/abs/1506.02438
  7. Schulman et al. — Proximal Policy Optimization Algorithms (PPO), 2017. https://arxiv.org/abs/1707.06347
  8. Fujimoto et al. — Addressing Function Approximation Error in Actor-Critic Methods (TD3), ICML 2018. https://arxiv.org/abs/1802.09477
  9. Haarnoja et al. — Soft Actor-Critic (SAC), ICML 2018. https://arxiv.org/abs/1801.01290
  10. Schrittwieser et al. — Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model (MuZero), Nature 2020. https://arxiv.org/abs/1911.08265
  11. Hafner et al. — Mastering Diverse Domains through World Models (DreamerV3), 2023. https://arxiv.org/abs/2301.04104
  12. Kumar et al. — Conservative Q-Learning for Offline Reinforcement Learning (CQL), NeurIPS 2020. https://arxiv.org/abs/2006.04779
  13. Kostrikov et al. — Offline Reinforcement Learning with Implicit Q-Learning (IQL), 2021. https://arxiv.org/abs/2110.06169
  14. Chen et al. — Decision Transformer: Reinforcement Learning via Sequence Modeling, NeurIPS 2021. https://arxiv.org/abs/2106.01345
  15. Burda et al. — Exploration by Random Network Distillation (RND), 2018. https://arxiv.org/abs/1810.12894
  16. Towers et al. — Gymnasium: A Standard Interface for Reinforcement Learning Environments, 2024 (https://arxiv.org/abs/2407.17032); docs https://gymnasium.farama.org/. Companion libraries: Stable-Baselines3 (https://stable-baselines3.readthedocs.io/), CleanRL (https://github.com/vwxyzjn/cleanrl), Ray RLlib (https://docs.ray.io/en/latest/rllib/).

Researched 2026-06-02. RL algorithms are stable; treat framework versions and SOTA benchmark numbers as the fast-moving parts.