仅通过查询利用大语言模型审计黑盒临床预测模型:带植入缺陷的盲法测试
Auditing black-box clinical prediction models with a large language model through queries alone: a blinded test with planted flaws
AI总结:
本研究通过带植入缺陷的盲法测试,验证GPT-6 Astra仅通过查询即可忠实描述黑盒临床预测模型,且能发现几乎所有植入缺陷,其报告需进一步核查。
摘要:
大语言模型(LLM)被用于解释临床预测模型,其承诺是能够说明模型的计算内容、发现模型的缺陷,甚至揭示模型中的新知识。我们在答案可被验证的情况下测试了这三项承诺:基于国际卒中试验,我们针对早期随机患者训练了四种模型(逻辑回归、可解释增强机、梯度提升树、神经网络),用于两种结局;在24个模型副本中各植入一个缺陷(预测不足的亚组、反向风险因素或不合理步骤),并将其与8个干净模型混合。GPT-6 Astra通过仅返回模型预测的工具对每个模型进行三次盲法审计,判断规则在运行前确定并由程序执行。其代理模型(中位数为128项)重现了被审计模型的对数几率,平均R²为0.976(分析师拟合的42项加性代理的R²为0.959);它在72次运行中发现了69个植入缺陷(准确率96%,95%置信区间80%至99%),为此编写的脚本则发现了全部24个缺陷。它还报告了更多问题:1089份可核查报告中60%未通过针对模型平均行为的预先指定检查;事后分析显示,这些大多是真实但微小的步骤,15%的可核查报告未在模型中出现。在它从干净模型中读出的601种意外关系中,11%在后续随机患者中成立(随机配对为6%,回归扫描最强候选的较短列表为28%);经训练数据检查后,该比例为33%,对应另一组为30%。仅通过查询访问,LLM可忠实地描述黑盒模型并发现几乎所有植入缺陷,专用脚本也能做到这一点;其问题报告需在模型上核查,发现的内容需在数据上核查。
英文摘要:
Large language models (LLMs) are used to explain clinical prediction models, on the promise that they can say what a model computes, find its faults and even reveal new knowledge in it. We tested the three promises where answers could be checked. From the International Stroke Trial we trained four kinds of model (logistic regression, explainable boosting machine, gradient-boosted trees, neural network) for two outcomes on patients randomised earlier, planted one flaw in each of 24 copies (an under-predicted subgroup, a reversed risk factor or an implausible step) and mixed them with the 8 clean models. GPT-6 Astra audited each model three times, blind, through a tool that only returned the model's predictions; the judging rules were committed before any run and applied by program. Its surrogate models, with a median of 128 terms, reproduced the audited models' log-odds with a mean $R^2$ of 0.976 (0.959 for an analyst's additive surrogate of 42 terms). It found the planted flaw in 69 of 72 runs (96%; 95% CI 80% to 99%); a script written for the purpose found all 24. It also reported many more problems: 60% of 1,089 checkable reports failed the pre-specified check against the model's average behaviour; post hoc, most were present in the model but under the threshold, nearly all small steps of tree-based models (median 0.15 log-odds, no lower bound), and 15% of the checkable reports were not found in the model. Of 601 unexpected relationships it read out of the clean models, 11% held in patients randomised later (random pairs 6%; a regression scan's shorter list, 28%); after a check on the training data, 33% against 30% (29% against 28% for distinct relationships). With query access alone, an LLM can describe a black-box model faithfully and find nearly every planted flaw, as a purpose-written script also did; its reports of problems must be checked on the model and its discoveries on data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。