The large language model diagnoses tuberculous pleural effusion in pleural effusion patients through clinical feature landscapes.

IF 5.8 2区 医学 Q1 Medicine Respiratory Research Pub Date : 2025-02-12 DOI:10.1186/s12931-025-03130-y
Chaoling Wu, Wanyi Liu, Pengfei Mei, Yunyun Liu, Jian Cai, Lu Liu, Juan Wang, Xuefeng Ling, Mingxue Wang, Yuanyuan Cheng, Manbi He, Qin He, Qi He, Xiaoliang Yuan, Jianlin Tong
{"title":"The large language model diagnoses tuberculous pleural effusion in pleural effusion patients through clinical feature landscapes.","authors":"Chaoling Wu, Wanyi Liu, Pengfei Mei, Yunyun Liu, Jian Cai, Lu Liu, Juan Wang, Xuefeng Ling, Mingxue Wang, Yuanyuan Cheng, Manbi He, Qin He, Qi He, Xiaoliang Yuan, Jianlin Tong","doi":"10.1186/s12931-025-03130-y","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Tuberculous pleural effusion (TPE) is a challenging extrapulmonary manifestation of tuberculosis, with traditional diagnostic methods often involving invasive surgery and being time-consuming. While various machine learning and statistical models have been proposed for TPE diagnosis, these methods are typically limited by complexities in data processing and difficulties in feature integration. Therefore, this study aims to develop a diagnostic model for TPE using ChatGPT-4, a large language model (LLM), and compare its performance with traditional logistic regression and machine learning models. By highlighting the advantages of LLMs in handling complex clinical data, identifying interrelationships between features, and improving diagnostic accuracy, this study seeks to provide a more efficient and precise solution for the early diagnosis of TPE.</p><p><strong>Methods: </strong>We conducted a cross-sectional study, collecting clinical data from 109 TPE and 54 non-TPE patients for analysis, selecting 73 features from over 600 initial variables. The performance of the LLM was compared with logistic regression and machine learning models (k-Nearest Neighbors, Random Forest, Support Vector Machines) using metrics like area under the curve (AUC), F1 score, sensitivity, and specificity.</p><p><strong>Results: </strong>The LLM showed comparable performance to machine learning models, outperforming logistic regression in sensitivity, specificity, and overall diagnostic accuracy. Key features such as adenosine deaminase (ADA) levels and monocyte percentage were effectively integrated into the model. We also developed a Python package ( https://pypi.org/project/tpeai/ ) for rapid TPE diagnosis based on clinical data.</p><p><strong>Conclusions: </strong>The LLM-based model offers a non-surgical, accurate, and cost-effective method for early TPE diagnosis. The Python package provides a user-friendly tool for clinicians, with potential for broader use. Further validation in larger datasets is needed to optimize the model for clinical application.</p>","PeriodicalId":49131,"journal":{"name":"Respiratory Research","volume":"26 1","pages":"52"},"PeriodicalIF":5.8000,"publicationDate":"2025-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11823098/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Respiratory Research","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12931-025-03130-y","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Medicine","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Tuberculous pleural effusion (TPE) is a challenging extrapulmonary manifestation of tuberculosis, with traditional diagnostic methods often involving invasive surgery and being time-consuming. While various machine learning and statistical models have been proposed for TPE diagnosis, these methods are typically limited by complexities in data processing and difficulties in feature integration. Therefore, this study aims to develop a diagnostic model for TPE using ChatGPT-4, a large language model (LLM), and compare its performance with traditional logistic regression and machine learning models. By highlighting the advantages of LLMs in handling complex clinical data, identifying interrelationships between features, and improving diagnostic accuracy, this study seeks to provide a more efficient and precise solution for the early diagnosis of TPE.

Methods: We conducted a cross-sectional study, collecting clinical data from 109 TPE and 54 non-TPE patients for analysis, selecting 73 features from over 600 initial variables. The performance of the LLM was compared with logistic regression and machine learning models (k-Nearest Neighbors, Random Forest, Support Vector Machines) using metrics like area under the curve (AUC), F1 score, sensitivity, and specificity.

Results: The LLM showed comparable performance to machine learning models, outperforming logistic regression in sensitivity, specificity, and overall diagnostic accuracy. Key features such as adenosine deaminase (ADA) levels and monocyte percentage were effectively integrated into the model. We also developed a Python package ( https://pypi.org/project/tpeai/ ) for rapid TPE diagnosis based on clinical data.

Conclusions: The LLM-based model offers a non-surgical, accurate, and cost-effective method for early TPE diagnosis. The Python package provides a user-friendly tool for clinicians, with potential for broader use. Further validation in larger datasets is needed to optimize the model for clinical application.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
大语言模型通过临床特征景观诊断胸腔积液患者的结核性胸腔积液。
背景:结核性胸腔积液(TPE)是一种具有挑战性的肺结核肺外表现,传统的诊断方法往往涉及侵入性手术且耗时。虽然已经提出了各种用于TPE诊断的机器学习和统计模型,但这些方法通常受到数据处理复杂性和特征集成困难的限制。因此,本研究旨在利用大型语言模型(LLM) ChatGPT-4开发TPE诊断模型,并将其性能与传统的逻辑回归和机器学习模型进行比较。通过强调llm在处理复杂临床数据、识别特征之间的相互关系以及提高诊断准确性方面的优势,本研究旨在为TPE的早期诊断提供更有效和精确的解决方案。方法:我们进行了一项横断面研究,收集了109例TPE和54例非TPE患者的临床资料进行分析,从600多个初始变量中选择了73个特征。使用曲线下面积(AUC)、F1评分、灵敏度和特异性等指标,将LLM的性能与逻辑回归和机器学习模型(k-近邻、随机森林、支持向量机)进行比较。结果:LLM表现出与机器学习模型相当的性能,在敏感性、特异性和总体诊断准确性方面优于逻辑回归。关键特征如腺苷脱氨酶(ADA)水平和单核细胞百分比被有效地整合到模型中。我们还开发了一个Python包(https://pypi.org/project/tpeai/),用于根据临床数据快速诊断TPE。结论:基于llm的模型为TPE早期诊断提供了一种非手术、准确、经济的方法。Python包为临床医生提供了一个用户友好的工具,具有更广泛的使用潜力。需要在更大的数据集中进一步验证以优化该模型以用于临床应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Respiratory Research
Respiratory Research RESPIRATORY SYSTEM-
CiteScore
9.70
自引率
1.70%
发文量
314
审稿时长
4-8 weeks
期刊介绍: Respiratory Research publishes high-quality clinical and basic research, review and commentary articles on all aspects of respiratory medicine and related diseases. As the leading fully open access journal in the field, Respiratory Research provides an essential resource for pulmonologists, allergists, immunologists and other physicians, researchers, healthcare workers and medical students with worldwide dissemination of articles resulting in high visibility and generating international discussion. Topics of specific interest include asthma, chronic obstructive pulmonary disease, cystic fibrosis, genetics, infectious diseases, interstitial lung diseases, lung development, lung tumors, occupational and environmental factors, pulmonary circulation, pulmonary pharmacology and therapeutics, respiratory immunology, respiratory physiology, and sleep-related respiratory problems.
期刊最新文献
Correction: Reference equations for pulmonary function testing in healthy Chinese children aged 4-18 years. Modulation of the NF-κB signaling pathway by the combined strategy of tocilizumab and dexamethasone for asthma therapy. GLCCI1 alleviates airway remodeling in asthmatic mice by inhibiting ZEB1-mediated epithelial-mesenchymal transition. Outcomes after biologic initiation among patients with severe asthma and normal lung function in the CHRONICLE study. Plasma extracellular vesicles-derived MicroRNAs as potential biomarkers in idiopathic pulmonary fibrosis.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1