Skip to main content
QUICK REVIEW

[Paper Review] Progress Notes Classification and Keyword Extraction using Attention-based Deep Learning Models with BERT

Matthew F. Tang, Priyanka Gandhi|arXiv (Cornell University)|Oct 13, 2019
Topic ModelingComputer Science35 references30 citations
TL;DR

This paper proposes an attention-based deep learning framework using fine-tuned BERT with an added attention layer to classify clinical progress notes into 12 medical categories and extract interpretable keywords. The model achieves 97.6% classification accuracy and effectively highlights semantically relevant words through attention weights, demonstrating improved interpretability over standard BERT models.

ABSTRACT

Various deep learning algorithms have been developed to analyze different types of clinical data including clinical text classification and extracting information from 'free text' and so on. However, automate the keyword extraction from the clinical notes is still challenging. The challenges include dealing with noisy clinical notes which contain various abbreviations, possible typos, and unstructured sentences. The objective of this research is to investigate the attention-based deep learning models to classify the de-identified clinical progress notes extracted from a real-world EHR system. The attention-based deep learning models can be used to interpret the models and understand the critical words that drive the correct or incorrect classification of the clinical progress notes. The attention-based models in this research are capable of presenting the human interpretable text classification models. The results show that the fine-tuned BERT with the attention layer can achieve a high classification accuracy of 97.6%, which is higher than the baseline fine-tuned BERT classification model. In this research, we also demonstrate that the attention-based models can identify relevant keywords that are strongly related to the clinical progress note categories.

Motivation & Objective

  • To develop interpretable deep learning models for classifying de-identified clinical progress notes into 12 medical categories.
  • To investigate how attention mechanisms in deep learning models can highlight key words driving classification decisions.
  • To compare different embedding strategies—BERT-based token embeddings, word embeddings, and one-hot encoding—on classification and keyword extraction performance.
  • To evaluate the effectiveness of attention-based models in identifying clinically relevant keywords across diverse medical specialties.
  • To enhance model interpretability by visualizing high-attention words and analyzing their frequency and relevance per category.

Proposed method

  • Fine-tuned BERT with an additional self-attention layer to improve classification performance and interpretability.
  • Trained three distinct models: fine-tuned BERT with attention (FT-BERT+Att), pre-trained BERT with attention and BiLSTM (PT-BERT+Att+BiLSTM), and one-hot encoded embeddings with attention and BiLSTM (OE+Att+BiLSTM).
  • Used attention weights to identify and highlight important words in input sentences, enabling visualization of model reasoning.
  • Extracted top frequent keywords per category by aggregating high-attention words across correctly classified examples after removing stop words.
  • Evaluated model performance using classification accuracy and analyzed keyword relevance through manual inspection and overlap analysis.
  • Applied attention thresholding and stop-word filtering to refine keyword extraction and reduce noise from low-signal terms.

Experimental results

Research questions

  • RQ1Can attention-based deep learning models improve the classification accuracy of clinical progress notes compared to standard fine-tuned BERT?
  • RQ2To what extent can attention mechanisms identify clinically relevant keywords that align with the true category of a progress note?
  • RQ3How do different embedding strategies—token-level (BERT), word-level, and one-hot—impact the quality and relevance of extracted keywords?
  • RQ4Does the integration of attention layers enhance model interpretability by highlighting meaningful, contextually relevant terms in clinical text?
  • RQ5How consistent are the extracted keywords across multiple models, and what does this imply about the reliability of attention-based interpretation?

Key findings

  • The FT-BERT+Att model achieved the highest classification accuracy of 97.6%, outperforming the baseline fine-tuned BERT model.
  • The attention mechanism successfully highlighted clinically relevant keywords such as 'breast', 'carcinoma', and 'biopsy' in the Breast Care category, with strong overlap across models.
  • For most categories, the FT-BERT+Att and PT-BERT+Att+BiLSTM models identified 1–3 highly relevant keywords, while the OE+Att+BiLSTM model performed poorly, especially in categories like Bariatrics (accuracy 33%) and Pain Management.
  • The one-hot embedding model frequently misidentified common words like 'old' as high-attention keywords due to lack of semantic understanding, indicating limitations in capturing contextual meaning.
  • Keyword overlap between BERT-based models was significantly higher than with the one-hot model, suggesting that contextual embeddings are essential for meaningful attention-based interpretation.
  • After applying stop-word filtering and attention thresholding, the one-hot model failed to extract ten relevant keywords for some categories, further highlighting its instability in keyword extraction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.