Combatting adversarial distillation
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Combatting adversarial distillation
2026年11月20日,我们探讨了如何应对模型蒸馏带来的安全风险,并分享了加强全行业安全防护的经验教训。
How we’re addressing safety risks of distillation and lessons we’ve learned for strengthening safeguards across the industry.
随着前沿人工智能模型能力的不断提升,安全防护措施在确保模型被负责任地使用方面发挥着日益重要的作用。对抗性蒸馏为恶意行为者提供了一条在缺乏适当安全保障的情况下复制这些能力的途径。
As frontier AI models become more capable, safeguards play an increasingly important role in how they can be used responsibly. Adversarial distillation creates a path for bad actors to reproduce these capabilities without appropriate safeguards.
行为者可能会在未经授权的情况下使用前沿模型的输出结果来训练另一个具有相似能力的模型,然后将其部署,且不配备相应的保护措施。例如,攻击者可能会蒸馏出模型的网络安全能力,并利用生成的模型实施原始模型本会拒绝协助或会被其安全机制拦截的网络攻击。
An actor may use a frontier model’s outputs without authorization to train another model with similar capabilities, then deploy it without comparable protections. For instance, an adversary might distill a model’s cyber capabilities and use the resulting model to help carry out cyberattacks that the original model would have refused to assist with or that its safeguards would have blocked.
我们正在分享 OpenAI 如何检测和阻断对抗性蒸馏,我们如何加强对模型受保护推理过程的保护,以及我们所学到的有助于加强全行业防御的经验。
We’re sharing how OpenAI detects and disrupts adversarial distillation, how we’ve strengthened protections for our models’ protected reasoning, and what we’ve learned that can help strengthen defenses across the industry.
我们的对抗性蒸馏应对方法结合了对抗性测试、模型训练、分类器和 API 级保护,并对协调一致的模型能力提取尝试进行了调查。这些更新后的安全防护措施与我们在生物学和网络安全领域所采用的措施更加一致。
Our approach to adversarial distillation combines adversarial testing, model training, classifiers, and API-level protections with investigations into coordinated attempts to extract model capabilities. These updated safeguards align more closely with those we use for biology and cybersecurity.
我们特别强调防止攻击者提取我们模型的受保护推理过程:即模型在得出答案过程中内部生成的中间步骤,也就是所谓的“思维链”。这些痕迹可能包含最终答案中遗漏的信息,这使得它们成为训练另一个模型时极具价值的数据。
We place particular emphasis on preventing attackers from extracting our models’ protected reasoning: the intermediate steps a model generates internally while working toward an answer, known as its chain-of-thought. These traces can contain information the final answer leaves out, making them especially valuable training data for another model.
我们加强了 GPT-6.2 Astra 和 GPT-6.2 Sol 中针对受保护推理提取的防御能力。在一项使用强力自动化红队测试的内部自适应评估中,我们测试了攻击者是否能够恢复模型在回答先前提示时生成的受保护推理。平均攻击成功率从 GPT-6 Astra(原始防护)的 54.0% 下降到了 GPT-6.2 Astra(更新防护)的 0.2%。
We’ve strengthened our defenses against protected reasoning extraction in GPT‑6.2 Astra and GPT‑6.2 Sol. In an internal adaptive evaluation using strong automated red-teaming, we tested whether attackers could recover protected reasoning the model had generated while answering an earlier prompt. The average attack success rate fell from 54.0% against GPT‑6 Astra with its original safeguards to 0.2% against GPT‑6.2 Astra with its updated safeguards.
为什么蒸馏是一个安全问题
Why distillation is a safety issue
蒸馏是一种常见的机器学习技术,其中一个模型从另一个模型产生的数据中学习。例如,一个模型可以从另一个模型的答案、推理过程或关于哪些答案更好及其原因的判断中学习。除了知识产权问题外,未经授权的蒸馏还带来了严重的安全风险。通过对抗性蒸馏,第二个模型可以在不继承原始模型所受安全约束的情况下,学习到先进的前沿能力。
Distillation is a common machine-learning technique in which one model learns from data produced by another. For example, a model can learn from another model’s answers, its reasoning, or its judgments about which answers are better and why. Beyond intellectual property concerns, unauthorized distillation poses serious safety risks. Through adversarial distillation, a second model can learn advanced frontier capabilities without inheriting the safeguards that govern how the original model can use them.
这种担忧在网络安全和生物学等双重用途领域尤为明显。一个帮助防御者发现软件漏洞的模型也可能帮助攻击者利用这些漏洞;一个辅助生物学研究的模型也可能帮助他人开发有害病原体。如果这些能力被转移到一个安全防护较弱的模型中,它可能会提供原始模型本会拒绝或原始安全机制本会拦截的协助。
The concern is especially clear in dual-use domains like cybersecurity and biology. A model that helps defenders find vulnerabilities in software could also help an attacker exploit them; a model that assists with biological research could also help someone develop a harmful pathogen. If such capabilities were transferred to a model with weaker safeguards, it may provide assistance that the original model would have refused, or that the original safeguards would have blocked.
保护精确推理痕迹对网络安全的重要性
The importance of protecting exact reasoning traces for cyber safety
我们的模型协助用户进行编码和防御性网络安全任务。在许多此类良性输出上训练的第二个模型可能会习得同样适用于攻击性网络安全任务的技能。为了更好地理解这一点,我们研究了蒸馏(特别是涉及推理痕迹的蒸馏)如何转移高风险的网络能力。
Our models help users with coding and defensive cybersecurity tasks. A second model trained on many of those benign outputs may learn skills that also apply to offensive cybersecurity tasks. To better understand this, we study how distillation, especially involving reasoning traces, may transfer risky cyber capabilities.
在这种环境下,生成训练数据的模型被称为“教师”,而从中学习的模型被称为“学生”。在一项关于网络能力如何转移的内部研究中,我们将用户通常可见的内容(最终响应、推理摘要和工具交互)作为蒸馏的基准,并测试了当学生模型能够访问教师模型的精确推理痕迹时,会额外转移多少网络能力。
In this setting, the model that produces the training data is called the teacher, and the model that learns from it is called the student. In an internal study on how cyber capabilities transfer, we used the content normally visible to users—final responses, reasoning summaries, and tool interactions—as our baseline for distillation, and tested how much additional cyber capability transfers when the student has access to the teacher’s exact reasoning traces.
我们从同一个预训练的学生模型开始每次训练运行。我们创建了一个监督微调数据集,主要由 Astra 级教师模型在编码和防御性网络安全任务中工作的轨迹组成。每个轨迹都包含模型在完成任务时采取的所有步骤,包括任何工具交互及其最终响应。我们在微调后以及在网络安全和编码环境中进行轻量级强化学习后,分别对每个学生模型进行了评估。
We started each training run from the same pretrained student model. We created a supervised fine-tuning dataset consisting primarily of trajectories from Astra-level teacher models working on coding and defensive cybersecurity tasks. Each trajectory includes all of the steps a model takes as it works through a task, including any tool interactions and its final response. We evaluated each student after fine-tuning and again after a lightweight round of reinforcement learning in cybersecurity and coding environments.
在监督微调之后,基于精确推理痕迹训练的学生模型通常优于基于推理摘要训练的学生模型。在强化学习之后,在所测试的两个基准测试的最大推理预算下,精确痕迹学生模型得分仍然更高,而摘要训练的学生模型在较低预算下得分更高。
After supervised fine-tuning, the student trained on exact reasoning traces generally outperformed the student trained on reasoning summaries. After reinforcement learning, the exact-trace student still scored higher at the largest inference budget tested on both benchmarks shown, while the summary-trained student scored higher at lower budgets.
我们的网络蒸馏结果表明,即使底层任务属于我们使用政策允许的范围,保护推理痕迹也能限制网络能力的转移。在许多此类交互中,精确的推理痕迹可以教会学生模型超越教师最初执行任务的技能。我们将继续研究在不同的学生模型和蒸馏训练方案中,会有多少额外能力被转移。
Our cyber distillation results suggest that protecting reasoning traces can limit cyber capability transfer, even when the underlying task is one allowed under our usage policies. Across many such interactions, exact reasoning traces can teach a student skills that generalize beyond the tasks the teacher originally performed. We will continue studying how much additional capability transfers across different student models and distillation training recipes.
相互强化的防御措施
Defenses that reinforce one another
我们在安全防护堆栈的两个互补层面防御对抗性蒸馏。在请求层面,模型行为、分类器检查和 API 控制限制了推理痕迹的提取。在活动层面,我们寻找请求级和账户级信号中的模式,这些模式可以揭示协调一致的提取尝试。反过来,调查中发现的攻击也成为了训练和测试我们安全防护措施的案例。
We defend against adversarial distillation at two complementary levels of our safeguard stack. At the request level, model behavior, classifier checks, and API controls limit reasoning trace extraction. At the campaign level, we look for patterns in request-level and account-level signals that can reveal coordinated extraction attempts. In turn, attacks uncovered in investigations become examples for training and testing our safeguards.
我们针对对抗性蒸馏的防御结合了针对单个请求的安全防护与活动检测及执行。调查和自动化红队测试的发现……
Our defenses against adversarial distillation combine safeguards for individual requests with campaign detection and enforcement. Findings from investigations and automated red-teaming h