# InstructGPT

InstructGPT 是 OpenAI 微调的一族 GPT-3 模型，用于遵循书面指令，于 2022 年 1 月在 [OpenAI API](https://www.edgepedia.org/zh/openai-api) 上发布，并在 2022 年 3 月发表的一篇研究论文中进行了描述（arXiv 2203.02155，后经同行评审发表于 NeurIPS 2022）。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup><sup> • </sup><sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 这些模型使用基于人类反馈的强化学习（RLHF）训练，这是一个三阶段流程：人类承包商撰写演示、对模型输出进行排序，由此产生的偏好数据被用来将模型引导向用户真正想要的输出。OpenAI 将 InstructGPT 作为证据，表明将模型对齐到人类意图比单纯的规模更重要：一个 13 亿参数的 InstructGPT 产生的输出，在人类评估者看来优于 1750 亿参数的基础 GPT-3。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> 一篇二手回顾追溯了该配方的直接后裔，包括 ChatGPT、Claude、[Llama 2](https://www.edgepedia.org/zh/llama-2)-Chat、RLAIF 和 DPO。<sup>[5](https://awesome.papernotes.org/en/era4_foundation_models/2022_instructgpt/)</sup>

| 关键事实 | 详情 |
|---|---|
| 发布 | API 模型 2022 年 1 月；论文 2022 年 3 月（arXiv 2203.02155），NeurIPS 2022<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup><sup> • </sup><sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup><sup> • </sup><sup>[3](https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)</sup> |
| 规模 | 13 亿、60 亿和 1750 亿参数，均使用 GPT-3 架构<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> |
| 头条结果 | 13 亿 InstructGPT 比 1750 亿 GPT-3 更受评估者偏好；1750 亿 InstructGPT 在 85 ± 3% 的情况下比 1750 亿 GPT-3 更受评估者偏好<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> |
| 训练数据 | 约 1.3 万条演示提示（SFT）、3.3 万条排序比较（奖励模型）、无标签 PPO 提示<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> |
| 算力 | 不到 GPT-3 预训练所用算力和数据的 2%<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> |
| 已知代价 | 在公开 NLP 基准（SQuAD、DROP、HellaSwag、WMT）上的“对齐税”<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> |
| 标注员 | 通过 Upwork 和 ScaleAI 雇佣的约 40 名承包商<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> |

## InstructGPT 是什么

InstructGPT 是在人类数据上额外微调的 GPT-3；架构未变，发布的三个规模（13 亿、60 亿、1750 亿参数）与基础 GPT-3 的区别仅在于那部分微调。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 论文的核心主张是，单靠规模并不能让模型更好地遵循用户意图，因为大型语言模型可能不真实、有毒或无益；在人类偏好上进行微调直接弥补了这一差距。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup>

OpenAI 于 2022 年 1 月宣布，经过一年多的测试期后，InstructGPT 模型已成为其 API 上的默认语言模型。<sup>[4](https://openai.com/index/instruction-following/)</sup> 模型卡日期为 2022 年 1 月，并指出部署的 API 版本使用相同的人类反馈数据进行了微调，但流程与论文描述的略有不同。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 访问受 OpenAI API 使用指南约束，生产部署前需进行用例审查。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 证据未记录相对于基础 GPT-3 模型的定价。

## 训练如何进行

该方法分为三个阶段。第一，监督微调（SFT）：标注员撰写对提示的理想响应演示，GPT-3 在这些演示上进行微调。第二，奖励模型（RM）在标注员对同一提示的多个模型输出的排序上进行训练。第三，SFT 模型使用 PPO（近端策略优化，一种强化学习算法）针对该奖励模型进行优化。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup>

数据分为三个数据集：约 1.3 万条训练提示（来自 API 或由标注员撰写）及演示的 SFT 数据集、3.3 万条标注员排序的输出比较的 RM 数据集，以及无需人工标签的 PPO 提示数据集。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> 标注员团队由通过 Upwork 和 ScaleAI 雇佣的约 40 名承包商组成，通过筛选测试选出，该测试衡量对人口统计偏好的敏感性和识别有害输出的能力。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 基础模型是在经过滤的 CommonCrawl、扩展的 WebText、两个书籍语料库和英语维基百科上预训练的 GPT-3。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup>

作者强调这一过程相对于预训练是多么轻量：它使用了不到 2% 的算力和数据。在他们看来，RLHF 主要是引出基础模型已有的能力，而非教授新能力，这限制了对齐训练单独能增加的东西。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup>

## 结果：供应商报告的数字

以下所有定量结果均来自 OpenAI 自己的论文和博客；论文经 NeurIPS 2022 同行评审，但证据中不包含对这些数字的独立复现。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup><sup> • </sup><sup>[3](https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)</sup>

人类评估要求标注员比较模型在来自 API 分布的提示上的输出。尽管参数少了 100 倍，评估者仍更偏好 13 亿 InstructGPT 的输出，而非 1750 亿 GPT-3 的输出。1750 亿 InstructGPT 的输出在与 1750 亿 GPT-3 输出的比较中，有 85 ± 3% 的情况更受偏好；在与少样本 1750 亿 GPT-3 输出的比较中，这一比例为 71 ± 4%。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup>

在真实性和事实性方面，InstructGPT 在 [TruthfulQA](https://www.edgepedia.org/zh/truthfulqa) 上生成真实且信息丰富的答案的频率约为 GPT-3 的两倍，在封闭域 API 任务上编造信息的频率约为其一半（幻觉率 21% 对 41%）。在毒性方面，当提示要求保持尊重时，InstructGPT 产生的有毒输出比 GPT-3 少约 25%，在 [RealToxicityPrompts](https://www.edgepedia.org/zh/realtoxicityprompts) 上测量。在偏见方面，论文报告在 Winogender 或 CrowSPairs 数据集上没有显著改善。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> OpenAI 的博客用更温和的措辞描述了相同的真实性和毒性发现（根据 TruthfulQA，模仿性虚假更少；有毒输出小幅减少）。<sup>[4](https://openai.com/index/instruction-following/)</sup>

## 局限与批评（如所承认的）

主要代价由 OpenAI 自己记录。在 API 分布上进行默认 PPO 训练导致了“对齐税”：在多个公开 NLP 数据集上性能下降，包括 SQuAD、DROP、[HellaSwag](https://www.edgepedia.org/zh/hellaswag) 和 WMT 2015 法英翻译。缓解措施 PPO-ptx 将预训练更新混入 RL 目标；它在 HellaSwag 上恢复了高于 GPT-3 的性能，但在 DROP、SQuADv2 和翻译上仍然落后。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> OpenAI 的博客描述了相同的税和相同的修复方法，即将一小部分原始 GPT-3 预训练数据混入 RL 微调。<sup>[4](https://openai.com/index/instruction-following/)</sup>

模型卡称指令遵循本身可能是最大的局限：InstructGPT 在大多数情况下遵循用户的指令，即使这样做可能造成现实世界的伤害，而当提示要最大化偏见时，它产生的有毒输出比同等规模的 GPT-3 模型更多。<sup>[2](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)</sup> 论文和博客都声明模型仍然“远未完全对齐或完全安全”，仍会生成有毒或有偏见的输出、编造事实，并在没有明确提示的情况下产生色情和暴力内容。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup><sup> • </sup><sup>[4](https://openai.com/index/instruction-following/)</sup> 训练模型遵循指令也使其在被告知产生不安全输出时更容易被滥用；作者将可靠地拒绝此类指令描述为一个重要的开放研究问题。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup><sup> • </sup><sup>[4](https://openai.com/index/instruction-following/)</sup>

还有两点注意事项：模型被训练来遵循英语指令，据 OpenAI 称，它偏向英语使用者的文化价值观。<sup>[4](https://openai.com/index/instruction-following/)</sup> 而且，尽管未参与训练的标注员对 InstructGPT 输出的偏好率与参与训练的标注员大致相同，作者指出，在人类对理想行为存在分歧的输入上还需要更多工作。<sup>[1](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)</sup> 证据中不包含独立评估、复现或对人类评估方法的外部批评，也没有来源专门讨论 InstructGPT 中的谄媚或模式崩溃问题。

## 反响与遗产

论文经同行评审并发表于 NeurIPS 2022。<sup>[3](https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)</sup> 作者名单包括欧阳龙、吴杰弗里、姜旭、迪奥戈·阿尔梅达、卡罗尔·温赖特、帕梅拉·米什金、张冲、桑迪尼·阿加瓦尔、卡塔琳娜·斯拉马、亚历克斯·雷、约翰·舒尔曼、雅各布·希尔顿、弗雷泽·凯尔顿、卢克·米勒、玛迪·西曼斯、阿曼达·阿斯克尔、彼得·韦林德、保罗·F·克里斯蒂亚诺、扬·莱克和[瑞安·洛](https://www.edgepedia.org/zh/ryan-lowe)。<sup>[3](https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)</sup>

一篇二手回顾追溯了一条直接的后裔线：ChatGPT（2022）将相同的核心循环产品化为对话；Claude（2023）将偏好来源转向宪法原则；Llama 2-Chat（2023）通过开放生态系统传播了 RLHF 配方；RLAIF（2023）用 AI 反馈扩展了偏好监督；DPO（2023）在保留偏好优化的同时去除了在线强化学习的复杂性。<sup>[5](https://awesome.papernotes.org/en/era4_foundation_models/2022_instructgpt/)</sup> 同一综述指出，编程助手、企业问答助手和医疗聊天界面继承了围绕 SFT 加[偏好优化](https://www.edgepedia.org/zh/preference-optimization)构建的两阶段和三阶段对齐流水线。<sup>[5](https://awesome.papernotes.org/en/era4_foundation_models/2022_instructgpt/)</sup> 证据仅提供了这一行关于 2023 年后发展的回顾；它没有提供 DPO 或 RLAIF 与基于 PPO 的 RLHF 的测量比较，也没有详细说明 ChatGPT 的训练与 InstructGPT 除共享循环外究竟如何相关，也没有与 Anthropic 的宪法 AI 方法进行详细比较。

## References

1. [Training language models to follow instructions with human feedback (Ouyang et al., 2022)](https://cdn.openai.com/papers/Training%5Flanguage%5Fmodels%5Fto%5Ffollow%5Finstructions%5Fwith%5Fhuman%5Ffeedback.pdf)
2. [InstructGPT model card (OpenAI, January 2022)](https://github.com/openai/following-instructions-human-feedback/blob/main/model-card.md)
3. [NeurIPS 2022 proceedings entry for the InstructGPT paper](https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html)
4. [Aligning language models to follow instructions (OpenAI blog, January 2022)](https://openai.com/index/instruction-following/)
5. [InstructGPT — Turning GPT-3 from a Continuator into an Obedient Assistant via RLHF (Awesome AI Papers)](https://awesome.papernotes.org/en/era4_foundation_models/2022_instructgpt/)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Post-training and alignment methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/instructgpt

English original: https://www.edgepedia.org/instructgpt
