Skip to main content
QUICK REVIEW

[论文解读] A General Language Assistant as a Laboratory for Alignment

Amanda Askell, Yuntao Bai|arXiv (Cornell University)|Dec 1, 2021
Topic ModelingComputer Science参考文献 32被引用 27
一句话总结

本文研究简单基线提示,并比较模仿学习、二元判别与排序偏好建模以使通用语言助手与人类价值观对齐,结果发现提示随规模增加而扩展,且偏好建模在排序数据上经常优于模仿;同时引入一个偏好模型预训练阶段(PMP)以提高样本效率。

ABSTRACT

Given the broad capabilities of large language models, it should be possible to work towards a general-purpose, text-based assistant that is aligned with human values, meaning that it is helpful, honest, and harmless. As an initial foray in this direction we study simple baseline techniques and evaluations, such as prompting. We find that the benefits from modest interventions increase with model size, generalize to a variety of alignment evaluations, and do not compromise the performance of large models. Next we investigate scaling trends for several training objectives relevant to alignment, comparing imitation learning, binary discrimination, and ranked preference modeling. We find that ranked preference modeling performs much better than imitation learning, and often scales more favorably with model size. In contrast, binary discrimination typically performs and scales very similarly to imitation learning. Finally we study a `preference model pre-training' stage of training, with the goal of improving sample efficiency when finetuning on human preferences.

研究动机与目标

  • 定义一个面向有用性、诚实性和无害性(HHH)的对齐通用文本助手。
  • 评估提示作为基线对齐技术及其规模化特性。
  • 比较模仿学习、二元判别和排序偏好建模在对齐性能和扩展性方面的表现。
  • 评估偏好模型预训练(PMP)阶段以提高样本效率和迁移能力。
  • 为将对齐方法应用于大型语言模型提供实用见解。

提出的方法

  • 使用开放式自然语言对话与模型互动,并进行带有人工反馈的A/B测试。
  • 应用一个简单的HHH提示和一个上下文蒸馏变体来研究提示效果。
  • 在多个数据集上比较三种学习目标:模仿学习、二元判别和排序偏好建模。
  • 研究从10M到52B非嵌入参数数量的模型扩展趋势。
  • 在针对任务进行微调之前,使用来自Stack Exchange、Reddit和Wikipedia编辑的数据引入偏好模型预训练(PMP)阶段。

实验结果

研究问题

  • RQ1天真的提示是否提供可行的对齐基线,以及其与模型规模的关系如何?
  • RQ2在性能和可扩展性方面,模仿学习、二元判别和排序偏好建模的比较如何?
  • RQ3PMP阶段是否能提高样本效率并促进偏好模型向下游任务的迁移?
  • RQ4提示和上下文蒸馏对不同模型规模的毒性和真实度有何影响?

主要发现

  • 提示显著提高对齐评估,对大模型几乎不产生对齐成本。
  • 排序偏好建模在排序数据集上的表现优于模仿学习,并且对模型规模的扩展更为有利;二元判别的扩展与模仿相似。
  • 上下文蒸馏在有效性方面常常与提示相当,并且可以降低提示长度的限制。
  • 在对下游任务微调偏好模型时,PMP显著提高样本效率和迁移,有时甚至超过非PMP基线。
  • 使用提示的更大模型表现出较低的毒性和更好的对齐行为,HHH提示在多项指标上提升性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。