arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17169cs.CLcs.AI
收藏

REAL:基于响应嵌入的LLM对齐方法

REAL: Response Embedding-based Alignment for LLMs

University of Hamburg(汉堡大学)

Honggen Zhang, Xufeng Zhao, Igor Molybog, June Zhang

AI总结:

本文提出REAL方法,通过基于响应嵌入相似性选择差异明显的偏好对来构建高质量对齐数据集,实验表明该方法能减少标注错误、提升LLM对齐效率并节省65%标注工作量。

摘要:

将大语言模型(LLMs)与人类偏好对齐是构建有用且安全的AI工具的关键步骤,通常需要在监督数据集上进行训练。诸如直接偏好优化(DPO)等流行算法依赖于根据人类标注排序的AI生成响应对。响应对的标注过程可能引入人类偏见。构建正确的偏好数据集是对齐流程中成本高昂的部分。为了提高LLM对齐中的标注效率和质量,我们提出了REAL:基于响应嵌入的LLM对齐方法,这是一种构建高质量训练数据集的策略,专注于从一组响应候选中获取歧义较小的偏好对进行标注。我们的选择过程基于响应嵌入的相似性,且独立于提示,这保证了选择过程在离策略(off-policy)设置下进行,避免了在训练过程中自适应地度量相似性。在真实世界数据集SHP2和合成HH-RLHF基准上的实验结果表明,选择不相似的响应对可以增强LLM的直接对齐,同时减少继承的标注错误。使用不相似响应对对齐的模型在对话任务上获得了更好的间隔(margin)和胜率。我们的发现表明,专注于差异明显的响应对可以减少标注错误并提高LLM对齐效率,节省高达65%的标注工作量。

英文摘要:

Aligning large language models (LLMs) to human preferences is a crucial step in building helpful and safe AI tools, which usually involve training on supervised datasets. Popular algorithms such as Direct Preference Optimization (DPO) rely on pairs of AI-generated responses ranked according to human annotation. The response pair annotation process might bring human bias. Building a correct preference dataset is the costly part of the alignment pipeline. To improve annotation efficiency and quality in the LLMs alignment, we propose REAL: Response Embedding-based Alignment for LLMs, a strategy for constructing a high-quality training dataset that focuses on acquiring the less ambiguous preference pairs for labeling out of a set of response candidates. Our selection process is based on the similarity of embedding responses independently of prompts, which guarantees the selection process in an off-policy setting, avoiding adaptively measuring the similarity during the training. Experimental results on real-world dataset SHP2 and synthetic HH-RLHF benchmarks indicate that choosing dissimilar response pairs enhances the direct alignment of LLMs while reducing inherited labeling errors. The model aligned with dissimilar response pairs obtained a better margin and win rate on the dialogue task. Our findings suggest that focusing on distinct pairs can reduce the label error and improve LLM alignment efficiency, saving up to $65\%$ of annotators' work.

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

↑