军事知识服务平台
基于术前多维变量构建机器学习模型辅助鉴别诊断甲状旁腺良恶性肿瘤的临床研究
Development of machine learning models based on multidimensional preoperative variables to aid in differentiating benign from malignant parathyroid tumors: a clinical study
摘要 目的:基于术前多维变量构建并验证辅助鉴别诊断甲状旁腺良恶性肿瘤的机器学习模型。方法:本研究为回顾性病例系列研究。回顾性收集2010年12月至2025年12月于北京协和医院基本外科行手术治疗并经病理学诊断的2 773例甲状旁腺肿瘤患者的临床资料。男性717例,女性2 056例;年龄[ M(IQR)]54(18)岁(范围:10~87岁)。良性肿瘤2 633例、恶性肿瘤140例。采用8∶2分层随机抽样将全队列划分为训练集和测试集,训练集2 218例(其中恶性肿瘤112例),测试集555例(其中恶性肿瘤28例),测试集仅用于最终性能评价。提取术前变量,以逻辑回归、支持向量机、随机森林、梯度提升机、极端梯度提升和分类提升算法建立多种鉴别诊断模型并比较诊断性能。针对类别不平衡,随机森林模型采用平衡子样本类别权重;采用基于训练集5折分层交叉验证的sigmoid(Platt)方法校准随机森林模型的预测概率,并采用决策曲线分析评价临床净获益。 结果:测试集中,随机森林模型受试者工作特征曲线的曲线下面积为0.903,精确率-召回率曲线下面积为0.563,灵敏度为0.857,特异度为0.799,表现出较好的综合鉴别效能。校准后Brier评分为0.035;决策曲线分析结果显示,模型在2%~20%的阈值概率范围内具有潜在临床净获益。随机森林模型最终纳入年龄、肾结石史、肿瘤体积、肿瘤纵横比、肿瘤囊性变、血钙、血浆甲状旁腺激素、碱性磷酸酶、血磷、淋巴细胞绝对值和中性粒细胞与淋巴细胞比值共11项变量;其中血浆甲状旁腺激素、血钙和肿瘤体积是该模型重要的权重参数。结论:基于术前多维变量构建的随机森林模型对甲状旁腺良恶性肿瘤具有较好的辅助鉴别诊断效能,可为临床决策提供参考。
Abstract:
Objective:To develop and validate machine learning models based on multidimensional preoperative variables to aid in differentiating benign from malignant parathyroid tumors.Methods:This is a retrospective case series study. Data were collected from 2 773 patients with pathologically confirmed parathyroid tumors who underwent surgery in the Department of General Surgery, Peking Union Medical College Hospital between December 2010 and December 2025. There were 717 male and 2 056 female patients, with an age ( M(IQR)) of 54 (18) years (range: 10 to 87 years). The cohort comprised 2 633 patients with benign tumors and 140 patients with malignant tumors. The cohort was divided by stratified random sampling in an 8∶2 ratio into a training set of 2 218 patients, including 112 malignant cases, and a test set of 555 patients, including 28 malignant cases. The test set was only used for final performance evaluation. Preoperative variables were collected. Models were developed using logistic regression, support vector machine, random forest, gradient boosting machine, extreme gradient boosting, and categorical boosting, and their diagnostic performance was compared. Class imbalance in the random forest model was addressed using balanced subsample class weights. Predicted probabilities from the random forest model were calibrated using sigmoid (Platt) calibration based on five-fold stratified cross-validation within the training set, and clinical net benefit was evaluated using decision-curve analysis. Results:In the test set, the random forest model achieved an area under the receiver operating characteristic curve of 0.903, an area under the precision-recall curve of 0.563, a sensitivity of 0.857, and a specificity of 0.799, showing favorable overall discriminative performance. After calibration, the Brier score was 0.035. Decision-curve analysis showed potential clinical net benefit across threshold probabilities of 2% to 20%. The final random forest model included 11 variables: age, history of renal calculi, tumor volume, tumor aspect ratio, tumor cystic change, serum calcium, plasma parathyroid hormone, alkaline phosphatase, serum phosphorus, absolute lymphocyte count, and neutrophil-to-lymphocyte ratio. Model interpretation showed that plasma parathyroid hormone, serum calcium, and tumor volume were the most important variables in this model.Conclusion:The random forest model based on multidimensional preoperative variables shows good performance in distinguishing benign from malignant parathyroid tumors and may be used as an adjunct to clinical decision-making.