about
Direct Language Model Alignment from Online AI Feedback (arxiv.org)
61 points by drcwpl on Feb 8, 2024 | hide | past | pdf | 4 comments on HN

In plain words: Instead of training on a fixed pile of pre-collected preference pairs, this approach samples two answers from the model being trained each step and asks an AI judge which it prefers. Human raters liked its results better than both the fixed-data approach and standard reinforcement learning from human feedback.

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.

Shangmin Guo, Biao Zhang, Tianlin Liu, Tianqi Liu, Misha Khalman, Felipe Llinares, Alexandre Rame, Thomas Mesnard, Yao Zhao, Bilal Piot, Johan Ferret, Mathieu Blondel
arXiv:2402.04792 · cs.AI, cs.CL, cs.HC · submitted Feb 7, 2024 · updated Feb 29, 2024
abstract · pdf · html · 18 pages, 9 figures, 4 tables

add comment on HN

I wonder if this opens practical opportunities for adversarial hijacking of specific topics.
I would guess likely, it just remind me of microsofts chatbot on twitter that would learn from interactions so some 4chan people decided to turn racist, and they did like within a day or so.
Being able to evaluate these changes from online updates is a great result if it holds for more rapid iteration and tuning
Eval become way more important if things become less reproducible