Sources: "An off switch for dual-use knowledge in AI models" (research page, published 8 July 2026); "Modular Pretraining Enables Access Control" (the longer write-up, 8 July 2026) by Ethan Roland, Murat Cubuktepe and Erick Martinez with equal contribution, plus colleagues at AE Studio, Addie Foote independently, and Cem Anil and Alex Cloud of Anthropic; and arXiv:2607.08077v1, submitted 9 July 2026 (the PDF from its start through Section 8; everything after that is flagged below as summary-only). Research conducted by AE Studio in collaboration with Anthropic.
The idea, stated plainly
Two ways exist to keep a dangerous capability out of a deployed model. Filter the training data, which means a separate training run for every combination of what you want excluded. Or train on everything and remove the capability afterwards, which is what unlearning attempts and mostly fails at, because suppression is not removal.
GRAM — Gradient-Routed Auxiliary Modules — proposes a third: build the model so that a domain's knowledge accumulates in a designated set of parameters you can delete at the end. One module per dual-use category. The worked examples are virology, cybersecurity, nuclear physics, and Lisp standing in for specialised code. Delete the module and the model performs on that domain about as if it had never seen the data. Keep it for a trusted deployment. One training run, several deployable configurations.
The pitch is that removal becomes a delete rather than an argument — you no longer have to convince anyone that a capability is gone, because the weights that carried it are not in the artifact. That is a genuinely different and better shape for a safety control, and it is why the work deserves attention.
It is also why the gap between what was shown and what was claimed matters. The short version: concentration is demonstrated, confinement is not, and every number in the paper is a loss number.
How it actually works
Where the modules sit. Auxiliary neurons augment each MLP block. The research page says "every layer"; the paper says each MLP block, which is narrower. There is no router: the paper is explicit — "GRAM has no learned router and no per-token routing." This is not a mixture-of-experts.
The routing is probabilistic, not exclusive, and this is the correction that most changes how the method should be understood. The research page's framing — that only the virology module learns from virology text — is a simplification. The rule as implemented:
On a core batch: the core MLP activates, and with probability
p_crone random module also activates.On an auxiliary batch for domain i: the core plus module i activate. Module i always updates; the core updates too, with probability
p_as— 0.3 in the toy setting, 0.5 in the realistic one.
So in the realistic experiment the core weights learn from domain text on half of all domain batches. The core is not frozen; it is merely updated less often. A footnote on the research page concedes the mirror case: the virology module is sometimes active while the model learns general text. Each parameter set gets its own AdamW optimizer. Hyperparameters in the realistic run: p_as 0.5, p_cr 0.2, p_af 4.0 (3.0 for code).
Deletion. The paper calls it "ablating the rest." Whether a module is physically removed, masked, or zeroed is not documented, though Section 8's observation that scaling a module's forward weight from zero to one "restores its capability" implies zero. The rest of the network is unchanged.
Sizes. Toy setting ("Simple Stories"): 26M parameters, 8 layers, core width 1856, auxiliary width 192, against a dense baseline of width 2048. Realistic setting: 800M, core width 6400, four auxiliary modules of width 640 at 49.2M parameters each. In the scaling sweep each module is 10% of the baseline MLP parameters.
The results
Every headline number is a cross-entropy-derived compute ratio — how much of the capability, measured in next-token prediction, survives. 1.0 is full, 0 is gone.
Toy setting (2M stories, 48 topics of which 4 are auxiliary, one epoch, batch 128, sequence length 256, 3 seeds): core 0.94 for GRAM against 0.96 for filtering; retained aggregate 0.95 against 0.96; the forgotten topic "A Deadline or Time Limit" at 0.61 for GRAM against 0.65 for filtering. So GRAM slightly out-forgets filtering while giving up two points of core performance.
Realistic setting (16B core tokens plus 160M auxiliary — 1%, about 40M per domain, roughly 0.25% each): the standout is partial labelling, where only some of the domain data is tagged. GRAM forgets to 0.60 ± 0.01; data filtering and LoRA-on-filtered both sit at 0.85 ± 0.01. That is the strongest result in the paper, and it is the realistic case — nobody labels a corpus perfectly.
Cost. The abstract claims a 5x reduction in training cost; a figure states that filtering needs five times the FLOPs, because filtering needs a run per configuration.
Scaling. Seven sizes — 50M, 100M, 200M, 400M, 800M, 2B, 5B — at Chinchilla-optimal budgets with auxiliary data at 1% of core. GRAM matched filtering, and the on-to-off gap widened with scale in compute-normalised terms. Two caveats stated by the authors: only one run at 2B and above, and the 5B retain figure is described as anomalous. The research page adds the sentence that keeps this honest: "In absolute terms, the bigger models are still better at the forgotten capabilities." A widening relative gap is not a shrinking absolute hazard.
Against an attacker. A fine-tune on 512 sequences, about 0.5M tokens, per forget category recovered less from GRAM than from post-hoc unlearning. The unlearning baseline is MaxEnt (entropy maximisation on the forget data), and its signature is diagnostic: a low forget score but an elicited score back near baseline. That is suppression, not removal, and it is the clearest empirical argument in the paper for doing this at pretraining time. The authors are also candid that the adversary budget is small and that "partial recovery should be expected even from data-filtered models."
What it does not show
Five things, each stated by the authors, and together they bound the claim tightly.
1. Concentration, not confinement. The research page says the knowledge "accumulates in the virology module rather than diffusing." The evidence for that is entirely behavioural: ablating the module raises loss on the domain, and elicitation partly restores it. No mechanistic or representation-level analysis of confinement appears in the sections covered here (the per-token localisation appendix is not among them). Given that the core updates on half of all domain batches by construction, the prior should be that the capability is concentrated and partly present elsewhere — which is exactly what the residual forget scores say.
2. Removal is partial by the paper's own metric. Forget scores land between 0.61 and 0.85 against an ideal of 0. Deleting the module does not take the capability to zero; it takes it to roughly where a filtered model sits. That is the honest framing the paper uses, and it is a weaker promise than "off switch" conveys.
3. Loss only. "Our experiments only use loss-based evals." No downstream task accuracy. No safety benchmark, red-team exercise or uplift study appears anywhere in the sections covered here. For a technique whose entire justification is reducing dangerous-capability risk, there is no measurement of dangerous capability — only of next-token prediction on domain text. The authors name this limitation themselves: evaluations "quantify performance in terms of next-token prediction ability, rather than performance on real downstream tasks."
4. The cheaper baseline is competitive. LoRA on a core-only (filtered) base "performs comparably" to GRAM in the main experiment — and the authors add that the setting is "favorable to low-rank adaptation." The summary-only table reports FT-LoRA at a lower forget score than GRAM in the toy setting, which the surrounding text does not discuss. GRAM's advantage rests on what the authors themselves call "two isolated experiments" (partial labelling and the attacker fine-tune), and they say directly: "we can't tell whether the methods are similar in general or only in this instance."
5. Sixteen is a ceiling, not a result. Four modules imply 16 on/off configurations. Only virology-only and all-on were tested for composability, and the main comparison used five profiles. "One run, sixteen deployments" is arithmetic; two were checked.
And on shipping: "We haven't tested GRAM at frontier scale or in a production training pipeline", implementing it in production "could be difficult and add a lot of complexity", it is in no Claude model, and "we're not sure it ever will be." Instruction tuning a GRAM model is future work. The authors also raise the possibility that defeats the whole programme if true: "some dual-use capabilities might be so entangled with general knowledge that no method can separate them cleanly."
Why the shape still matters
Strip the safety framing and GRAM is a statement about where a capability lives being a design decision rather than an emergent fact. Most of the literature on localised capability runs the other way: an attacker deliberately concentrates behaviour in a handful of parameters so it can be hidden, and the defence is to find it. This work concentrates a capability deliberately so it can be removed, and the defence becomes a build-time artifact choice.
That inversion is the transferable idea, and it generalises past model weights. The useful question it poses for any system: when you need to be able to withdraw a capability later, did you arrange at construction time for it to live somewhere removable, or are you going to have to argue after the fact that it is gone? Deletion is checkable. Suppression requires trust, and the MaxEnt result is what trusting suppression looks like when someone tests it.
The cautionary half is equally transferable. A design that makes a capability mostly live in one place, verified only by a behavioural proxy, will be described downstream as a design that puts it only there. The distance between 0.61 and 0 is where that drift happens.
Review checklist for a removable-capability claim
Is the capability shown to be confined to the removable part, or only concentrated there? What would distinguish the two, and was it run?
Does the routing rule actually exclude the general weights from the domain data, or does it merely reduce their exposure? Read the probability, not the prose.
After removal, what is the residual capability score, and what is the ideal? A ratio near 0.6 to 0.85 is reduction, not elimination.
Is any evaluation a downstream task or a safety measurement, or is everything a loss proxy?
What is the simplest baseline, and does it do about as well? If a LoRA on a filtered base matches, the complexity needs a separate justification.
How many of the claimed configurations were actually evaluated, as opposed to being combinatorially available?
How large is the adversary's fine-tuning budget, and is partial recovery expected from every baseline including the gold standard?
Does the scaling result hold in absolute terms, or only compute-normalised? A widening relative gap with rising absolute capability is not reassurance.
How many seeds or runs at the largest sizes? One run is a data point, not a trend.
Has the technique survived instruction tuning or post-training at all?
Related
R413 — a backdoor written by hand into 0.023% of the weights, and the defence that is the same trick. The exact mirror image: there, an attacker concentrates behaviour in a tiny parameter subset to hide it; here, the trainer does it so the subset can be thrown away.
R033 — backdooring agents by editing a few dormant neurons. The same premise — that a capability can live in a small, identifiable set of parameters — used offensively, which is indirect evidence that the premise holds.
R053 — agentic backdoors via pretraining poisoning. The pretraining-time attack that a pretraining-time control has to be measured against.
R357 — your model is a dependency: a lockfile, an upgrade gate and an exit plan. GRAM is the build-time half of that argument: which capabilities ship is a configuration of the artifact.
R274 — a model programming low-rank edits to its own weights. The same weight-space surgery from the other direction, and the reason the LoRA baseline here is more than a formality.
R379 — knowledge in a small model's weights, and the distractor result that matters. On how localised stored knowledge actually is, which is the question this work needs answered and does not answer.
R150 — frontier models that read and edit neural network weights. The tooling context for treating a module as a deletable unit.