Manuscript Offprint

arXiv:2609.06893

Towards Bridging the Gap Between Offline and Iterative Alignment via Preference Distillation

Wenbo Zhang, Wenzhuo Zhou, Hengrui Cai, Zhengling Qi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Wenbo Zhang

Department of Statistics

University of California, Irvine

wenbz13@uci.edu

Wenzhuo Zhou

Department of Statistics

University of California, Irvine

wenzhuz3@uci.edu

Hengrui Cai*

Department of Statistics

University of California, Irvine

hengrc1@uci.edu

Zhengling Qi

School of Business

George Washington University

qizhengling@email.gwu.edu

Reviewed on OpenReview: https://openreview.net/forum?id=X6r1bU1m6x

Abstract

Direct preference optimization (DPO, Rafailov et al., 2024) is a promising offline approach for aligning large language models (LLMs) due to its simplicity, computational efficiency, and implicit modeling of human preferences. Interestingly, iterative extensions of DPO have achieved stronger performance on academic benchmarks, raising two key questions: (i) Why do iterative methods generally outperform offline ones? (ii) Can their advantages be incorporated into offline alignment? To answer the first question, our controlled experiments reveal that the explicit preference model, additionally introduced in the iterative procedure, is a key factor behind its superiority over offline methods. This insight leads us to answer the second question affirmatively and propose Distilled Preference Probability Policy Optimization (DP3O), an effective and efficient offline alignment algorithm. DP3O first learns an explicit preference model using a helper class of LLMs and then distills its knowledge into policy optimization. Theoretically, we show that explicit preference modeling admits better estimation error control than implicit formulations, and that DP3O achieves a tighter generalization bound than hard-label DPO through variance reduction. Empirically, we evaluate DP3O on a wide range of chat-based and downstream tasks and show that it outperforms state-of-the-art offline methods, achieves performance comparable to iterative DPO, and reduces training time by about 42%, demonstrating both its effectiveness and efficiency.

1 Introduction

Aligning large language models (LLMs) using human feedback data can greatly improve the abilities of pre-trained models to follow instructions (Stiennon et al., 2020; Agrawal et al., 2023; Rafailov et al., 2024). A prominent approach to tackle the problem of learning from human preference data is through reinforcement learning from human feedback (RLHF, Ziegler et al., 2019; Ouyang et al., 2022; Yuan et al., 2024a). While RLHF refines LLMs with impressive conversational and coding abilities, RLHF methods like proximal policy optimization (PPO, Schulman et al., 2017) often struggle with computational inefficiency and instability.

*Corresponding author.

Figure

Figure 1: Intuition behind our method: Both the explicit preference model p^\hat{p} and the implicit model π^dpo\hat{\pi}_{dpo} aim to approximate the ground-truth preference model p∗p^*. For the implicit class, searching for p∗p^* is equivalent to searching for the optimal policy π∗\pi^*. In practice, we observe that learning p∗p^* is easier within the explicit preference class P\mathcal{P} than within the implicit policy class Π\Pi. As a result, π^DP3O\hat{\pi}_{DP3O} leverages the fitted explicit model as a form of distillation to improve policy alignment.

In contrast, some recent offline alternatives, such as direct preference optimization (DPO, Rafailov et al., 2024) have emerged as a viable solution, because they are simpler to implement and require fewer computing resources by using the policy to implicitly model human preference.

Despite the practical success of DPO (MistralAI, 2023; Xu et al., 2024b), the standard offline version often falls short compared to its iterative variant. Typically, the iterative approach starts by training a preference model and then iteratively annotates data generated by the LLMs for further fine-tuning. Recent empirical studies find that despite the training complexities, the iterative algorithms like the iterative DPO (Xu et al., 2023) show superior performance in academic benchmarks (see e.g., Tajwar et al., 2024; Tang et al., 2024; Dong et al., 2024; Xiong et al., 2024). This observation raises two interesting questions:

(i) Why do iterative methods generally outperform their offline counterparts?

(ii) Can we incorporate the strengths of the iterative procedure in purely offline settings?

In this paper, we first conduct controlled experiments to address the first question and identify the explicit preference model, which is additionally used in the iterative procedure, as the key factor contributing to the gap between the offline and iterative methods. Motivated by this observation, we propose a novel offline algorithm called Distilled Preference Probability Policy Optimization (DP3O) that synthesizes the strengths of both offline and iterative methods to optimize the alignment of LLMs with human preferences. The intuition of our method is illustrated in Fig. 1. DP3O consists of two steps: (i) learn an explicit preference model from the offline data using a helper class of LLMs, and (ii) distill the knowledge from the explicit model to the implicit one as soft labels.

The key contributions of our work can be summarized as follows.

  • We design a series of controlled experiments and identify the critical role of the explicit preference model in explaining the gap between the offline and the iterative methods. Our empirical results address existing discrepancies in the literature, offering practical guidance for the application of RLHF methods.

  • We propose an effective and efficient offline alignment method, DP3O, that incorporates a preference-distilled cross-entropy, which efficiently transfers knowledge from an explicit preference model to an implicit preference framework. Compared with iterative methods, our approach directly distills soft labels from the explicit preference model, reducing the computational cost associated with extensive response generation and annotation. Compared with the offline methods, DP3O achieves better performance by incorporating additional knowledge into policy learning.

  • We provide a theoretical analysis showing that explicit preference modeling admits better estimation error control than implicit formulations, and that DP3O can generalize better than DPO when the explicit preference model is sufficiently accurate.

  • Empirically, through extensive evaluations on controlled experiments and real-world chat-based evaluation tasks, including AlpacaEval 2, MT-Bench and also various downstream tasks in Open LLM Leaderboard, DP3O consistently outperforms existing state-of-the-art offline methods. These results establish DP3O as a highly effective framework for LLM alignment.

References (84)