Understanding the Learning Dynamics of Alignment with Human Feedback
Shawn Im, Yixuan Li
TL;DR
The paper addresses how learning to align LLMs with human preferences via Direct Preference Optimization (DPO) unfolds, showing that the distribution and distinguishability of preferred vs. non-preferred data govern update rates and achievable accuracy. By formalizing a setup with alpha-subexponential embedding distributions and deriving bounds on weight updates and decision boundary progress, the authors prove a priority effect where more distinguishable behaviors are learned faster. They corroborate theory with experiments on Llama-2-7B and Mistral-7B across persona-based tasks, revealing that alignment can inadvertently facilitate misalignment when starting from aligned models. The work provides actionable insights for data collection and training design to balance learning across heterogeneous behaviors and to mitigate vulnerability to misuse. Overall, this study advances a theoretical foundation for alignment dynamics and informs practical, safer deployment of aligned LLMs.
Abstract
Aligning large language models (LLMs) with human intentions has become a critical task for safely deploying models in real-world systems. While existing alignment approaches have seen empirical success, theoretically understanding how these methods affect model behavior remains an open question. Our work provides an initial attempt to theoretically analyze the learning dynamics of human preference alignment. We formally show how the distribution of preference datasets influences the rate of model updates and provide rigorous guarantees on the training accuracy. Our theory also reveals an intricate phenomenon where the optimization is prone to prioritizing certain behaviors with higher preference distinguishability. We empirically validate our findings on contemporary LLMs and alignment tasks, reinforcing our theoretical insights and shedding light on considerations for future alignment approaches. Disclaimer: This paper contains potentially offensive text; reader discretion is advised.
