Metamorphic Testing for Robustness and Fairness Evaluation of LLM-based Automated ICD Coding Applications

Q2 Health Professions
Guna Sekaran Jaganathan, Indika Kahanda, Upulee Kanewala
{"title":"Metamorphic Testing for Robustness and Fairness Evaluation of LLM-based Automated ICD Coding Applications","authors":"Guna Sekaran Jaganathan,&nbsp;Indika Kahanda,&nbsp;Upulee Kanewala","doi":"10.1016/j.smhl.2025.100564","DOIUrl":null,"url":null,"abstract":"<div><div>Healthcare and medical domain-specific LLMs (BioMed LLMs), such as PubMedBERT and Med-PaLM, are developed and pre-trained on biomedical and clinical text to be used specifically in healthcare and medical applications. The recent popularity of these BioMed LLMs increased the use of LLMs in health and medical applications to perform various critical tasks, including ICD (International Classification of Diseases) coding. For such safety-critical applications, it is vital to focus not just on accuracy but also on other quality attributes such as robustness and fairness. Unfortunately, application developers rarely assess these attributes despite their importance in BioMed LLMs-based applications due to difficulties in defining the expected output. This study uses Metamorphic Testing (MT) to evaluate the robustness and fairness of the BioMed LLM-based automated ICD coding application. We defined several Metamorphic Relations (MRs) to evaluate these quality attributes systematically. Our results using the MIMIC-III dataset reveal several instances where the application performance is significantly impacted due to various simple manipulations that mimic common mistakes in the input clinical notes. Our findings highlight the necessity of rigorous testing for these metrics to ensure the reliable use of BioMed LLMs in healthcare and medical applications. Further, our research provides a comprehensive framework for such evaluations by leveraging MT, which is helpful to the application developers and contributes to developing more reliable and robust biomedical AI systems.</div></div>","PeriodicalId":37151,"journal":{"name":"Smart Health","volume":"36 ","pages":"Article 100564"},"PeriodicalIF":0.0000,"publicationDate":"2025-04-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart Health","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S235264832500025X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"Health Professions","Score":null,"Total":0}
引用次数: 0

Abstract

Healthcare and medical domain-specific LLMs (BioMed LLMs), such as PubMedBERT and Med-PaLM, are developed and pre-trained on biomedical and clinical text to be used specifically in healthcare and medical applications. The recent popularity of these BioMed LLMs increased the use of LLMs in health and medical applications to perform various critical tasks, including ICD (International Classification of Diseases) coding. For such safety-critical applications, it is vital to focus not just on accuracy but also on other quality attributes such as robustness and fairness. Unfortunately, application developers rarely assess these attributes despite their importance in BioMed LLMs-based applications due to difficulties in defining the expected output. This study uses Metamorphic Testing (MT) to evaluate the robustness and fairness of the BioMed LLM-based automated ICD coding application. We defined several Metamorphic Relations (MRs) to evaluate these quality attributes systematically. Our results using the MIMIC-III dataset reveal several instances where the application performance is significantly impacted due to various simple manipulations that mimic common mistakes in the input clinical notes. Our findings highlight the necessity of rigorous testing for these metrics to ensure the reliable use of BioMed LLMs in healthcare and medical applications. Further, our research provides a comprehensive framework for such evaluations by leveraging MT, which is helpful to the application developers and contributes to developing more reliable and robust biomedical AI systems.
基于llm的自动化ICD编码应用鲁棒性和公平性评估的变质测试
医疗保健和医疗领域特定的llm (BioMed llm),如PubMedBERT和Med-PaLM,是针对专门用于医疗保健和医疗应用的生物医学和临床文本进行开发和预培训的。最近这些生物医学法学硕士的普及增加了法学硕士在健康和医疗应用中的使用,以执行各种关键任务,包括ICD(国际疾病分类)编码。对于这样的安全关键应用,不仅要关注准确性,还要关注其他质量属性,如鲁棒性和公平性,这一点至关重要。不幸的是,尽管这些属性在基于BioMed llms的应用程序中很重要,但由于难以定义预期输出,应用程序开发人员很少评估这些属性。本研究使用变形测试(MT)来评估BioMed基于llm的自动ICD编码应用程序的鲁棒性和公平性。我们定义了几个变质关系(MRs)来系统地评价这些质量属性。我们使用mimic - iii数据集的结果揭示了几个实例,其中应用程序性能由于模仿输入临床记录中的常见错误的各种简单操作而受到显著影响。我们的研究结果强调了对这些指标进行严格测试的必要性,以确保生物医学法学硕士在医疗保健和医学应用中的可靠使用。此外,我们的研究通过利用机器学习为这种评估提供了一个全面的框架,这有助于应用程序开发人员,并有助于开发更可靠和强大的生物医学人工智能系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Smart Health
Smart Health Computer Science-Computer Science Applications
CiteScore
6.50
自引率
0.00%
发文量
81
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信