arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.21300cs.CLcs.IR
收藏

利用大语言模型实现医疗器械文档评估各阶段的确定性

Making every stage of medical device document assessment with large language models deterministic

GFLOPS Co., Ltd.(GFLOPS公司)

Ryosuke Suzuki

AI总结:

本研究针对大语言模型用于医疗器械文档评估时的输出变异问题,构建了各阶段具确定性的流水线,实现了端到端确定性,为审计和变更控制提供可测试基础。

摘要:

为证明医疗器械符合法规要求,专家需判断文档和记录是否满足各项要求,并记录判断结果供他人验证。对于专家定义的每个评估项,大语言模型可生成初步评估结果,包括“满足”或“不满足”等标签、理由及引用证据。我们向14种此类模型的商业部署(3家提供商的7种模型,通过6种途径)重复发送相同请求,且所有部署均接受确定性采样设置;结果显示,每种部署至少对一个请求返回不同评估,其中12种部署的标签发生变化。在接口允许的情况下减少推理并未降低变异,而检索段落的提示仅对最小规模模型消除了变异。同一开放权重模型是否可复现仅取决于其部署方式。我们构建了一个在各阶段均具确定性的流水线——文本提取与光学字符识别(OCR)、分块、嵌入、索引、检索及推理——针对血糖仪和输液泵文档,该流水线在重新运行、中断、编辑、同一图形处理单元(GPU)型号的机器及不同日期下,各阶段输出均为字节级相同。当OCR、嵌入和近似检索的部署未保持不变时,它们会发生变异,且输出会随GPU型号和推理引擎的调度设置变化,因此这些参数应纳入记录的配置中。端到端的确定性是可实现的,可为审计和变更控制提供可测试的基础。

英文摘要:

To show that a medical device complies with regulation, experts judge whether documents and records meet each requirement and record the judgment for others to verify. For each assessment item that experts define, large language models could prepare a preliminary assessment: a label such as Satisfied or Not satisfied, a reason and quoted evidence. We sent fourteen commercial deployments of such models (seven models from three providers, through six routes) the same request repeatedly, with the deterministic sampling settings each accepted; every deployment returned differing assessments for at least one request, and in twelve the label changed. Reducing reasoning where the interface allows it did not reduce the variation, and prompts of retrieved passages removed it only for the smallest models. The same open-weight model was reproducible or not depending only on how it was served. A pipeline we built to be deterministic at every stage -- text extraction and optical character recognition (OCR), chunking, embedding, indexing, retrieval and inference -- returned byte-identical output at each stage across reruns, interruptions, edits, machines of one graphics processing unit (GPU) model and days, for blood glucose meter and infusion pump documents. OCR, embedding and approximate retrieval varied when their own serving was not made invariant, and outputs changed with the GPU model and with the inference engine's scheduling settings, which therefore belong in the recorded configuration. End-to-end determinism is achievable and gives a testable basis for audit and change control.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑