Weight-space programming for auditing clinical decision networks

LLM Other LLM AI Safety / AI Ethics MBDSF XAI
2026年11月03日
放射治疗中的机器学习模型通常通过在已知正确答案的测试病例上进行验证来完成临床部署,但这种方法可能无法揭示测试病例与训练数据之间所共有的某种“捷径”(即模型依赖的虚假关联)。近期有研究报道,前沿的大语言模型已具备直接读取和写入小型神经网络原始权重的能力,这一能力被称为“权重空间编程”(weight-space programming)。本研究旨在探究:此类语言模型在仅获知临床规程及网络权重的前提下,是否能够对网络开展审计并实施修复。 我们构建了参数量介于433至4,801之间的神经网络,用于依据四条临床规则筛查头颈部放疗计划申请。人为在训练数据中植入了三类缺陷:掩盖各条规则的混杂因素(confounds)、脊髓剂量阈值整体偏移3 Gy,以及一个隐藏触发器(hidden trigger)。Claude Opus 5.5 模型在完全“盲审”条件下(即不借助任何外部工具、不访问原始训练数据、也不执行代码)对每个网络进行了独立审计;所有提出的缺陷判断与修复方案,均在约42万例计划申请上进行了严格验证。 该语言模型在18个存在缺陷的网络中,准确指出了其中16个网络所违反的具体规则(95%置信区间为67%–97%),尤其在全部15个含混杂因素或阈值偏移的网络中实现了100%识别。对于这16个被成功识别的缺陷,模型均完成了修复,平均仅需调整中位数为3个参数;相比之下,若采用基于规程标注数据的微调方法,虽同样能修复全部网络,但几乎需更新每一个参数。所有被发现的混杂因素与阈值偏移,在单个神经元(unit)的权重分布中均清晰可辨;而针对每类缺陷类型所选取的简单统计量,亦能独立复现相同的检测结果。在未施加任何强制干预的情况下,该模型成功判定出5个健康网络中的2个确属正常;同时,在3个隐藏触发器中检出了1个。以临床规程为金标准进行测试,可检出全部缺陷;而黑盒测试(black-box testing)则能比权重分析更快速地发现混杂因素与阈值偏移。 研究结果表明:对于参数规模较小的网络,权重空间编程技术已能够准确定位并修复两类典型缺陷——即导致某一输入信号失效(input silencing)的缺陷,以及造成决策阈值发生偏移(threshold shift)的缺陷;但目前尚无法据此确认一个网络“完全正确”(即无法提供完备性保证)。
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.
许愿