Training-data extraction: When language models repeat learned text
A GPT-2 study demonstrated verbatim recovery of individual training examples. That is different from freely searching an entire training dataset.
Editorial review:
Background & source findings
Carlini and colleagues demonstrated extraction of individual training examples from GPT-2 at USENIX Security 2021. Recovered material included publicly available personal information. The important distinction is between convincing invented text and output verified against actual source material: a plausible response alone does not establish extraction. [1]
Scope & limitations
The study does not show that anyone can retrieve every previously published fact from every model. Results depend on the tested model and method. [1]
In plain language
A model can sometimes repeat a memorised passage. That resembles learned text, not a reliably searchable document archive.
Practical recommendations
Our recommendation: separate training data, test data and confidential document stores. Consider which personal information is genuinely necessary for a project and use synthetic material in public demonstrations. Treat unexpectedly specific output as unverified until its provenance is investigated. Do not republish personal information merely to illustrate a suspected security issue.