Weight-space programming and mechanistic interpretability for model editing in particle physics
Rapha\"el Bonnet-Guerrini, Johann Ioannou-Nikolaides, Troels Petersen
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Where Does a Weight-Editing Agent Help? Blind Diagnosis and Repair of Deployment Faults in Vision ModelsarXiv · 2026
- Exploring Weight-Space Programming: Capabilities, Generalization, and LimitationsarXiv · 2026
- Weight Space Programming for Vision Language Model RepairarXiv · 2026
- Weight-Space Programming for Improving Image-Restoration Diffusion Models: Technical Conjectures and a Recursive Improvement LooparXiv · 2026
- Sparks of Weight-Space Programming for Robot Foundation ModelsarXiv · 2026
- Language Models Can Rewrite Their Own WeightsarXiv · 2026