Data, Corpora & Tokenization · 2022

Deduplicating Training Data Makes Language Models Better

Katherine Lee, Daphne Ippolito, Andrew Nystrom, et al.

It showed that standard language-model training corpora contain large amounts of near- and exact-duplicate text, and that removing these duplicates with scalable exact and approximate (suffix-array and MinHash) methods reduces memorization, cleans up train/test overlap, and lets models reach the same or better quality with fewer training steps.

Editorial record

Plain-language summary

The authors measured duplication in common pretraining datasets and found that many sequences appear many times, including substantial overlap between training and evaluation sets. They built two deduplication tools: an exact-substring method using suffix arrays to find long repeated spans, and an approximate document-level method using MinHash to catch near-duplicates. Training on the deduplicated data reduced how often models regurgitated memorized text verbatim, gave more trustworthy evaluation numbers by removing leaked test examples, and required fewer training steps to reach a given accuracy. The paper made corpus deduplication a standard preprocessing step for language-model training.

Source record

Provenance

Record ID
P-122
Record created
2026-07-13
Last reviewed
2026-07-14
Record version
2

Citation caveat: Citation metadata is approximate and marked unverified in the source dataset.