Hybrid Preferences: Learning to Route Instances for Human vs. AI Feedback
该论文提出了一种混合偏好路由框架,通过结合人类和AI反馈来提高标注质量,同时降低人工标注的总成本。
更新于 2024-11-09。作者:Lester James V. Miranda、Yizhong Wang、Yanai Elazar、Sachin Kumar、Valentina Pyatkin、Faeze Brahman、Noah A. Smith、Hannaneh Hajishirzi、Pradeep Dasigi。
中文摘要
从人类反馈中学习,使得语言模型(LMs)与人类偏好相一致。然而,直接收集人类偏好可能成本高昂、耗时且存在较大变异性。一个吸引人的替代方案是从LMs中提炼偏好,作为合成注释的来源,因为它们比人类注释更一致、成本更低且可扩展性更好;然而,它们也容易出现偏差和错误。在这项工作中,我们介绍了一种路由框架,该框架结合了人类和LMs的输入,以实现更好的注释质量,同时降低人类注释的总成本。我们方法的核心是识别将受益于人类注释的偏好实例。我们将此问题表述为优化问题:给定一个偏好数据集和一个评估指标,我们训练一个性能预测模型来预测奖励模型在人类和LMs注释任意组合上的表现,并采用一种路由策略,选择最大化预测性能的组合。我们在MultiPref数据集上训练性能预测模型,这是一个新的偏好数据集,包含10K个与人类和LMs标签配对的实例。我们表明,使用我们的路由框架选择LM和直接人类偏好的混合组合,与仅使用其中任何一个相比,能够实现更好的奖励模型性能。我们在另外三个数据集上模拟了选择性人类偏好收集,并表明我们的方法对所有三个数据集都具有良好的泛化能力。我们分析了路由模型的特征,以识别可以受益于人类反馈的实例特征,例如具有适度安全担忧或适度意图复杂性的提示。我们将用于本研究的数据集、注释平台和源代码公开发布,以促进未来更高效和准确的偏好收集。
英文摘要
Learning from human feedback has enabled the alignment of language models (LMs) with human preferences. However, directly collecting human preferences can be expensive, time-consuming, and can have high variance. An appealing alternative is to distill preferences from LMs as a source of synthetic annotations as they are more consistent, cheaper, and scale better than human annotation; however, they are also prone to biases and errors. In this work, we introduce a routing framework that combines inputs from humans and LMs to achieve better annotation quality, while reducing the total cost of human annotation. The crux of our approach is to identify preference instances that will benefit from human annotations. We formulate this as an optimization problem: given a preference dataset and an evaluation metric, we train a performance prediction model to predict a reward model's performance on an arbitrary combination of human and LM annotations and employ a routing strategy that selects a combination that maximizes predicted performance. We train the performance prediction model on MultiPref, a new preference dataset with 10K instances paired with human and LM labels. We show that the selected hybrid mixture of LM and direct human preferences using our routing framework achieves better reward model performance compared to using either one exclusively. We simulate selective human preference collection on three other datasets and show that our method generalizes well to all three. We analyze features from the routing model to identify characteristics of instances that can benefit from human feedback, e.g., prompts with a moderate safety concern or moderate intent complexity. We release the dataset, annotation platform, and source code used in this study to foster more efficient and accurate preference collection in the future.
解读
一句话总结
该论文提出了一种混合偏好路由框架,通过结合人类和AI反馈来提高标注质量,同时降低人工标注的总成本。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:从人类获取反馈对语言模型(LM)与人类偏好的对齐至关重要,但直接收集人类偏好成本高、耗时且变异性大。 • 现有方案不足:直接收集人类偏好成本高、耗时且变异性大;从LM中提取偏好作为合成标注的成本低、效率高,但存在偏差和错误。 • 研究目标:设计一种路由框架,结合人类和LM的输入,以实现更好的标注质量,同时降低人工标注的总成本。
问题2:论文的核心创新点是什么?
• 技术创新:提出了一种混合偏好路由框架,通过性能预测模型(PPM)和路由策略来优化标注过程。 • 方法改进:将标注优化问题形式化为优化问题,并使用PPM预测混合标注的性能。 • 优势:与现有方法相比,该方法能够显著提高标注质量,同时降低人工标注成本。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在MULTIPREF数据集上训练PPM,并在其他三个数据集上进行模拟选择性人类偏好收集。 • 性能提升:混合标注在RewardBench和多个LM基准测试中均优于单独使用人类或LM标注。 • 对比结果:混合标注的性能优于单独使用人类或LM标注。
问题4:这个研究的实际应用价值是什么?
• 应用场景:适用于需要高标注质量但成本受限的场景,如语言模型训练。 • 实施建议:结合人类和LM的输入,使用PPM和路由策略优化标注过程。 • 局限与展望:该方法在标注数据量较大时可能不适用;未来研究将探索更广泛的标注任务和应用场景。
来源
机器可读索引:llms.txt