逆宪法AI:将偏好压缩为原则
Inverse Constitutional AI: Compressing Preferences into Principles
AI总结:
本文提出逆宪法AI(ICAI)问题,将成对文本偏好数据解释为压缩任务,通过提取原则(宪法)使LLM重建标注,并在多个数据集上验证其有效性。
摘要:
反馈数据被广泛用于微调和评估最先进的AI模型。成对文本偏好,其中人类或AI标注者从两个选项中选出“更好”的一个,尤为常见。此类偏好被用于训练(奖励)模型或通过聚合统计对模型进行排名。对于许多应用而言,除了建模标注者偏好外,理解这些偏好同样重要——这不仅是因为大量先前研究已表明偏好数据集中存在各种意外偏差。然而,偏好数据集仍然难以解释。无论是黑盒奖励模型还是统计数据,都无法回答为何一个文本优于另一个。手动解读大量(长)响应配对通常同样不可行。在本文中,我们引入逆宪法AI(ICAI)问题,将成对文本偏好数据的解释形式化为一个压缩任务。在宪法AI中,一组原则(宪法)被用于提供反馈并微调AI模型。ICAI逆转了这一过程:给定一个反馈数据集,我们旨在提取一组宪法,使大型语言模型(LLM)能够最佳地重建原始标注。我们提出了相应的ICAI算法,并基于多个数据集上的标注重建准确率定量验证其生成的宪法:(a)具有已知原则的合成反馈数据;(b)AlpacaEval交叉标注的人类反馈数据;(c)众包的Chatbot Arena数据;以及(d)来自不同人口群体的PRISM数据。作为原始数据集的简短且可解释的表示,生成的宪法具有许多潜在用途:帮助识别不良的标注者偏差、更好地理解模型性能、将反馈扩展到未见数据,或使模型适应个体用户或群体的偏好。我们在https://github.com/rdnfn/icai发布了源代码。
英文摘要:
Feedback data is widely used for fine-tuning and evaluating state-of-the-art AI models. Pairwise text preferences, where human or AI annotators select the "better" of two options, are particularly common. Such preferences are used to train (reward) models or to rank models with aggregate statistics. For many applications it is desirable to understand annotator preferences in addition to modelling them - not least because extensive prior work has shown various unintended biases in preference datasets. Yet, preference datasets remain challenging to interpret. Neither black-box reward models nor statistics can answer why one text is preferred over another. Manual interpretation of the numerous (long) response pairs is usually equally infeasible. In this paper, we introduce the Inverse Constitutional AI (ICAI) problem, formulating the interpretation of pairwise text preference data as a compression task. In constitutional AI, a set of principles (a constitution) is used to provide feedback and fine-tune AI models. ICAI inverts this process: given a feedback dataset, we aim to extract a constitution that best enables a large language model (LLM) to reconstruct the original annotations. We propose a corresponding ICAI algorithm and validate its generated constitutions quantitatively based on annotation reconstruction accuracy on several datasets: (a) synthetic feedback data with known principles; (b) AlpacaEval cross-annotated human feedback data; (c) crowdsourced Chatbot Arena data; and (d) PRISM data from diverse demographic groups. As a short and interpretable representation of the original dataset, generated constitutions have many potential use cases: help identify undesirable annotator biases, understand model performance better, scale feedback to unseen data, or adapt models to individual user or group preferences. We release the source code at https://github.com/rdnfn/icai.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。