arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.14916cs.CLcs.AIcs.LG
收藏

改进语言模型的上下文感知偏好建模

Improving Context-Aware Preference Modeling for Language Models

University of Toronto(多伦多大学);Microsoft Research(微软研究院);Johns Hopkins University(约翰斯·霍普金斯大学);MILA(蒙特利尔学习算法研究所)

Silviu Pitis, Ziang Xiao, Nicolas Le Roux, Alessandro Sordoni

AI总结:

针对偏好反馈的欠规定性问题,提出两步偏好建模流程,并构建上下文条件数据集,微调出超越GPT-4和Llama 3 70B的上下文感知奖励模型。

摘要:

虽然从成对偏好中微调语言模型已被证明非常有效,但自然语言的欠规定性(underspecified)本质带来了严峻挑战。直接偏好反馈是不可解释的,在可能适用多维标准的情况下难以提供,并且常常不一致,这要么是因为其基于不完整的指令,要么是由不同的主体提供的。为应对这些挑战,我们考虑了一种两步偏好建模流程,该流程首先通过选择一个上下文来解决欠规定性,然后根据所选上下文评估偏好。我们根据这两个步骤分解了奖励建模误差,这表明在特定上下文的偏好之外监督上下文,可能是使模型与多样化的人类偏好对齐的一种可行方法。要使这一点奏效,模型评估特定上下文偏好的能力至关重要。为此,我们贡献了上下文条件偏好数据集以及配套实验,以研究语言模型评估特定上下文偏好的能力。我们使用我们的数据集来(1)表明现有的偏好模型受益于增加的上下文,但未能充分考虑它,(2)微调一个上下文感知的奖励模型,其在测试数据集上的特定上下文性能超过了GPT-4和Llama 3 70B,以及(3)研究上下文感知偏好建模的价值。

英文摘要:

While finetuning language models from pairwise preferences has proven remarkably effective, the underspecified nature of natural language presents critical challenges. Direct preference feedback is uninterpretable, difficult to provide where multidimensional criteria may apply, and often inconsistent, either because it is based on incomplete instructions or provided by diverse principals. To address these challenges, we consider the two-step preference modeling procedure that first resolves the under-specification by selecting a context, and then evaluates preference with respect to the chosen context. We decompose reward modeling error according to these two steps, which suggests that supervising context in addition to context-specific preference may be a viable approach to aligning models with diverse human preferences. For this to work, the ability of models to evaluate context-specific preference is critical. To this end, we contribute context-conditioned preference datasets and accompanying experiments that investigate the ability of language models to evaluate context-specific preference. We use our datasets to (1) show that existing preference models benefit from, but fail to fully consider, added context, (2) finetune a context-aware reward model with context-specific performance exceeding that of GPT-4 and Llama 3 70B on tested datasets, and (3) investigate the value of context-aware preference modeling.

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

↑