{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T04:12:20Z","timestamp":1787026340141,"version":"build-2736575974"},"reference-count":96,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,5,30]],"date-time":"2025-05-30T00:00:00Z","timestamp":1748563200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Digit. Health"],"abstract":"<jats:p>\n                    Clinical letters contain sensitive information, limiting their use in model training, medical research, and education. This study aims to generate reliable, diverse, and de-identified synthetic clinical letters to support these tasks. We investigated multiple pre-trained language models for text masking and generation, focusing on Bio_ClinicalBERT, and applied different masking strategies. Evaluation included qualitative and quantitative assessments, downstream named entity recognition (NER) tasks, and clinically focused evaluations using BioGPT and GPT-3.5-turbo. The experiments show: (1) encoder-only models perform better than encoder\u2013decoder models; (2) models trained on general corpora perform comparably to clinical-domain models if clinical entities are preserved; (3) preserving clinical entities and document structure aligns with the task objectives; (4) Masking strategies have a noticeable impact on the quality of synthetic clinical letters: masking stopwords has a positive impact, while masking nouns or verbs has a negative effect; (5) The BERTScore should be the primary quantitative evaluation metric, with other metrics serving as supplementary references; (6) Contextual information has only a limited effect on the models' understanding, suggesting that synthetic letters can effectively substitute real ones in downstream NER tasks; (7) Although the model occasionally generates hallucinated content, it appears to have little effect on overall clinical performance. Unlike previous research, which primarily focuses on reconstructing original letters by training language models, this paper provides a foundational framework for generating diverse, de-identified clinical letters. It offers a direction for utilizing the model to process real-world clinical letters, thereby helping to expand datasets in the clinical domain. Our codes and trained models are available at\n                    <jats:ext-link>https:\/\/github.com\/HECTA-UoM\/Synthetic4Health<\/jats:ext-link>\n                    .\n                  <\/jats:p>","DOI":"10.3389\/fdgth.2025.1497130","type":"journal-article","created":{"date-parts":[[2025,5,30]],"date-time":"2025-05-30T01:47:23Z","timestamp":1748569643000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Synthetic4Health: generating annotated synthetic clinical letters"],"prefix":"10.3389","volume":"7","author":[{"given":"Libo","family":"Ren","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Samuel","family":"Belkadi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lifeng","family":"Han","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Warren","family":"Del-Pinto","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Goran","family":"Nenadic","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,5,30]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1136\/bmj.m24","article-title":"Writing outpatient letters to patients","volume":"368","author":"Rayner","year":"2020","journal-title":"BMJ"},{"key":"B2","doi-asserted-by":"publisher","first-page":"188","DOI":"10.1007\/s13312-021-2144-3","article-title":"Clinical case letter","volume":"58","author":"Tarur","year":"2021","journal-title":"Indian Pediatr"},{"key":"B3","doi-asserted-by":"publisher","first-page":"5","DOI":"10.1186\/s12874-016-0169-4","article-title":"Protecting patient privacy when sharing patient-level data from clinical trials","volume":"16","author":"Tucker","year":"2016","journal-title":"BMC Med Res Methodol"},{"key":"B4","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1186\/s40537-017-0110-7","article-title":"Big healthcare data: preserving security and privacy","volume":"5","author":"Abouelmehdi","year":"2018","journal-title":"J Big Data"},{"key":"B5","doi-asserted-by":"publisher","first-page":"e17984","DOI":"10.2196\/17984","article-title":"Clinical text data in machine learning: systematic review","volume":"8","author":"Spasic","year":"2020","journal-title":"JMIR Med Inform"},{"key":"B6","doi-asserted-by":"publisher","first-page":"e215","DOI":"10.1161\/01.cir.101.23.e215","article-title":"Physiobank, physiotoolkit, and physionet: components of a new research resource for complex physiologic signals","volume":"101","author":"Goldberger","year":"2000","journal-title":"Circulation"},{"key":"B7","article-title":"Mimic-iv (2024)","author":"Johnson","year":""},{"key":"B8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/s41597-022-01899-x","article-title":"MIMIC-IV, a freely accessible electronic health record dataset","volume":"10","author":"Johnson","year":"2023","journal-title":"Sci Data"},{"key":"B9","article-title":"DBMI data portal (2023)","year":""},{"key":"B10","doi-asserted-by":"publisher","first-page":"e32903","DOI":"10.2196\/32903","article-title":"Strategies to address the lack of labeled data for supervised machine learning training with electronic health records: case study for the extraction of symptoms from clinical notes","volume":"10","author":"Humbert-Droz","year":"2022","journal-title":"JMIR Med Inform"},{"key":"B11","article-title":"Exploring transformer text generation for medical dataset augmentation","author":"Amin-Nejad","year":""},{"key":"B12","doi-asserted-by":"publisher","first-page":"51","DOI":"10.1055\/s-0038-1634209","article-title":"Text generation in clinical medicine: a review","volume":"42","author":"H\u00fcske-Kraus","year":"2003","journal-title":"Methods Inf Med"},{"key":"B13","article-title":"Does synthetic data generation of LLMs help clinical text mining?","author":"Tang","year":""},{"key":"B14","doi-asserted-by":"publisher","first-page":"332","DOI":"10.1093\/eurheartj\/ehad838","article-title":"Artificial intelligence: revolutionizing cardiology with large language models","volume":"45","author":"Boonstra","year":"2024","journal-title":"Eur Heart J"},{"key":"B15","doi-asserted-by":"publisher","first-page":"544","DOI":"10.1136\/amiajnl-2011-000464","article-title":"Natural language processing: an introduction","volume":"18","author":"Nadkarni","year":"2011","journal-title":"J Am Med Inform Assoc"},{"key":"B16","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-319-68468-0","volume-title":"Sentiment analysis in the bio-medical domain","author":"Satapathy","year":"2017"},{"key":"B17","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/W18-6504","article-title":"Automated learning of templates for data-to-text generation: comparing rule-based, statistical and neural methods","author":"van der Lee","year":""},{"key":"B18","doi-asserted-by":"publisher","first-page":"79","DOI":"10.5555\/92858.92860","article-title":"A statistical approach to machine translation","volume":"16","author":"Brown","year":"1990","journal-title":"Comput Linguist"},{"key":"B19","doi-asserted-by":"publisher","first-page":"1716","DOI":"10.3390\/electronics12071716","article-title":"Machine translation systems based on classical-statistical-deep-learning approaches","volume":"12","author":"Sharma","year":"2023","journal-title":"Electronics"},{"key":"B20","doi-asserted-by":"publisher","first-page":"361","DOI":"10.1016\/S0959-440X(96)80056-X","article-title":"Hidden Markov models","volume":"6","author":"Eddy","year":"1996","journal-title":"Curr Opin Struct Biol"},{"key":"B21","doi-asserted-by":"crossref","DOI":"10.1109\/ICASSP.1998.679698","article-title":"Text-to-visual speech synthesis based on parameter generation from HMM","author":"Masuko","year":""},{"key":"B22","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1186\/1471-2105-9-207","article-title":"Extraction of semantic biomedical relations from text using conditional random fields","volume":"9","author":"Bundschus","year":"2008","journal-title":"BMC Bioinf"},{"key":"B23","doi-asserted-by":"publisher","first-page":"267","DOI":"10.1561\/2200000013","article-title":"An introduction to conditional random fields","volume":"4","author":"Sutton","year":"2012","journal-title":"Found Trends\u00ae Mach Learn"},{"key":"B24","doi-asserted-by":"publisher","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput"},{"key":"B25","doi-asserted-by":"publisher","first-page":"37","DOI":"10.1007\/978-3-642-24797-2_4","article-title":"Long short-term memory","volume":"385","author":"Graves","year":"2012","journal-title":"Superv Seq Label Recurr Neural Netw"},{"key":"B26","article-title":"Context based text-generation using LSTM networks","author":"Santhanam","year":""},{"key":"B27","doi-asserted-by":"publisher","first-page":"13","DOI":"10.5555\/944919.944966","article-title":"A neural probabilistic language model","volume":"3","author":"Bengio","year":"2000","journal-title":"Adv Neural Inf Process Syst"},{"key":"B28","doi-asserted-by":"publisher","first-page":"37979","DOI":"10.1007\/s11042-023-17007-z","article-title":"A detailed review on word embedding techniques with emphasis on word2vec","volume":"83","author":"Johnson","year":"2024","journal-title":"Multimed Tools Appl"},{"key":"B29","article-title":"Efficient estimation of word representations in vector space","author":"Mikolov","year":""},{"key":"B30","doi-asserted-by":"publisher","first-page":"3111","DOI":"10.5555\/2999792.2999959","article-title":"Distributed representations of words and phrases and their compositionality","volume":"26","author":"Mikolov","year":"2013","journal-title":"Adv Neural Inf Process Syst"},{"key":"B31","doi-asserted-by":"crossref","DOI":"10.1109\/BigData.2015.7364114","article-title":"Using Word2Vec to process big text data","author":"Ma","year":""},{"key":"B32","doi-asserted-by":"publisher","first-page":"743","DOI":"10.1613\/jair.1.11259","article-title":"From word to sense embeddings: a survey on vector representations of meaning","volume":"63","author":"Camacho-Collados","year":"2018","journal-title":"J Artif Intell Res"},{"key":"B33","doi-asserted-by":"crossref","DOI":"10.1609\/aaai.v34i05.6510","article-title":"Semantics-aware bert for language understanding","author":"Zhang","year":""},{"key":"B34","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3649449","article-title":"Pre-trained language models for text generation: a survey","volume":"56","author":"Li","year":"2024","journal-title":"ACM Comput Surv"},{"key":"B35","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2022.deelio-1.10","article-title":"What makes good in-context examples for GPT-3?","author":"Liu","year":""},{"key":"B36","doi-asserted-by":"crossref","DOI":"10.3115\/992628.992709","article-title":"Message understanding conference-6: a brief history","author":"Grishman","year":""},{"key":"B37","doi-asserted-by":"publisher","first-page":"8319","DOI":"10.3390\/app11188319","article-title":"A survey on recent named entity recognition and relationship extraction techniques on clinical texts","volume":"11","author":"Bose","year":"2021","journal-title":"Appl Sci"},{"key":"B38","doi-asserted-by":"crossref","DOI":"10.1109\/BigData.2016.7840814","article-title":"Clinical named entity recognition: challenges and opportunities","author":"Kundeti","year":""},{"key":"B39","doi-asserted-by":"publisher","first-page":"2493","DOI":"10.5555\/1953048.2078186","article-title":"Natural language processing (almost) from scratch","volume":"12","author":"Collobert","year":"2011","journal-title":"J Mach Learn Res"},{"key":"B40","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2020.louhi-1.1","article-title":"The impact of de-identification on downstream named entity recognition in clinical text","author":"Berg","year":""},{"key":"B41","doi-asserted-by":"crossref","DOI":"10.5220\/0010318705920599","article-title":"De-identification of clinical text for secondary use: research issues","author":"Berg","year":""},{"key":"B42","doi-asserted-by":"crossref","first-page":"697","DOI":"10.1007\/978-3-319-23633-9_26","article-title":"De-identification of unstructured clinical data for patient privacy protection","volume-title":"Medical Data Privacy Handbook","author":"Meystre","year":"2015"},{"key":"B43","doi-asserted-by":"publisher","first-page":"596","DOI":"10.1093\/jamia\/ocw156","article-title":"De-identification of patient notes with recurrent neural networks","volume":"24","author":"Dernoncourt","year":"2017","journal-title":"J Am Med Inform Assoc"},{"key":"B44","doi-asserted-by":"publisher","first-page":"102845","DOI":"10.1016\/j.artmed.2024.102845","article-title":"De-identification of clinical free text using natural language processing: a systematic review of current approaches","volume":"151","author":"Kova\u010devi\u0107","year":"2024","journal-title":"Artif Intell Med"},{"key":"B45","doi-asserted-by":"publisher","first-page":"57","DOI":"10.1038\/s41746-020-0258-y","article-title":"Protected health information filter (Philter): accurately and securely de-identifying free-text clinical notes","volume":"3","author":"Norgeot","year":"2020","journal-title":"NPJ Digit Med"},{"key":"B46","doi-asserted-by":"publisher","first-page":"142","DOI":"10.1016\/j.jbi.2014.01.011","article-title":"Text de-identification for privacy protection: a study of its impact on clinical text information content","volume":"50","author":"Meystre","year":"2014","journal-title":"J Biomed Inform"},{"key":"B47","doi-asserted-by":"publisher","first-page":"65","DOI":"10.1613\/jair.5477","article-title":"Survey of the state of the art in natural language generation: core tasks, applications and evaluation","volume":"61","author":"Gatt","year":"2018","journal-title":"J Artif Intell Res"},{"key":"B48","doi-asserted-by":"publisher","first-page":"473","DOI":"10.1136\/jamia.1997.0040473","article-title":"Natural language generation in health care","volume":"4","author":"Cawsey","year":"1997","journal-title":"J Am Med Inform Assoc"},{"key":"B49","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-7091-2670-7_14","article-title":"Authoring and generating health-education documents that are tailored to the needs of the individual patient","author":"Hirst","year":""},{"key":"B50","doi-asserted-by":"crossref","DOI":"10.3115\/974557.974598","article-title":"Language generation for multimedia healthcare briefings","author":"McKeown","year":""},{"key":"B51","doi-asserted-by":"publisher","first-page":"4","DOI":"10.1016\/j.tacc.2021.02.007","article-title":"Natural language processing in medicine: a review","volume":"38","author":"Locke","year":"2021","journal-title":"Trends Anaesth Crit Care"},{"key":"B52","doi-asserted-by":"publisher","first-page":"bbac409","DOI":"10.1093\/bib\/bbac409","article-title":"BioGPT: generative pre-trained transformer for biomedical text generation and mining","volume":"23","author":"Luo","year":"2022","journal-title":"Brief Bioinformatics"},{"key":"B53","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-031-16452-1_58","article-title":"Transq: transformer-based semantic query for medical report generation","author":"Kong","year":""},{"key":"B54","doi-asserted-by":"publisher","first-page":"63","DOI":"10.1038\/s41746-018-0070-0","article-title":"Natural language generation for electronic health records","volume":"1","author":"Lee","year":"2018","journal-title":"NPJ Digit Med"},{"key":"B55","doi-asserted-by":"crossref","DOI":"10.15439\/2020F20","article-title":"Overview of the transformer-based models for NLP tasks","author":"Gillioz","year":""},{"key":"B56","article-title":"Attention is all you need","author":"Vaswani","year":""},{"key":"B57","doi-asserted-by":"crossref","DOI":"10.3115\/v1\/D14-1179","article-title":"Learning phrase representations using RNN encoder\u2013decoder for statistical machine translation","author":"Cho","year":""},{"key":"B58","article-title":"BERT: pre-training of deep bidirectional transformers for language understanding","author":"Devlin","year":""},{"key":"B59","article-title":"Publicly available clinical bert embeddings","author":"Alsentzer","year":""},{"key":"B60","doi-asserted-by":"publisher","first-page":"2633","DOI":"10.1038\/s41591-023-02552-9","article-title":"Optimized glycemic control of type 2 diabetes with reinforcement learning: a proof-of-concept trial","volume":"29","author":"Wang","year":"2023","journal-title":"Nat Med"},{"key":"B61","doi-asserted-by":"publisher","first-page":"5753","DOI":"10.5555\/3454287.3454804","article-title":"Xlnet: generalized autoregressive pretraining for language understanding","volume":"32","author":"Yang","year":"2019","journal-title":"Adv Neural Inf Process Syst"},{"key":"B62","article-title":"A robustly optimized BERT pre-training approach with post-training","author":"Zhuang","year":""},{"key":"B63","doi-asserted-by":"publisher","first-page":"5789","DOI":"10.1007\/s10462-021-09958-2","article-title":"Transformer models for text-based emotion detection: a review of bert-based approaches","volume":"54","author":"Acheampong","year":"2021","journal-title":"Artif Intell Rev"},{"key":"B64","article-title":"Longformer: the long-document transformer","author":"Beltagy","year":""},{"key":"B65","doi-asserted-by":"publisher","first-page":"340","DOI":"10.1093\/jamia\/ocac225","article-title":"A comparative study of pretrained language models for long clinical text","volume":"30","author":"Li","year":"2023","journal-title":"J Am Med Inform Assoc"},{"key":"B66","article-title":"Language models are few-shot learners","author":"Brown","year":""},{"key":"B67","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-031-55865-8_10","article-title":"Large language model and text generation","author":"Wu","year":""},{"key":"B68","article-title":"Llama3 model card (2023)","year":""},{"key":"B69","article-title":"Compare Llama 3 70b instruct to GPT-3.5 Turbo (2024)","year":""},{"key":"B70","first-page":"1","article-title":"Exploring the limits of transfer learning with a unified text-to-text transformer","volume":"21","author":"Raffel","year":"2020","journal-title":"J Mach Learn Res"},{"key":"B71","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-030-90072-4_23","article-title":"Compare encoder\u2013decoder, encoder-only, and decoder-only architectures for text generation on low-resource datasets","author":"Cai","year":""},{"key":"B72","doi-asserted-by":"publisher","first-page":"108231","DOI":"10.1016\/j.engappai.2024.108231","article-title":"Neural natural language processing for long texts: a survey on classification and summarization","volume":"133","author":"Tsirmpas","year":"2024","journal-title":"Eng Appl Artif Intell"},{"key":"B73","article-title":"SciFive: a text-to-text transformer model for biomedical literature","author":"Phan","year":""},{"key":"B74","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2022.findings-emnlp.398","article-title":"ClinicalT5: a generative language model for clinical text","author":"Lu","year":""},{"key":"B75","article-title":"Exploring transformer text generation for medical dataset augmentation","author":"Amin-Nejad","year":""},{"key":"B76","article-title":"Generating medical instructions with conditional transformer","author":"Belkadi","year":""},{"key":"B77","article-title":"Automated generation of hospital discharge summaries using clinical guidelines and large language models","author":"Ellershaw","year":""},{"key":"B78","article-title":"Exploration of masked and causal language modelling for text generation","author":"Micheletti","year":""},{"key":"B79","doi-asserted-by":"publisher","DOI":"10.13026\/1n74-ne17.","article-title":"MIMIC-IV-Note: deidentified free-text clinical notes","author":"Johnson","year":"2023","journal-title":"PhysioNet"},{"key":"B80","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2021.naacl-main.407","article-title":"Revisiting simple neural probabilistic language models","author":"Sun","year":""},{"key":"B81","article-title":"Snomed ct browser (2024)","year":""},{"key":"B82","doi-asserted-by":"crossref","DOI":"10.1109\/CVPR52688.2022.01082","article-title":"Not all tokens are equal: human-centric visual analysis via token clustering transformer","author":"Zeng","year":""},{"key":"B83","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2022.acl-long.262","article-title":"Token dropping for efficient bert pretraining","author":"Hou","year":""},{"key":"B84","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2020.acl-demos.14","article-title":"Stanza: a python natural language processing toolkit for many human languages","author":"Qi","year":""},{"key":"B85","doi-asserted-by":"publisher","first-page":"1892","DOI":"10.1093\/jamia\/ocab090","article-title":"Biomedical and clinical English model packages for the Stanza Python NLP library","volume":"28","author":"Zhang","year":"2021","journal-title":"J Am Med Inform Assoc"},{"key":"B86","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/sdata.2016.35","article-title":"MIMIC-III, a freely accessible critical care database","volume":"3","author":"Johnson","year":"2016","journal-title":"Sci Data"},{"key":"B87","doi-asserted-by":"publisher","DOI":"10.13026\/rj8x-v335.","article-title":"Clinical-T5: large language models built using MIMIC clinical text","author":"Eric","year":"2023","journal-title":"PhysioNet"},{"key":"B88","doi-asserted-by":"publisher","first-page":"e215","DOI":"10.1161\/01.CIR.101.23.e215.","article-title":"Physiobank, physiotoolkit, and physionet","volume":"101","author":"Goldberger","year":"2000","journal-title":"Circulation"},{"key":"B89","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-031-25891-6_35","article-title":"Role of punctuation in semantic mapping between brain and transformer models","author":"Lamprou","year":""},{"key":"B90","article-title":"METEOR: an automatic metric for MT evaluation with improved correlation with human judgments","author":"Banerjee","year":""},{"key":"B91","article-title":"The principles of readability","author":"DuBay","year":""},{"key":"B92","article-title":"GPT-3.5-Turbo (2023)","year":""},{"key":"B93","article-title":"Textblob: simplified text processing (2024)","author":"Loria","year":""},{"key":"B94","article-title":"Deepseekmath: pushing the limits of mathematical reasoning in open language models","author":"Shao","year":""},{"key":"B95","doi-asserted-by":"publisher","DOI":"10.13026\/wwfd-2t39","article-title":"Me-llama: foundation large language models for medical applications","author":"Xie","year":"2024","journal-title":"PhysioNet"},{"key":"B96","first-page":"60","article-title":"Beyond reconstruction: generating privacy-preserving clinical letters","author":"Ren","year":"2025","journal-title":"Proceedings of the Sixth Workshop on Privacy in Natural Language Processing"}],"container-title":["Frontiers in Digital Health"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdgth.2025.1497130\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,5,30]],"date-time":"2025-05-30T01:47:26Z","timestamp":1748569646000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdgth.2025.1497130\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,30]]},"references-count":96,"alternative-id":["10.3389\/fdgth.2025.1497130"],"URL":"https:\/\/doi.org\/10.3389\/fdgth.2025.1497130","relation":{},"ISSN":["2673-253X"],"issn-type":[{"value":"2673-253X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,30]]},"article-number":"1497130"}}