01 Research question

  • Can a machine learning model built from routine baseline clinical variables predict whether a patient with migraine will achieve at least a 50% reduction in monthly migraine days at 3 months after starting a CGRP monoclonal antibody?
  • Does giving physicians access to this model's prediction improve their own accuracy, sensitivity, and agreement with true outcomes compared with unaided clinical judgment in a controlled reader study?

02 Study design

  • Phase 1 was a retrospective prognostic model development study using records from 228 patients treated at the Dokkyo Medical University headache outpatient clinic from April 2022 to March 2023, split into a training set of 182 and a test set of 46, with a Random Forest trained under five-fold nested cross-validation on 27 baseline clinical variables.
  • Phase 2 was a prospective, multi-reader, multi-case crossover reader study in which five headache specialists and three general neurologists predicted 3-month response for the 46 test cases first without and then with the model's assistance, allowing paired comparison of performance and of individual prediction switches.
  • The target outcome was achievement of a ≥50% reduction in monthly migraine days at 3 months; performance was summarized with accuracy, sensitivity, specificity, precision, F1-score, and kappa, with confidence intervals for the model and medians or means with dispersion for physicians.

03 Key findings

  • On the held-out test set the model reached 76.1% accuracy (95% CI 62.1%-86.1%), sensitivity 87.0% (67.9%-95.5%), specificity 65.2% (44.9%-81.2%), precision 71.4% (52.9%-84.7%), F1-score 78.4% (64.0%-89.4%), and kappa 0.52 (0.27-0.74), indicating moderate agreement and a tendency toward higher sensitivity than specificity.
  • Unaided, the eight physicians showed median accuracy of 65.2% (IQR 61.4%-70.1%), mean sensitivity 68.5% ± 11.6%, specificity 62.5% ± 18.4%, precision 66.3% ± 10.3%, F1-score 66.7% (64.5%-71.9%), and kappa 0.30 (0.23-0.40); with model assistance these rose to accuracy 73.9% (72.8%-76.1%), sensitivity 79.9% ± 13.1%, specificity 64.7% ± 13.6%, precision 70.2% ± 8.1%, F1-score 76.6% (74.4%-76.9%), and kappa 0.48 (0.46-0.52).
  • Accuracy, sensitivity, F1-score, and kappa improved statistically significantly with the model, and in the switching analysis incorrect-to-correct changes occurred in 12.8% (47/368) of pooled evaluations versus 6.0% (22/368) correct-to-incorrect, a net switching benefit of +6.8% that was significant (p = 0.003).

04 AI commentary

The distinctive contribution here is not the Random Forest itself but the paired human-AI evaluation: by having the same eight physicians read the same 46 cases with and without model output, the design isolates the incremental effect of assistance rather than comparing a model against clinicians drawn from different samples. The switching analysis is the most informative element, because it shows the benefit is net rather than uniform, with 22 correct predictions degraded by the model alongside 47 rescued ones, which is exactly the kind of asymmetry that aggregate accuracy can hide.

At the same time, the model's test-set confidence intervals are wide, spanning roughly 62% to 86% accuracy and 45% to 81% specificity, so the apparent edge over unaided physicians should be read as preliminary rather than established. The high sensitivity relative to specificity suggests the model leans toward flagging likely responders, which may suit a shared decision about starting therapy but would matter differently if used to withhold treatment. Because all data come from one clinic and the model was not externally validated, the reported gains describe internal test performance and a single reader-study setting, not transportability to other populations or workflows.

05 What this study cannot establish

  • All 228 patients came from a single headache outpatient clinic at one university hospital over a 12-month window, and the model was evaluated only on an internal 46-patient test set, so no external validation or calibration in an independent cohort is reported in the abstract.
  • The reader study involved eight physicians reading 46 cases, yielding 368 pooled evaluations, and the abstract does not report how case difficulty, physician specialty mix, or the order and presentation of model output were controlled beyond the stated crossover structure.

06 What to watch next

  • External validation of the model in independent, ideally multicenter cohorts is needed, with reporting of calibration and of performance across subgroups such as prior preventive treatment failures and different CGRP monoclonal antibodies.
  • Future reader studies could test whether the net switching benefit persists with more physicians and cases, examine how the model's false-positive and false-negative errors are acted upon clinically, and assess whether ML assistance changes actual treatment decisions and patient outcomes rather than only prediction accuracy.

Original abstract and source

Predicting individual treatment responses to anti-calcitonin gene-related peptide monoclonal antibodies (CGRP-mAbs) in migraine remains challenging. To develop a machine learning (ML) model for predicting 3-month treatment response to CGRP-mAbs and to evaluate its practical clinical utility in improving physicians' predictive performance. This retrospective prognostic model development was combined with a prospective, multi-reader, multi-case crossover reader study. We used retrospective data from 228 patients with migraine treated with CGRP-mAbs at the headache outpatient clinic in Dokkyo Medical University from April 2022 to March 2023. The data were divided into training (n = 182) and test (n = 46) datasets. Phase 1: An ML prediction model was developed using the training dataset with Random Forest and five-fold nested cross-validation. The model predicted achievement of a ≥50% reduction in monthly migraine days at 3 months, based on 27 baseline clinical variables. We tested the model's performance on the test dataset. Phase 2: Using the test dataset, five headache specialists and three general neurologists predicted treatment response without the model and then with the model's assistance. Prediction performance was compared between conditions. Phase 1: The model's performance on the test dataset was as follows: accuracy of 76.1% (95% confidence interval [CI], 62.1%-86.1%), sensitivity (recall) of 87.0% (67.9%-95.5%), specificity of 65.2% (44.9%-81.2%), precision of 71.4% (52.9%-84.7%), F1-score of 78.4% (64.0%-89.4%), and kappa of 0.52 (0.27-0.74) on the test dataset. Phase 2: The eight participating physicians predicted the treatment effectiveness. Without the model, their performance metrics were median accuracy of 65.2% [interquartile range 61.4%-70.1%], mean sensitivity (recall) of 68.5% ± standard deviation 11.6%, specificity of 62.5% ± 18.4%, precision of 66.3% ± 10.3%, F1-score of 66.7% [64.5%-71.9%], and kappa of 0.30 [0.23-0.40]. With the model, these metrics were accuracy of 73.9% [72.8%-76.1%], sensitivity (recall) of 79.9% ± 13.1%, specificity of 64.7% ± 13.6%, precision of 70.2% ± 8.1%, F1-score of 76.6% [74.4%-76.9%], and kappa of 0.48 [0.46-0.52], respectively. The accuracy, sensitivity, F1-score, and kappa were statistically improved. In the switching analysis, which assessed how physicians' predictions changed after receiving ML model assistance, incorrect-to-correct changes occurred in 12.8% (47/368, 8 physicians × 46 cases) of the pooled evaluations, whereas correct-to-incorrect changes occurred in 6.0% (22/368). The overall net switching benefit was +6.8%, and incorrect-to-correct changes occurred significantly more often than correct-to-incorrect changes (p = 0.003). Although external validation is necessary, our findings provide preliminary evidence that ML-assisted prediction may support the prediction of CGRP-mAb response.

Open the original paper ↗