arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01197cs.CL
收藏

DMoERM:用于有效奖励建模的混合专家方案

DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modeling

Beihang University(北京航空航天大学)

Shanghaoran Quan

AI总结:

为解决RM训练中的多任务干扰和标注噪声问题,本文首次提出双层MoE奖励模型DMoERM,通过外层稀疏路由与内层密集LoRA专家集成,有效提升了与人类偏好的一致性并缓解了过度优化问题。

摘要:

奖励模型(RM)的性能是在对齐微调期间提升大语言模型(LLM)有效性的关键因素。RM训练仍存在两个挑战:1)使用各类数据训练同一个RM可能导致其泛化性能受到多任务干扰的影响;2)人类标注的一致率通常仅为60%至75%,导致训练数据包含大量噪声。为应对这两个挑战,我们首次将混合专家(MoE)的思想引入RM领域。我们提出了双层MoE RM(DMoERM)。外层MoE是一个稀疏模型。在将输入分类为任务类别后,我们将其路由到相应的内层任务特定模型。内层MoE是一个密集模型。我们将特定任务分解为多个能力维度,并在每个维度上分别微调一个LoRA专家。随后通过MLP合成它们的输出以计算最终奖励。为最小化成本,我们调用公共LLM API来获取能力偏好标签。在人工标注数据集上的验证证实,我们的模型实现了与人类偏好更优的一致性,并超越了先进的生成式方法。同时,通过BoN采样和RL实验,我们证明了我们的模型优于最先进的RM集成方法,并缓解了过度优化问题。我们的代码和数据集可在以下地址获取:https://github.com/quanshr/DMoERM-v1。

英文摘要:

The performance of the reward model (RM) is a critical factor in improving the effectiveness of the large language model (LLM) during alignment fine-tuning. There remain two challenges in RM training: 1) training the same RM using various categories of data may cause its generalization performance to suffer from multi-task disturbance, and 2) the human annotation consistency rate is generally only $60\%$ to $75\%$, causing training data to contain a lot of noise. To tackle these two challenges, we introduced the idea of Mixture-of-Experts (MoE) into the field of RM for the first time. We propose the Double-Layer MoE RM (DMoERM). The outer layer MoE is a sparse model. After classifying an input into task categories, we route it to the corresponding inner layer task-specific model. The inner layer MoE is a dense model. We decompose the specific task into multiple capability dimensions and individually fine-tune a LoRA expert on each one. Their outputs are then synthesized by an MLP to compute the final rewards. To minimize costs, we call a public LLM API to obtain the capability preference labels. The validation on manually labeled datasets confirms that our model attains superior consistency with human preference and outstrips advanced generative approaches. Meanwhile, through BoN sampling and RL experiments, we demonstrate that our model outperforms state-of-the-art ensemble methods of RM and mitigates the overoptimization problem. Our code and dataset are available at: https://github.com/quanshr/DMoERM-v1.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑