2024 IEEE 12th International Conference on Healthcare Informatics (ICHI) | August 22, 2024 | Volume: No volume available | Issue: No issue available | Pages: 684-687
Abstract Objective To explore hidden Markov models (HMMs) as an approach for defining clinically meaningful headache‐frequency‐based groups in migraine. Background Monthly headache frequency in patients with migraine is known to vary over time. This variation has not been completely characterized and is not well accounted for in the classification of individuals as having chronic or episodic migraine, a diagnosis with potentially significant impacts on the individual. This study investigated variation in reported headache frequency in a migraine population and proposed a model for classifying individuals by frequency while accounting for natural variation. Methods The American Registry for Migraine Research (ARMR) was a longitudinal multisite study of United States adults with migraine. Study participants completed quarterly questionnaires and daily headache diaries. A series of HMMs were fit to monthly headache frequency data calculated from the diary data of ARMR. Results Changes in monthly headache frequency tended to be small, with 47% of transitions resulting in a change of 0 or 1 day. A substantial portion (24%) of months reflected daily headache with individuals ever reporting daily headache likely to consistently report daily headache. An HMM with four states with mean monthly headache frequency emissions of 3.52 (95% Prediction Interval [PI] 0–8), 10.10 (95% PI 4–17), 20.29 (95% PI 12–28), and constant 28 days/month had the best fit of the models tested. Of sequential month‐to‐month headache frequency transitions, 12% were across the 15‐headache days chronic migraine cutoff. Under the HMM, 38.7% of those transitions involved a change in the HMM state, and the remaining 61.3% of the time, a change in chronic migraine classification was not accompanied by a change in the HMM state. Conclusion A divide between the second and third states of this model aligns most strongly with the current episodic/chronic distinction, although there is a meaningful overlap between the states that supports the need for flexibility. An HMM has appealing properties for classifying individuals according to their headache frequency while accounting for natural variation in frequency. This empirically derived model may provide an informative classification approach that is more stable than the use of a single cutoff value.
A history of abuse is associated with more severe migraine‐ and pain‐related disability: Results from the American Registry for Migraine Research
Abstract Background Prior studies have established an association between a history of abuse and more severe migraine presentation. Objectives This cross‐sectional, observational study of a clinic‐based migraine population used validated measures to elucidate migraine‐specific and migraine‐related burdens among patients with a history of abuse. Methods Patients with migraine ( n = 866) from the American Registry for Migraine Research self‐reported if they had a history of emotional, physical, and/or sexual abuse and completed questionnaires assessing migraine‐related burden: Migraine Disability Assessment, Subjective Cognitive Impairment Scale for Migraine Attacks, Work Productivity and Activity Impairment, Patient‐Reported Outcomes Measurement Information System Pain Interference, Patient Health Questionnaire‐2, and Generalized Anxiety Disorder‐7. Migraine‐related burden in patients with versus without a history of abuse was compared. Subsequently, a mediation analysis evaluated the impact of depression and anxiety symptoms in the relationship between abuse history and migraine burden. Results A history of abuse was reported by 36.5% ( n = 316/866) of participants. After controlling for patient age, sex, years lived with headache, and headache frequency, a history of abuse was significantly associated with more severe migraine‐related disability. The combined burden of depression and anxiety symptoms mediated the relationship. Conclusion A history of abuse is associated with greater migraine‐related disability. Future studies should determine if identification and management of the psychological and physical sequelae of abuse reduce migraine burden.
Physical impairment during and between migraine attacks: A daily diary study of patients with chronic migraine
Objective While a substantial body of research describes the disabling impacts of migraine attacks, less research has described the impacts of migraine on physical functioning between migraine attacks. The objective of this study is to describe physical impairment during and between migraine attacks as a dimension of burden experienced by people living with chronic migraine. Methods The physical impairment domain of the Migraine Physical Function Impact Diary was recorded in headache diaries from the Medication Overuse Treatment Strategy trial. Days with moderate to severe headache were used to approximate migraine attacks. Factor analysis and regression analysis were used to describe associations between migraine and physical impairment. Results 77,662 headache diary entries from 720 participants were analyzed, including 25,414 days with moderate to severe headache, 19,149 days with mild headache, and 33,099 days with no headache. Mean physical impairment score was 41.5 (SD = 26.1) on days with moderate to severe headache, 12.8 (SD = 15.0) on days with mild headache, and 5.2 (SD = 13.1) on days with no headache. Physical impairment on days with mild headache and days with no headache was significantly associated with days since last moderate to severe headache, physical impairment with last moderate to severe headache, mild headache (compared to no headache), depression, hypersensitivities and cranial autonomic symptoms. Conclusions Physical impairment occurs on migraine and non-migraine days. Study participants with frequent headaches, symptoms of depression, hypersensitivities and cranial autonomic symptoms experience physical impairment at a higher rate on days with no headache and days with mild headache. Clinical Trial Registration: ClinicalTrials.gov (NCT02764320)
2024 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) | April 9, 2024 | Volume: No volume available | Issue: No issue available | Pages: 7558-7567
A large language model–based generative natural language processing framework fine‐tuned on clinical notes accurately extracts headache frequency from electronic health records
Abstract Objective To develop a natural language processing (NLP) algorithm that can accurately extract headache frequency from free‐text clinical notes. Background Headache frequency, defined as the number of days with any headache in a month (or 4 weeks), remains a key parameter in the evaluation of treatment response to migraine preventive medications. However, due to the variations and inconsistencies in documentation by clinicians, significant challenges exist to accurately extract headache frequency from the electronic health record (EHR) by traditional NLP algorithms. Methods This was a retrospective cross‐sectional study with patients identified from two tertiary headache referral centers, Mayo Clinic Arizona and Mayo Clinic Rochester. All neurology consultation notes written by 15 specialized clinicians (11 headache specialists and 4 nurse practitioners) between 2012 and 2022 were extracted and 1915 notes were used for model fine‐tuning (90%) and testing (10%). We employed four different NLP frameworks: (1) ClinicalBERT (Bidirectional Encoder Representations from Transformers) regression model, (2) Generative Pre‐Trained Transformer‐2 (GPT‐2) Question Answering (QA) model zero‐shot, (3) GPT‐2 QA model few‐shot training fine‐tuned on clinical notes, and (4) GPT‐2 generative model few‐shot training fine‐tuned on clinical notes to generate the answer by considering the context of included text. Results The mean (standard deviation) headache frequency of our training and testing datasets were 13.4 (10.9) and 14.4 (11.2), respectively. The GPT‐2 generative model was the best‐performing model with an accuracy of 0.92 (0.91, 0.93, 95% confidence interval [CI]) and R 2 score of 0.89 (0.87, 0.90, 95% CI), and all GPT‐2–based models outperformed the ClinicalBERT model in terms of exact matching accuracy. Although the ClinicalBERT regression model had the lowest accuracy of 0.27 (0.26, 0.28), it demonstrated a high R 2 score of 0.88 (0.85, 0.89), suggesting the ClinicalBERT model can reasonably predict the headache frequency within a range of ≤ ± 3 days, and the R 2 score was higher than the GPT‐2 QA zero‐shot model or GPT‐2 QA model few‐shot training fine‐tuned model. Conclusion We developed a robust information extraction model based on a state‐of‐the‐art large language model, a GPT‐2 generative model that can extract headache frequency from EHR free‐text clinical notes with high accuracy and R 2 score. It overcame several challenges related to different ways clinicians document headache frequency that were not easily achieved by traditional NLP models. We also showed that GPT‐2–based frameworks outperformed ClinicalBERT in terms of accuracy in extracting headache frequency from clinical notes. To facilitate research in the field, we released the GPT‐2 generative model and inference code with open‐source license of community use in GitHub. Additional fine‐tuning of the algorithm might be required when applied to different health‐care systems for various clinical use cases.
Exploring the Role of the Hippocampus in Migraine (S47.008)