Explaining transformer-based classification of radiology reports.

BJR artificial intelligence Pub Date : 2026-01-16 eCollection Date: 2026-01-01 DOI:10.1093/bjrai/ubag001
Megan Courtman, Galaleldin Abdelhalim, Lingfen Sun, Emmanuel Ifeachor, Stephen Mullin, Mark Thurston
{"title":"Explaining transformer-based classification of radiology reports.","authors":"Megan Courtman, Galaleldin Abdelhalim, Lingfen Sun, Emmanuel Ifeachor, Stephen Mullin, Mark Thurston","doi":"10.1093/bjrai/ubag001","DOIUrl":null,"url":null,"abstract":"<p><strong>Objectives: </strong>Deep learning models developed for the classification of radiological reports have lacked explainability. We aimed to validate and explain a pretrained classification model by applying it to the removal of confounding data from a radiological dataset.</p><p><strong>Methods: </strong>Two radiologists categorized 2038 anonymized MRI head free-text radiology reports for abnormality and for small vessel disease presence. Of these reports, 80% (<i>n</i> = 1630) were used to fine-tune pretrained transformer models to classify scans. Five-fold cross-validation was used in model development. The models were tested on the remaining 20% of the reports (<i>n</i> = 408). SHapley Additive exPlanations (SHAP) were used to explain the results.</p><p><strong>Results: </strong>The models exhibited excellent classification performance, with a mean receiver operating characteristic (ROC) area under the curve (AUC) of 0.98 for abnormality classification and 0.99 for small vessel disease classification. SHAP highlighted relevant words in both cases.</p><p><strong>Conclusions: </strong>This application validated the use of a pretrained transformer in detecting confounding data in research cohorts, and exhibited explainable results that allow the models' decisions to be understood. By highlighting the specific report terms that drive each prediction, the explainable model output can be reviewed and critiqued by subject matter experts, supporting trust, error analysis, and iterative refinement of AI tools within clinical workflows.</p><p><strong>Advances in knowledge: </strong>This application demonstrates the feasibility of explainable report classification, and the fine-tuned model could be used in future for automatic removal of confounding data from radiology datasets, while providing transparent, case-level justifications that support audit, governance, and clinician acceptance.</p>","PeriodicalId":517427,"journal":{"name":"BJR artificial intelligence","volume":"3 1","pages":"ubag001"},"PeriodicalIF":0.0000,"publicationDate":"2026-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13045515/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BJR artificial intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1093/bjrai/ubag001","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Objectives: Deep learning models developed for the classification of radiological reports have lacked explainability. We aimed to validate and explain a pretrained classification model by applying it to the removal of confounding data from a radiological dataset.

Methods: Two radiologists categorized 2038 anonymized MRI head free-text radiology reports for abnormality and for small vessel disease presence. Of these reports, 80% (n = 1630) were used to fine-tune pretrained transformer models to classify scans. Five-fold cross-validation was used in model development. The models were tested on the remaining 20% of the reports (n = 408). SHapley Additive exPlanations (SHAP) were used to explain the results.

Results: The models exhibited excellent classification performance, with a mean receiver operating characteristic (ROC) area under the curve (AUC) of 0.98 for abnormality classification and 0.99 for small vessel disease classification. SHAP highlighted relevant words in both cases.

Conclusions: This application validated the use of a pretrained transformer in detecting confounding data in research cohorts, and exhibited explainable results that allow the models' decisions to be understood. By highlighting the specific report terms that drive each prediction, the explainable model output can be reviewed and critiqued by subject matter experts, supporting trust, error analysis, and iterative refinement of AI tools within clinical workflows.

Advances in knowledge: This application demonstrates the feasibility of explainable report classification, and the fine-tuned model could be used in future for automatic removal of confounding data from radiology datasets, while providing transparent, case-level justifications that support audit, governance, and clinician acceptance.

解释基于变压器的放射学报告分类。
目的:为放射学报告分类开发的深度学习模型缺乏可解释性。我们的目的是通过将预训练的分类模型应用于从放射数据集中去除混杂数据来验证和解释它。方法:两名放射科医生对2038份匿名MRI头部自由文本放射学报告进行分类,包括异常和小血管疾病的存在。在这些报告中,80% (n = 1630)用于微调预训练的变压器模型来分类扫描。模型开发采用五重交叉验证。对剩余20%的报告(n = 408)进行了模型测试。采用SHapley加性解释(SHAP)对结果进行解释。结果:模型具有优异的分类性能,异常分类的平均受试者工作特征(ROC)曲线下面积(AUC)为0.98,小血管疾病分类的平均受试者工作特征(ROC)面积为0.99。SHAP在这两种情况下都突出显示了相关词语。结论:该应用验证了预先训练的变压器在研究队列中检测混杂数据的使用,并展示了可解释的结果,使模型的决策能够被理解。通过突出显示驱动每种预测的特定报告术语,主题专家可以对可解释的模型输出进行审查和批评,从而支持临床工作流程中AI工具的信任、错误分析和迭代改进。知识的进步:该应用证明了可解释报告分类的可行性,微调模型可以在未来用于自动清除放射学数据集中的混淆数据,同时提供透明的病例级证明,支持审计、治理和临床医生接受。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书