Weight-space programming and mechanistic interpretability for model editing in particle physics
Raphaël Bonnet-Guerrini, Johann Ioannou-Nikolaides, Troels Petersen
Abstract
We demonstrate that weight-space programming and edits guided by sparse autoencoders can remove unwanted aspects of a particle-physics foundation model through direct edits to its weights. In a foundation model trained on jets, we observe that adding a single soft neutral particle causes large changes in jet classification, violating infrared safety. We locate the responsible attention heads with mechanistic analysis and trace the flaw's origin to pretraining on datasets with different reconstruction thresholds. We then propose two targeted approaches to repair the flaw: by removing three latent directions identified with sparse autoencoders, and by letting language-model agents edit the weights directly, without gradients and with only 50 queries to the model. Both their edits individually remove almost the entire flaw and leave the rest of the model's response nearly unchanged. Compared to fine-tuning, both methods change far fewer parameters. Although built only on W and QCD jets, the edits carry over to all signal classes, the pretrained generator, and a newly trained regression head.
Create a lesson
Related papers
Unstable particle collisions in space and time
Shared title terminology · Irene Corral Lorences, Zhen Liu, Giuliano Panico et al.
Quantum Autoencoder on Real Hardware for New Physics Searches at Muon Colliders
Shared title terminology · Shuai Zhang, Ji-Chong Yang
Interpretation of the LZ Event via Inelastic ALP-Dark Photon Transition with Photon Exchange
Shared title terminology · Quanyu Wang, Xiangwei Yin, Tianjun Li
Direct simulation Monte Carlo for dark matter production and phase-space evolution
Shared title terminology · Felix Kahlhoefer, Ann Cathrin Wesener
Theory of Particle Scattering on Superconducting Qubits: From Single Devices to Quantum Arrays
Shared title terminology · Doojin Kim, Kyoungchul Kong, Myeonghun Park
Loop-induced gg ZH at NLO+PS for LHC simulations: exact, fast scale and PDF event weights, theory uncertainties, and the limits of rescaled LO+PS
Shared title terminology · Licheng Zhang, Christopher Palmer