mlsanityData to 7 Oct 2026

Scalable Frequency- and Length-Aware Subdocument Deduplication for Large Language Model Pretraining

arXiv 2608.03089 ↗First posted 4 Aug 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Large-scale pretraining corpora contain substantial duplicate content. Although document-level deduplication is widely used, removing subdocument-level redundancy remains challenging. At corpus scale, suffix-array-based methods are commonly applied independently within shards, leaving cross-shard duplicates undetected and making the resulting retention behavior sensitive to the sharding configuration. Hash-based methods enable global exact duplicate counting, but often rely on fixed copy-retention policies that cannot accommodate heterogeneous repetition patterns. We propose a scalable subdocument deduplication framework that decouples duplicate detection from copy retention. It identifies duplicate groups through natural-boundary segmentation, normalized exact hashing, and distributed aggregation, and then applies an explicit frequency- and length-aware retention policy that allocates an adaptive copy budget to each group, retaining more copies of low-frequency or short repetitions while more aggressively deleting high-frequency or long ones. Experiments on FineWeb-Edu and a code-containing web corpus show that models trained on data processed by our method achieve the best overall performance among the evaluated settings. These results underscore the importance of explicit copy-retention control.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 31 references that are in the map. First posted on arXiv 4 Aug 2026.

Builds on

23 of 31 references.

References · 23

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  6. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  7. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  9. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  10. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  11. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  12. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
11 more
  1. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  2. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
  3. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  4. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
  5. 2023Scaling Data-Constrained Language Modelscited by 391
  6. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  7. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  8. 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 147
  9. 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 134
  10. 2024SoftDedup: an Efficient Data Reweighting Method for Speeding Up Language Model Pre-trainingcited by 12
  11. 2026Hy-MT2: A Family of Fast, Efficient and Powerful Multilingual Translation Models in the Wildcited by 9

Built on by

Not cited yet.