data deduplication
**Data deduplication** is the **process of identifying and removing repeated or near-repeated content from training corpora** - it improves data efficiency, reduces memorization risk, and stabilizes scaling behavior.
**What Is Data deduplication?**
- **Definition**: Deduplication removes exact and approximate duplicates across data sources.
- **Benefits**: Increases effective novelty per token and reduces overweighting of repeated patterns.
- **Methods**: Common approaches include exact hashing, fuzzy matching, and MinHash LSH pipelines.
- **Tradeoff**: Over-aggressive dedup can remove useful variants and reduce domain coverage.
**Why Data deduplication Matters**
- **Generalization**: Cleaner unique data improves model robustness on unseen tasks.
- **Safety**: Reduces memorization of repeated sensitive or low-quality snippets.
- **Compute Efficiency**: Avoids spending compute on redundant training examples.
- **Scaling Quality**: Improves reliability of token-count scaling analyses.
- **Compliance**: Supports better governance of dataset provenance and reuse.
**How It Is Used in Practice**
- **Multi-Stage Pipeline**: Combine exact and fuzzy dedup stages for balanced coverage.
- **Threshold Tuning**: Adjust similarity thresholds by domain to preserve meaningful variation.
- **Audit Sampling**: Review removed and retained samples to detect harmful overfiltering.
Data deduplication is **a high-impact data-engineering control for large-scale training quality** - data deduplication should be continuously tuned to maximize novelty without eroding useful diversity.