Introduction
In clinical environments, the automated transcription of doctor-patient consultations into Electronic Medical Records (EMRs) is a high-stakes task. While Automatic Speech Recognition (ASR) systems facilitate this process, they frequently introduce errors—such as substituting "Tylenol" with "tie-and-all" or "wheezy" with "weesy." These transcription artifacts can significantly degrade the performance of downstream summarization models, leading to hallucinations of incorrect diagnoses or the omission of critical medications.
A primary obstacle in developing noise-robust models is the scarcity of medical audio data. Strict privacy (HIPAA) and ethical constraints make it difficult to obtain large-scale datasets of audio recordings paired with human-verified transcripts and summaries. Furthermore, standard data augmentation techniques, such as random word deletion, fail to capture the specific phonetic and linguistic patterns characteristic of actual ASR failures.
Methodology: The MEDSAGE Framework
To address these challenges, we propose MEDSAGE, a pipeline designed to transform clean text into realistic ASR-style "noisy" text using Large Language Models (LLMs). The framework consists of three primary stages:
- ASR Error Profiling: The system first analyzes a small seed sample of real ASR data to characterize the error profile of specific models (e.g., Whisper or Wav2vec2). This involves measuring the Word Error Rate (WER) and the distribution of error types: insertions, deletions, and substitutions.
- Controlled Generation via Tagging: Rather than relying on generic prompts, MEDSAGE employs a specific tagging syntax to guide the LLM. For instance,
{word}denotes a phonetic substitution, while(INSERTION)indicates where a word should be added. - In-Context Learning (ICL): The LLM (e.g., Llama-3) is provided with clean-noisy pairs as examples. This allows the model to learn the qualitative nature of errors, such as phonetic confusion, while the tagging system maintains quantitative control over the noise density.
The resulting synthetic noisy dialogues are used to augment training sets for fine-tuning summarization models using Parameter-Efficient Fine-Tuning (PEFT) techniques like LoRA.
Experimental Setup
The framework was evaluated using two primary datasets:
- Primock57: A dataset of 57 enacted doctor-patient dialogues with audio and human transcripts, used for initial profiling and testing.
- NoteChat-1000: A collection of 1,000 synthetic dialogues that served as the "clean" base for generating augmented training data.
Key Results and Insights
Our experiments revealed that training summarizers to be "noise-aware" is significantly more effective than attempting to "denoise" transcripts prior to summarization. Smaller LLMs (8B parameters) often introduce dangerous hallucinations when attempting to clean text. In contrast, MEDSAGE-augmented training improved the F1 score of medical entity extraction by up to 16.4% for Mistral-7B and 14.8% for Llama-3-8B on real ASR transcripts.
Statistical analysis via similarity matrices confirms that the synthetic noise generated by MEDSAGE closely mirrors the patterns produced by actual ASR models like Whisper-Tiny and Wav2vec2. This phonetic realism is crucial; simple heuristic noise fails to prepare models for the specific "sounds-like" errors encountered in real-world speech-to-text applications.
Conclusion and Future Work
MEDSAGE demonstrates that LLMs can effectively simulate complex ASR error patterns, providing a scalable solution to the data scarcity problem in medical dialogue summarization. While the current approach requires a small "seed" of real data and focuses on English word-level errors, future research will explore simulating speaker diarization errors—where the system confuses the doctor and patient—and extending the framework to other languages and dialects.
Summary updated