Large Language Models Leak Sensitive Information About Training Data

Friday 28 March 2025


A recent study has shed new light on the privacy risks associated with large language models (LLMs) that generate synthetic text. These models are designed to mimic human-like writing, but they can also be used to infer sensitive information about the data they were trained on.


Researchers have been concerned about the potential for LLMs to leak information about the training data, even when only synthetic text is released. This could allow attackers to identify individual records or determine whether a particular record was part of the training dataset.


To investigate this risk, the study used a type of attack called membership inference attacks (MIAs). These attacks aim to determine whether a given record was part of the training data or not. The researchers trained several LLMs on different datasets and then tested their ability to detect whether a canary – a specially designed piece of text that is either included or excluded from the training data – was part of the dataset.


The results showed that the attacks were surprisingly effective, even when only synthetic text was released. This suggests that the information leaked from the LLMs could be used to identify individual records or determine whether they were part of the training dataset.


One of the key findings was that the attacks worked best when the canary was included in the training data and when the target model was fine-tuned on a small amount of additional data. This suggests that the information leaked from the LLMs is not just about the original training data, but also about the fine-tuning process.


The researchers also found that the attacks were more effective when the synthetic text was generated using a 2-gram model – a type of language model that focuses on word pairs rather than individual words. This suggests that the information leaked from the LLMs is not just about individual words, but also about how they are used in combination.


The study’s findings have important implications for the use of LLMs in applications where privacy is a concern, such as data sharing or machine learning model development. The results suggest that these models may be more vulnerable to attack than previously thought, and that additional measures may need to be taken to protect sensitive information.


One potential solution is to use canaries with natural labels – canaries that are designed to look like they were generated by the same process as the real data. This could make it harder for attackers to identify the canary and determine whether it was part of the training dataset.


Cite this article: “Large Language Models Leak Sensitive Information About Training Data”, The Science Archive, 2025.


Large Language Models, Privacy Risks, Synthetic Text, Membership Inference Attacks, Canary Records, Fine-Tuned Models, 2-Gram Models, Word Pairs, Data Sharing, Machine Learning Model Development


Reference: Matthieu Meeus, Lukas Wutschitz, Santiago Zanella-Béguelin, Shruti Tople, Reza Shokri, “The Canary’s Echo: Auditing Privacy Risks of LLM-Generated Synthetic Text” (2025).


Leave a Reply