Memorized text and privacy lawTexte mémorisé et lois sur la vie privée
Memorization
When you ask a model a question, you expect an answer built from the things it learned, and not a copy of a page it read. Most of the time you get such an answer, because a model’s parameters parameterparamètre de modèle machine learningapprentissage automatique A numerical value learned during a model's training and used in its computations.Valeur numérique apprise pendant l'entraînement d'un modèle et utilisée dans ses calculs. keep patterns from the training text and not the text itself (see also the What happens to the training text page, in the LLM lifecycle module) (voir aussi la page Ce qu'il advient du texte d'entraînement, dans le module Cycle de vie des GML).
Some passages are kept closely enough to come back word for word. This is called memorization. Text that appears many times in the training data is the most likely to be memorized, for instance a famous quotation, a software licence or a page that many websites copy, such as a Wikipedia article. In models of 2022, a passage present ten times in the training data came back about a thousand times more often than a passage present once, and passages present once were very rarely generated (Kandpal et al., 2022).
Researchers have extracted training text from models on purpose:
| Study | Models | Method | Result |
|---|---|---|---|
| Carlini et al. (2021) | GPT-2, a model of 2019 | Generate a very large number of texts and keep the ones that look memorized | Hundreds of passages word for word, among them names, phone numbers and email addresses of real people |
| Nasr et al. (2025) | ChatGPT and Gemini, 2023 and early 2024 | A request that made ChatGPT leave its usual behaviour (repeat one word forever), and fine-tuning | More than 10,000 passages of at least 50 tokens token²jeton textuel² language modelsmodèles de langue A unit of text that a language model processes or generates.Unité de texte qu'un modèle de langue traite ou génère. from ChatGPT for about 200 US dollars, and 23 from Gemini |
| Liu et al. (2026a) | GPT-4o, Gemini 2.5 Pro and DeepSeek-V3.1 | Fine-tuning fine-tuningaffinage machine learningapprentissage automatique Further training of a pretrained model on new data to adapt it for a particular task, domain, or intended behaviour.Poursuite de l'entraînement d'un modèle préentraîné sur un jeu de données généralement plus restreint et spécialisé, afin de l'adapter à une tâche ou à un domaine particulier. on other books to turn a plot summary into a passage, then 100 attempts for each summary of each passage of a book | Pieced together from all attempts, up to 85 to 90% of a book’s words came back in exact fragments of five words or more. The longest unbroken copy was about 460 words. Without fine-tuning: 7% on average |
The third study does not measure how likely a chatbot is to copy a book in an answer. The fragments came back only after fine-tuning, with a summary of every passage and 100 attempts for each, so a user cannot ask for a book and receive it. The fragments were also scattered: no single answer contained most of a book.
All three studies are deliberate attacks, and in ordinary use the chance that one particular text comes back is small. For personal details, Luo et al. (2026) found on smaller open models that many reported leaks came from a prompt promptrequête promptingrequêtes Input given to a generative AI system to specify a task, provide context, or otherwise guide its output.Entrée fournie à un système d'IA générative pour préciser une tâche, donner du contexte ou orienter la sortie. that pointed the model to the detail, and not from memorization.
People in the training data
Training text is crawled from the web, and the web is full of pages about people who were never asked. Providers filter out some personally identifiable information personally identifiable information (PII)renseignements personnels datadonnées Information that can identify, distinguish, or trace a person, either on its own or when combined with other information that can be linked to that person.Information qui permet d'identifier, de distinguer ou de retracer une personne, seule ou combinée à d'autres informations pouvant lui être reliées. (PII) before training, but part of it gets through (see also the What gets filtered out page, in the LLM lifecycle module) (voir aussi la page Ce qui est filtré, dans le module Cycle de vie des GML). Even with the measures OpenAI has since introduced, Canada’s privacy commissioner expects its future training data to “still likely include personal information of private individuals” (Office of the Privacy Commissioner of Canada, 2026, para. 175).
Text and information in someone else’s answer
A text can reach someone else’s answer by two routes (Figure 1figure 1): a page published online that is crawled for training, and a conversation, if the provider uses conversations for training.
A model can also give back the information in a text without its words. The likelihood depends on how often the information appears in the training data:
| Information | In an answer to someone else |
|---|---|
| Written on many pages, for instance facts about a public person | Likely, in the model’s own words |
| On a few pages, or in one document | Unlikely, but extraction studies have recovered such details |
| Something you told a chatbot once, for instance a secret about a friend | Very unlikely, even if the conversation is used for training: it is one sentence in a very large amount of text, and another user who asks the next model about your friend will most probably get nothing, or an invented answer |
| Something you told a chatbot in dozens of conversations | More likely than a single mention, because repetition is the main cause of memorization. The risk is highest for text you paste again and again in the same words, for instance a signature with your address or the same paragraph about a person. For a fact told in different words each time, the studies cited here give no measurement |
Risks of stored conversations
For a detail you told a chatbot, the larger risk is the stored conversation, and not the model. The conversation is linked to your account, and other people can reach it in several ways:
- through a leak or a mistake, for instance a shared link that search engines index (see also the Confidential and licensed text in your prompts page) (voir aussi la page Textes confidentiels et sous licence dans vos requêtes);
- through the provider’s own use, for instance advertising, or a new use that a later version of its terms allows (see also the Paying with data page) (voir aussi la page Payer avec ses données);
- through a legal demand: a court or an authority can order a provider to keep conversations or to hand them over.This holds for any service that stores your content, chatbot or not. In June 2025, a commission of the French Senate asked the legal director of Microsoft France whether he could guarantee that data of French citizens would never be sent to the American government without the agreement of the French authorities. He answered: « Non, je ne peux pas le garantir, mais, encore une fois, cela ne s’est encore jamais produit » (“No, I cannot guarantee it, but, once again, it has never happened so far”; my translation). Sénat, Commission d’enquête sur la commande publique, compte rendu de la semaine du 9 juin 2025, read 24 November 2026.
The third way depends on the law of the moment. A subject that is legal to discuss today can become illegal after a change of law or of government, and conversations stored before the change still exist. This is a risk and not a report of something that has happened with chatbots, but it is a reason to think about the things you keep in a history, for instance on health, immigration status, political opinions or sexual orientation.
Removing text from a trained model
Once a model is trained, there is no simple way to take one person’s text back out of it. If you withdraw permission to train on your conversations, they are left out of future training, but models already trained keep the things they learned.For instance Anthropic, Updates to Consumer Terms and Privacy Policy, 28 August 2025: “Your data will still be included in model training that has already started and in models that have already been trained”. Read 22 September 2026.
Privacy law
Privacy law applies to personal information in training data and in prompts, whichever technology processes it: in Europe the General Data Protection Regulation (GDPR), in Canada the federal law for private companies (PIPEDA) and Quebec’s Law 25.
- Regulators have found violations. In 2026, the privacy commissioners of Canada, Quebec, British Columbia and Alberta found that the initial training of ChatGPT did not comply with their laws: OpenAI had collected more personal information than necessary, without valid consent (Office of the Privacy Commissioner of Canada, 2026). Italy’s authority had reached a similar conclusion in 2023 (Garante per la protezione dei dati personali, 2023).
- A model is not automatically anonymous. For the data protection authorities of the European Union, a model trained on personal data is anonymous only if the chance of extracting personal data from it is insignificant (European Data Protection Board, 2024, pp. 2–3).
Enforcement has changed little so far:
- it is slow: the Canadian findings of 2026 are about the training of GPT-3.5 and GPT-4, models released in 2022 and 2023;
- it can end on procedure: in Italy, a fine of 15 million euros was annulled by a court in 2026 without a ruling on the provider’s conduct (Garante per la protezione dei dati personali, 2024);
- regulators disagree: in Canada, one commissioner judged the problem resolved and three judged it unresolved.
La mémorisation
Quand vous posez une question à un modèle, vous attendez une réponse construite à partir de ce qu’il a appris, et non la copie d’une page qu’il a lue. La plupart du temps, c’est ce que vous obtenez, parce que les paramètres parameterparamètre de modèle machine learningapprentissage automatique A numerical value learned during a model's training and used in its computations.Valeur numérique apprise pendant l'entraînement d'un modèle et utilisée dans ses calculs. d’un modèle gardent des régularités du texte d’entraînement et non le texte lui-même (see also the What happens to the training text page, in the LLM lifecycle module) (voir aussi la page Ce qu'il advient du texte d'entraînement, dans le module Cycle de vie des GML).
Certains passages sont gardés d’assez près pour revenir mot pour mot. C’est ce qu’on appelle la mémorisation. Le texte qui apparaît de nombreuses fois dans les données d’entraînement est le plus susceptible d’être mémorisé, par exemple une citation célèbre, une licence de logiciel ou une page que beaucoup de sites copient, comme un article de Wikipédia. Dans des modèles de 2022, un passage présent dix fois dans les données d’entraînement revenait environ mille fois plus souvent qu’un passage présent une seule fois, et les passages présents une seule fois étaient très rarement générés (Kandpal et al., 2022).
Des chercheurs ont extrait volontairement du texte d’entraînement de modèles :
| Étude | Modèles | Méthode | Résultat |
|---|---|---|---|
| Carlini et al. (2021) | GPT-2, un modèle de 2019 | Générer un très grand nombre de textes et garder ceux qui semblent mémorisés | Des centaines de passages mot pour mot, dont des noms, des numéros de téléphone et des adresses de courriel de personnes réelles |
| Nasr et al. (2025) | ChatGPT et Gemini, 2023 et début 2024 | Une demande qui faisait sortir ChatGPT de son comportement habituel (répéter un mot sans fin), et l’affinage | Plus de 10 000 passages d’au moins 50 jetons token²jeton textuel² language modelsmodèles de langue A unit of text that a language model processes or generates.Unité de texte qu'un modèle de langue traite ou génère. tirés de ChatGPT pour environ 200 dollars américains, et 23 tirés de Gemini |
| Liu et al. (2026a) | GPT-4o, Gemini 2.5 Pro et DeepSeek-V3.1 | Affinage fine-tuningaffinage machine learningapprentissage automatique Further training of a pretrained model on new data to adapt it for a particular task, domain, or intended behaviour.Poursuite de l'entraînement d'un modèle préentraîné sur un jeu de données généralement plus restreint et spécialisé, afin de l'adapter à une tâche ou à un domaine particulier. sur d’autres livres pour transformer un résumé d’intrigue en passage, puis 100 essais pour le résumé de chaque passage d’un livre | En réunissant tous les essais, jusqu’à 85 à 90 % des mots d’un livre sont revenus en fragments exacts de cinq mots ou plus. La plus longue copie ininterrompue comptait environ 460 mots. Sans affinage : 7 % en moyenne |
La troisième étude ne mesure pas la probabilité qu’un agent conversationnel copie un livre dans une réponse. Les fragments ne sont revenus qu’après l’affinage, avec un résumé de chaque passage et 100 essais pour chacun : un utilisateur ne peut donc pas demander un livre et le recevoir. Les fragments étaient aussi dispersés : aucune réponse ne contenait à elle seule la plus grande partie d’un livre.
Les trois études sont des attaques délibérées, et dans un usage ordinaire la probabilité qu’un texte précis ressorte est faible. Pour les renseignements personnels, Luo et al. (2026) ont constaté, sur des modèles ouverts plus petits, que beaucoup de fuites rapportées venaient d’une requête promptrequête promptingrequêtes Input given to a generative AI system to specify a task, provide context, or otherwise guide its output.Entrée fournie à un système d'IA générative pour préciser une tâche, donner du contexte ou orienter la sortie. qui orientait le modèle vers le détail, et non de la mémorisation.
Des personnes dans les données d’entraînement
Le texte d’entraînement est collecté sur le Web, et le Web est plein de pages sur des personnes à qui l’on n’a rien demandé. Les fournisseurs filtrent une partie des renseignements personnels personally identifiable information (PII)renseignements personnels datadonnées Information that can identify, distinguish, or trace a person, either on its own or when combined with other information that can be linked to that person.Information qui permet d'identifier, de distinguer ou de retracer une personne, seule ou combinée à d'autres informations pouvant lui être reliées. avant l’entraînement, mais il en reste (see also the What gets filtered out page, in the LLM lifecycle module) (voir aussi la page Ce qui est filtré, dans le module Cycle de vie des GML). Même avec les mesures qu’OpenAI a prises depuis, le Commissariat à la protection de la vie privée du Canada s’attend à ce que ses futures données d’entraînement “still likely include personal information of private individuals” [ma traduction : « contiennent probablement encore des renseignements personnels de particuliers »] (Office of the Privacy Commissioner of Canada, 2026, paragr. 175).
Du texte et de l’information dans la réponse de quelqu’un d’autre
Un texte peut arriver dans la réponse donnée à quelqu’un d’autre par deux chemins (Figure 1figure 1) : une page publiée en ligne et collectée pour l’entraînement, et une conversation, si le fournisseur utilise les conversations pour l’entraînement.
Un modèle peut aussi redonner l’information d’un texte sans ses mots. La probabilité dépend du nombre de fois où l’information apparaît dans les données d’entraînement :
| Information | Dans la réponse donnée à quelqu’un d’autre |
|---|---|
| Écrite sur de nombreuses pages, par exemple des faits sur une personnalité publique | Probable, dans les mots du modèle |
| Sur quelques pages, ou dans un seul document | Peu probable, mais des études d’extraction ont récupéré de tels détails |
| Une chose que vous avez dite une fois à un agent conversationnel, par exemple un secret sur un ami | Très peu probable, même si la conversation sert à l’entraînement : c’est une phrase dans une très grande quantité de texte, et un autre utilisateur qui interroge le modèle suivant sur votre ami n’obtiendra très probablement rien, ou une réponse inventée |
| Une chose que vous avez dite à un agent conversationnel dans des dizaines de conversations | Plus probable qu’une mention unique, parce que la répétition est la cause principale de la mémorisation. Le risque est le plus élevé pour un texte que vous collez encore et encore dans les mêmes mots, par exemple une signature avec votre adresse ou le même paragraphe sur une personne. Pour un fait dit chaque fois dans des mots différents, les études citées ici ne donnent aucune mesure |
Les risques des conversations stockées
Pour un détail que vous avez confié à un agent conversationnel, le risque le plus important est la conversation stockée, et non le modèle. La conversation est liée à votre compte, et d’autres personnes peuvent y accéder de plusieurs façons :
- par une fuite ou une erreur, par exemple un lien de partage que les moteurs de recherche indexent (see also the Confidential and licensed text in your prompts page) (voir aussi la page Textes confidentiels et sous licence dans vos requêtes) ;
- par l’usage qu’en fait le fournisseur, par exemple la publicité, ou un nouvel usage qu’une version ultérieure de ses conditions autorise (see also the Paying with data page) (voir aussi la page Payer avec ses données) ;
- par une demande légale : un tribunal ou une autorité peut ordonner à un fournisseur de conserver des conversations ou de les remettre.Cela vaut pour tout service qui stocke votre contenu, agent conversationnel ou non. En juin 2025, une commission du Sénat français a demandé au directeur des affaires publiques et juridiques de Microsoft France s’il pouvait garantir que les données des citoyens français ne seraient jamais transmises au gouvernement américain sans l’accord des autorités françaises. Il a répondu : « Non, je ne peux pas le garantir, mais, encore une fois, cela ne s’est encore jamais produit. » Sénat, Commission d’enquête sur la commande publique, compte rendu de la semaine du 9 juin 2025, consulté le 24 novembre 2026.
La troisième façon dépend de la loi du moment. Un sujet dont il est légal de parler aujourd’hui peut devenir illégal après un changement de loi ou de gouvernement, et les conversations stockées avant ce changement existent toujours. C’est un risque et non le compte rendu d’un fait survenu avec des agents conversationnels, mais c’est une raison de réfléchir à ce que vous gardez dans un historique, par exemple sur la santé, le statut d’immigration, les opinions politiques ou l’orientation sexuelle.
Retirer un texte d’un modèle entraîné
Une fois un modèle entraîné, il n’existe pas de moyen simple d’en retirer le texte d’une personne. Si vous retirez la permission d’entraîner des modèles sur vos conversations, elles sont exclues des entraînements futurs, mais les modèles déjà entraînés gardent ce qu’ils ont appris.Par exemple Anthropic, Updates to Consumer Terms and Privacy Policy, 28 août 2025 : “Your data will still be included in model training that has already started and in models that have already been trained” [ma traduction : « Vos données resteront incluses dans les entraînements déjà commencés et dans les modèles déjà entraînés »]. Consulté le 22 septembre 2026.
Les lois sur la vie privée
Les lois sur la vie privée s’appliquent aux renseignements personnels dans les données d’entraînement et dans les requêtes, quelle que soit la technologie qui les traite : en Europe, le Règlement général sur la protection des données (RGPD) ; au Canada, la loi fédérale visant les entreprises privées (LPRPDE) et la Loi 25 du Québec.
- Des autorités de contrôle ont constaté des infractions. En 2026, les commissaires à la protection de la vie privée du Canada, du Québec, de la Colombie-Britannique et de l’Alberta ont conclu que l’entraînement initial de ChatGPT ne respectait pas leurs lois : OpenAI avait recueilli plus de renseignements personnels que nécessaire, sans consentement valide (Office of the Privacy Commissioner of Canada, 2026). L’autorité italienne était arrivée à une conclusion semblable en 2023 (Garante per la protezione dei dati personali, 2023).
- Un modèle n’est pas automatiquement anonyme. Pour les autorités de protection des données de l’Union européenne, un modèle entraîné sur des données personnelles n’est anonyme que si la probabilité d’en extraire des données personnelles est insignifiante (European Data Protection Board, 2024, pp. 2–3).
L’application des lois a peu changé les choses jusqu’ici :
- elle est lente : les conclusions canadiennes de 2026 portent sur l’entraînement de GPT-3.5 et de GPT-4, des modèles sortis en 2022 et en 2023 ;
- elle peut se terminer sur une question de procédure : en Italie, une amende de 15 millions d’euros a été annulée par un tribunal en 2026 sans décision sur la conduite du fournisseur (Garante per la protezione dei dati personali, 2024) ;
- les autorités ne s’entendent pas : au Canada, un commissaire a jugé le problème résolu et trois l’ont jugé non résolu.
Sources
- Carlini, N., Tramèr, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., Oprea, A., & Raffel, C. (2021). Extracting Training Data from Large Language Models. Proceedings of the 30th USENIX Security Symposium (USENIX Security 21), 2633–2650. https://www.usenix.org/conference/usenixsecurity21/presentation/carlini-extracting
- European Data Protection Board (2024). Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models. Opinion of the Board (Art. 64), adopted 17 December 2024. https://www.edpb.europa.eu/documents/opinion-of-the-board-art-64/opinion-282024-on-certain-data-protection-aspects-related-to_en
- Garante per la protezione dei dati personali (2023). Artificial intelligence: stop to ChatGPT by the Italian SA. Press release, 31 March 2023. https://www.garanteprivacy.it:443/home/docweb/-/docweb-display/docweb/9870847
- Garante per la protezione dei dati personali (2024). ChatGPT, the Italian Data Protection Authority closes the preliminary investigation. Press release, 20 December 2024. https://www.garanteprivacy.it:443/home/docweb/-/docweb-display/docweb/10085432
- Kandpal, N., Wallace, E., & Raffel, C. (2022). Deduplicating Training Data Mitigates Privacy Risks in Language Models. Proceedings of the 39th International Conference on Machine Learning (PMLR 162), 10697–10707. https://proceedings.mlr.press/v162/kandpal22a.html
- Liu, X., Mireshghallah, N., Ginsburg, J. C., & Chakrabarty, T. (2026a). Alignment Whack-a-Mole: Finetuning Activates Verbatim Recall of Copyrighted Books in Large Language Models. Conference on Language Modeling (COLM 2026). https://openreview.net/forum?id=62zTHbtiDH
- Luo, X., Chen, Y., Li, Q., & Bjerva, J. (2026). Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Framework. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 33841–33861. https://doi.org/10.18653/v1/2026.acl-long.1560
- Nasr, M., Rando, J., Carlini, N., Hayase, J., Jagielski, M., Cooper, A. F., et al. (2025). Scalable Extraction of Training Data from Aligned, Production Language Models. Proceedings of the Thirteenth International Conference on Learning Representations (ICLR 2025). https://proceedings.iclr.cc/paper_files/paper/2025/hash/cce0e917b050208170151f77b497fc71-Abstract-Conference.html
- Office of the Privacy Commissioner of Canada (2026). Joint Investigation of OpenAI OpCo, LLC. PIPEDA Findings #2026-002, joint investigation with the Commission d’accès à l’information du Québec and the Information and Privacy Commissioners of British Columbia and Alberta. https://www.priv.gc.ca/en/opc-actions-and-decisions/investigations/investigations-into-businesses/2026/pipeda-2026-002/
Sources
- Carlini, N., Tramèr, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., Oprea, A., & Raffel, C. (2021). Extracting Training Data from Large Language Models. Proceedings of the 30th USENIX Security Symposium (USENIX Security 21), 2633–2650. https://www.usenix.org/conference/usenixsecurity21/presentation/carlini-extracting
- European Data Protection Board (2024). Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models. Opinion of the Board (Art. 64), adopted 17 décembre 2024. https://www.edpb.europa.eu/documents/opinion-of-the-board-art-64/opinion-282024-on-certain-data-protection-aspects-related-to_en
- Garante per la protezione dei dati personali (2023). Artificial intelligence: stop to ChatGPT by the Italian SA. Press release, 31 mars 2023. https://www.garanteprivacy.it:443/home/docweb/-/docweb-display/docweb/9870847
- Garante per la protezione dei dati personali (2024). ChatGPT, the Italian Data Protection Authority closes the preliminary investigation. Press release, 20 décembre 2024. https://www.garanteprivacy.it:443/home/docweb/-/docweb-display/docweb/10085432
- Kandpal, N., Wallace, E., & Raffel, C. (2022). Deduplicating Training Data Mitigates Privacy Risks in Language Models. Proceedings of the 39th International Conference on Machine Learning (PMLR 162), 10697–10707. https://proceedings.mlr.press/v162/kandpal22a.html
- Liu, X., Mireshghallah, N., Ginsburg, J. C., & Chakrabarty, T. (2026a). Alignment Whack-a-Mole: Finetuning Activates Verbatim Recall of Copyrighted Books in Large Language Models. Conference on Language Modeling (COLM 2026). https://openreview.net/forum?id=62zTHbtiDH
- Luo, X., Chen, Y., Li, Q., & Bjerva, J. (2026). Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Framework. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 33841–33861. https://doi.org/10.18653/v1/2026.acl-long.1560
- Nasr, M., Rando, J., Carlini, N., Hayase, J., Jagielski, M., Cooper, A. F., et al. (2025). Scalable Extraction of Training Data from Aligned, Production Language Models. Proceedings of the Thirteenth International Conference on Learning Representations (ICLR 2025). https://proceedings.iclr.cc/paper_files/paper/2025/hash/cce0e917b050208170151f77b497fc71-Abstract-Conference.html
- Office of the Privacy Commissioner of Canada (2026). Joint Investigation of OpenAI OpCo, LLC. PIPEDA Findings #2026-002, joint investigation with the Commission d’accès à l’information du Québec and the Information and Privacy Commissioners of British Columbia and Alberta. https://www.priv.gc.ca/en/opc-actions-and-decisions/investigations/investigations-into-businesses/2026/pipeda-2026-002/