SoftDedup: an Efficient Data Reweighting Method for Speeding Up Language Model Pre-training
Not on the map. Why?
Abstract (arXiv)
The effectiveness of large language models (LLMs) is often hindered by duplicated data in their extensive pre-training datasets. Current approaches primarily focus on detecting and removing duplicates, which risks the loss of valuable information and neglects the varying degrees of duplication. To address this, we propose a soft deduplication method that maintains dataset integrity while selectively reducing the sampling weight of data with high commonness. Central to our approach is the concept of "data commonness", a metric we introduce to quantify the degree of duplication by measuring the occurrence probabilities of samples using an n-gram model. Empirical analysis shows that this method significantly improves training efficiency, achieving comparable perplexity scores with at least a 26% reduction in required training steps. Additionally, it enhances average few-shot downstream accuracy by 1.77% when trained for an equivalent duration. Importantly, this approach consistently improves performance, even on rigorously deduplicated datasets, indicating its potential to complement existing methods and become a standard pre-training process for LLMs.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 21 of its 39 references that are in the map. First posted on arXiv 9 Jul 2024.
Builds on
21 of 39 references.
References · 21
- 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
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 695
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 675
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
9 more
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2023Scaling Data-Constrained Language Modelscited by 403
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
- 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 152
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 150
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 126
- 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 92
Built on by
Citing papers per year: 2025: 7; 2026: 5.
12 papers.
- 2025A Coreset Selection of Coreset Selection Literature: Introduction and Recent Advancescited by 28
- 2025Meta-rater: A Multi-dimensional Data Selection Method for Pre-training Language Modelscited by 19
- 2025More is not always better? Enhancing Many-Shot In-Context Learning with Differentiated and Reweighting Objectivescited by 12
- 2025A Survey of LLM × DATAcited by 4
- 2026Merlin: Deterministic Byte-Exact Deduplication for Lossless Context Optimization in Large Language Model Inferencecited by 2
- 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selectioncited by 1
- 2025FedRW: Efficient Privacy-Preserving Data Reweighting for Enhancing Federated Learning of Language Modelscited by 1
- 2025Exploring Polyglot Harmony: On Multilingual Data Allocation for Large Language Models Pretrainingcited by 0
- 2026EPAS: Efficient Training with Progressive Activation Sharingcited by 0
- 2026Principled Synthetic Data Enables the First Scaling Laws for LLMs in Recommendationcited by 0
- 2026Scalable Frequency- and Length-Aware Subdocument Deduplication for Large Language Model Pretrainingcited by 0
- 2026Online Self-Weighted Fine-Tuningcited by 0
- 2026Online Self-Weighted Fine-Tuning1 Sep 2026
- 2026Scalable Frequency- and Length-Aware Subdocument Deduplication for Large Language Model Pretraining4 Aug 2026
- 2026Merlin: Deterministic Byte-Exact Deduplication for Lossless Context Optimization in Large Language Model Inference11 May 2026
- 2026Principled Synthetic Data Enables the First Scaling Laws for LLMs in Recommendation7 Feb 2026
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
- 2025FedRW: Efficient Privacy-Preserving Data Reweighting for Enhancing Federated Learning of Language Models10 Nov 2025
- 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selection21 Oct 2025
- 2025Exploring Polyglot Harmony: On Multilingual Data Allocation for Large Language Models Pretraining19 Sep 2025
- 2025A Survey of LLM × DATA24 May 2025
- 2025A Coreset Selection of Coreset Selection Literature: Introduction and Recent Advances23 May 2025
- 2025Meta-rater: A Multi-dimensional Data Selection Method for Pre-training Language Models19 Apr 2025
- 2025More is not always better? Enhancing Many-Shot In-Context Learning with Differentiated and Reweighting Objectives7 Jan 2025