读见

Control Room:用于追踪并停止研究基础设施中模型工作负载的中央系统

原题Control Room: A central system to track and stop model workloads across our research infrastructure

约 5 分钟约 1,064 字原文英文已翻译

推荐理由OpenAI 把研究任务的停止权限放在统一推理层,借助任务标识与默认拒绝策略形成全局控制。工程团队可以据此理解如何让监测告警真正阻止后续输出,以及为什么缓存、服务可用性与覆盖全部执行路径必须一并设计。

读前速览

5 个要点

OpenAI 推出 Control Room,这套集中式系统可追踪模型工作负载,并在 35 秒内将其停止,以防范 AI 研究中的安全与安保风险。

  1. Control Room 可快速干预模型工作负载

    系统可以在作出干预决定后的 35 秒内停止模型输出,并通过缓存层支持高流量,同时致力于将这一时间缩短至零,实现即时终止。

  2. 与监控系统集成后,可自动采取安全响应措施

    监控系统发现潜在问题时,可以向 Control Room 发送消息以停止特定任务。随后,Control Room 会拒绝针对该 job_id 的后续推理请求,无论请求来自哪个模型或引擎。

  3. 故障时默认拒绝的架构确保系统故障期间依然安全

    如果 Control Room 服务宕机或被禁用,所有推理请求都会自动遭到拒绝,从而提供稳健的安全机制,即使其他系统发生故障也能发挥作用。

  4. 在推理层集中实施可提供有力的安全保障

    OpenAI 将终止机制部署在推理层,而不是工作负载代码中。由于推理代码路径集中且统一,所有模型推理都会经过 Control Room 的授权检查。

  5. 这是全面推进安全 AI 开发的一部分

    Control Room 与 OpenAI 的错位监控系统相辅相成,也是持续投入安全训练和部署前沿模型工作的组成部分。

完整摘要

Control Room 是一套集中式系统,旨在追踪 OpenAI 研究基础设施中的模型工作负载,并在出现安全或安保问题时迅速停止它们。该系统与工作负载、推理引擎和中央服务集成,用于监控和控制模型输出。监控系统发现潜在问题时,Control Room 可以终止任务,阻止模型继续输出。系统采用故障时默认拒绝的架构,以增强韧性:即使 Control Room 服务本身发生故障,也会拒绝推理请求。该系统已部署于 OpenAI 的研究基础设施中,是安全训练和部署前沿模型这一更广泛方案的一部分。

目录 · 5 节

查看原文
Share
How it works

随着我们的模型日益强大,相关的安全与安保风险也不断增大,因此,能够发现潜在问题,并在必要时迅速叫停模型,变得越来越重要。为此,我们打造了 Control Room。As our models get more powerful and the associated safety and security risks become bigger, it becomes more and more critical that we can detect potential issues, and quickly stop models in their tracks when needed. To solve this, we built Control Room.

Control Room 是一个中央系统,用于跟踪我们研究基础设施中的模型工作负载,并在出现安全或安保问题时迅速将其停止。它连接所有研究推理工作负载,包括用于模型训练和评估的智能体采样、数据处理等。它与我们的失调监控系统协同工作,并会在决定介入以停止或暂停某项任务后的 35 秒内停止模型输出。该系统经过设计,即使其他系统发生故障也能继续运行;如果 Control Room 自身出现故障,它也会停止模型输出。Control Room is a central system to track model workloads across our research infrastructure and stop them quickly when safety or security concerns arise. It connects every research inference workload, including agentic sampling for model training and evaluation, data processing, and more. This works together with our misalignment monitoring systems, and halts model output within 35 seconds of a decision to intervene to stop or pause a job. It has been built to keep working even when other systems fail, and to stop model output if Control Room itself goes down.

Control Room 已经部署在我们最需要它的研究基础设施中。我们的外部模型服务堆栈本身就更加集中,并且具备成熟的运维能力,可在需要时迅速下线模型部署。Control Room is already deployed across our research infrastructure, where the need is greatest. Our external model-serving stack is already much more centralized by nature, with a well-developed operational capability to quickly take down model deployments if needed.

工作原理How it works

Control Room 通过集成几个系统来运行:工作负载、推理引擎以及集中式 Control Room 服务。Control Room works by integrating a few systems: the workload, the inference engine, and the centralized Control Room service.

  • 工作负载是指正在运行的任务,例如强化学习实验、评估、大规模采样或数据处理任务。我们要求每个执行智能体推理的研究工作负载都关联一份经批准的安全论证。

    The workload is the job being run, such as a reinforcement learning experiment, an evaluation, a high-volume sampling or data processing job. We require every research workload that does agentic inference to be associated with an approved safety case.

  • 推理引擎(或简称引擎)就是模型本身。你可以把引擎看作模型的大脑,直接运行在 GPU 上。一个工作负载通常会使用一个或多个模型,这些模型可能运行在一个或多个不同的推理引擎上。同一个推理引擎也可能被多个不同的工作负载使用。

    The inference engine, or just engine, is the model itself. You can think of the engine as the brain of the model, running directly on GPUs. A workload normally uses one or more models, which might be running on one or more different inference engines. The same inference engine might be used by more than one different workload.

  • Control Room 服务会跟踪作业,并控制是否允许它们继续生成模型输出。引擎在处理请求前会先向 Control Room 服务查询。如果某个作业已停止,该服务会拒绝请求,从而阻止继续生成输出。

    The Control Room service tracks jobs and controls whether they are allowed to continue generating model output. Engines check with the Control Room service before fulfilling a request. If a job has been stopped, the service denies the request, preventing further output.

Control Room 以如下方式集成:Control Room is integrated in the following way:

  • 开始新任务时,工作负载代码会向 Control Room 请求一个新的 job_id。

    When starting a new job, the workload code requests a new job_id from Control Room.

  • 每当工作负载需要从模型中采样 token 时,它都会向运行该模型的推理引擎发送请求,并传递 job_id。引擎会向 Control Room 请求许可,以处理该请求,并将 job_id 一并传递给 Control Room。

    Whenever the workload needs to sample tokens from a model, it makes a request to an inference engine running that model, passing the job_id. The engine requests permission from Control Room to fulfill that request, passing the job_id along to Control Room.

  • Control Room 会检查该作业是否已终止;如果是,则拒绝该推理请求。引擎会拒绝该工作负载的推理请求,从而停止为该作业生成后续模型输出。

    Control Room checks whether that job has been terminated, and if so, it denies the inference request. The engine responds to the workload's inference request with a refusal, stopping further model output from being produced for that job.

How Control Room works

Researcher

Research job

<No job ID yet>

Inference engine

Runs the model on GPUs

Control Room

  • job_039, active
  • job_040, active
  • job_041, active
STEP 1

A researcher decides to start a job

The process starts with a researcher launching a job—for example, an experiment or an evaluation.

01 / 13
BackNext

示例:响应监控告警Example: reacting to a monitoring alert

我们所有前沿强化学习任务都会配备一个监控模型。监控模型会检查训练中的模型所做的一切,并在检测到问题时发出警报。例如,我们最近发生的一起与 DNS 相关的事件⁠(在新窗口中打开)就是由监控模型发现的。All of our frontier reinforcement learning jobs run with a monitor. A monitor is another model which inspects everything that the model-being-trained is doing, and raises an alert if it detects a problem. For example, our recent DNS-related incident⁠(opens in a new window) was caught by a monitor.

Control Room 与我们的监控系统按以下方式集成:Control Room and our monitoring system are integrated in the following way:

  • 如果监控系统检测到潜在问题,则可能会根据具体情况和严重程度决定停止该作业。

    If the monitoring system detects a potential issue, depending on the details and severity, the monitoring system may decide to stop the job.

  • 在这种情况下,监控系统会向控制室发送一条停止作业的消息,并传递 job_id。控制室会记录该作业已终止。

    In this case, the monitoring system sends a message to Control Room to stop the job, passing the job_id. Control Room records that the job is terminated.

  • 下次具有该 job_id 的作业向任何引擎上运行的任何模型发出推理请求以采样更多 token 时,该请求将被拒绝,从而停止模型继续生成输出。

    Next time the job having that job_id makes an inference request to sample more tokens from any model running on any engine, the request will be denied, stopping further model output.

速度与可靠性Speed and reliability

从控制室收到停止任务的指令,到任务无法再继续推进,最长间隔为 35 秒。这 35 秒的延迟来自推理授权的缓存层,该缓存层用于支持所需的流量规模。我们正努力将这一时间缩短至零,以便能够立即终止任务。The maximum time between the moment when Control Room receives an instruction to stop a job, and the moment when further progress is no longer possible, is 35 seconds. The 35-second lag comes from a caching layer for inference authorization, to support the required volume of traffic. We are working to drive this number down to zero so that we can end jobs instantly.

工作负载(包括实验、评估任务等)通常由研究人员或研究团队负责并运行。因此,工作负载代码经常变更,并不适合用来实现至关重要的安全防护。基于这一点,我们将实现设计为能够抵御存在缺陷或已损坏的工作负载代码。Workloads, including experiments, evaluation jobs, etc., are normally owned and operated by researchers or teams of researchers. As a result, workload code changes often, and is not an ideal place to implement critical load-bearing safety protections. Because of this, our implementation is designed to be resilient to buggy or broken workload code.

我们通过在推理层实现终止机制来实现这一点。工作负载代码高度多样且分散。相比之下,整个 OpenAI 研究中使用的推理代码路径数量非常少,而且这些代码的部署更加集中、统一。这意味着推理层可以充当瓶颈,使我们能够有力保证:研究中运行的所有模型推理请求都会接受 Control Room 授权检查。我们还会持续开展智能体式和程序化扫描,以检查用户是否因意外或恶意而启动了未实现或已禁用 Control Room 的违规引擎实现。We achieve this by implementing the termination mechanism in the inference layer. Workload code is highly-varied and decentralized. In contrast, there are only a very small number of inference code paths in use across all of OpenAI research, and their deployments are much more centralized and uniform. This means that the inference layer can serve as a bottleneck, where we can get strong guarantees that all model inference running in research is subject to Control Room authorization checks on every inference request. We additionally run continual agentic and programmatic sweeps to check that users are not accidentally or maliciously launching rogue engine implementations with Control Room unimplemented or disabled.

最后,我们的系统采用“故障时默认拒绝”(fail closed)机制,这意味着引擎中的 Control Room 集成经过了特殊配置:如果 Control Room 服务因系统错误而宕机,或因其他任何原因(包括遭到恶意行为者篡改)而被禁用,那么在 Control Room 恢复正常运行之前,所有推理请求都将被拒绝。目前,故障时默认拒绝机制已部署到所有前沿模型研究工作负载中,并将在未来几天内完成向其余所有研究工作负载的部署。Finally, our system “fails closed”, meaning that the Control Room integration in the engines is configured in such a way that if the Control Room service goes down, either due to a system error or because it is disabled for any other reason, including tampering by a bad actor, then all inference requests will be denied until Control Room resumes normal operation. Fail-closed is rolled out now to all frontier model research workloads, and will finish rolling out across all remaining research workloads over the next few days.

Control Room 只是我们安全训练和部署前沿模型的整体方案中的一环。未来几个月,我们将继续强化并扩展这一系统,同时加大对监测目标不一致行为和安全漏洞的投入。如果你想参与构建助力 AGI 安全可靠地开发与部署的系统,欢迎⁠加入我们⁠!Control Room is just one part of our holistic approach to safe frontier model training and deployment. We’ll continue to strengthen and expand the system over the coming months, alongside our investments in monitoring for misaligned behavior and security breaches. If you want to help build systems for the safe and secure development and deployment of AGI, we're⁠ hiring⁠!

作者Author

OpenAI

值得记下

  1. Control Room 是一套中央系统,用于追踪研究基础设施中的模型工作负载,并在出现安全或安保问题时迅速停止它们。
  2. 从 Control Room 收到停止任务的指令,到任务无法再继续推进,最长间隔为 35 秒。
  3. 我们通过在推理层实现终止机制来做到这一点……在 OpenAI 的所有研究中,实际使用的推理代码路径非常少,而且这些代码的部署更加集中、统一。
  4. 我们的系统采用「故障时默认拒绝」的机制,也就是说,如果 Control Room 服务宕机……那么所有推理请求都会遭到拒绝,直到 Control Room 恢复正常运行。

← 回到本期 · 第 3 条