Sequence to Sequence Reward Modeling: Improving RLHF by Language Feedback
Jiayi Zhou, Jiaming Ji, Juntao Dai, Dong Li, Yaodong Yang
TL;DR
The work addresses biased optimization in RLHF caused by scalar reward modeling and proposes a novel sequence-to-sequence reward modeling (seq2seq RM) that learns from language feedback rather than scalar signals. By employing Correction Mapping and Identity Mapping with sequence MLE, and by extracting token-level positive and negative feedback from sequence divergence, seq2seq RM provides finer-grained credit assignments and stronger alignment signals. Empirical results show reduced long-response bias and refusal-to-response behavior, with improved alignment across 2B and 7B models on three NLP tasks and robust performance under out-of-distribution prompts, achieving an average win rate of 76.9%. The method does not require extra annotations or new models, and it enhances both the accuracy and granularity of reward signals, contributing to safer and more reliable RLHF deployments.
Abstract
Aligning the behavior of Large language models (LLMs) with human intentions and values remains a critical challenge. Reinforcement learning from human feedback (RLHF) aligns LLMs by training a reward model (RM) on human preferences and fine-tuning the LLMs to maximize RM feedback. Despite its effectiveness and popularity, RLHF is prone to biased local optimization. It means RM fails to provide feedback that accurately aligns with human preference, causing LLMs to explore unexpected generalizations, and failing to achieve alignment objectives. To mitigate this issue, we propose a novel \textit{sequence-to-sequence (seq2seq) reward modeling} method. Its key insight is that learning from language feedback rather than scalar feedback improves RLHF without additional annotations. We replaced the reward modeling target from binary maximum likelihood estimation (MLE) with sequence MLE. This method enables richer and fine-grained language feedback without additional annotations, models, or training stages. Our experiments demonstrated its effectiveness, specifically, reducing the refusal-to-response paradigm in single-turn safety dialogues and the long-response bias in text summarization tasks. We provide further analysis that seq2seq RM improves RLHF performance across 2B and 7B LLMs on 3 NLP tasks, achieving an average win rate of 76.9\%. We further show that seq2seq RM can still improve the performance of RLHF under out-of-distribution prompts.
