arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.20869cs.CL
收藏

面向语言模型的弱监督奖励建模

Reward Modeling with Weak Supervision for Language Models

Technical University of Berlin(柏林工业大学);Occiglot(奥西格洛特公司);DFKI GmbH(德国人工智能研究中心)

Ben Hauptvogel, Malte Ostendorff, Georg Rehm, Sebastian Möller

AI总结:

本文提出用弱监督扩展RLHF偏好数据,通过启发式标注函数和标签模型标注未标注回复,从而提升奖励模型性能。

摘要:

近期,大型语言模型(LLM)的进展推动其在各类任务中的应用不断增加,而基于人类反馈的强化学习(RLHF)是其训练中的关键组成部分,用于使回复与用户意图保持一致。在RLHF流程中,奖励模型利用人类标注者或AI系统确定的回复偏好进行训练,随后通过强化学习对LLM进行优化。本工作引入弱监督作为扩展RLHF数据集并提升奖励模型性能的策略。弱监督采用有噪声或不精确的数据标注,减少对昂贵人工标注数据的依赖。通过分析RLHF数据集以识别与回复偏好相关的启发式规则,我们编写了简单的标注函数,随后校准标签模型,对未标注数据进行弱标注。评估表明,尽管弱监督通过提升奖励模型性能而显著有利于较小数据集,但其有效性会随着原始标注数据集规模增大而下降。此外,使用LLM生成回复并随后对其进行弱标注,为扩展偏好数据提供了一种有前景的方法。

英文摘要:

Recent advancements in large language models (LLMs) have led to their increased application across various tasks, with reinforcement learning from human feedback (RLHF) being a crucial part of their training to align responses with user intentions. In the RLHF process, a reward model is trained using responses preferences determined by human labelers or AI systems, which then refines the LLM through reinforcement learning. This work introduces weak supervision as a strategy to extend RLHF datasets and enhance reward model performance. Weak supervision employs noisy or imprecise data labeling, reducing reliance on expensive manually labeled data. By analyzing RLHF datasets to identify heuristics that correlate with response preference, we wrote simple labeling functions and then calibrated a label model to weakly annotate unlabeled data. Our evaluation show that while weak supervision significantly benefits smaller datasets by improving reward model performance, its effectiveness decreases with larger, originally labeled datasets. Additionally, using an LLM to generate and then weakly label responses offers a promising method for extending preference data.

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

↑