锚定偏好优化与对比修订:解决对齐中的欠指定问题
Anchored Preference Optimization and Contrastive Revisions: Addressing Underspecification in Alignment
AI总结:
针对大语言模型对齐中因模型、数据与目标交互导致的欠指定问题,提出对比偏好数据构建方法CLAIR和可控稳定的对齐目标APO,显著提升Llama-3-8B-Instruct性能,缩小与GPT4-turbo的差距。
摘要:
大语言模型(LLM)通常使用对比对齐目标和偏好配对数据集进行对齐。模型、配对数据与目标之间的相互作用使对齐成为一个复杂的过程,有时会产生欠佳的结果。我们对此展开研究,发现:(i)当底层响应具有对比性时,偏好数据能提供更好的学习信号;(ii)当对齐目标在训练过程中对模型施加更多控制时,能带来更优的性能。基于这些洞见,我们提出了**Contrastive Learning from AI Revisions(CLAIR,基于AI修订的对比学习)**——一种能生成更具对比性的偏好对的数据构建方法,以及**Anchored Preference Optimization(APO,锚定偏好优化)**——一种可控且更稳定的对齐目标。我们使用多种可比数据集和对齐目标对Llama-3-8B-Instruct进行对齐,并测量与人类判断高度相关的MixEval-Hard分数。CLAIR偏好数据在所有数据集中实现了最优性能,而APO始终优于可控性更低的目标。我们的最佳模型使用APO在32K条CLAIR偏好数据上训练,使Llama-3-8B-Instruct的性能提升了7.65%,将与GPT4-turbo的差距缩小了45%。我们的代码可在https://github.com/ContextualAI/CLAIR_and_APO获取。
英文摘要:
Large Language Models (LLMs) are often aligned using contrastive alignment objectives and preference pair datasets. The interaction between model, paired data, and objective makes alignment a complicated procedure, sometimes producing subpar results. We study this and find that (i) preference data gives a better learning signal when the underlying responses are contrastive, and (ii) alignment objectives lead to better performance when they specify more control over the model during training. Based on these insights, we introduce Contrastive Learning from AI Revisions (CLAIR), a data-creation method which leads to more contrastive preference pairs, and Anchored Preference Optimization (APO), a controllable and more stable alignment objective. We align Llama-3-8B-Instruct using various comparable datasets and alignment objectives and measure MixEval-Hard scores, which correlate highly with human judgments. The CLAIR preferences lead to the strongest performance out of all datasets, and APO consistently outperforms less controllable objectives. Our best model, trained on 32K CLAIR preferences with APO, improves Llama-3-8B-Instruct by 7.65%, closing the gap with GPT4-turbo by 45%. Our code is available at https://github.com/ContextualAI/CLAIR_and_APO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。