[Paper Review] Direct Language Model Alignment from Online AI Feedback
This paper proposes Online AI Feedback (OAIF), a method that makes Direct Preference Optimization (DPO) and other DAP methods online by using a language model as an online annotator to provide real-time preference feedback during training. OAIF significantly improves alignment performance over offline DAP and RLHF methods, with human evaluations showing a 66% win rate for online over offline DAP methods.
Direct alignment from preferences (DAP) methods, such as DPO, have recently emerged as efficient alternatives to reinforcement learning from human feedback (RLHF), that do not require a separate reward model. However, the preference datasets used in DAP methods are usually collected ahead of training and never updated, thus the feedback is purely offline. Moreover, responses in these datasets are often sampled from a language model distinct from the one being aligned, and since the model evolves over training, the alignment phase is inevitably off-policy. In this study, we posit that online feedback is key and improves DAP methods. Our method, online AI feedback (OAIF), uses an LLM as annotator: on each training iteration, we sample two responses from the current model and prompt the LLM annotator to choose which one is preferred, thus providing online feedback. Despite its simplicity, we demonstrate via human evaluation in several tasks that OAIF outperforms both offline DAP and RLHF methods. We further show that the feedback leveraged in OAIF is easily controllable, via instruction prompts to the LLM annotator.
Motivation & Objective
- To address the limitation of offline feedback in Direct Alignment from Preferences (DAP) methods, which rely on static preference datasets not aligned with the policy's evolving generations.
- To improve alignment performance by enabling on-policy learning through real-time feedback from a language model annotator during training.
- To demonstrate that online feedback from LLMs can outperform both offline DAP and traditional RLHF in human evaluations.
- To show that the LLM annotator's preferences can be easily controlled via instruction prompts for targeted alignment goals.
- To reduce reliance on human-annotated preference data by replacing human feedback with scalable, controllable AI feedback.
Proposed method
- At each training step, two responses are sampled from the current policy model for a given prompt.
- An LLM annotator is prompted to compare the two responses and select the preferred one, generating online feedback.
- The model is updated using standard DAP loss functions (e.g., DPO, IPO, SLiC) with the newly generated online preference data.
- The LLM annotator’s behavior is controlled via instruction prompts, such as favoring shorter or more helpful responses.
- The method avoids training a separate reward model, unlike RLHF, and skips the preference dataset collection phase.
- The approach is applied to multiple DAP methods, including DPO, IPO, and SLiC, demonstrating generality.
Experimental results
Research questions
- RQ1Can online AI feedback improve the performance of DAP methods compared to their offline counterparts?
- RQ2Does on-policy learning via real-time LLM feedback lead to better alignment than off-policy offline DAP or RLHF?
- RQ3Can the behavior of the LLM annotator be effectively controlled through prompt engineering to achieve specific alignment objectives?
- RQ4How does OAIF compare to RLHF and RLAIF in terms of human-rated quality and sample efficiency?
- RQ5To what extent does OAIF mitigate overfitting and reward overoptimization common in offline DAP methods?
Key findings
- Human evaluations show that online DAP methods (including DPO, IPO, SLiC) win 66% of the time in pairwise comparisons against their offline versions.
- Online DPO outperforms the SFT baseline, RLHF, and RLAIF in 58% of 4-way comparisons on the TL;DR task, according to human raters.
- By prompting the LLM annotator to prefer shorter responses, the average response length decreased from ~120 to ~40 tokens while maintaining or improving quality.
- The method effectively mitigates reward overoptimization and distribution shift issues inherent in offline DAP methods.
- OAIF achieves performance comparable to or better than RLHF and RLAIF, despite using only AI-generated feedback and no human-annotated preference data.
- The approach is generalizable across multiple DAP methods, including DPO, IPO, and SLiC, demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.