Research map / Large language models / Language, safety and interpretability
Data Mixing Can Induce Phase Transitions in Knowledge Acquisition
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Shows that mixing a small knowledge-dense synthetic biography dataset into web text induces sharp phase transitions in knowledge memorization with respect to model size and mixing ratio, explains them with a capacity-allocation (knapsack-like) information-theoretic model, and proposes subsampling and compact knowledge mixing to improve acquisition.
Problem
Knowledge acquisition from small knowledge-dense datasets mixed into web-scraped pre-training data does not follow the linear scaling law seen when training on knowledge-dense data alone; the paper asks how memorization depends on model size and mixing ratio.
Approach
Mixing knowledge-dense data with web data makes the optimal bounded-capacity learner allocate capacity by marginal loss reduction (a fractional knapsack view), so the learned amount jumps discontinuously in model size and mixing ratio; the threshold scales as a power law in model size, and this is exploited via subsampling and compact rephrasing.
Key results
- Pythia 410M models at mixing ratio r<=0.3 stay near zero accuracy on SynBio, while r=0.4 reaches roughly 80% accuracy.
- Required training steps to reach 40% accuracy grow faster than the power-law fit predicts for r=0.25 (more than 2.9x the power-law prediction).
- Subsampling SynBio-1.28M to 50% at r=0.2 raises 410M SynBio accuracy from near zero to 37.46% while keeping downstream performance within 2%.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Increase the mixing ratio from r=0.2 to r=0.4 | Pythia-70M on FineWeb-Edu + SynBio-320k · SynBio-320k | accuracy (%): 0.51 -> 39.68 | Helped |
| Increase the mixing ratio from r=0.4 to r=0.8 | Pythia-70M on FineWeb-Edu + SynBio-320k · SynBio-320k | accuracy (%): 39.68 -> 87.07 | Helped |
| Subsample SynBio-1.28M to 25% (ablation) | Pythia-410M at r=0.2 · SynBio-1.28M | accuracy (%): 0.42 -> 23.53 | Helped |
| Subsample SynBio-1.28M to 50% (ablation) | Pythia-410M at r=0.2 · SynBio-1.28M | accuracy (%): 0.42 -> 37.46 | Helped |
| Subsample SynBio-1.28M to 56.25% (ablation) | Pythia-410M at r=0.2 · SynBio-1.28M | accuracy (%): 0.42 -> 39.81 | Helped |
| Increase the subsampling ratio to 62.5% (ablation) | Pythia-410M at r=0.2 · SynBio-1.28M | accuracy (%): 39.81 -> 1.22 | Hurt |
| Subsample SynBio-2.56M to 50% (ablation) | Pythia-1B at r=0.2 · SynBio-2.56M | accuracy (%): 0.39 -> 32.94 | Helped |
| Increase the mixing ratio from r=0.1 to r=0.45 | Pythia-70M on FineWeb-Edu + SynBio-320k · SynBio-320k | accuracy (%): 0.4 -> 58.1 | Helped |
| Train at r=0.2 rather than use no SynBio | Pythia-410M from scratch · FineWeb-Edu downstream tasks | average downstream accuracy (%): 57.35 -> 56.77 | Hurt |
| Increase r to 0.3 without subsampling SynBio | Pythia-410M from scratch · FineWeb-Edu downstream tasks | average downstream accuracy (%): 57.35 -> 55.26 | Hurt |
| Subsample WikiBio to 50% at r=0.1 (ablation) | Continual pre-training on Pile + WikiBio · WikiBio | number of learned facts: 4 times | Helped |
| Add compact rephrased WikiBio knowledge at CKM ratio 30% (ablation) | Continual pre-training on Pile + WikiBio at r=0.1 · WikiBio | number of learned facts: 20x | Helped |
Surprising findings
- Randomly subsampling the knowledge-dense data can increase the number of memorized facts, since each fact gets higher exposure frequency.
- Naive small-model measurements on a small domain may give little signal about larger models' performance on the same domain.
Limitations
- Limited random-seed replication due to high compute cost; main results are single-seed.
- Mainly synthetic biographies as proxy for knowledge-dense data; real-world heterogeneous data may show less apparent transitions.
- Theory assumes a sufficiently trained optimal bounded-capacity learner and non-overlapping domains.
Experimental setup
Datasets: SynBio FineWeb-Edu The Pile OpenWebMath WikiBio PopQA
Benchmarks: SynBio PopQA LAMBADA ARC-E SciQ PIQA HellaSwag
Metrics: exact-match accuracy on memorized facts validation loss zero-shot downstream accuracy
Baselines: Pythia
Builds on: Pythia Allen-Zhu & Li knowledge capacity scaling (synthetic biographies) Chinchilla compute-optimal scaling
Closest papers by meaning
- Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performance (ICLR 2025 · similarity 0.89)
- Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws (NeurIPS 2025 · similarity 0.88)
- Physics of Language Models: Part 3.1, Knowledge Storage and Extraction (ICML 2024 · similarity 0.87)
- Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisition (ICLR 2025 · similarity 0.87)
- How Do Large Language Models Acquire Factual Knowledge During Pretraining? (NeurIPS 2024 · similarity 0.87)
- Data Engineering for Scaling Language Models to 128K Context (ICML 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
