通过一致性正则化提升自奖励语言模型的可靠性和对齐效果
CREAM: Consistency Regularized Self-Rewarding Language Models
- 利用多轮奖励一致性约束自奖励过程,减少评分偏差
- 在7B参数模型上实现更稳定的迭代优化,避免性能下降
- 适合追求高可靠性自我训练的LLM研究者与开发者
近期自奖励大语言模型(LLM)通过将LLM作为评判器,无需人工标注偏好数据即可迭代提升对齐性能。这些方法通常使用同一LLM同时充当策略模型(生成回复)和奖励模型(评分与排序)。基于排序结果生成偏好对,再通过直接对齐技术(如DPO)训练模型。然而,该过程中奖励与排序的准确性无法保证,可能引入偏差,导致训练数据不可靠。小规模模型(如7B参数)的实验显示,某些情况下自奖励性能在多次迭代后会下降,我们推测源于奖励系统的累积偏差。为此,本文首次形式化并分析了自奖励语言模型的通用迭代偏好微调框架,并引入正则化机制以缓解自奖励中的过度自信偏好标注问题。基于此理论洞察,提出一致性正则化自奖励语言模型(CREAM),通过跨轮次奖励一致性来正则化训练,使模型从更可靠的偏好数据中学习。实验证明,CREAM显著提升了奖励一致性与对齐性能。代码已开源:https://github.com/Raibows/CREAM。
原文摘要 · Abstract (English)
Recent self-rewarding large language models (LLM) have successfully applied LLM-as-a-Judge to iteratively improve the alignment performance without the need of human annotations for preference data. These methods commonly utilize the same LLM to act as both the policy model (which generates responses) and the reward model (which scores and ranks those responses). The ranked responses are then used as preference pairs to train the LLM via direct alignment technologies (e.g. DPO). However, it is noteworthy that throughout this process, there is no guarantee of accuracy in the rewarding and ranking, which is critical for ensuring accurate rewards and high-quality preference data. Empirical results from relatively small LLMs (e.g., 7B parameters) also indicate that improvements from self-rewarding may diminish after several iterations in certain situations, which we hypothesize is due to accumulated bias in the reward system. This bias can lead to unreliable preference data for training the LLM. To address this issue, we first formulate and analyze the generalized iterative preference fine-tuning framework for self-rewarding language model. We then introduce the regularization to this generalized framework to mitigate the overconfident preference labeling in the self-rewarding process. Based on this theoretical insight, we propose a Consistency Regularized sElf-rewarding lAnguage Model (CREAM) that leverages the consistency of rewards across different iterations to regularize the self-rewarding training, helping the model to learn from more reliable preference data. With this explicit regularization, our empirical results demonstrate the superiority of CREAM in improving both reward consistency and alignment performance. The code is publicly available at https://github.com/Raibows/CREAM.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。