Reinforcement Learning from Human Feedback Basics

Nathan Lambert

13 August 2024

Abstract

Reinforcement learning from human feedback (RLHF) has become an important technical and storytelling tool to the deploy of the lastest 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 GitHub contributors for bug fixes. contributors on GitHub who helped improve this project.