TensorX
返回文献探索

Paper · arXiv 2402.04792

Direct Language Model Alignment from Online AI Feedback

Shangmin Guo, Biao Zhang, Tianlin Liu, Tianqi Liu, Misha Khalman, Felipe Llinares, Alexandre Rame, Thomas Mesnard, Yao Zhao, Bilal Piot, Johan Ferret, Mathieu Blondel

36 upvotesFebruary 7, 2024arXiv 预印本
AI 摘要

Online AI feedback improves direct alignment from preferences methods by providing real-time feedback from a model, outperforming both offline DAP and RLHF methods.

direct alignment from preferencesDPOreinforcement learning from human feedbackpreference datasetsoffline feedbackon-policyoff-policyonline AI feedbackLLM annotatorhuman evaluation

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号