Multiple Sclerosis Severity Classification From Clinical Text

Alister D. Costa, Stefan Denkovski, Michal Malyska, Sae Young Moon, Brandon Rufino, Zhen Yang, Taylor W. Killian, Marzyeh Ghassemi

Introduction

In Multiple Sclerosis (MS) management, the Expanded Disability Status Scale (EDSS) is the primary metric for tracking disease progression. However, these scores are frequently trapped in unstructured clinical narratives rather than structured databases. Manually extracting this data is labor-intensive and limits large-scale research. Previous automated approaches using keyword matching or basic word embeddings often fail to capture nuanced clinical descriptions where a score is implied rather than explicitly stated (e.g., describing a patient's walking distance rather than providing a numeric score).

Methodology: The MSBC Pipeline

To address these challenges, researchers developed the Multiple Sclerosis BERT Classifier (MSBC). The pipeline incorporates several innovations to handle the specificities of clinical text.

MS-BERT and Smart De-identification

Standard de-identification often disrupts linguistic context by using generic masks. The authors utilized a "smart" approach, replacing sensitive data with semantically similar synthetic tokens to maintain grammatical integrity. They then fine-tuned BlueBERT (pre-trained on PubMed and MIMIC-III) on 70,000 MS-specific consult notes to create MS-BERT, a domain-specific model.

Handling Long Sequences with CNN Seq2Vec

Clinical notes often exceed the 512-token limit of standard BERT models. The MSBC architecture solves this by segmenting documents into chunks, embedding them via MS-BERT, and using a Convolutional Neural Network (CNN) Seq2Vec encoder to aggregate these into a single encounter-level representation. This method proved significantly more effective than simple averaging or max-pooling, as it preserves the spatial relationship of information across the document.

The MSBC architecture, highlighting the CNN Seq2Vec Encoder used to aggregate multi-chunk embeddings from MS-BERT.

Dataset and Training

The study leveraged a comprehensive dataset from a major MS research hospital, consisting of 70,000 consult notes covering approximately 5,000 patients. This included 16,000 "gold label" notes manually annotated for EDSS and eight functional subscores. To further augment the training set, the researchers employed weak supervision via the Snorkel framework, generating "silver labels" for the remaining 54,000 unlabelled notes.

Key Results

The MSBC model demonstrated significant performance gains over traditional and general-purpose clinical NLP models. It achieved a Macro-F1 score of 0.88 for overall EDSS prediction, representing an 11.5% improvement over the previous state-of-the-art sequential approach (Rule-Based + Word2Vec).

Comparative performance of MSBC against various baseline models, including rule-based systems and general clinical BERT variants.

Beyond overall scores, the model excelled in predicting functional subscores (e.g., visual, pyramidal, and ambulation), reaching an average Macro-F1 of 0.63 compared to 0.39 for rule-based systems. Notably, MSBC remained robust on "tricky" notes—those lacking explicit numeric scores—where rule-based systems typically fail, maintaining a Macro-F1 of ~0.50 while previous models hovered around 0.19.

Discussion and Future Directions

The success of MSBC underscores the importance of domain-specific pre-training and sophisticated aggregation methods for long-form clinical text. While the model currently operates as a "black box," future iterations aim to incorporate word-level attention mechanisms to provide clinicians with interpretable justifications for predicted scores. Additionally, exploring architectures like the Longformer may further improve the handling of extensive clinical histories. The potential for transferring this methodology to other chronic conditions with complex scoring systems remains a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{costa2020multiple,
  author = {Alister D. Costa and Stefan Denkovski and Michal Malyska and Sae Young Moon and Brandon Rufino and Zhen Yang and Taylor W. Killian and Marzyeh Ghassemi},
  title = {{Multiple Sclerosis Severity Classification From Clinical Text}},
  booktitle = {ClinicalNLP @ EMNLP},
  year = {2020},
  doi = {10.18653/v1/2020.clinicalnlp-1.2},
}
Figure