Deep RL book excerpt: the policy loss is fake — a surrogate with no physical meaning

burkov · x · 2026-11-02

Andriy Burkov previews his upcoming deep RL book with a candid excerpt: the policy "loss" in RL has no physical meaning, unlike supervised-learning losses. It's a deliberately constructed surrogate whose gradient happens to equal the desired policy ascent direction. The excerpt walks through the reward-to-go derivation, showing how the fake loss lets PyTorch's SGD implement gradient ascent on the policy.

Original post →

More from Research

Research channel →