# Weight-space programming for auditing clinical decision networks

DevFeed: [Weight-space programming for auditing clinical decision networks](<https://devfeed.tech/articles/weight-space-programming-for-auditing-clinical-decision-networks-117590.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05341>)

Author: Humza Nusrat, Omar Nusrat

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [auditing](<https://devfeed.tech/tags/auditing.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [networks](<https://devfeed.tech/tags/networks.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [physics-med-ph](<https://devfeed.tech/tags/physics-med-ph.md>), [programming](<https://devfeed.tech/tags/programming.md>), [repair](<https://devfeed.tech/tags/repair.md>), [space](<https://devfeed.tech/tags/space.md>), [weight](<https://devfeed.tech/tags/weight.md>)

## AI overview

In small neural networks screening head-and-neck radiotherapy plans, Claude Opus 5.5 could often identify and repair planted confounds and a shifted spinal-cord threshold by editing the raw weights. Given only the protocol and weights, it identified the broken rule in 16 of 18 flawed networks and repaired those 16 with a median of three parameter changes. Fine-tuning on protocol-labeled requests also repaired every network but altered nearly all parameters. The model sometimes cleared healthy networks without being prompted and detected only one of three hidden triggers. Simple flaw-specific statistics found the confounds and shift too, while black-box testing found those flaws faster. The study concludes that weight-space programming can help audit and repair these flaws in small networks, but cannot certify correctness.

## Source excerpt

arXiv:2611.05341v1 Announce Type: cross Abstract: 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.