Generating Diverse and Verified Synthetic Clinical Notes with Labels by Construction
Matthias Lehmann, Madeleine Werthebach
Key points
From the paper's conclusion- Our code is available at https://github.com/Matt00n/phi_discharge_letter_generator.
Abstract
Under strict privacy regulations in the clinical domain, de-identification is necessary to enable the use of clinical data such as for natural language processing. However, we currently lack sophisticated ways to tell which de-identification models actually are suitable. Specifically, we need benchmarks that are challenging, diverse, and clinically plausible, all while ensuring label correctness. To this end, we present SPARCLING, an LLM-based pipeline to generate synthetic discharge letters with character-exact PHI span annotations. Our pipeline combines structured attribute sampling, template generation, and red teaming to obtain diverse PHI-labeled discharge letters. In our experiments, we demonstrate this superior content diversity over existing public datasets. Further, we show SPARCLING's downstream utility as a benchmark to uncover failure modes of de-identifiers in the German clinical domain. Finally, our experiments show that training on our synthetic data can yield more capable de-identifiers than training on the scarce public data alone. Our code is available at https://github.com/Matt00n/phi_discharge_letter_generator.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- EdgeDeID: A 0.6B Clinical De-identifier Trained Without Real Patient DataarXiv · 2026
- Clinical text de-identification with locally deployed open-weight large language models: a real-world evaluation of discharge notesFrontiers in Digital Health · 2026
- Conditional synthesis of training data for clinical NLP tasks in Spanish and EnglishBMC Medical Informatics and Decision Making · 2026
- Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identificationarXiv · 2026
- A local language model layered with rule-based and neural detectors for clinical text de-identification: an open-source toolkit and evaluationarXiv · 2026
- A locally deployable agentic framework for clinical data deidentificationmedRxiv · 2026