Lune

NeurIPS2025顶会

Data Mixing Can Induce Phase Transitions in Knowledge Acquisition

Xinran Gu, Kaifeng Lyu, Jiazheng Li, Jingzhao Zhang

摘要

Large Language Models (LLMs) are typically trained on data mixtures: most data come from web scrapes, while a small portion is curated from high-quality sources with dense domain-specific knowledge. In this paper, we show that when training LLMs on such data mixtures, knowledge acquisition from knowledge-dense datasets-unlike training exclusively on knowledge-dense data [Allen-Zhu and Li, 2024a]-does not always follow a smooth scaling law but can exhibit phase transitions with respect to the mixing ratio and model size. Through controlled experiments on a synthetic biography dataset mixed with web-scraped data, we demonstrate that: (1) as we increase the model size to a critical value, the model suddenly transitions from memorizing very few to most of the biographies; (2) below a critical mixing ratio, the model memorizes almost nothing even with extensive training, but beyond this threshold, it rapidly memorizes more biographies. We attribute these phase transitions to a capacity allocation phenomenon: a model with bounded capacity must act like a knapsack problem solver to minimize the overall test loss, and the optimal allocation across datasets can change discontinuously as the model size or mixing ratio varies. We formalize this intuition in an informationtheoretic framework and reveal that these phase transitions are predictable, with the critical mixing ratio following a power-law relationship with the model size. Our findings highlight a concrete case where a good mixing recipe for large models may not be optimal for small models, and vice versa.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • An empirical analysis of compute-optimal large language model training 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling 引用了 Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models
  • Can Small Training Runs Reliably Guide Data Curation? Rethinking Proxy-Model Practice 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts 引用了 Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling Laws
  • Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts 引用了 Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models
  • Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts 引用了 Large Language Models Struggle to Learn Long-Tail Knowledge
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Kimi-Dev: Agentless Training as Skill Prior for SWE-agentsZonghan Yang, Shengjie Wang, Kelin Fu, Wenyang He 等ICLR 2026 · 34 次引用
  2. Understanding LLM Behaviors via Compression: Data Generation, Knowledge Acquisition and Scaling LawsZhixuan Pan, Shaowen Wang, Pengfei Liao, Jian LiNeurIPS 2025 · 15 次引用
  3. Can Small Training Runs Reliably Guide Data Curation? Rethinking Proxy-Model PracticeJiachen T. Wang, Tong Wu, Kaifeng Lyu, James Zou 等ICLR 2026 · 3 次引用
  4. Capacity-Aware Mixture Law Enables Efficient LLM Data OptimizationJingwei Li, Xinran Gu, Jingzhao ZhangICML 2026 · 1 次引用
  5. Cram Less to Fit More: Training Data Pruning Improves Memorization of FactsJiayuan Ye, Vitaly Feldman, Kunal TalwarICML 2026 · 1 次引用

它引用的 Paper25

  1. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  2. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
  3. Large Language Models Struggle to Learn Long-Tail KnowledgeNikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace 等ICML 2023 · 623 次引用
  4. An empirical analysis of compute-optimal large language model trainingJordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya 等NeurIPS 2022 · 566 次引用
  5. Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language ModelsKushal Tirumala, Aram H. Markosyan, Luke Zettlemoyer, Armen AghajanyanNeurIPS 2022 · 304 次引用

相关 Paper

  1. CMR Scaling Law: Predicting Critical Mixture Ratios for Continual Pre-training of Language ModelsJiawei Gu, Zacc Yang, Chuanghao Ding, Rui Zhao 等EMNLP 2024 · 2 次引用
  2. How to inject knowledge efficiently? Knowledge Infusion Scaling Law for Pre-training Large Language ModelsKangtao Lv, Haibin Chen, Yujin Yuan, Langming Liu 等EMNLP 2025
  3. Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling PerformanceJiasheng Ye, Peiju Liu, Tianxiang Sun, Jun Zhan 等ICLR 2025
  4. Physics of Language Models: Part 3.1, Knowledge Storage and ExtractionZeyuan Allen-Zhu, Yuanzhi LiICML 2024 · 258 次引用
  5. Scaling Laws for Fact Memorization of Large Language ModelsXingyu Lu, Xiaonan Li, Qinyuan Cheng, Kai Ding 等EMNLP Findings 2024 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖