Embedded Off-Switches for AI Compute
James Petrie · 2025
Read Embedded Off-Switches for AI Compute by James Petrie (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-07637.txt.
Introduction
Guarding powerful AI chips against misuse may require safety built into the silicon itself. James Petrie proposes embedded off-switches for AI compute in a 2025 research paper written alone. His design places thousands of independent security blocks inside each AI accelerator. The blocks check authorization licenses before the chip can run.
Each block uses public key cryptography to verify a license is genuine. Random one-time values block replay attacks, where an old approval is reused. Petrie evaluates attack paths and suggests extra block variants for stronger protection. The blocks use standard circuit components, so chip makers could build them with existing processes. Massively redundant checks are meant to survive even sophisticated physical attacks. The proposal offers a hardware route to keeping advanced accelerators out of unauthorized hands.
Catalog record
| CREATOR | James Petrie |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 23 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-07637
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Embedded Off-Switches for AI Compute James Petrie Abstract To address the risks of increasingly capable AI systems, we introduce a hardware-level off-switch that embeds thousands of independent “security blocks” in each AI accelerator. This massively redundant architecture is designed to prevent unauthorized chip use, even against sophisticated physical attacks. Our main security block design uses public key cryptography to check the authenticity of authorization licenses, and randomly generated nonces to prevent replay attacks. We evaluate attack vectors and present additional security block variants that could be added for greater robustness. Security blocks can be built with standard circuit components, ensuring compatibility with existing semiconductor manufacturing processes. With embedded security blocks, the next generation of AI accelerators could be more robustly defended against dangerous misuse. 1 Introduction AI systems are becoming rapidly more capable, which brings unprecedented dangers from misuse, loss of control [ 1 ] , and gradual disempowerment [ 2 ] . Compute is essential for AI development, so governance over compute is a promising way to govern AI development [ 3 ] . While direct physical control of data centers is the most straightforward governance method, economic pressures and strategic interests often lead to the deployment of high-performance chips in locations with limited oversight, creating vulnerabilities like theft and unauthorized use. An off-switch built directly into chips could make governance much more robust against chip theft and chip diversion [ 4 , 5 , 6 ] . This would be especially valuable if the AI risk landscape changes rapidly [ 7 ] (e.g. if a frontier lab finds that a typical AI development strategy leads to power-seeking AI systems that are capable of developing bioweapons). Hardware-based approaches could also enable distributed governance models requiring cryptographic consensus from multiple parties before authorizing chip usage [ 8 ] . In previous work, we proposed a firmware-based off-switch that uses existing chip security hardware as the fastest way to deploy a hardware-backed off-switch [ 9 ] . While firmware-based mechanisms provide near-term solutions, they could be vulnerable to sophisticated physical attacks targeting single points of failure. In this paper, we propose a significantly more secure design that would embed thousands of hardware security blocks into upcoming generations of AI chips. Each security block would individually check for up-to-date usage authorization, and block essential chip operations if this approval is not received. Cyber defense is typically difficult because a defender needs to win every single time, while an attacker only needs to win once. For the particular problem of chip locking, this heuristic can be reversed because an attacker would need to circumvent every single security block without damaging the chip. Modern chip design uses many third-party IP blocks, so it would be a standard procedure to add security blocks. Each security block could be built with less than 40,000 transistors, so even 10,000 security blocks would take up a very small area relative to the rest of an AI chip (e.g. <1\% for a Nvidia H100 with 80 billion transistors). We begin by presenting the high level security block architecture in Section 2 , then the primary design based on random number generation and public key cryptography in Section 3 . In Section 4 we analyze potential attacks, and in Section 5 , we discuss alternative security block designs that could be added in parallel. 2 High-Level Design Figure 1: Conceptual diagram of an AI accelerator with thousands of security IP blocks (orange) interspersed with computational logic (blue), ensuring all critical data paths require authorization. The proposed design integrates thousands of small security block circuits throughout each chip. Each security block acts independently and implements a ‘deadman’s switch’, where the security block will only enable essential logic if it has recently received authorization. A deadman’s switch architecture is necessary because there is not a reliable way to send an ‘off’ signal to chips in unknown locations that are physically shielded and not connected to the internet. The process for receiving updated usage approval begins when a security block generates a unique ‘nonce’ and sends it to an authorizer (likely via the chip’s owner). To approve usage, the authorizer uses a key to generate a ‘license’ valid for that specific nonce and returns it. Finally, the security block cryptographically verifies the license’s authenticity and, if valid, increments its stored ‘usage allowance’ value. A flow chart illustrating this process is shown in Figure 2 . The usage allowance stored in each security block has the following properties: 1. Initializes to 0 on chip power-on. 2. Increments by a specified amount upon receipt of a valid license. 3. Decrements by one for each authorized computational operation. 4. Halts the essential logic it controls if the allowance reaches 0. Each of the security blocks would be made responsible for a simple but critical part of the chip’s regular operations, and refuse to perform that operation if it does not have ongoing authorization. For example, some blocks could be responsible for addition logic or as switches for message passing. If any local parts of an AI chip are broken, the overall computation would be faulty. So, to use a chip, an attacker would need to disable the majority of security blocks without damaging the standard logic they are typically responsible for. Chips would also need logic to collect nonces from security blocks and export these, and also to return licenses from authorizers to the appropriate security blocks. The security requirements for this communication logic are less demanding, because everything external to the security block is considered to be untrusted. This collection and communication process could potentially be managed by an on-chip microcontroller like the RISC-V cores on Nvidia chips. Figure 2: High-level control flow for a security block that prevents essential logic form functioning unless a valid license has been processed recently. 3 Main Security Block Design: Public-Key Cryptography and TRNG In this section, we present our main design for the security block that is based on randomized nonce generation and public key license validation. In Section 5 , we sketch other potential designs that make different security assumptions, including options that use symmetric key cryptography, or no cryptography at all. Multiple types of designs can be built into each chip for more robust defense against attackers with unknown capabilities. 3.1 Randomized Nonce Generation Each block can generate a unique nonce using an on-chip True Random Number Generator (TRNG), implemented with a ring oscillator requiring only a small number of logic gates (e.g. 70 transistors for Vasyltsov et al’s design [ 10 ] ). With a 128-bit nonce, the probability of matching a prior approved license is statistically negligible ( \sim 10^{-25} , assuming 36\times 10^{12} prior licenses 1 1 1 Number of prior approved licenses: 10^{3} blocks/chip \times 10^{6} chips \times 2 licenses/(block \times day) \times 5 years \times 365 days/year \sim 36\times 10^{12} . 36\times 10^{12}/2^{128}=10^{-25} . ). Entropy can be XORed from multiple sources to defend against attacks that attempt to bias the nonce generation. 3.2 License Validation with Public Key Cryptography Public key cryptography allows the holder of a private key to sign a message. Holders of the associated public key can check that the signature is authentic. For our design, the