Modular Pretraining Enables Access Control
Ethan RolandMCMurat CubuktepeErick MartinezStijn ServaesKeenan PepperMike Vaiana
Diogo Schwerz de LucenaJudd RosenblattAddie FooteCem AnilACAlex Cloud Ethan Roland
MCMurat Cubuktepe
Erick Martinez
Stijn Servaes
Keenan Pepper
Mike Vaiana

Diogo Schwerz de Lucena
Judd Rosenblatt
Addie Foote
Cem Anil
ACAlex Cloud
+11
The paper proposes gradient-routed auxiliary modules (GRAM), a pretraining method that adds modules to a neural network and selectively updates them to induce capability specialization. At inference time, disabling a module removes its targeted capability, approximating a model trained on filtered data. Evaluated on synthetic stories and realistic dual-use data (virology, cybersecurity, nuclear physics, code), GRAM disables targeted capabilities while preserving others, and resists recovery under finetuning better than unlearning. A Chinchilla-optimal scaling analysis from 50M to 5B parameters shows GRAM closely tracks data filtering, and its training cost is independent of the number of capability profiles, yielding a 5x reduction over data filtering in a 5-profile setting.

arXiv ·
· July 9, 2026