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

同一患者,不同措辞,不同诊断?评估临床大语言模型中的语义稳定性

Same Patient, Different Words, Different Diagnosis? Evaluating Semantic Stability in Clinical LLMs

Department of Computer Science and Engineering, College of Engineering, Qatar University(卡塔尔大学计算机科学与工程系);College of Science and Engineering, Hamad Bin Khalifa University (HBKU)(哈马德·本·卡伊夫大学(HBKU)理学院);Primary Health Care Corporation (PHCC)(初级卫生保健公司);Birmingham City University(伯明翰城市大学)

Mahdi Alkaeed, Adnan Qayyum, Nabeel Abo Kashreef, Muhammad Bilal, Junaid Qadir

AI总结:

针对临床大语言模型对语义等价但措辞不同的提示敏感的问题,提出基于自然语言推理的语义验证框架和三个量化指标,评估16个开源通用与医学模型,发现领域专业化并不一致地提升或降低鲁棒性。

摘要:

大语言模型(LLMs)越来越多地应用于临床场景。然而,它们的行为对细微的语言变化(如改写或句法变化)高度敏感。这种敏感性在安全关键的医疗环境中带来风险,因为语义等价的输入应产生一致的预测。但一个关键挑战是确保提示变化真正保留临床意义,因为基于嵌入的相似性度量通常无法捕捉涉及否定、时间性或严重程度的区别。为解决这一局限,我们提出一个基于自然语言推理(NLI)的语义验证框架,用于过滤保留意义的提示变化,并进一步使用LLM-as-a-judge进行精炼,由临床专家审核。此外,我们引入三个指标来量化模型敏感性:保留意义变化敏感性(MVS)、置信度变化(ΔC)和最坏情况不稳定性(WCI)。我们使用来自DiagnosisQA和MedQA数据集的改写提示,评估了同一模型系列和参数规模下的16个开源通用(GP)和医学LLMs。结果表明,领域特定(DS)模型之间的鲁棒性差异是混合的且高度依赖模型,即领域专业化并不一致地改善或降低对保留意义提示改写的鲁棒性。几个DS模型在鲁棒性排名中位列前茅(与GP对应模型相比),而强大的GP基线模型也保持竞争力。

英文摘要:

Large Language Models (LLMs) are increasingly used in clinical applications. However, their behavior remains highly sensitive to subtle linguistic variations, such as rephrasing or syntactic variation. This sensitivity poses risks in safety-critical healthcare settings, where semantically equivalent inputs should produce consistent predictions. However, a key challenge is to ensure that prompt variations truly preserve clinical meaning, as embedding-based similarity metrics often fail to capture distinctions involving negation, temporality, or severity. To address this limitation, we propose a semantic verification framework based on Natural Language Inference (NLI) to filter meaning-preserving prompt variations, which are further refined using an LLM-as-a-judge and audited by a clinical expert. In addition, we introduce three metrics to quantify model sensitivity: MeaningPreserving Variation Sensitivity (MVS), confidence variation (ΔC), and Worst-Case Instability (WCI). We evaluate 16 open-source general-purpose (GP) and medical LLMs within the same model families and parameter scales, using reformulated prompts derived from the DiagnosisQA and MedQA datasets. Our results demonstrate that robustness differences between domain-specific (DS) models are mixed and highly model-dependent, i.e., domain specialization does not consistently improve or reduce robustness to meaning-preserving prompt reformulations. Several DS models rank among the most robust (when compared with GP counterparts), and strong GP baselines remain competitive as well.

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

↑