利用微调大语言模型实现可解释的胰腺囊性病变特征提取与风险分类
Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization
AI总结:
本研究针对手动提取胰腺囊性病变特征效率低的问题,用GPT-4o生成的思维链标签微调两款开源大模型,实现了与GPT-4o相当、匹配放射科医生水平的特征提取与风险分类效果,可支撑大规模相关研究。
摘要:
研究背景:从放射学报告中手动提取胰腺囊性病变(PCL)特征耗时费力,限制了推进PCL研究所需的大规模研究开展。研究目的:开发并评估可自动从MRI/CT报告中提取PCL特征并依据指南划分风险类别的大语言模型(LLM)。材料与方法:我们整理了来自5134名患者的6000份腹部MRI/CT报告(2005-2024年)作为训练数据集,这些报告均描述了PCL。通过GPT-4o采用思维链(CoT)提示生成标签,用于提取PCL和主胰管特征。我们使用QLoRA在GPT-4o生成的CoT数据上微调了两款开源LLM。根据基于2017年ACR白皮书的机构指南,将提取的特征映射到对应风险类别。研究在285份预留的人工标注报告上开展评估,由三名放射科医生独立审核100个病例的模型输出。特征提取效果采用精确匹配准确率评估,风险分类效果采用宏平均F1值评估,放射科医生与模型的一致性采用Fleiss' Kappa评估。结果:CoT微调提升了LLaMA(从80%升至97%)和DeepSeek(从79%升至98%)的特征提取准确率,表现与GPT-4o(97%)相当。风险分类的F1值也有所提升(LLaMA:0.95;DeepSeek:0.94),与GPT-4o(0.97)接近,且无统计学显著差异。放射科医生间的阅片一致性较高(Fleiss' Kappa = 0.888),加入DeepSeek-FT-CoT(Fleiss' Kappa = 0.893)或GPT-CoT(Fleiss' Kappa = 0.897)后无统计学显著差异,表明两款模型的一致性水平均与放射科医生相当。结论:经CoT监督微调的开源LLM可实现准确、可解释且高效的表型分析,适用于大规模PCL研究,性能可与GPT-4o媲美。
英文摘要:
Background: Manual extraction of pancreatic cystic lesion (PCL) features from radiology reports is labor-intensive, limiting large-scale studies needed to advance PCL research. Purpose: To develop and evaluate large language models (LLMs) that automatically extract PCL features from MRI/CT reports and assign risk categories based on guidelines. Materials and Methods: We curated a training dataset of 6,000 abdominal MRI/CT reports (2005-2024) from 5,134 patients that described PCLs. Labels were generated by GPT-4o using chain-of-thought (CoT) prompting to extract PCL and main pancreatic duct features. Two open-source LLMs were fine-tuned using QLoRA on GPT-4o-generated CoT data. Features were mapped to risk categories per institutional guideline based on the 2017 ACR White Paper. Evaluation was performed on 285 held-out human-annotated reports. Model outputs for 100 cases were independently reviewed by three radiologists. Feature extraction was evaluated using exact match accuracy, risk categorization with macro-averaged F1 score, and radiologist-model agreement with Fleiss' Kappa. Results: CoT fine-tuning improved feature extraction accuracy for LLaMA (80% to 97%) and DeepSeek (79% to 98%), matching GPT-4o (97%). Risk categorization F1 scores also improved (LLaMA: 0.95; DeepSeek: 0.94), closely matching GPT-4o (0.97), with no statistically significant differences. Radiologist inter-reader agreement was high (Fleiss' Kappa = 0.888) and showed no statistically significant difference with the addition of DeepSeek-FT-CoT (Fleiss' Kappa = 0.893) or GPT-CoT (Fleiss' Kappa = 0.897), indicating that both models achieved agreement levels on par with radiologists. Conclusion: Fine-tuned open-source LLMs with CoT supervision enable accurate, interpretable, and efficient phenotyping for large-scale PCL research, achieving performance comparable to GPT-4o.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。