Evidence map›Paper›PMID 39960122›Full record

ArticleEpilepsia2025

Supervised machine learning compared to large language models for identifying functional seizures from medical records.

Wesley T Kerr, Katherine N McFarlane, Gabriela Figueiredo Pucci, Danielle R Carns, Alex Israel, Lianne Vighetti, Page B Pennell, John M Stern, Zongqi Xia, Yanshan Wang

Abstract readComparative Study
In one paragraph

Article in Epilepsia, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 5 papers.

0numbers the graph read from it
0cells of the map it votes in
5citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

5 citing papers in PubMed.

  1. Review
  2. Article
  3. Article
  4. Article
  5. Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

10 authors.

Wesley T KerrDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.ORCID https://orcid.org/0000-0002-5546-5951
Katherine N McFarlaneDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Gabriela Figueiredo PucciDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Danielle R CarnsDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Alex IsraelDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Lianne VighettiDepartment of Social Work, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Page B PennellDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
John M SternDepartment of Neurology, University of California, Los Angeles, Los Angeles, California, USA.ORCID https://orcid.org/0000-0002-3549-1642
Zongqi XiaDepartment of Neurology, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.
Yanshan WangDepartment of Biomedical Informatics, University of Pittsburgh, Pittsburgh, Pennsylvania, USA.

Funding

IN VIVO STUDIES OF THE EPILEPTIC HIPPOCAMPUSR01NS033310 · NINDS · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI JEROME NONE ENGEL, Richard Staba · 1994 to 2026
$7.5M
Leveraging electronic health records to optimize treatment selection and response in multiple sclerosisR01NS098023 · NINDS · UNIVERSITY OF PITTSBURGH AT PITTSBURGH · PI Zongqi Xia · 2016 to 2026
$4.6M
Translational Neuroscience Training GrantR25NS065723 · NINDS · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI CARMICHAEL, STANLEY THOMAS · 2009 to 2023
$2.8M
Comprehensive Training in Neuroimaging Fundamentals and ApplicationsR90DA023422 · NIDA · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI COHEN, MARK STEVEN · 2006 to 2015
$1.7M
NeuroNEXT Clinical Research Site at the University of MichiganU24NS107158 · NINDS · UNIVERSITY OF MICHIGAN AT ANN ARBOR · PI CHOU, KELVIN L · 2018 to 2022
$1.6M
Comprehensive Training in Neuroimaging Fundamentals and ApplicationsT90DA022768 · NIDA · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI COHEN, MARK STEVEN · 2006 to 2015
$1.5M
UM Clinical Neuroscientist Training ProgramR25NS089450 · NINDS · UNIVERSITY OF MICHIGAN AT ANN ARBOR · PI ALBIN, ROGER L · 2014 to 2023
$1.3M
UCLA Neuroscience Physician-Scientist Training ProgramUE5NS065723 · NINDS · UNIVERSITY OF CALIFORNIA LOS ANGELES · PI Stanley Thomas Carmichael, Jason D Hinman · 2024 to 2026
$1.2M
Real-world impact of the COVID-19 pandemic in people with multiple sclerosisR01NS124882 · NINDS · UNIVERSITY OF PITTSBURGH AT PITTSBURGH · PI XIA, ZONGQI · 2022 to 2024
$1.2M
Feasibility of machine learning to improve the diagnostic odyssey for functional seizuresK23NS135134 · NINDS · UNIVERSITY OF PITTSBURGH AT PITTSBURGH · PI Wesley Thomas Kim Kerr · 2025 to 2026
$448k
American Academy of Neurology Susan S. SpencerChristina Louise George TrustNIDA NIH HHS R90 DA023422NIDA NIH HHS T90 DA022768NINDS NIH HHS K23 NS135134NINDS NIH HHS K23NS135134NINDS NIH HHS R01 NS033310NINDS NIH HHS R01NS033310NINDS NIH HHS R01 NS098023NINDS NIH HHS R01 NS124882NINDS NIH HHS R25 NS065723NINDS NIH HHS R25NS065723NINDS NIH HHS R25 NS089450NINDS NIH HHS R25NS089450NINDS NIH HHS R90DA022768NINDS NIH HHS R90DA023422NINDS NIH HHS T90DA022768NINDS NIH HHS U24 NS107158NINDS NIH HHS U24NS107158NINDS NIH HHS UE5 NS065723UPMC Competitive Medical Research FundWilliam M. Keck Foundation
6 · The paper itself

Abstract

objectiveThe Functional Seizures Likelihood Score (FSLS) is a supervised machine learning-based diagnostic score that was developed to differentiate functional seizures (FS) from epileptic seizures (ES). In contrast to this targeted approach, large language models (LLMs) can identify patterns in data for which they were not specifically trained. To evaluate the relative benefits of each approach, we compared the diagnostic performance of the FSLS to two LLMs: ChatGPT and GPT-4.

methodsIn total, 114 anonymized cases were constructed based on patients with documented FS, ES, mixed ES and FS, or physiologic seizure-like events (PSLEs). Text-based data were presented in three sequential prompts to the LLMs, showing the history of present illness (HPI), electroencephalography (EEG) results, and neuroimaging results. We compared the accuracy (number of correct predictions/number of cases) and area under the receiver-operating characteristic (ROC) curves (AUCs) of the LLMs to the FSLS using mixed-effects logistic regression.

resultsThe accuracy of FSLS was 74% (95% confidence interval [CI] 65%-82%) and the AUC was 85% (95% CI 77%-92%). GPT-4 was superior to both the FSLS and ChatGPT (p <.001), with an accuracy of 85% (95% CI 77%-91%) and AUC of 87% (95% CI 79%-95%). Cohen's kappa between the FSLS and GPT-4 was 40% (fair). The LLMs provided different predictions on different days when the same note was provided for 33% of patients, and the LLM's self-rated certainty was moderately correlated with this observed variability (Spearman's rho SIGNIFICANCE: Both GPT-4 and the FSLS identified a substantial subset of patients with FS based on clinical history. The fair agreement in predictions highlights that the LLMs identified patients differently from the structured score. The inconsistency of the LLMs' predictions across days and incomplete insight into their own consistency was concerning. This comparison highlights both benefits and cautions about how machine learning and artificial intelligence could identify patients with FS in clinical practice.

Indexed as

Machine LearningSeizuresSupervised Machine LearningAdolescentAdultElectroencephalographyFemaleHumansLarge Language ModelsMaleMiddle AgedROC CurveYoung Adultelectronic health recordinformaticsphysiologic seizure‐like eventspsychogenic nonepileptic seizures (PNES)sensitivity

Identifiers

PMID39960122
PMCPMC11997926

What OpenQuestion holds

Textmetadata
LicenceTDM
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.