宪法式 AI:来自 AI 反馈的无害性

Constitutional AI: Harmlessness from AI Feedback

白云涛 Yuntao Bai · Anthropic · 2022-12-15 · arXiv:2212.08073 ↗ · 被引 3267

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

随着 AI 系统能力增强,我们希望借助它们来监督其他 AI。我们实验了通过自我改进训练无害 AI 助手的方法,无需任何人类标签识别有害输出。唯一的人类监督是通过一系列规则或原则提供的,因此我们将该方法称为“宪法式 AI”。该过程包括监督学习和强化学习两个阶段。在监督阶段,我们从初始模型中采样,然后生成自我批评和修订,最后在修订后的响应上微调原始模型。在强化学习阶段,我们从微调后的模型中采样,使用模型评估两个样本中哪个更好,然后从该 AI 偏好数据集中训练偏好模型。接着,我们使用偏好模型作为奖励信号进行强化学习训练,即使用“来自 AI 反馈的强化学习”(RLAIF)。结果,我们能够训练出一个无害但不回避的 AI 助手,它通过解释对有害查询的反对意见来回应。监督学习和强化学习方法都可以利用思维链式推理来提高人类判断的性能和 AI 决策的透明度。这些方法使得更精确地控制 AI 行为成为可能,且所需的人类标签大大减少。

As AI systems become more capable, we would like to enlist their help to supervise other AIs. We experiment with methods for training a harmless AI assistant through self-improvement, without any human labels identifying harmful outputs. The only human oversight is provided through a list of rules or principles, and so we refer to the method as 'Constitutional AI'. The process involves both a supervised learning and a reinforcement learning phase. In the supervised phase we sample from an initial model, then generate self-critiques and revisions, and then finetune the original model on revised responses. In the RL phase, we sample from the finetuned model, use a model to evaluate which of the two samples is better, and then train a preference model from this dataset of AI preferences. We then train with RL using the preference model as the reward signal, i.e. we use 'RL from AI Feedback' (RLAIF). As a result we are able to train a harmless but non-evasive AI assistant that engages with harmful queries by explaining its objections to them. Both the SL and RL methods can leverage chain-of-thought style reasoning to improve the human-judged performance and transparency of AI decision making. These methods make it possible to control AI behavior more precisely and with far fewer human labels.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 25)

阅读逐段中英对照全文 →