合成预预训练在规模上依然有效,但并非作为语法先验

·

研究论文 · 2026/10/01

在合成非自然语言数据上进行预预训练(PPT)可提高语言模型预训练(PT)的token效率。先前工作将这一收益归因于语法先验,即在PPT期间学到的、可迁移至自然语言语法的结构归纳偏置。然而,PPT仅在最多10亿参数的模型和低于20亿token的PT预算上测试过,且主要使用网络文本。目前尚不清楚PPT在更大规模以及更真实的PT数据混合(如代码和数学)下是否有效。因此,我们开展了一项全面的PPT研究,涵盖五种PPT任务、四种PT数据混合、四种参数规模(5亿至70亿)以及高达1000亿token的PT预算。结果表明,PPT的下游性能和token效率增益在规模上持续存在,例如在30亿规模下至少节省210亿PT token。然而,与先前工作相反,我们没有一致证据表明这些增益源于语法先验。下游性能与语法可接受性在不同模型规模下并不一致对齐。相反,我们发现下游增益来自改善长程检索的PPT任务。最后,PPT性能增益对PT数据混合的组成方式具有鲁棒性,仅当网络文本缺失时才会减弱。总体而言,PPT是PT的一种低成本补充,未来PPT任务设计应针对长程检索而非自然语言语法。

该研究挑战了PPT增益源于语法先验的既有观点,并通过大规模实验(最高70亿参数、1000亿token)证明增益来自长程检索能力,为未来PPT任务设计提供了新方向。

Pre-pretraining (PPT) on synthetic non-natural language data improves token efficiency during language model pre-training (PT). Prior work attributes this gain to a grammatical prior, i.e., a structural inductive bias learned during PPT that transfers to natural language grammar. However, PPT has only been tested on models of at most 1B parameters and PT budgets below 2B tokens on predominantly web text. It is unknown whether PPT is effective at larger scales and under more realistic PT data mixtures that combine diverse sources (e.g., code and math). We therefore present a comprehensive study on PPT spanning five PPT tasks, four PT data mixtures, four parameter scales (500M to 7B), and PT budgets of up to 100B tokens. Our results demonstrate that the downstream performance and token efficiency gains of PPT persist at scale, e.g., saving at least 21B PT tokens at the 3B scale. However, in contrast to prior work, we find no consistent evidence that these gains stem from a grammatical prior. Downstream performance does not consistently align with grammatical acceptability across model sizes. Instead, we find that downstream gains arise from PPT tasks that improve long-range retrieval. Finally, PPT performance gains are robust to how PT data mixtures are composed and diminish only when web text is absent. Overall, PPT is a low-cost addition to PT, and future PPT task design should target long-range retrieval rather than natural language grammar.

阅读原文

参与讨论