# Weight-space programming for auditing clinical decision networks

arXiv: https://arxiv.org/abs/2611.05341 · HTML: https://mlsanity.com/paper/2611.05341/

## Key facts

- Cited by 7 papers in the map (data through 24 Nov 2026).
- Builds on 15 of its 36 references that are in the map.
- Submitted 3 Nov 2026.

## Builds on (most cited first, 15 of 15)

- [Shortcut Learning in Deep Neural Networks](https://mlsanity.com/paper/2004.07780/) (2020)
- [Progress measures for grokking via mechanistic interpretability](https://mlsanity.com/paper/2301.05217/) (2023)
- [Towards Automated Circuit Discovery for Mechanistic Interpretability](https://mlsanity.com/paper/2304.14997/) (2023)
- [Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networks](https://mlsanity.com/paper/1702.01135/) (2017)
- [Confounding variables can degrade generalization performance of radiological deep learning models](https://mlsanity.com/paper/1807.00431/) (2018)
- [Thinking Like Transformers](https://mlsanity.com/paper/2106.06981/) (2021)
- [Predicting Neural Network Accuracy from Weights](https://mlsanity.com/paper/2002.11448/) (2020)
- [Tracr: Compiled Transformers as a Laboratory for Interpretability](https://mlsanity.com/paper/2301.05062/) (2023)
- [Planting Undetectable Backdoors in Machine Learning Models](https://mlsanity.com/paper/2204.06974/) (2022)
- [Provable Repair of Deep Neural Networks](https://mlsanity.com/paper/2104.04413/) (2021)
- [FIND: A Function Description Benchmark for Evaluating Interpretability Methods](https://mlsanity.com/paper/2309.03886/) (2023)
- [Weight Oracles: Reading Neural Network Weights with Language Models](https://mlsanity.com/paper/2610.07334/) (2026)
- [Unelicitable Backdoors in Language Models via Cryptographic Transformer Circuits](https://mlsanity.com/paper/2406.02619/) (2024)
- [Solving Trojan Detection Competitions with Linear Weight Classification](https://mlsanity.com/paper/2411.03445/) (2024)
- [OpenGray: a benchmark for evaluating the decisions of radiotherapy planning agents](https://mlsanity.com/paper/2610.37081/) (2026)

## Built on by (most cited first, 7 of 7)

- [Computation, not weight access: large language models as auditors of clinical prediction networks](https://mlsanity.com/paper/2611.07847/) (2026)
- [Compiling Known Rules into Compact Neural Agents: Weight-Space Programming on Unseen Games](https://mlsanity.com/paper/2611.16981/) (2026)
- [Owned Edits to a Shared Decision Rule: Learning Private Exceptions as Typed, Gated, Withdrawable Weight Edits](https://mlsanity.com/paper/2611.15917/) (2026)
- [Weight Space Programming for Vision Language Model Repair](https://mlsanity.com/paper/2611.23615/) (2026)
- [Auditing black-box clinical prediction models with a large language model through queries alone: a blinded test with planted flaws](https://mlsanity.com/paper/2611.24877/) (2026)
- [When Can a Rewiring Control Test LLM Weight Readers? C2 and an Eligibility Protocol](https://mlsanity.com/paper/2611.29120/) (2026)
- [Temporal Weight Surgery: Repairing Video Grounding with LLM Editors](https://mlsanity.com/paper/2611.33339/) (2026)

## Abstract (arXiv)

Machine learning models in radiotherapy are commissioned by testing them on cases with known answers, which may not reveal a shortcut that the test cases share with the training data. Frontier language models have recently been reported to read and write the raw weights of small neural networks, an ability called weight-space programming. The purpose of this study was to determine whether such a model, given only a clinical protocol and a network's weights, can audit and repair the network. Networks with 433 to 4,801 parameters were trained to screen head-and-neck planning requests against four rules. Flaws were planted through the training data: confounds that hid each rule, a 3 Gy shift in the cord threshold, and a hidden trigger. Claude Opus 5.5 audited each network blind, without tools, data or code execution, and every claim and repair was tested on about 420,000 requests. The language model named the broken rule in 16 of 18 flawed networks (95% CI 67% to 97%), including all 15 with a confound or a threshold shift. It repaired each of the 16 by changing a median of 3 parameters. Fine-tuning on protocol-labeled requests also repaired every network, but changed nearly every parameter. Each confound and shift it found was visible in single units, and a simple statistic chosen for each flaw type found the same flaws. It cleared 2 of 5 healthy networks without being forced and found 1 of 3 triggers. Testing against the protocol detected every flaw, and black-box testing found the confounds and the shift faster. The results indicate that, in small networks, weight-space programming can locate and repair flaws that silence an input or shift a threshold, but cannot yet certify that a network is correct.
