Modular Pretraining Enables Access Control
Summary
This paper introduces GRAM (gradient-routed auxiliary modules), a modular pretraining method that enables access control by selectively adding and ablating modules to limit dual-use capabilities in AI models, showing cost reductions compared to data filtering.
View Cached Full Text
Cached at: 07/10/26, 06:18 AM
# Modular Pretraining Enables Access Control Source: [https://arxiv.org/abs/2607.08077](https://arxiv.org/abs/2607.08077) Authors:[Ethan Roland](https://arxiv.org/search/cs?searchtype=author&query=Roland,+E),[Murat Cubuktepe](https://arxiv.org/search/cs?searchtype=author&query=Cubuktepe,+M),[Erick Martinez](https://arxiv.org/search/cs?searchtype=author&query=Martinez,+E),[Stijn Servaes](https://arxiv.org/search/cs?searchtype=author&query=Servaes,+S),[Keenan Pepper](https://arxiv.org/search/cs?searchtype=author&query=Pepper,+K),[Mike Vaiana](https://arxiv.org/search/cs?searchtype=author&query=Vaiana,+M),[Diogo Schwerz de Lucena](https://arxiv.org/search/cs?searchtype=author&query=de+Lucena,+D+S),[Judd Rosenblatt](https://arxiv.org/search/cs?searchtype=author&query=Rosenblatt,+J),[Addie Foote](https://arxiv.org/search/cs?searchtype=author&query=Foote,+A),[Cem Anil](https://arxiv.org/search/cs?searchtype=author&query=Anil,+C),[Alex Cloud](https://arxiv.org/search/cs?searchtype=author&query=Cloud,+A) [View PDF](https://arxiv.org/pdf/2607.08077) > Abstract:AI developers face a dual\-use dilemma\. An AI capability that helps one user cure a disease can help another synthesize one\. This dilemma could be resolved with access control, limiting dual\-use AI capabilities to trusted deployments with a legitimate need\. A gold standard for access control would be to serve separate models with different capabilities to different users\. However, training and deploying multiple models is prohibitively expensive\. To address this challenge, we propose gradient\-routed auxiliary modules \(GRAM\), a pre\-training method that adds modules to a neural network and selectively updates them to induce specialization\. Ablating a module at inference time removes its capability from the network, approximating a model trained on filtered data\. We evaluate GRAM on synthetic stories and realistic dual\-use data spanning virology, cybersecurity, nuclear physics, and specialized code\. These experiments show that GRAM disables targeted capabilities while preserving the rest, and resists their recovery under finetuning better than post\-hoc unlearning\. Most importantly, a Chinchilla\-optimal scaling analysis from 50M to 5B parameters shows that the gap between data\-filtered and full\-data models widens with scale on removed capabilities but stays small on retained ones, and that GRAM closely tracks data filtering\. GRAM's training cost is independent of the number of supported capability profiles, yielding a 5x reduction over data filtering in our 5\-profile setting\. ## Submission history From: Alex Cloud \[[view email](https://arxiv.org/show-email/80ce6cc9/2607.08077)\] **\[v1\]**Thu, 9 Jul 2026 03:12:44 UTC \(675 KB\)
Similar Articles
@AnthropicAI: We’re pleased to have collaborated with AE Studio on this research. Read more here: https://anthropic.com/research/off-…
Anthropic and AE Studio propose GRAM (Gradient-Routed Auxiliary Modules), a method to surgically confine dual-use knowledge in AI models to removable modules, enabling selective access without retraining multiple models. Preliminary results show promise for more flexible safety controls.
Multi-module GRPO: Composing Policy Gradients and Prompt Optimization for Language Model Programs
The paper introduces mmGRPO, a multi-module extension of Group Relative Policy Optimization (GRPO) that improves accuracy in modular AI systems by optimizing language model calls and prompts. It reports an average 11% accuracy improvement across various tasks and provides an open-source implementation in DSPy.
Anthropic published research on GRAM: a technique to surgically remove dangerous knowledge from AI models at the weight level
Anthropic published research on GRAM, a technique for surgically removing dangerous knowledge from AI models at the weight level, advancing AI safety.
Jul 8, 2026AlignmentAn off switch for dual use knowledge in AI models
Anthropic and AE Studio introduce GRAM, a method that confines dual-use knowledge in AI models to removable modules, enabling surgical control over dangerous capabilities without retraining the entire model. Preliminary results suggest potential for safer deployment of frontier models.
Max Out GRPO Signal: Adaptive Trace Prefix Control for Hard Reasoning Problems
This paper introduces AdaPrefix-GRPO, a method that adaptively controls the length of correct solution prefixes provided to a model during GRPO training, maintaining a 50% success rate to maximize gradient signal. It significantly improves accuracy on hard math reasoning problems while reducing computational cost.