SEDD: Scalable and Efficient Dataset Deduplication with GPUs
Not on the map. Why?
Abstract (arXiv)
Dataset deduplication is widely recognized as a crucial preprocessing step that enhances data quality and improves the performance of large language models. A commonly used method for this process is the MinHash Locality-Sensitive Hashing (LSH) algorithm. Recently, GPU-accelerated frameworks such as NVIDIA NeMo Curator have been introduced to handle large-scale corpora; however, they remain suboptimal due to high communication overhead from physical data shuffling and underutilization of GPU resources. In this paper, we propose SEDD, a high-performance GPU-accelerated deduplication framework optimized for distributed cluster environments. SEDD introduces a computationally efficient, partially reusable hash function, alongside highly optimized GPU kernels and a hardware-aware automatic parameter selection mechanism. By replacing traditional data shuffling with a streaming-based approach, SEDD significantly mitigates communication bottlenecks. Our framework outperforms the CPU-based deduplication tool in SlimPajama by up to 158× and the GPU-based tool in NVIDIA NeMo Curator by up to 7.8× when processing 30 million documents on a node with four GPUs. Notably, SEDD dramatically accelerates the previously time-consuming MinHash signature generation phase, achieving speedups of up to 375× over the CPU baseline. Despite these gains in efficiency, SEDD maintains high deduplication fidelity, with duplicate document sets achieving Jaccard similarities of over 0.95 compared to those identified by the standard MinHash algorithm. In large-scale experiments, the deduplication of 1.2 trillion tokens is completed in just 3 hours on an 8-node 32-GPU V100 cluster. The related code is publicly available on GitHub (https://github.com/mcrl/SEDD).
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 41 references that are in the map. First posted on arXiv 2 Jan 2025.
Builds on
19 of 41 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
7 more
- 2019Defending Against Neural Fake Newscited by 559
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2024A Survey on Data Selection for Language Modelscited by 236
- 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 150
- 2023What's In My Big Data?cited by 129
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 126
Built on by
Citing papers per year: 2026: 1.
1 paper.