Department of Neurology, Mayo Clinic, Rochester, Minnesota, USA.
Department of Neurology, Mayo Clinic, Scottsdale, Arizona, USA.
Headache. 2024 Oct;64(9):1094-1108. doi: 10.1111/head.14806. Epub 2024 Aug 23.
To develop machine learning models using patient and migraine features that can predict treatment responses to commonly used migraine preventive medications.
Currently, there is no accurate way to predict response to migraine preventive medications, and the standard trial-and-error approach is inefficient.
In this cohort study, we analyzed data from the Mayo Clinic Headache database prospectively collected from 2001 to December 2023. Adult patients with migraine completed questionnaires during their initial headache consultation to record detailed clinical features and then at each follow-up to track preventive medication changes and monthly headache days. We included patients treated with at least one of the following migraine preventive medications: topiramate, beta-blockers (propranolol, metoprolol, atenolol, nadolol, timolol), tricyclic antidepressants (amitriptyline, nortriptyline), verapamil, gabapentin, onabotulinumtoxinA, and calcitonin gene-related peptide (CGRP) monoclonal antibodies (mAbs) (erenumab, fremanezumab, galcanezumab, eptinezumab). We pre-trained a deep neural network, "TabNet," using 145 variables, then employed TabNet-embedded data to construct prediction models for each medication to predict binary outcomes (responder vs. non-responder). A treatment responder was defined as having at least a 30% reduction in monthly headache days from baseline. All model performances were evaluated, and metrics were reported in the held-out test set (train 85%, test 15%). SHapley Additive exPlanations (SHAP) were conducted to determine variable importance.
Our final analysis included 4260 patients. The responder rate for each medication ranged from 28.7% to 34.9%, and the mean time to treatment outcome for each medication ranged from 151.3 to 209.5 days. The CGRP mAb prediction model achieved a high area under the receiver operating characteristics curve (AUC) of 0.825 (95% confidence interval [CI] 0.726, 0.920) and an accuracy of 0.80 (95% CI 0.70, 0.88). The AUCs of prediction models for beta-blockers, tricyclic antidepressants, topiramate, verapamil, gabapentin, and onabotulinumtoxinA were: 0.664 (95% CI 0.579, 0.745), 0.611 (95% CI 0.562, 0.682), 0.605 (95% CI 0.520, 0.688), 0.673 (95% CI 0.569, 0.724), 0.628 (0.533, 0.661), and 0.581 (95% CI 0.550, 0.632), respectively. Baseline monthly headache days, age, body mass index (BMI), duration of migraine attacks, responses to previous medication trials, cranial autonomic symptoms, family history of headache, and migraine attack triggers were among the most important variables across all models. A variable could have different contributions; for example, lower BMI predicts responsiveness to CGRP mAbs and beta-blockers, while higher BMI predicts responsiveness to onabotulinumtoxinA, topiramate, and gabapentin.
We developed an accurate prediction model for CGRP mAbs treatment response, leveraging detailed migraine features gathered from a headache questionnaire before starting treatment. Employing the same methods, the model performances for other medications were less impressive, though similar to the machine learning models reported in the literature for other diseases. This may be due to CGRP mAbs being migraine-specific. Incorporating medical comorbidities, genomic, and imaging factors might enhance the model performance. We demonstrated that migraine characteristics are important in predicting treatment responses and identified the most crucial predictors for each of the seven types of preventive medications. Our results suggest that precision migraine treatment is feasible.
利用患者和偏头痛特征开发机器学习模型,以预测常用偏头痛预防药物的治疗反应。
目前,尚无准确预测偏头痛预防药物反应的方法,而标准的试错方法效率低下。
在这项队列研究中,我们分析了 2001 年至 2023 年 12 月期间从梅奥诊所头痛数据库前瞻性收集的数据。偏头痛患者在首次头痛就诊时完成问卷,记录详细的临床特征,然后在每次随访时跟踪预防药物变化和每月头痛天数。我们纳入了至少使用以下一种偏头痛预防药物治疗的患者:托吡酯、β-受体阻滞剂(普萘洛尔、美托洛尔、阿替洛尔、纳多洛尔、噻吗洛尔)、三环抗抑郁药(阿米替林、去甲替林)、维拉帕米、加巴喷丁、肉毒杆菌毒素 A 型(onabotulinumtoxinA)和降钙素基因相关肽(CGRP)单克隆抗体(erenumab、fremanezumab、galcanezumab、eptinezumab)。我们使用 145 个变量预训练了一个深度神经网络“TabNet”,然后使用 TabNet 嵌入式数据为每种药物构建预测模型,以预测二元结局(反应者与非反应者)。治疗反应者定义为从基线开始每月头痛天数至少减少 30%。在保留的测试集中评估所有模型性能,并报告指标(训练 85%,测试 15%)。进行 SHapley Additive exPlanations(SHAP)以确定变量重要性。
我们的最终分析包括 4260 名患者。每种药物的反应率范围为 28.7%至 34.9%,每种药物的治疗结果平均时间为 151.3 至 209.5 天。CGRP mAb 预测模型的接收器工作特征曲线(AUC)面积为 0.825(95%置信区间 [CI] 0.726,0.920),准确率为 0.80(95% CI 0.70,0.88)。β-受体阻滞剂、三环抗抑郁药、托吡酯、维拉帕米、加巴喷丁和 onabotulinumtoxinA 的预测模型 AUC 分别为:0.664(95% CI 0.579,0.745)、0.611(95% CI 0.562,0.682)、0.605(95% CI 0.520,0.688)、0.673(95% CI 0.569,0.724)、0.628(0.533,0.661)和 0.581(95% CI 0.550,0.632)。基线每月头痛天数、年龄、体重指数(BMI)、偏头痛发作持续时间、对以前药物试验的反应、颅自主神经症状、头痛家族史和偏头痛发作触发因素是所有模型中最重要的变量。一个变量可能有不同的贡献;例如,较低的 BMI 预测对 CGRP mAbs 和β-受体阻滞剂的反应性,而较高的 BMI 预测对 onabotulinumtoxinA、托吡酯和加巴喷丁的反应性。
我们开发了一种针对 CGRP mAb 治疗反应的准确预测模型,利用治疗前头痛问卷中收集的偏头痛详细特征。使用相同的方法,其他药物的模型性能不太令人印象深刻,但与文献中针对其他疾病的机器学习模型相似。这可能是因为 CGRP mAb 是偏头痛特异性的。纳入医疗合并症、基因组和影像学因素可能会提高模型性能。我们证明了偏头痛特征在预测治疗反应中很重要,并确定了七种预防药物中每种药物的最关键预测因素。我们的研究结果表明,偏头痛的精准治疗是可行的。