首页|期刊导航|医疗卫生装备|基于大型语言模型的乳腺超声肿物分类算法优化研究

基于大型语言模型的乳腺超声肿物分类算法优化研究OA

Research on optimization of breast ultrasound mass classification algorithms based on large language models

中文摘要英文摘要

目的:为了提升乳腺超声肿物的分类性能,基于大型语言模型对乳腺超声肿物分类算法进行优化.方法:首先,选取乳腺超声数据集(BrEaST,v1.0)中252例患者的乳腺超声文字描述(恶性98例,良性154例),基于乳腺成像报告和数据系统(Breast Imaging Reporting and Data System,BI-RADS)指南选取乳腺组织成分、皮肤增厚、肿物形态、后方回声、边界、声晕、回声强度和钙化8项特征,并将252例样本按7∶3的比例划分为训练集与测试集.以大型语言模型(ChatGPT 5.1 Thinking)自动生成Python代码,系统部署3种算法:将预设超参数的随机森林作为算法1,并作为基线算法;将预设超参数的随机森林结合针对名义变量的合成少数类过采样技术(synthetic minority oversampling technique for nominal,SMOTEN)作为算法2;将利用随机搜索调优的随机森林作为算法3.以病理良恶性为金标准,采用Friedman检验比较3种算法的总体差异,采用Nemenyi检验比较3种算法间的两两差异.通过人工编程对3种算法进行复现,采用Bootstrap自助法对测试集进行1000次重采样,比较人工编程实现的算法和大型语言模型实现的算法的性能指标差异.结果:Friedman检验结果表明,算法3在准确度(0.848)、敏感度(0.912)、F1分数(0.823)、AUC(0.895)4项评价指标中均为最优,3种算法的准确度、敏感度、F1分数、AUC比较差异均有统计学意义(P<0.05),3种算法的特异度比较差异无统计学意义(P>0.05).Nemenyi检验结果表明,算法3的准确度、敏感度、F1分数、AUC均优于算法1和算法2,差异有统计学意义(P<0.05),算法1和算法2各项指标比较差异均无统计学意义(P>0.05).大型语言模型生成代码实现的算法与人工编程实现的算法在各项性能指标上均表现出高度一致性,各项性能指标比较差异均无统计学意义(P>0.05).结论:大型语言模型可以提升乳腺超声肿物分类算法的性能,为临床医师的诊断和治疗提供了参考.

Objective To optimize breast ultrasound mass classification algorithms using large language models(LLM)to enhance the mass classification performance of breast ultrasound.Methods Firstly,totally 252 patients in the breast ultrasound dataset(BrEaST,v1.0)including 98 malignant cases and 154 benign cases had their breast ultrasound descrip-tions analyzed in terms of 8 characteristics of breast tissue composition,skin thickening,mass morphology,posterior echo,margin,acoustic shadowing,echo intensity and calcification based on the Breast Imaging Reporting and Data System(BI-RADS).A training set and a test set were established with the 252 patients at a 7∶3 ratio.A large language model(ChatGPT 5.1 Thinking)was used to generate Python codes automatically.There were three algorithms involved in the investigation:a random forest with preset hyperparameters(Algorithm 1,serving as the baseline algorithm),a random forest with preset hyperparameters combined with the synthetic minority oversampling technique for nominal(SMOTEN)(Algorithm 2)and a random forest optimized via random search(Algorithm 3).Using pathological examination results as the gold standard,the three algorithms were compared in terms of overall differences by the Friedman test and pairwise differences by the Nemenyi test.Artificial programming was carried out for the replication of the three algorithms,and the test set underwent 1 000 resamples using the Bootstrap method.The manual-programming based algorithms and LLM-based algorithms were compered in terms of performance metrics.Results The Friedman test results indicated that Algorithm 3 achieved the highest accuracy(0.848),sensitivity(0.912),F1 score(0.823)and AUC(0.895)across all four evaluation metrics,and the three algorithms were significantly different in accuracy,sensitivity,F1 score and AUC(P<0.05)while not in specificity(P>0.05).The Nemenyi test results showed that Algorithm 3 behaved better than Algorithm 1 and 2 in accuracy,sensitivity,F1 score and AUC significantly(P<0.05)and Algorithm 1 and 2 had no statistically significant differences in all the indexes(P>0.05).The algorithms based on LLM and manual programming had high consistency across all performance metrics,with no statistically significant differences observed in all the indexes(P>0.05).Conclusion The breast ultrasound mass classification algorithms can be enhanced based on LLM,and references are provided for the diagnosis and treatment by clinicians.[Chinese Medical Equipment Journal,2026,47(1):8-13].

徐士恩;鲁媛媛;郭雅雪;李俊来

解放军总医院第二医学中心超声诊断科,北京 100853解放军总医院第二医学中心超声诊断科,北京 100853北京科技大学计算机与通信工程学院,北京 100083解放军总医院第二医学中心超声诊断科,北京 100853

医药卫生

大型语言模型乳腺超声乳腺肿物分类算法代码生成机器学习

large language modelbreast ultrasoundbreast massclassification algorithmcode generationmachine learning

《医疗卫生装备》 2026 (1)

8-13,6

10.19745/j.1003-8868.2026002

评论