{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,28]],"date-time":"2026-08-28T11:17:59Z","timestamp":1787915879791,"version":"build-2784847793"},"reference-count":35,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2021,5,20]],"date-time":"2021-05-20T00:00:00Z","timestamp":1621468800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Future Internet"],"abstract":"<jats:p>A major hurdle in the development of natural language processing (NLP) methods for Electronic Health Records (EHRs) is the lack of large, annotated datasets. Privacy concerns prevent the distribution of EHRs, and the annotation of data is known to be costly and cumbersome. Synthetic data presents a promising solution to the privacy concern, if synthetic data has comparable utility to real data and if it preserves the privacy of patients. However, the generation of synthetic text alone is not useful for NLP because of the lack of annotations. In this work, we propose the use of neural language models (LSTM and GPT-2) for generating artificial EHR text jointly with annotations for named-entity recognition. Our experiments show that artificial documents can be used to train a supervised named-entity recognition model for de-identification, which outperforms a state-of-the-art rule-based baseline. Moreover, we show that combining real data with synthetic data improves the recall of the method, without manual annotation effort. We conduct a user study to gain insights on the privacy of artificial text. We highlight privacy risks associated with language models to inform future research on privacy-preserving automated text generation and metrics for evaluating privacy-preservation during text generation.<\/jats:p>","DOI":"10.3390\/fi13050136","type":"journal-article","created":{"date-parts":[[2021,5,20]],"date-time":"2021-05-20T11:45:57Z","timestamp":1621511157000},"page":"136","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":31,"title":["Generating Synthetic Training Data for Supervised De-Identification of Electronic Health Records"],"prefix":"10.3390","volume":"13","author":[{"given":"Claudia Alessandra","family":"Libbi","sequence":"first","affiliation":[{"name":"Faculty of EEMCS, University of Twente, PO Box 217, 7500 AE Enschede, The Netherlands"},{"name":"Nedap Healthcare, 7141 DC Groenlo, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8891-0022","authenticated-orcid":false,"given":"Jan","family":"Trienes","sequence":"additional","affiliation":[{"name":"Nedap Healthcare, 7141 DC Groenlo, The Netherlands"},{"name":"Institute for Artificial Intelligence in Medicine, University of Duisburg-Essen, 45131 Essen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dolf","family":"Trieschnigg","sequence":"additional","affiliation":[{"name":"Nedap Healthcare, 7141 DC Groenlo, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6776-3868","authenticated-orcid":false,"given":"Christin","family":"Seifert","sequence":"additional","affiliation":[{"name":"Faculty of EEMCS, University of Twente, PO Box 217, 7500 AE Enschede, The Netherlands"},{"name":"Institute for Artificial Intelligence in Medicine, University of Duisburg-Essen, 45131 Essen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,5,20]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"34","DOI":"10.1016\/j.jbi.2017.11.011","article-title":"Clinical information extraction applications: A literature review","volume":"77","author":"Wang","year":"2018","journal-title":"J. Biomed. Inform."},{"key":"ref_2","first-page":"1","article-title":"Privacy and synthetic datasets","volume":"22","author":"Bellovin","year":"2019","journal-title":"Stan. Tech. L Rev."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"e18910","DOI":"10.2196\/18910","article-title":"Reliability of supervised machine learning using synthetic data in health care: Model to preserve privacy for data sharing","volume":"8","author":"Rankin","year":"2020","journal-title":"JMIR Med. Inform."},{"key":"ref_4","unstructured":"Wang, L., Liu, J., and Liu, J. (2020). Investigating Label Bias in Beam Search for Open-ended Text Generation. arXiv."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"e23139","DOI":"10.2196\/23139","article-title":"Evaluating Identity Disclosure Risk in Fully Synthetic Health Data: Model Development and Validation","volume":"22","author":"Mosquera","year":"2020","journal-title":"J. Med. Internet Res."},{"key":"ref_6","first-page":"9","article-title":"Language models are unsupervised multitask learners","volume":"1","author":"Radford","year":"2019","journal-title":"OpenAI Blog"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Melamud, O., and Shivade, C. (2019, January 7). Towards Automatic Generation of Shareable Synthetic Clinical Notes Using Neural Language Models. Proceedings of the 2nd Clinical Natural Language Processing Workshop, Minneapolis, MN, USA.","DOI":"10.18653\/v1\/W19-1905"},{"key":"ref_8","unstructured":"Amin-Nejad, A., Ive, J., and Velupillai, S. (2020, January 11\u201316). Exploring Transformer Text Generation for Medical Dataset Augmentation. Proceedings of the 12th Language Resources and Evaluation Conference, LREC Marseille, France."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Gkoulalas-Divanis, A., and Loukides, G. (2015). De-identification of Unstructured Clinical Data for Patient Privacy Protection. Medical Data Privacy Handbook, Springer International Publishing.","DOI":"10.1007\/978-3-319-23633-9"},{"key":"ref_10","unstructured":"Trienes, J., Trieschnigg, D., Seifert, C., and Hiemstra, D. (2020, January 6\u20139). Comparing Rule-based, Feature-based and Deep Neural Methods for De-identification of Dutch Medical Records. Proceedings of the ACM WSDM 2020 Health Search and Data Mining Workshop, co-located with the 13th ACM International WSDM Conference, HSDM@WSDM 2020, Houston, TX, USA."},{"key":"ref_11","unstructured":"Lin, C.Y. (2004). ROUGE: A Package for Automatic Evaluation of Summaries. Text Summarization Branches Out, Association for Computational Linguistics."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Manning, C.D., Raghavan, P., and Sch\u00fctze, H. (2008). Introduction to Information Retrieval, Cambridge University Press.","DOI":"10.1017\/CBO9780511809071"},{"key":"ref_13","unstructured":"Liu, P.J. (2018). Learning to Write Notes in Electronic Health Records. arXiv."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Wang, Z., Ive, J., Velupillai, S., and Specia, L. (2019, January 1). Is artificial data useful for biomedical Natural Language Processing algorithms?. Proceedings of the 18th BioNLP Workshop and Shared Task, BioNLP@ACL 2019, Florence, Italy.","DOI":"10.18653\/v1\/W19-5026"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1038\/s41746-020-0267-x","article-title":"Generation and evaluation of artificial mental health records for Natural Language Processing","volume":"3","author":"Ive","year":"2020","journal-title":"NPJ Digit. Med."},{"key":"ref_16","unstructured":"De Vries, W., van Cranenburgh, A., Bisazza, A., Caselli, T., van Noord, G., and Nissim, M. (2019). BERTje: A Dutch BERT Model. arXiv."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Delobelle, P., Winters, T., and Berendt, B. (2020, January 16\u201320). RobBERT: A Dutch RoBERTa-based Language Model. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, EMNLP 2020, Online Event.","DOI":"10.18653\/v1\/2020.findings-emnlp.292"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Peng, N., Ghazvininejad, M., May, J., and Knight, K. (2018, January 26). Towards Controllable Story Generation. Proceedings of the First Workshop on Storytelling, Grenoble, France.","DOI":"10.18653\/v1\/W18-1505"},{"key":"ref_19","unstructured":"Yoon, J. (2020). End-to-End Machine Learning Frameworks for Medicine: Data Imputation, Model Interpretation and Synthetic Data Generation. [Ph.D. Thesis, UCLA]."},{"key":"ref_20","doi-asserted-by":"crossref","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":"ref_21","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4\u20139). Attention is All you Need. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Zoph, B., Yuret, D., May, J., and Knight, K. (2016, January 1\u20135). Transfer Learning for Low-Resource Neural Machine Translation. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, TX, USA.","DOI":"10.18653\/v1\/D16-1163"},{"key":"ref_23","unstructured":"Mattei, L.D., Cafagna, M., Dell\u2019Orletta, F., Nissim, M., and Guerini, M. (2020, January 1\u20133). GePpeTto Carves Italian into a Language Model. Proceedings of the Seventh Italian Conference on Computational Linguistics, CLiC-it 2020, Bologna, Italy."},{"key":"ref_24","unstructured":"Holtzman, A., Buys, J., Du, L., Forbes, M., and Choi, Y. (2020, January 26\u201330). The Curious Case of Neural Text Degeneration. Proceedings of the 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia."},{"key":"ref_25","unstructured":"Nadeem, M., He, T., Cho, K., and Glass, J. (2020, January 17\u201318). A Systematic Characterization of Sampling Algorithms for Open-ended Language Generation. Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, Online."},{"key":"ref_26","unstructured":"Welleck, S., Kulikov, I., Roller, S., Dinan, E., Cho, K., and Weston, J. (2020, January 26\u201330). Neural Text Generation With Unlikelihood Training. Proceedings of the 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Gkoulalas-Divanis, A., and Loukides, G. (2015). Challenges in Synthesizing Surrogate PHI in Narrative EMRs. Medical Data Privacy Handbook, Springer International Publishing.","DOI":"10.1007\/978-3-319-23633-9"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"De Vries, W., and Nissim, M. (2020). As Good as New. How to Successfully Recycle English GPT-2 to Make Models for Other Languages. arXiv.","DOI":"10.18653\/v1\/2021.findings-acl.74"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Smith, L.N., and Topin, N. (2018). Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates. arXiv.","DOI":"10.1117\/12.2520589"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"727","DOI":"10.1016\/j.tele.2017.08.002","article-title":"DEDUCE: A pattern matching method for automatic de-identification of Dutch medical text","volume":"35","author":"Menger","year":"2018","journal-title":"Telemat. Inform."},{"key":"ref_31","unstructured":"Choi, E., Biswal, S., Malin, B.A., Duke, J., Stewart, W.F., and Sun, J. (2017, January 18\u201319). Generating Multi-label Discrete Patient Records using Generative Adversarial Networks. Proceedings of the Machine Learning for Health Care Conference, MLHC 2017, Boston, MA, USA."},{"key":"ref_32","unstructured":"Keskar, N.S., McCann, B., Varshney, L.R., Xiong, C., and Socher, R. (2019). CTRL: A Conditional Transformer Language Model for Controllable Generation. arXiv."},{"key":"ref_33","unstructured":"Dathathri, S., Madotto, A., Lan, J., Hung, J., Frank, E., Molino, P., Yosinski, J., and Liu, R. (2020, January 26\u201330). Plug and Play Language Models: A Simple Approach to Controlled Text Generation. Proceedings of the 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia."},{"key":"ref_34","unstructured":"HIPAA (2021, May 19). Guidance Regarding Methods for De-Identification of Protected Health Information in Accordance with the Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule, Available online: https:\/\/www.hhs.gov\/hipaa\/for-professionals\/privacy\/special-topics\/de-identification\/index.html."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Hittmeir, M., Ekelhart, A., and Mayer, R. (2019, January 9\u201312). Utility and Privacy Assessments of Synthetic Data for Regression Tasks. Proceedings of the 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, CA, USA.","DOI":"10.1109\/BigData47090.2019.9005476"}],"container-title":["Future Internet"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-5903\/13\/5\/136\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:04:39Z","timestamp":1760162679000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-5903\/13\/5\/136"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,5,20]]},"references-count":35,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2021,5]]}},"alternative-id":["fi13050136"],"URL":"https:\/\/doi.org\/10.3390\/fi13050136","relation":{},"ISSN":["1999-5903"],"issn-type":[{"value":"1999-5903","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,5,20]]}}}