Abstract
Synthesizing high-fidelity clinical notes while maintaining strict differential privacy (DP) is a significant challenge in healthcare data sharing. We present Term2Note, a framework that decomposes clinical notes into sections and conditions generation on DP-protected medical terms. By separating content from form and utilizing a multi-stage pipeline involving term extraction, perturbed embedding generation, and section-wise LLM fine-tuning, Term2Note produces synthetic notes that maintain structural integrity and clinical utility. Evaluation on MIMIC-III and MIMIC-IV datasets demonstrates that Term2Note significantly outperforms existing baselines in fidelity and downstream task performance, with licensed physicians preferring its output in over 52% of cases.
The Challenge of Private Clinical Text
In healthcare, data is the lifeblood of progress, yet it is often locked away in silos due to strict privacy regulations like HIPAA or GDPR. While sharing synthetic data is a promising workaround, clinical notes present a unique "double whammy" of difficulty:
- Generation Complexity: Clinical notes are long, unstructured, and must remain coherent over thousands of tokens.
- Domain Specificity: They are packed with specialized terminology (diagnoses, medications, procedures) that must be used accurately to be of any use to researchers.
Existing differentially private (DP) text generation methods usually fail here; they either work only on short snippets or produce "medical-sounding" gibberish that lacks the structural integrity of a real discharge summary.
Methods: The Term2Note Framework
The authors introduce Term2Note, which tackles the problem through a "divide and conquer" strategy. Instead of generating a whole note at once, the system follows a multi-stage pipeline:
- Format and Term Identification: The system uses
SECSPLIT(a rule-based segmenter) to break notes into standard categories (e.g., "History," "Medications"). It then usesTERMEXT(QuickUMLS) to extract medical terms mapped to the SNOMED CT vocabulary. - DP Clinical Term Generation: To protect the specific combination of terms a patient might have, the authors use a mechanism called DPRP*. This perturbs the embeddings of the medical terms with noise before they are fed into a term-reconstruction model (
TERMGEN). - Section-wise Note Generation: A lightweight LLM (Llama-3.2-1B or Gemma-3-1B) is fine-tuned using FastDP (an efficient DP-SGD variant). This model (
NOTEGEN) generates the actual text for each section, conditioned on the previously generated sections and the DP-protected medical terms. - DP Quality Maximiser: Because DP noise can sometimes lead to hallucinations, the authors generate multiple candidate notes and use a reference clinical LLM (Asclepius) to select the one with the lowest perplexity. Crucially, this selection happens after the DP process, ensuring no additional private information is leaked.
Datasets
The study leverages the gold standard of open-access clinical data:
- MIMIC-III: Used as the "public" dataset to train the term generation model.
- MIMIC-IV: Used as the "private" dataset to train the note generation model under DP constraints.
- SNOMED CT: Used as the underlying medical ontology for term extraction.
Key Insights
- Structure as a Privacy Shield: By separating "content" (medical terms) from "form" (the narrative text), the authors can apply different DP constraints to each, allowing for a finer privacy-utility tradeoff.
- Terms are Better than Labels: Most previous work conditioned generation on simple metadata like ICD codes. Term2Note uses a list of salient clinical terms (e.g.,
[diarrhea, Vancomycin]), providing a much richer "skeleton" for the LLM to flesh out. - The Power of Post-Processing: The "Quality Maximiser" leverages the Post-Processing Property of DP, proving that a high-quality non-private model can rank synthetic outputs without compromising the privacy of the original training data.
Key Results
The authors evaluated Term2Note on Fidelity (how much it looks like real data) and Utility (how useful it is for training other models).
- Fidelity: Term2Note achieved a KL divergence in text length as low as 0.15, vastly outperforming baselines like AUG-PE (11.96). This indicates that synthetic notes closely mirror real discharge summaries in structure.
- Utility: In a multi-label ICD coding task, models trained on Term2Note synthetic data achieved F1 scores (approx. 54.8) remarkably close to models trained on real data (57.0).
- Human Preference: In a blinded study, licensed physicians preferred Term2Note's output over other DP baselines more than 52% of the time, noting that the notes were plausible and well-organized.
Limitations and Future Work
While a major step forward, the authors acknowledge a few hurdles:
- Clinical Consistency: The model occasionally generates internal contradictions (e.g., listing a medication in one section but saying the patient is allergic to it in another).
- Section Ordering: Rule-based segmentation can occasionally miss or misorder sections if the original note's formatting is highly irregular.
- Future Directions: Future work will focus on integrating more robust fact-checking mechanisms or "reference-free" filters to further improve clinical accuracy without human intervention.
Summary updated