mlsanityData to 14 Oct 2026

LSHBloom: Memory-efficient, Extreme-scale Document Deduplication

arXiv 2411.04257 ↗First posted 6 Nov 2024cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Contemporary large language model (LLM) training pipelines require the assembly of internet-scale databases full of text data from a variety of sources (e.g., web, academic, and publishers). Preprocessing these datasets via deduplication -- detecting and eliminating additional instances of the same content -- is a major focus for assembling and curating training datasets for LLMs. Unrestrained, duplicates in the training dataset increase training costs and lead to undesirable properties such as memorization in trained models or cheating on evaluation. Unfortunately, contemporary approaches to document-level deduplication are either unreliable at accurately identifying duplicate documents or extremely expensive in terms of both runtime and memory. We propose LSHBloom, an extension to MinhashLSH, which replaces the expensive LSHIndex with lightweight Bloom filters. LSHBloom demonstrates the same state-of-the-art deduplication performance as MinhashLSH, with only a marginal increase in false positives (near zero in our experiments), while boasting competitive runtime (12× faster than MinhashLSH on peS2o) and, crucially, using 18× less disk space than MinhashLSH (as measured on peS2o). Based on extrapolation, we show that this advantage in space and runtime remains even at the extreme scale of several billion documents. LSHBloom allows practitioners to access the deduplication quality of MinHashLSH at scales that are normally only tractable for less sophisticated, heuristic solutions. As a result, LSHBloom promises to enable scaling high-quality document deduplication to internet-scale text datasets.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 29 of its 85 references that are in the map. First posted on arXiv 6 Nov 2024.

Builds on

29 of 85 references.

References · 29

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  8. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
  9. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
  10. 2023StarCoder: may the source be with you!cited by 799
  11. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  12. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
17 more
  1. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  2. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  3. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  4. 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
  5. 2023Nougat: Neural Optical Understanding for Academic Documentscited by 245
  6. 2024A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discoverycited by 96
  7. 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 72
  8. 2023A Comprehensive Survey on Vector Database: Storage and Retrieval Technique, Challengecited by 55
  9. 2018Approximate Nearest Neighbor Search in High Dimensionscited by 47
  10. 2023UniSeg: A Prompt-driven Universal Segmentation Model as well as A Strong Representation Learnercited by 47
  11. 2019Parsl: Pervasive Parallel Programming in Pythoncited by 36
  12. 2023Smaller Language Models are Better Black-box Machine-Generated Text Detectorscited by 35
  13. 2024Evading Data Contamination Detection for Language Models is (too) Easycited by 30
  14. 2016LSH Ensemble: Internet-Scale Domain Searchcited by 24
  15. 2024TRUCE: Private Benchmarking to Prevent Contamination and Improve Comparative Evaluation of LLMscited by 24
  16. 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
  17. 2021On the Optimal Time/Space Tradeoff for Hash Tablescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 3.

5 papers.