Chapter 1: The Production Abyss
In the winter of 2016, a team of engineers at Open AI watched their reinforcement learning agent do something none of them expected. After three weeks of training on a distributed cluster, their policy gradient agent—which had been steadily improving at a simulated robotic grasping task—suddenly collapsed. The policy, which had achieved a 78% success rate, dropped to 3% in a single update. The loss curve showed a beautiful downward trend right up until the moment it didn't. There was no warning, no error message, no exception thrown. The agent simply forgot everything it had learned.This phenomenon, which the team began calling "the policy cliff," was not a bug in their code. It was a fundamental property of the algorithms they were using. And it is the reason you are holding this book.The Day Reinforcement Learning Changed The policy cliff represents a profound problem in sequential decision-making: how do you improve a behavior policy without destroying the good behaviors you have already discovered? For years, this question haunted the field. Researchers tried smaller learning rates, gradient clipping, and elaborate regularization schemes. Nothing reliably prevented the cliff.Then, in 2017, a team at Open AI led by John Schulman published a paper titled "Proximal Policy Optimization Algorithms." The paper introduced a simple modification to the standard policy gradient objective: a clipping mechanism that prevented the new policy from straying too far from the old one. The results were staggering. On a suite of continuous control tasks, PPO matched or exceeded the performance…
This is the end of the free sample. Get the eBook to keep going. Buy now →






















