KL-Regularized RLHF with Multiple Reference Models: Exact Solutions and Sample Complexity
Gholamali Aminian, Amir R. Asadi, Idan Shenfeld, Youssef Mroueh
TL;DR
The paper develops a theoretical framework for KL-regularized RLHF with multiple reference models, delivering the first exact solution for reverse KL regularization and establishing sample-complexity guarantees. It extends the analysis to forward KL regularization, deriving implicit solutions and corresponding bounds. The results show that multi-reference RLHF can achieve tighter sub-optimality gaps and favorable sample complexities compared to single-reference approaches, with practical implications for aligning LLMs using diverse open-source references. Experiments on GSM8K and UltraFeedback corroborate the theoretical advantages, highlighting improved alignment when leveraging multiple references. The work also discusses extensions to DPO and outlines important future directions like unbounded rewards and generalized divergences.
Abstract
Recent methods for aligning large language models (LLMs) with human feedback predominantly rely on a single reference model, which limits diversity, model overfitting, and underutilizes the wide range of available pre-trained models. Incorporating multiple reference models has the potential to address these limitations by broadening perspectives, reducing bias, and leveraging the strengths of diverse open-source LLMs. However, integrating multiple reference models into reinforcement learning with human feedback (RLHF) frameworks poses significant theoretical challenges, where achieving exact solutions has remained an open problem. This paper presents the first \emph{exact solution} to the multiple reference model problem in reverse KL-regularized RLHF. We introduce a comprehensive theoretical framework that includes rigorous statistical analysis and provides sample complexity guarantees. Additionally, we extend our analysis to forward KL-regularized RLHF, offering new insights into sample complexity requirements in multiple reference scenarios. Our contributions lay the foundation for more advanced and adaptable LLM alignment techniques, enabling the effective use of multiple reference models. This work paves the way for developing alignment frameworks that are both theoretically sound and better suited to the challenges of modern AI ecosystems.
