Doubly Robust Alignment for Large Language Models
Erhan Xu, Kai Ye, Hongyi Zhou, Luhan Zhu, Francesco Quinzan, Chengchun Shi
TL;DR
This work targets robust RLHF for aligning large language models by addressing misspecifications in the BT-based preference model and reference policy. It introduces a doubly robust estimator for total policy preference $p^*(\\pi)$ and a corresponding doubly robust preference optimization (DRPO) that remains consistent if either the preference model or the reference policy is correct, plus finite-sample and semi-parametric efficiency guarantees. The paper provides rigorous theory showing efficiency bounds and gap analyses, and demonstrates empirically that DRPO and its evaluation estimator outperform PPO and DPO across synthetic and real-world tasks under model misspecification. The approach yields practical improvements and opens a path toward safer, more robust LLM alignment, with code available publicly for reproducibility.
Abstract
This paper studies reinforcement learning from human feedback (RLHF) for aligning large language models with human preferences. While RLHF has demonstrated promising results, many algorithms are highly sensitive to misspecifications in the underlying preference model (e.g., the Bradley-Terry model), the reference policy, or the reward function, resulting in undesirable fine-tuning. To address model misspecification, we propose a doubly robust preference optimization algorithm that remains consistent when either the preference model or the reference policy is correctly specified (without requiring both). Our proposal demonstrates superior and more robust performance than state-of-the-art algorithms, both in theory and in practice. The code is available at https://github.com/DRPO4LLM/DRPO4LLM
