The Basics of Reinforcement Learning from Human Feedback

Nathan Lambert

6 October 2024

Abstract

Reinforcement learning from human feedback (RLHF) has become an important technical and storytelling tool to deploy the latest machine learning systems. In this book, we hope to give a gentle introduction to the core methods for people with some level of quantitative background. The book starts with the origins of RLHF – both in recent literature and in a convergence of disparate fields of science in economics, philosophy, and optimal control. We then set the stage with definitions, problem formulation, data collection, and other common math used in the literature. We detail the detail the popular algorithms and future frontiers of RLHF.

Acknowledgements

I would like to thank the following people who helped me with this project: Costa Huang,

Additionally, thank you to the contributors on GitHub who helped improve this project.