Deep Reinforcement Learning

Neural Networks + Reinforcement Learning

Deep RL uses neural networks as function approximators — replacing tabular value tables with networks that generalize across the enormous state spaces of real-world problems: pixels, joint angles, language tokens. It produced landmark results from Atari to Go to language model alignment.

Landmark Systems

1

DQN (2015) — Learned human-level play across 49 Atari games from raw pixels. First demonstration that deep RL could match humans on diverse tasks without hand-crafted features.

2

AlphaGo / AlphaZero (2016–2017) — Defeated world champion Go players. AlphaZero extended to chess and shogi from self-play alone — no human game data.

3

RLHF for language models (2022–present) — PPO-based RL from human feedback aligns LLMs to be helpful and safe. Powers ChatGPT, Claude, and Gemini's alignment training.

Key Algorithms

On-Policy: PPO

Dominant general-purpose deep RL algorithm. Actor-critic with clipping to prevent large destabilizing policy updates. Stable, efficient, widely used. Standard algorithm for RLHF in language model training.

Off-Policy: SAC

Soft Actor-Critic with entropy bonus — encourages exploration and stable training. State-of-the-art for continuous control (robotics, physical simulation). More sample-efficient than PPO but harder to tune.

Challenges

Why deep RL is hard to use

High sample complexity (millions of interactions needed). Hyperparameter sensitivity — wrong settings cause training collapse. Reward hacking at scale. Sim-to-real gap. Deep RL is powerful in simulation but difficult to apply directly in expensive or risky real environments.

Need Help?

Ask the AI assistant about deep RL, how DQN works, what PPO is, or how RLHF uses reinforcement learning to train language models.