我们如何衡量对齐
OpenAI 介绍三种对齐度量方法及其局限
我们如何衡量对齐
如果无法衡量,就不能声称对齐取得了进展。这意味着要弄清:在模型可能遇到的各种情形下,我们能在多大程度上相信它会按预期行事。要穷尽测试是不可能的——不可能把模型放进每一种环境——所以我们依靠代理指标:在更受限的场景中做评测和观察。一个核心的研究问题是,这些度量结果能在多大程度上推广到陌生情形。
本文概述了我们目前在 OpenAI 投入的三类对齐度量方法:通过静态评测衡量已知风险、了解模型在生产环境中的行为,以及使用 AI 智能体以对抗方式诱发不对齐行为。每种方法都有各自的局限,适合回答不同的度量问题。三者结合,比任何单一方法都能为模型对齐提供更有力的证据。
下表概括了每种方法的主要优势与局限:
当我们在模型中发现某种失效模式时,通常会创建评测(evals):一组固定的任务/环境,按既定标准评估模型的回答。这些评测会跨模型代际和部署持续跟踪,用来了解进展,并识别已知问题上的退步。
我们最近的 GPT‑6.2 系统卡(在新窗口打开)描述了覆盖多类对齐失效的评测,包括:
- 绕过限制。智能体是否绕开明确的拒绝,或攻击其授权任务之外的基础设施。
- 误导用户。模型是否隐瞒或歪曲阻碍其完成任务的障碍。
- 采取不当行动。智能体是否在真实的工作环境中执行破坏性操作、泄露敏感数据或超出其权限。
- 未经授权的协同。智能体是否执行其他智能体提出的未经授权的请求。
- 违反行为要求。模型是否未能遵循 Model Spec 的原则。
这些评测帮助我们了解模型在专为诱发已知不当行为而设计的环境中的表现。扩大对不同部署框架、真实研究工作负载和更长交互的覆盖,是我们评测工作目前的一个重点。
即使我们的评测集覆盖良好,仍需评估模型在部署环境中是否会做出同样的决定。一个顾虑是评测感知,即模型意识到自己正在被测试。如果它根据自己认为评测者想要的结果来改变行为,我们可能高估或低估它在生产中不当行为的发生频率。
在最近的一项研究中,我们发现“元博弈”(metagaming)比率高的模型,在生产中比在可比的评测场景中更常遵守警告。考虑到“模型知道自己被测试时会表现得更好”的直觉,这有些出人意料。在评测中得分更高的模型,在生产中也往往表现更好,说明这些评测对于比较模型仍保留了有用的信号。我们的实验表明,模型认为评测在测试什么,有助于解释这一差距。
随着模型能力增强,它们越来越擅长发现工具响应、合成数据或专为测试某种行为而设计的障碍中的不一致之处。对上一代模型显得真实的环境,对下一代可能很容易被识破是人造的。要让这些评测持续有参考价值,需要让它们的真实度随模型能力一起提高,并不断检验其结果是否仍能推广到部署环境。
来自训练和部署的观察补充了我们的静态评测,为模型在更广泛的任务和环境中的行为提供证据。
在强化学习期间,我们跟踪各训练步骤中的不对齐标记,以识别正在出现的行为和退步。这些信号为调查训练如何导致令人担忧的行为提供依据,也为是否继续、修改或暂停某次训练提供决策参考。
监测内部工作负载,使我们能够研究模型在处理真实任务时会出现哪些形式的不对齐,其中包括模型拥有工具、算力和内部基础设施大量访问权限的研究类任务。
例如,我们披露过这样一个案例:一个智能体把用户“不要发送 Slack 消息”的指令理解为也适用于监控通知,因而关闭了安全告警。研究这类失效,有助于我们弄清模型如何理解指令,以及保障措施在哪些地方需要加强。我们依据不对齐报告框架发布此类案例,以便对新出现的不对齐形式保持透明,并让外界检验证据和我们的解读。
这些度量既取决于模型所遇到的工作负载,也取决于我们的监测器能够发现的失效。用户、任务和场景的变化会使模型间的比较复杂化,而罕见的失效可能需要长时间观察才能发现。监测器可能漏掉不当行为,而拦截式的保障措施又限制了我们了解模型在没有这些措施时会如何行事。此外,内部使用也反映了我们研究人员的工作方式,因此研究发现可能无法推广到其他部署场景。
让模型间比较更容易的一种方法,是在一组固定的生产对话上评估它们(遵循我们的隐私政策)。这样能更广泛地覆盖复杂的真实任务,并减少让模型识别出评测的人为线索。我们此前分享过如何取用去标识化的对话,让不同模型从同一上下文继续。对于智能体任务,我们使用另一个语言模型,依据代码仓库快照以及记录下的工具调用与响应来模拟工具响应。这样,即使智能体的工具调用与原始会话中的不同,我们也能从同一上下文重新采样每个智能体的轨迹。
然而,部署模拟面临与前文静态评测相同的评测感知难题。即使任务来自真实使用,模拟的工具响应中的不一致也可能暴露环境是人造的,并影响模型的行为。随着模型越来越擅长发现这些痕迹,我们需要提高模拟的逼真度,并检查结果是否仍能预测实际部署中的行为。
有些后果严重的失效可能过于罕见,不会出现在日常生产流量中;或者需要我们现有评测未覆盖的条件;或者后果太严重,不能冒险让它出现在部署中。我们给审计智能体大量算力,让它们探索模型可能出现不当行为的方式。它们可以修改任务和环境、观察模型的响应,然后据此调整下一次诱发尝试。诱发这些对齐失效,也让我们能够测试我们的保障措施是否仍能检测并遏制它们。
审计已发现这样一些情形:模型使用他人的凭据来完成任务、移除阻碍进展的校验检查、尝试越过沙箱边界以找回丢失的数据,以及伪造替代记录而不告知用户。当审计发现暴露出我们评测集的缺口时,我们会予以验证,并构建静态评测,用于比较模型和测试缓解措施。
随着这项工作逐步成熟,我们计划分享更多结果,并使对抗性审计成为我们安全论证的核心证据来源。
我们关于训练和部署前沿模型的决策,所依据的证据远比静态评测分数广泛。我们把评测结果与来自训练和内部使用的观察、对照实验以及对抗性测试结合起来,评估发生重大不对齐的风险。随着模型能力增强,为上一代建立信心的证据,对下一代可能不再足够。我们将继续投入大量资源,开发更好的对齐度量方法。
英文原文
How we measure alignment
We cannot claim progress in alignment without being able to measure it. This means understanding how much we can trust a model to behave as intended across every situation it might encounter. It is not possible to test this exhaustively—to put the model in every possible environment—so we rely on proxies: evaluations and observations in more constrained settings. A central research question is how well these measurements generalize to unfamiliar situations.
This post outlines three approaches to alignment measurement we currently invest in at OpenAI: measuring known risks through static evals, understanding behavior in production environments, and using AI agents to adversarially elicit misalignment. Each approach comes with its own limitations and is useful for answering different measurement questions. Together, they provide stronger evidence of model alignment than any one can alone.
The table below summarizes the main strengths and limitations of each approach:
When we identify a failure mode in a model, we often create evals: a fixed set of tasks/environments where model responses are evaluated against defined criteria. These evals are tracked across model generations and deployments and used to understand progress and identify regressions on known issues.
Our recent GPT‑6.2 system cards(opens in a new window) describe evaluations covering several kinds of alignment failures, including:
- Circumventing restrictions. Whether agents bypass explicit denials or attack infrastructure outside their authorized task.
- Misleading users. Whether models conceal or misrepresent obstacles that prevent them from completing a task.
- Taking improper actions. Whether agents take destructive actions, expose sensitive data, or exceed their permissions in realistic work environments.
- Unauthorized coordination. Whether agents carry out unauthorized requests from other agents.
- Violating behavioral requirements. Whether models fail to follow Model Spec principles.
These evals help us understand model behavior in environments designed to elicit known misbehavior. Expanding coverage across different deployment harnesses, realistic research workloads, and longer interactions is an active focus of our evaluation efforts.
Even if our eval suite has good coverage, we still need to assess whether the model would make the same decision in a deployment setting. One concern is eval awareness, where a model recognizes it is being tested. If it changes its behavior based on what it thinks the evaluator wants, we may overestimate or underestimate how often it will misbehave in production.
In a recent study, we found that models with high metagaming rates respect warnings more often in production than in comparable eval cases. This was somewhat surprising given the intuition that models would behave better when they know they’re being tested. Models that scored better on the eval nevertheless tended to do better in production, suggesting the eval retained useful signal for comparing models. Our experiments suggest that what a model thinks the eval is testing can help explain this gap.
As models become more capable, they become better at spotting inconsistencies in tool responses, synthetic data, or obstacles that seem designed to test a particular behavior. Environments that appeared realistic to one generation may be easily identified as artificial to the next. Keeping these evals informative requires improving their realism alongside model capabilities and continually checking whether their results still generalize to deployment.
Observations from training and deployment complement our static evals, providing evidence about model behavior across a wider range of tasks and environments.
During reinforcement learning, we track misalignment flags across training steps to identify emerging behaviors and regressions. These signals inform investigations into how training contributes to concerning behavior, as well as decisions about whether to continue, modify, or pause a run.
Monitoring internal workloads lets us study what forms of misalignment emerge as models work through real tasks, including ones in research where models have substantial access to tools, compute, and internal infrastructure.
For example, we disclosed an instance of an agent disabling security alerts after interpreting a user’s instruction not to send Slack messages as applying to monitoring notifications. Studying these failures helps us investigate how models interpret instructions and where safeguards need strengthening. We publish cases like these under our misalignment reporting framework to provide transparency on emerging forms of misalignment and allow others to examine the evidence and our interpretations.
These measurements depend on both the workloads models encounter and the failures our monitors can detect. Changing users, tasks, and settings complicate model comparisons, while rare failures may require prolonged observation to detect. Monitors may miss misbehavior, and blocking safeguards limit what we can learn about how models would act without them. Internal usage also reflects our researchers’ workflows, so findings may not generalize to other deployment settings.
One way to make comparisons across models easier is to evaluate them on a fixed set of production conversations (in accordance with our privacy policies). This provides broader coverage of complex real-world tasks and can reduce the artificial cues that make evaluations recognizable to models. We previously shared how we take de-identified conversations and ask different models to continue from the same context. For agentic tasks, we use a separate language model to simulate tool responses based on a snapshot of the repository and recorded tool calls and responses. This lets us resample each agent’s trajectory from the same context, even when the agent makes tool calls that differ from those in the original session.
However, deployment simulation faces the same eval-awareness challenges as we discussed earlier with static evals. Even when a task comes from real usage, inconsistencies in simulated tool responses can reveal that the environment is artificial and influence the model’s behavior. As models become better at detecting these artifacts, we need to improve simulation fidelity and check that results remain predictive of behavior in live deployment.
Some consequential failures may be too rare to appear in routine production traffic, require conditions our existing evals do not cover, or are too consequential to risk appearing in deployment. We give auditor agents considerable compute to explore ways a model might misbehave. They can modify tasks and environments, observe the model’s response, and then adapt their next attempts at elicitation accordingly. Eliciting these alignment failures also lets us test whether our safeguards would still detect and contain them.
Auditing has identified instances of models using other people’s credentials to complete tasks, removing validation checks that blocked progress, attempting to cross sandbox boundaries to recover lost data, and fabricating replacement records without disclosing it to the user. When auditing findings expose gaps in our eval suite, we validate them and build static evals to compare models and test mitigations.
As this effort matures, we plan to share more results and make adversarial auditing a core source of evidence for our safety cases.
Our decisions about training and deploying frontier models draw on a much broader body of evidence than static eval scores alone. We combine evaluation results with observations from training and internal use, controlled experiments, and adversarial testing to assess the risk of consequential misalignment. As models become more capable, the evidence that established confidence in one generation may no longer be sufficient for the next. We will continue investing substantial resources in developing better ways to measure alignment.