Abstract
Clinical documentation is a significant burden in healthcare, yet the development of automated summarization tools is hindered by a lack of accessible doctor-patient dialogue data due to privacy constraints. This paper describes the UMASS_BioNLP team's participation in the MEDIQA-Chat 2023 shared task, focusing on generating high-quality synthetic medical conversations from clinical notes (Task-C). We propose a "Doctor-Patient Loop" framework utilizing multiple collaborative LLM agents for role-playing, fact-checking, and linguistic refinement. Our results demonstrate that specialized multi-agent systems outperform standard LLM baselines in factual accuracy and dialogue diversity, achieving a Concept-Recall of 51.23.
Introduction
The "data desert" in clinical Natural Language Processing (NLP) presents a major obstacle to training models for medical note summarization. While clinical notes are relatively abundant in electronic health records, the original conversations they summarize are rarely available due to HIPAA regulations and transcription costs. To bridge this gap, Task-C of the MEDIQA-Chat 2023 workshop challenged participants to reverse-engineer realistic doctor-patient encounters from static clinical notes.
Methods: The Doctor-Patient Loop
The UMASS_BioNLP approach moves beyond simple zero-shot prompting by implementing a multi-agent cooperation system designed to simulate the nuances of clinical encounters.
1. BioMedLM Fine-tuning
For the subtask of identifying note sections (Heading Classification), the team fine-tuned BioMedLM (a 2.7B parameter model) on a curated collection of 16 datasets spanning medical and general domains.
2. Multi-Agent Framework
To generate dialogue from notes, the system utilizes two ChatGPT instances acting as "Doctor" and "Patient." * Knowledge Injection: To ensure clinical grounding, the MedSpaCy library extracts clinical keywords (CUI codes) from the source note. The "Doctor" agent is then prompted to structure inquiries around these specific terms. * Refinement Agents: The initial draft undergoes several stages of improvement. A Hallucination Prompt agent prunes factual inconsistencies, a Polish Prompt agent adjusts the tone to be more colloquial, and a Postediting agent merges sectional dialogues into a coherent narrative. * Persona Modeling: A key innovation involved instructing the "Patient" agent to exhibit lower medical literacy. This forces the "Doctor" agent to provide clearer explanations, more accurately reflecting real-world clinical communication.
Datasets
The models were trained and evaluated using a diverse mix of datasets to ensure a robust understanding of both medical terminology and conversational structures.
Key Results
The evaluation focused on both the structural classification of notes and the quality of generated dialogues.
Heading Classification
The fine-tuned BioMedLM model significantly outperformed general-purpose models, achieving 70.5% accuracy in identifying note sections, compared to ChatGPT’s 35.5%.
Dialogue Quality (Task-C)
In the dialogue generation task, the "Ours-long" model achieved a Concept-Recall (C-R) of 51.23, notably higher than the GPT-4 baseline of 45.69. This indicates that the multi-agent loop is more effective at capturing the medical facts present in the source note. Furthermore, the model maintained a low Self-BLEU score (0.017), suggesting high linguistic diversity.
Discussion and Limitations
While the "Doctor-Patient Loop" demonstrates the potential for high-fidelity synthetic data generation, several challenges remain. Privacy compliance is a primary concern; using proprietary models like ChatGPT requires sending data to external servers, which may not meet strict HIPAA "on-premise" requirements. Future work will focus on improving the performance of local, open-source models like LED (Long Encoder-Decoder) to match the conversational nuance of larger proprietary systems while maintaining data sovereignty. Additionally, ensuring these systems are equitable for patients with diverse linguistic backgrounds or disabilities remains a critical ethical priority.
Summary updated