Visual abstractsVisuals
ResearchNeurology · Jun 16, 2026

Machine Diagnostics and Machine Phenotyping of Migraine: A HUNT Study

Danelakis A, Abildsnes HK, Faisal F, Bjørk MH, Giles D, Hagen K, et al
NeurologyAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

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.

Topics

Humans; Migraine Disorders; Female; Male; Phenotype; Cross-Sectional Studies; Machine Learning; Genome-Wide Association Study; Middle Aged; Genetic Risk Score; Adult; Predictive Learning Models

DOI: 10.1212/WNL.0000000000218076 · PubMed: 42302223

Cite this article

Danelakis A, Abildsnes HK, Faisal F, Bjørk MH, Giles D, Hagen K. Machine Diagnostics and Machine Phenotyping of Migraine: A HUNT Study. Neurology. 2026. doi:10.1212/WNL.0000000000218076

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Similar articles

RMD Open · Feb 10, 2026 · Research · Rheumatology

Predicting total knee replacement in knee osteoarthritis using a machine learning-guided approach in patients of the Osteoarthritis Initiative (OAI)

Alzheimers Dement · May 4, 2026 · Research · Neurology

Integrating polygenic and transcriptional risk scores for detecting Alzheimer's disease

JACI · Apr 3, 2026 · Research · Allergy & Immunology

Context-specific genetic effects inform endotypes and treatment in asthma

Am J Hum Genet · Jan 20, 2026 · Research · Medical Genetics & Genomics

A gene-specific variance-control approach corrects polygenicity-driven inflation observed in transcriptome-wide association studies

Transl Psychiatry · Feb 25, 2026 · Meta-analysis · Psychiatry & Mental Health Visual abstract

Polygenic risk scores for depression show inconsistent evidence for interactions with environmental factors