Machine Diagnostics and Machine Phenotyping of Migraine
BACKGROUND AND OBJECTIVES: In the absence of biomarkers, the true biological footprint of migraine remains incompletely understood. It could perhaps be best characterized using machine learning models of multimodal data. The aim of this study was to (1) develop diagnostic models of migraine using multimodal data and (2) identify data-driven migraine phenotypes. METHODS: This was a cross-sectional machine learning analysis of demographics, self-reported clinical and headache data, and genome-wide genotype data from the Trøndelag Health Study (data collected 1995-1997 and 2006-2008). All participants who were genotyped and completed the headache questionnaire were included. First, predictive machine learning models were developed using genotype data and general clinical data (excluding headache data) to diagnose individuals with migraine vs headache-free controls. Models were optimized on a training set and evaluated on a held-out test set, scored with the area under the receiver operating characteristic curve (AUC). Second, unsupervised models were trained on the headache data and the most predictive features from the diagnostic models to identify subgroups. The subgroups were compared using genome-wide association analyses, conventional polygenic risk scores (PRSs), and machine learning-based genetic risk scores. RESULTS: A total of 43,197 individuals were included in the diagnostic models, and 12,185 individuals were included in the data-driven phenotyping (mean [SD] age 49.1 [16.7] years; 51.7% women). The top-performing diagnostic model was a light gradient boosting machine, with a test set AUC of 0.80 (95% CI 0.78-0.81). Two main clusters were identified, one with 1,425 individuals, 94% of whom met diagnostic criteria for migraine, and another with 10,760 individuals, whereof 71% had nonmigraine headaches. The former was subclustered into 4 relatively distinct groups: one with only men, one with prominent neck pain, one with more musculoskeletal pain, anxiety and depression, and one with "classic" migraine. The groups were better discriminated by machine learning-based genetic risk scores compared with PRSs. DISCUSSION: Migraine can accurately be diagnosed from nonheadache data, suggesting that it is biologically describable by combinations of clinical, genetic, and environmental data. Data-driven phenotyping with such data identifies migraine subgroups with distinct phenotypic and genotypic signals, possibly not captured by current diagnostic criteria-but with potential implications for management.
Authors
- Verneri Anttila (ORCID: https://orcid.org/0000-0002-0073-4675)
- Sigurður H. Magnússon (ORCID: https://orcid.org/0000-0001-6669-3071)
- Mikko Kallela (ORCID: https://orcid.org/0000-0003-3197-7626)
- Tōnu Esko (ORCID: https://orcid.org/0000-0003-1982-6569)
- Hreinn Stefánsson (ORCID: https://orcid.org/0000-0002-9331-6666)
- Sigrid Børte (ORCID: https://orcid.org/0000-0001-9540-3256)
- Arn M. J. M. van den Maagdenberg (ORCID: https://orcid.org/0000-0002-9310-5535)
- Christian Kubisch (ORCID: https://orcid.org/0000-0003-4220-0978)
- Daniel I. Chasman (ORCID: https://orcid.org/0000-0003-3357-0862)
- Manjit Singh Matharu (ORCID: https://orcid.org/0000-0002-4960-2294)
- J Kaprio
- Parashkev Nachev (ORCID: https://orcid.org/0000-0002-2718-4423)
- Bendik S. Winsvold (ORCID: https://orcid.org/0000-0003-4171-8919)
- Davor Lessel (ORCID: https://orcid.org/0000-0003-4496-244X)
- Antonios Danelakis (ORCID: https://orcid.org/0000-0002-5925-2179)
- Erling Tronvik (ORCID: https://orcid.org/0000-0001-6059-0151)
- Lisette J. A. Kogelman (ORCID: https://orcid.org/0000-0001-9782-7810)
- Dale R. Nyholt (ORCID: https://orcid.org/0000-0001-7159-3040)
- Ólafur Á. Sveinsson
- Gyða Björnsdóttir (ORCID: https://orcid.org/0000-0002-8100-0306)
- Tobias Kurth (ORCID: https://orcid.org/0000-0001-7169-2620)
- Knut Hagen (ORCID: https://orcid.org/0000-0003-2111-8895)
- Caroline Ran (ORCID: https://orcid.org/0000-0003-0239-9871)
- Daniëlle Posthuma (ORCID: https://orcid.org/0000-0001-7582-2365)
- Nancy Pedersen
- George Davey-Smith
- Dominic Giles (ORCID: https://orcid.org/0000-0002-8007-2439)
- Irene de Boer (ORCID: https://orcid.org/0000-0002-7261-762X)
- Anna Bjornsdottir
- Gudrun R. Sigurdardottir
- Jes Olesen (ORCID: https://orcid.org/0000-0002-6712-2702)
- Anker Stubberud (ORCID: https://orcid.org/0000-0003-0934-9914)
- Priit Palta (ORCID: https://orcid.org/0000-0001-9320-7008)
- M. Arfan Ikram
- Ester Cuenca-León
- Marjo‐Riitta Järvelin (ORCID: https://orcid.org/0000-0002-2149-0630)
- Marte‐Helene Bjørk (ORCID: https://orcid.org/0000-0002-5745-1094)
- Aster V. E. Harder (ORCID: https://orcid.org/0000-0002-5477-7232)
- T Lehtimäki
- Tjaša Kumelj (ORCID: https://orcid.org/0000-0002-1998-0366)
- Padhraig Gormley (ORCID: https://orcid.org/0000-0002-8908-6968)
- Lannie Ligthart (ORCID: https://orcid.org/0000-0002-6570-3319)
- Maija Wessman
- Fahim Faisal (ORCID: https://orcid.org/0000-0001-9835-6299)
- Lenore Launer
- CM van Duijn
- D.I. Boomsma
- Mitja Kurki
- Eija Hämäläinen
- Aarno Palotie
- Risto Kajanne
- Andrea C. Belin
- Mari Kaunisto
- Thomas F. Hansen
- Olli Raitakari
- Ville Artto
- Kari Stefansson
- Mona A. Chalmer
- Rainer Malik
- Tobias Freilinger
- Marjo Hiekkala
- Maria G. Hrafnsdottir
- Lyn R. Griffiths
- Gisela M. Terwindt
- Patricia Pozo-Rosich
- Håkon Kvisle Abildsnes (ORCID: https://orcid.org/0009-0007-5183-0345)
- Bertram Müller-Myhsok
- Heidi Hautakangas
- Bru Cormand
- Alice Pressman
- Bendik S. Winsvold
- Martin Dichgans
- Thorgeir E. Thorgeirsson
- John-Anker Zwart
- Espen S. Kristoffersen
- Carrie Northover
- Linda M. Pedersen
- Matti Pirinen
Institutions
- Oslo University Hospital (NO)
- Norwegian University of Science and Technology (NO)
- Levanger Hospital (NO)
- Haukeland University Hospital (NO)
- St Olav's University Hospital (NO)
- National Hospital for Neurology and Neurosurgery (GB)
- University of Bergen (NO)
- University College London (GB)
Publication Details
- Journal
- Neurology
- Published
- 2026-06-16
- DOI
- https://doi.org/10.1212/wnl.0000000000218076
- Citations
- 1
- Primary Topic
- Migraine and Headache Studies
- Type
- article
- Field-Weighted Citation Impact
- 12.80
Funders
- Norges Teknisk-Naturvitenskapelige Universitet
- Helse Midt-Norge
- Norges Forskningsråd
- National Institutes of Health
- Faculty of Medicine and Health, University of Sydney
- Norwegian Institute of Public Health