Leveraging Pretrained Models for Automatic Summarization of Doctor-Patient Conversations

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

Abstract

Fine-tuning pretrained models for automatically summarizing doctor-patient conversation transcripts presents many challenges: limited training data, significant domain shift, long and noisy transcripts, and high target summary variability. In this paper, we explore the feasibility of using pretrained transformer models for automatically summarizing doctor-patient conversations directly from transcripts. We show that fluent and adequate summaries can be generated with limited training data by fine-tuning BART on a specially constructed dataset. The resulting models greatly surpass the performance of an average human annotator and the quality of previous published work for the task. We evaluate multiple methods for handling long conversations, comparing them to the obvious baseline of truncating the conversation to fit the pretrained model length limit. We introduce a multistage approach that tackles the task by learning two fine-tuned models: one for summarizing conversation chunks into partial summaries, followed by one for rewriting the collection of partial summaries into a complete summary. Using a carefully chosen fine-tuning dataset, this method is shown to be effective at handling longer conversations, improving the quality of generated summaries.

Introduction

Physicians spend a significant portion of their workday on clinical documentation, a primary driver of professional burnout. While automatic summarization of doctor-patient conversations could alleviate this burden, the task presents unique challenges. Medical dialogue is inherently noisy and informal, differing significantly from the web-based text used to pretrain models like BART. Furthermore, transcripts often exceed the standard token limits of conventional transformers, and the resulting summaries—specifically the History of Present Illness (HPI)—require extreme factual precision regarding dosages, symptoms, and timelines.

Proposed Methodology

To address the limitations of standard transformer models on long medical dialogues, we compared a single-stage baseline against a novel multistage approach.

Single-Stage Baseline

In the single-stage approach, the transcript is fed directly into a fine-tuned BART-Large model. If the transcript exceeds the 1024-token limit, it is truncated, potentially losing critical medical information mentioned late in the encounter.

Multistage Chunking

To preserve information across long conversations, we developed a "multistage chunking" method. This process involves two distinct phases:

  1. Stage 1 (Chunking): The transcript is divided into overlapping segments. To maintain global context, each chunk includes a fixed "header" (the first ~128 words of the conversation) followed by a sliding "body." A model generates a partial summary for each chunk.
  2. Stage 2 (Rewriting): The partial summaries from Stage 1 are concatenated. A second model then rewrites this aggregated text into a final, cohesive, and fluent HPI summary.
The Multistage Chunking architecture: Stage 1 generates partial summaries from overlapping chunks with headers, and Stage 2 rewrites them into a final cohesive summary.

Experimental Results

We evaluated our models using a proprietary dataset of 1,342 de-identified conversations, each paired with an average of 15 reference summaries from different medical scribes. This allowed for robust "mean-of-best" evaluations.

Model Performance and Context Handling

Our results indicated that BART-Large significantly outperformed BigBird, despite BigBird's theoretical advantage in handling long contexts. The multistage chunking method proved superior to simple truncation, particularly for longer conversations where it successfully captured findings that the single-stage model missed.

Token count distributions for Single-stage (truncation), Multistage (Sentbert), and Multistage (Chunking) approaches, showing how different strategies manage conversation length.

Quantitative and Qualitative Evaluation

  • ROUGE Scores: The Multistage (Chunking) method achieved a ROUGE-1 F1 score of 0.4674 (mean-of-best), outperforming the baseline.
  • Concept Recall: Using medical concept extractors, we observed a massive improvement in the recall of medical findings for conversations exceeding 1024 tokens.
  • Human Evaluation: Domain experts rated the generated summaries ~4.9/5 for fluency and ~4.6/5 for relevancy. Notably, the models demonstrated implicit medical reasoning, correctly inferring diagnoses like "diabetes mellitus type 2" from discussions about A1c results and insulin.

Conclusion and Future Work

While the multistage approach significantly reduces hallucinations and improves recall, risks remain regarding false negatives and gender pronoun errors (the latter of which can be mitigated by prepending patient metadata). We recommend that these models be deployed as "human-in-the-loop" assistants for medical scribes rather than fully autonomous systems. Future research should focus on developing more sophisticated concept-based evaluation metrics that better capture the nuances of medical accuracy than ROUGE.

Summary updated

BibTeX
@inproceedings{zhang2021leveraging,
  author = {Longxiang Zhang and Renato Negrinho and Arindam Ghosh and Vasudevan Jagannathan and Hamid 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