pith:X37K2SZT
Quantifying Memorization Across Neural Language Models
Memorization in language models increases log-linearly with model size, data duplication, and prompt length.
arxiv:2202.07646 v3 · 2022-02-15 · cs.LG · cs.CL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{X37K2SZTINTS73PEDCULW2JAAQ}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
We describe three log-linear relationships that quantify the degree to which LMs emit memorized training data. Memorization significantly grows as we increase (1) the capacity of a model, (2) the number of times an example has been duplicated, and (3) the number of tokens of context used to prompt the model.
That verbatim emission under the chosen prompting and matching criteria accurately captures the privacy, utility, and fairness harms, and that the log-linear trends will continue to hold at larger scales without additional confounding factors.
Memorization in language models increases log-linearly with model capacity, data duplication count, and prompt context length.
References
Cited by
Receipt and verification
| First computed | 2026-05-18T04:38:57.963093Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
befead4b3343672fede418a8bb69200411c9639ef98b50f57d7ebcd975c9de30
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/X37K2SZTINTS73PEDCULW2JAAQ \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: befead4b3343672fede418a8bb69200411c9639ef98b50f57d7ebcd975c9de30
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "b5230ec6f01517894ba4f3fdb0c814e278571fab1daf3260f6f00ccb1142f847",
"cross_cats_sorted": [
"cs.CL"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.LG",
"submitted_at": "2022-02-15T18:48:31Z",
"title_canon_sha256": "b45340bfac6354acfb42d31e8b2975ff2334898c8cb111664e76c5a5e77fe631"
},
"schema_version": "1.0",
"source": {
"id": "2202.07646",
"kind": "arxiv",
"version": 3
}
}