Researchers report in an arXiv preprint1 that editing the weights of a particle-physics foundation model directly removed almost the entire flaw that made its jet classifications swing when one soft neutral particle was added.

The authors say the repairs needed far fewer changed parameters than fine-tuning. One method relied on language-model agents that worked with at most 50 queries to the model and no gradient computation. If the results hold up, a flaw found in a trained model could be fixed by a small, targeted edit rather than by retraining.

The flaw

The abstract says adding a single soft neutral particle to a jet causes large changes in classification in a foundation model trained on jets, which the authors describe as a violation of infrared safety. According to the authors' companion repository2, the affected model is OmniLearned. The particle is a photon or neutral hadron below the JetClass reconstruction thresholds.

The repository describes the behavior as a dataset-provenance shortcut. It says the model reads the soft particle with a few attention heads (b7/6, b4/0 and c1/2 in the small model) and reassigns the jet from JetClass to JetClass-II. The abstract traces the flaw's origin to pretraining on datasets with different reconstruction thresholds.

Three repairs compared

The abstract proposes two targeted repairs. One removes three latent directions identified with sparse autoencoders. The other, weight-space programming, has language-model agents edit the weights directly. The abstract says both edits "individually remove almost the entire flaw and leave the rest of the model's response nearly unchanged."

The repository lists three repairs that were compared:

  • Fine-tuning, using low-rank updates of the body's attention modules with a dedicated loss. The default recipe is rank 8, with 3,000 steps.
  • Sparse-autoencoder-guided edits, which are rank-one key edits removing one latent at each reader head.
  • Weight-space programming, in which agents edit the weights through an evaluation tool that allows 50 queries per run.

The agents received three levels of information, given as task descriptions labeled flaw informed, target informed and physics origin informed. The repository says all runs used Claude Opus 5.5 through Claude Code 2.1.316. It records 27 runs: three variants, three model sizes and three runs each. A run takes one to six hours, most of it waiting for the evaluation tool, and the GPU jobs in the paper each ran on one NVIDIA A100, according to the repository.

The abstract says the edits were built only on W and QCD jets but carry over to all signal classes, the pretrained generator and a newly trained regression head. The repository says the repairs were also tested on the representation and on nine taggers.

What can be checked

The repository and the companion Zenodo record (DOI 10.5281/zenodo.24377675) hold weights, edits, sparse-autoencoder checkpoints, jet sets, cached results, and transcripts and access records for the agent runs. The authors say tables and figures can be rebuilt from cached results without a GPU. They list limits on exact reproduction: UMAP layouts shift with floating-point noise of about 1e-7, and a different GPU, CPU or thread count can change the last digits.

The agent study used one proprietary model, and the repository describes runs the authors conducted. Neither the abstract nor the repository reports an independent replication, and the paper is a preprint that has not been peer reviewed.

This report is based on the abstract and the authors' repository. The retrieved pages do not give an author list or submission date, and they do not give the before-and-after measurements of the flaw's size, the parameter counts or the fine-tuning baseline results.