Skip to main content
QUICK REVIEW

[Paper Review] SPeC: A Soft Prompt-Based Calibration on Performance Variability of Large Language Model in Clinical Notes Summarization

Yu-Neng Chuang, Ruixiang Tang|arXiv (Cornell University)|Mar 23, 2023
Topic ModelingComputer Science4 citations
TL;DR

This paper proposes SPeC, a model-agnostic soft prompt-based calibration framework that reduces performance variance in large language model (LLM)-based clinical note summarization while preserving prompt-based performance gains. By learningable, in-distribution soft prompts that interact with discrete prompts in the embedding space, SPeC reduces output variance by up to 43.1% on Flan-T5, enabling more consistent and reliable medical summarization without requiring gold-standard references during training.

ABSTRACT

Electronic health records (EHRs) store an extensive array of patient information, encompassing medical histories, diagnoses, treatments, and test outcomes. These records are crucial for enabling healthcare providers to make well-informed decisions regarding patient care. Summarizing clinical notes further assists healthcare professionals in pinpointing potential health risks and making better-informed decisions. This process contributes to reducing errors and enhancing patient outcomes by ensuring providers have access to the most pertinent and current patient data. Recent research has shown that incorporating prompts with large language models (LLMs) substantially boosts the efficacy of summarization tasks. However, we show that this approach also leads to increased output variance, resulting in notably divergent outputs even when prompts share similar meanings. To tackle this challenge, we introduce a model-agnostic Soft Prompt-Based Calibration (SPeC) pipeline that employs soft prompts to diminish variance while preserving the advantages of prompt-based summarization. Experimental findings on multiple clinical note tasks and LLMs indicate that our method not only bolsters performance but also effectively curbs variance for various LLMs, providing a more uniform and dependable solution for summarizing vital medical information.

Motivation & Objective

  • Address the high performance variance in LLM-generated summaries when using manually engineered instruction prompts for clinical note summarization.
  • Overcome the instability caused by minor prompt variations that lead to significantly different summarization outputs.
  • Develop a model-agnostic calibration method that maintains the benefits of prompt-based summarization while improving consistency across different LLMs.
  • Enable non-NLP experts to reliably use LLMs for clinical summarization by minimizing sensitivity to prompt engineering choices.
  • Ensure the method is zero-shot and does not require gold-standard summaries during training, enhancing practical usability in healthcare settings.

Proposed method

  • Introduce a soft prompt encoder that learnsable parameters interact with discrete instruction prompts in the token embedding space.
  • Use in-distribution soft prompt tokens (from the LLM’s vocabulary) instead of out-of-distribution tokens to improve stability and performance.
  • Train the soft prompt encoder in a zero-shot manner, without requiring ground-truth summaries during optimization.
  • Calibrate LLM outputs by fine-tuning soft prompt parameters to minimize variance while preserving mean performance on clinical summarization tasks.
  • Apply the SPeC framework across multiple LLMs and clinical note datasets, including radiology reports from MIMIC-CXR.
  • Evaluate performance using ROUGE metrics (ROUGE-1, ROUGE-2, ROUGE-L) to measure both mean performance and output variance reduction.

Experimental results

Research questions

  • RQ1To what extent does soft prompt-based calibration reduce performance variance in LLM-generated clinical note summaries compared to standard discrete prompts?
  • RQ2How does the choice of soft prompt token distribution (in-distribution vs. out-of-distribution) affect summarization performance and variance reduction?
  • RQ3Can a zero-shot, model-agnostic soft prompt calibration framework maintain high summarization quality without requiring gold-standard summaries during training?
  • RQ4Does SPeC improve consistency across different LLMs while preserving or enhancing mean performance on clinical note summarization tasks?
  • RQ5How effective is SPeC in reducing variance on real-world clinical datasets like MIMIC-CXR, particularly for standardized reports such as radiology reports?

Key findings

  • SPeC reduces output variance by up to 43.1% on the Flan-T5 model when using in-distribution soft prompt tokens, significantly improving consistency.
  • The use of in-distribution soft prompt tokens leads to a 38.2% reduction in standard deviation for ROUGE-1, 38.7% for ROUGE-2, and 43.1% for ROUGE-L, outperforming out-of-distribution tokens.
  • SPeC maintains high mean performance (e.g., ROUGE-L mean of 0.4973) while drastically reducing variance (standard deviation reduced from 0.0079 to 0.0045).
  • Out-of-distribution soft prompts still reduce variance by 19.7% to 22.5%, but performance is consistently lower than with in-distribution tokens.
  • The framework is effective across multiple LLMs and clinical summarization tasks, demonstrating generalizability and robustness.
  • SPeC enables reliable, consistent summarization without requiring gold-standard summaries during training, making it practical for real-world healthcare deployment.

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.