Leveraging Pretrained Models for Automatic Summarization of Doctor-Patient Conversations

Longxiang Zhang, Renato Negrinho, Arindam Ghosh, Vasudevan Jagannathan, Hamid Reza Hassanzadeh, Thomas Schaaf, Matthew R. Gormley

Abstract: Longxiang Zhang, Renato Negrinho, Arindam Ghosh, Vasudevan Jagannathan, Hamid Reza Hassanzadeh, Thomas Schaaf, Matthew R. Gormley. Findings of the Association for Computational Linguistics: EMNLP 2021.

2021.

Introduction

Medical documentation is a primary driver of physician burnout. While automatic summarization could alleviate this burden, doctor-patient transcripts present unique challenges for standard NLP models. This research demonstrates that fine-tuning the BART transformer model with a novel "multistage chunking" approach can effectively summarize long, noisy doctor-patient dialogues into clinical notes, specifically the History of Present Illness (HPI).

The Challenge of Medical Dialogue

Doctor-patient transcripts are notoriously difficult to process for several reasons:

  1. Length and Noise: Conversations often exceed the token limits of standard models and contain significant "chitchat" irrelevant to clinical findings.
  2. Domain Shift: Pretrained models are usually trained on news or Wikipedia, which differs vastly from informal, technical medical dialogue.
  3. Data Scarcity: High-quality, de-identified medical datasets with expert-written summaries are rare and expensive to produce.
  4. Synthesis Requirements: A clinical summary requires abstractive reasoning to synthesize information across multiple turns (e.g., determining the onset of a symptom mentioned sporadically).
Distribution of conversation token counts across different summarization strategies. The red line indicates the 1024-token limit of standard models.

Methods: Multistage Chunking with Headers

The authors compared a standard single-stage fine-tuning approach against a novel multistage approach designed to handle long dialogues without losing critical context.

  • Single-Stage: Directly fine-tuning BART-large on transcripts truncated to fit the 1024-token limit.
  • Multistage (Chunking): This approach breaks the transcript into overlapping chunks. To maintain coherence, each chunk contains a fixed "header" (the beginning of the conversation, which usually contains vital context like the reason for the visit) and a sliding "body" of the remaining dialogue.
The multistage chunking approach with persistent context headers (yellow boxes) to maintain dialogue thread across segments.

The process involves two steps: first, a model summarizes each chunk into a partial summary; second, an aggregation model rewrites these partial summaries into a single, cohesive HPI note. The researchers also tested BigBird (designed for long sequences) but found it suffered from poor fluency and repetitive "hallucinations" compared to BART.

Key Insights and Results

  • BART Outperforms Long-Context Models: Surprisingly, BART-large (with its 1024-token limit) significantly outperformed BigBird (4096 tokens). This suggests that for medical dialogue, the quality of the underlying language model and its abstractive fluency are more important than raw sequence length.
  • The "Header" Strategy: By prepending the first 128 words of the conversation to every chunk, the model maintained the necessary context to interpret later parts of the dialogue correctly.
  • Surpassing the Human Baseline: The multistage model achieved a ROUGE-1 F1 of 0.3331, outperforming the "average" human annotator. This is attributed to the model's ability to provide a consistent, "mean" representation of clinical findings compared to highly variable human notes.
  • Abstractive Reasoning: The model successfully inferred diseases like "diabetes mellitus type 2" from discussions about insulin and A1c results, even when the disease name wasn't explicitly stated.

Limitations and Future Work

Despite its success, the system occasionally "hallucinates" facts or misidentifies patient gender (incorrect in ~30% of cases due to lack of explicit markers). The authors emphasize that this system is intended as an assistant to a scribe, not a replacement. Future work will focus on integrating these models into human-in-the-loop workflows where clinicians can quickly verify and correct the output.

Summary updated

BibTeX
@inproceedings{zhang2021leveraging,
  author = {Longxiang Zhang and Renato Negrinho and Arindam Ghosh and Vasudevan Jagannathan and Hamid Reza Hassanzadeh and Thomas Schaaf and Matthew R. Gormley},
  title = {{Leveraging Pretrained Models for Automatic Summarization of Doctor-Patient Conversations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  url = {https://openreview.net/forum?id=py459W_mas},
}
Figure