Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Training and data

memorization

advancedwidespread

Memorization is when an AI model literally remembers certain details of the training data and can later reproduce them.

In plain terms

A language model should theoretically learn patterns: how a sentence is built, what follows from what. Sometimes, however, it memorizes specific text segments verbatim, such as a poem, a paragraph of an article, a phone number, or a code snippet. This is called memorization.

It is like a student who memorizes the history exam instead of understanding it. If asked exactly the right question, they recite it flawlessly, but they also include things they should not, such as a textbook footnote or a classmate's scribbled name.

Memorization is not always a problem: it is good if the model knows the multiplication table, the text of the National Anthem, or a well-known fact precisely. It becomes an issue only when it returns personal data, trade secrets, or copyrighted text verbatim.

How it works

  1. During training, the model sees vast amounts of text and adjusts its internal numerical values (parameters) to better predict the next word.
  2. What it sees often, such as a quote or license text copied a thousand times, is easiest for it to memorize verbatim, so it becomes embedded in the parameters.
  3. Rare but distinctive data can also be memorized, such as a unique name, address, or identifier, especially in large models and over multiple training rounds.
  4. If someone later provides the beginning of the text or tries with a cleverly phrased request, the model can continue the original. This deliberate extraction is called training data extraction.
  5. Developers reduce the phenomenon by filtering out duplicates, cleaning the data, applying output filters and using training methods that add noise, but they cannot eliminate it completely.

An everyday example

Ask the chatbot to continue the first sentence of a well-known novel, and you might receive a longer passage almost verbatim from the original text, although modern services try to prevent this with filters. A similar thing happens when a coding agent suggests a program segment that, including comments, matches the code of a public project.

Who is affected

everyoneIf your name, address, or other data was included in the training data, the model could theoretically return it to someone else.
entrepreneur, executiveIf a model is trained or fine-tuned with your company's internal materials, trade secrets may later leak into the responses.
developerCode suggested by AI may match source code bound by a license verbatim, posing a legal risk to your product. → Code
lawyer, citizenOne key issue in copyright and data protection disputes is whether the model stores and returns protected content. → Law

A common misconception

MythThe model stores everything it has ever read as a database, and anything can be retrieved from it.
In realityThe model does not retain the vast majority of training data verbatim, only learning patterns from it. However, it does memorize a small portion, especially highly repetitive or very unique parts.

Limits and risks

Similar, but not the same

Related concepts

Broader

machine learning, training, data protection

Narrower

training data extraction, verbatim reproduction

On the edge

overfitting, generalization, training data, differential privacy, machine unlearning

A brief history

It has long been known in machine learning that models can memorize training data, but with large language models this became a data protection issue in the late 2010s. Nicholas Carlini and colleagues demonstrated the phenomenon on smaller language models in 2018, then in a study published at the end of 2020 and released in 2021, they showed that verbatim training texts, including personal data, could be extracted from the GPT-2 model.

Where things stand

At the end of 2026, memorization is a well-known phenomenon, studied in every large model and a central topic in copyright lawsuits and data protection regulation. Defense methods have improved significantly, but there is no complete solution.

Status: 2026 November

In the news

Appears in 1 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

memorization · rote memorization · training data memorization · verbatim memorization · memorization · training data memorization · verbatim memorization · regurgitation

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.