Semin Neurol
DOI: 10.1055/a-2742-2430
Review Article

Transformer Language Models for Neurology Research with Electronic Health Records: Current State of the Science

Authors

  • Ellie Chang

    1   Department of Bioengineering, University of Pennsylvania, Philadelphia, Pennsylvania, United States
    2   Center for Neuroengineering and Therapeutics, University of Pennsylvania, Philadelphia, Pennsylvania, United States
  • Kevin Xie

    1   Department of Bioengineering, University of Pennsylvania, Philadelphia, Pennsylvania, United States
    2   Center for Neuroengineering and Therapeutics, University of Pennsylvania, Philadelphia, Pennsylvania, United States
  • Colin A. Ellis

    2   Center for Neuroengineering and Therapeutics, University of Pennsylvania, Philadelphia, Pennsylvania, United States
    3   Department of Neurology, University of Pennsylvania, Philadelphia, Pennsylvania, United States

Abstract

This review provides an overview of the emergence and application of transformer-based language models in electronic health records in neurology. Transformer architectures are well-suited for neurological data due to their ability to model complex spatiotemporal patterns and capture long-range dependencies, both characteristic of neurological conditions and their documentation. We introduce the foundational principles of transformer models and outline the model training and evaluation frameworks commonly used in clinical text processing. We then examine current applications of transformers in neurology, spanning disease detection and diagnosis, phenotyping and symptom extraction, and outcome and prognosis prediction, and synthesize emerging patterns in model adaptation and evaluation strategies. Additionally, we discuss the limitations of current models, including generalizability, model bias, and data privacy, and propose future directions for research and implementation. By synthesizing recent advances, this review aims to guide future efforts in leveraging transformer-based language models to improve neurological care and research.



Publication History

Received: 08 September 2025

Accepted: 10 November 2025

Accepted Manuscript online:
11 November 2025

Article published online:
28 November 2025

© 2025. Thieme. All rights reserved.

Thieme Medical Publishers, Inc.
333 Seventh Avenue, 18th Floor, New York, NY 10001, USA