Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior
Organizations: University of Sheffield, UK · Mohamed bin Zayed University of Artificial Intelligence, UAE · Hugging Face · National Institute of Informatics, Japan · University of Exeter, UK · Federal University of Rio Grande do Norte, Brazil
Abstract
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.
Figures & tables
| Category (%) | C4 | SmolLM3 | OLMo3 | Marin |
|---|---|---|---|---|
| Natural Lang. | 100.0 | 85.0 | 89.5 | 92.6 |
| Web | 100.0 | 79.8 | 76.9 | 92.6 |
| Code | 0.0 | 12.0 | 7.1 | 6.1 |
| Math | 0.0 | 3.0 | 3.4 | 1.3 |
| PT-Only | NLL vs. PT-Only | |||
|---|---|---|---|---|
| Data Mix | NLL | Control | -Shuffle Dyck | |
| 500M | C4 | 3.358 .041 | +0.060 .044 | -0.064 .047 |
| SmolLM3 | 3.391 .058 | +0.030 .033 | -0.020 .036 | |
| OLMo3 | 3.650 .063 | -0.046 .053 | -0.066 .072 | |
| Marin | 3.341 .065 | -0.006 .016 | -0.084 .033 | |
| 1B | C4 | 3.307 .052 | -0.036 .031 | -0.058 .027 |
| Downstream (%) | BLiMP | Verbatim | |||||||
|---|---|---|---|---|---|---|---|---|---|
| RC | Sci. QA | CR | LM | Avg | (%) | NLL | |||
| (a) | Marin (full) | +0.6 0.6 | +2.3 0.6 | +1.8 0.8 | +3.1 1.3 | +1.9 0.5 | -0.3 1.0 | -0.073 0.024 | – |
| 17% Math | +1.0 0.4 | +2.2 1.1 | +1.8 0.4 | +3.1 0.8 | +2.0 0.3 | -0.3 1.6 | -0.024 0.014 | – | |
| DCLM only | +0.8 0.2 | +1.6 0.5 | +1.6 0.9 | +2.1 0.7 | +1.5 0.3 | +0.0 2.0 | -0.054 0.043 | – | |
| FineWeb-Edu only | +0.5 0.6 | +0.0 1.3 | +1.9 1.2 | +1.5 1.4 | +1.0 0.4 | -1.5 3.9 | -0.042 0.050 | – | |
| Marin\DCLM | +0.4 0.2 | +0.6 0.9 | -0.9 1.3 | +0.6 0.9 | +0.2 0.5 | +0.4 1.4 | -0.012 0.041 | – | |
| C4 (3B) | Marin (3B) | Marin (7B) | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Tokens | Avg | BLiMP | NLL | Avg | BLiMP | NLL | Avg | BLiMP | NLL |
| 21B | +1.2 | +3.0 | -0.039 | +1.1 | -3.1 | -0.015 | +0.5 | -0.2 | +0.008 |
| 42B | +0.7 | +3.1 | +0.014 | +1.6 | -10.3 | -0.014 | +0.3 | +1.8 | +0.002 |
| 63B | +0.7 | -2.2 | -0.033 | +1.5 | -1.2 | -0.019 | +0.4 | -0.6 | -0.004 |
| 75.5B | – | – | – | – | – | – | +1.0 | -1.1 | -0.029 |
| 84B | +0.8 | -0.7 | -0.021 | +1.3 | +1.3 | -0.035 | – | – | – |
| Task | Symbol inventory | Ints / doc |
|---|---|---|
| -Shuffle Dyck | , , depth | 2,048 |
| MP-Struct Core | , , 3 heads, 1 leaf | 2,048 |
| Set | 999 values, separator 999 | 2,048 |
| NCA | grid, 10 states, patches, | 1,406 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | 500M | 1B | 3B | 7B |
|---|---|---|---|---|
| Architecture | ||||
| Hidden size ( ) | 1,024 | 1,536 | 2,560 | 3,584 |
| Intermediate size ( ) | 2,816 | 4,096 | 6,912 | 18,944 |
| Number of layers ( ) | 32 | 36 | 40 | 28 |
| Attention heads ( ) | 16 | 12 | 20 | 28 |
| Key-Value heads ( ) | 4 | 4 | 4 | 4 |
| RC | Science QA | CR | LM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Approach | RACE | ReCoRD | SciQ | ARC-Easy | OpenBookQA | COPA | PIQA | SIQA | HellaSwag | LAMBADA | |
| 500M | C4 (PT-Only) | 29.3 | 66.8 | 61.5 | 35.9 | 27.4 | 71.2 | 67.8 | 35.1 | 37.7 | 30.8 |
| Control | -0.5 0.6 | -0.8 0.5 | -0.4 1.6 | +1.4 1.2 | +0.2 1.1 | -4.5 2.8 | -1.0 0.6 | +0.6 0.7 | -0.6 0.6 | -0.4 1.2 | |
| -Shuffle Dyck | -0.0 1.0 | +0.9 0.7 | +1.1 1.3 | +0.6 1.1 | +0.7 0.9 | -2.3 2.1 | -1.0 1.1 | +1.0 0.6 | +1.7 0.7 | +0.1 1.1 | |
| SmolLM3 (PT-Only) | 29.6 | 65.1 | 67.8 | 53.5 | 30.0 | 66.0 | 64.9 | 38.3 | 36.3 | 35.7 | |
| Control | -0.2 0.8 | -0.3 0.7 | -1.6 1.5 | +0.0 0.9 | -2.2 1.5 | +2.8 2.4 | -0.5 1.3 | +0.6 0.5 | -0.8 0.4 | +0.1 1.2 | |
| Semantics | Morphology | Syntax | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approach | Quant | NPI | Ana Agr | Irregul | DN Agr | SV Agr | Arg Str | Bind | Ctrl Rais | Ellips | Fill Gap | Island | Overall | |
| 500M | C4 (PT-Only) | 71.0 | 64.5 | 97.5 | 93.9 | 94.8 | 85.8 | 80.3 | 77.2 | 81.4 | 87.2 | 78.7 | 68.8 | 79.6 |
| Control | -1.3 4.2 | -0.6 9.3 | -1.3 3.1 | +0.7 2.0 | -1.4 1.3 | -2.0 1.8 | -1.6 2.0 | +2.2 2.2 | -2.2 2.4 | -0.2 1.6 | -1.7 1.8 | -6.4 2.2 | -1.6 1.5 | |
| -Shuffle Dyck | +3.7 5.9 | -2.1 3.9 | -2.4 2.9 | -1.0 1.6 | -0.4 0.4 | -2.0 3.2 | -0.5 0.8 | +2.9 1.2 | -0.8 1.0 | +0.2 1.8 | +0.6 1.0 | -3.9 3.4 | -0.6 1.0 | |
| SmolLM3 (PT-Only) | 73.8 | 57.0 | 96.0 | 94.8 | 95.6 | 86.7 | 80.9 | 79.7 | 82.4 | 88.3 | 80.7 | 67.7 | 79.7 | |
| Control | -3.2 4.6 | +12.1 7.7 | +0.8 3.3 | +0.4 2.0 | -0.1 1.1 | +1.3 2.5 | -0.1 1.3 | +1.7 1.2 | -2.7 1.0 | -0.1 1.1 | +1.3 1.0 | -0.0 3.0 | +1.3 1.7 | |
| Scale | Data | sd | Ckpts | ||
|---|---|---|---|---|---|
| Downstream Average | |||||
| 500M | C4 | +0.66 | +0.28 | 0.23 | 6/6 |
| 500M | Marin | +1.89 | +1.39 | 0.57 | 6/6 |
| 500M | OLMo3 | +1.38 | +0.66 | 0.62 | 4/6 |
| 500M | SmolLM3 | +2.64 | +0.98 | 0.94 | 5/6 |
| 1B | C4 | +2.94 | +2.23 | 0.73 | 6/6 |
| Downstream average | BLiMP | Verbatim | |||||
|---|---|---|---|---|---|---|---|
| Window | Cells | Flips | 500M | 1B | 3B | Flips | Cells |
| 2K–10K | 11/12 | 0/12 | +0.86 | +1.13 | +1.23 | 5/12 | 12/12 |
| 3K–10K | 11/12 | 0/12 | +0.84 | +1.29 | +1.22 | 5/12 | 12/12 |
| 4K–10K | 11/12 | 0/12 | +0.84 | +1.36 | +1.22 | 5/12 | 12/12 |
| 5K–10K | 11/12 | 0/12 | +0.83 | +1.37 | +1.27 | 6/12 | 12/12 |
| 6K–10K | 11/12 | 0/12 | +0.80 | +1.43 | +1.29 | 6/12 | 12/12 |
| RC | Science QA | CR | LM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Approach | RACE | ReCoRD | SciQ | ARC-Easy | OpenBookQA | COPA | PIQA | SIQA | HellaSwag | LAMBADA | |
| Seed 1 | Marin 3B (PT-Only) | 33.7 | 75.1 | 75.9 | 60.5 | 32.0 | 73.3 | 69.8 | 42.9 | 47.4 | 48.5 |
| -Shuffle Dyck | -0.6 0.7 | +1.7 0.5 | +2.4 1.3 | +2.6 0.7 | +1.9 1.4 | +0.8 2.9 | +2.3 0.6 | +0.4 0.6 | +3.6 0.2 | +3.1 1.3 | |
| Seed 2 | Marin 3B (PT-Only) | 33.0 | 74.6 | 74.9 | 60.5 | 33.4 | 71.7 | 69.7 | 42.4 | 47.0 | 48.1 |
| -Shuffle Dyck | -0.4 0.9 | +1.7 1.0 | +3.6 1.7 | +2.1 0.4 | +0.2 0.9 | +1.2 3.7 | +1.4 0.9 | +1.1 0.8 | +3.4 0.3 | +3.3 1.3 | |
| Seed 3 | Marin 3B (PT-Only) | 32.4 | 75.2 | 75.4 | 61.3 | 34.0 | 72.8 | 70.0 | 41.4 | 47.7 | 49.4 |
| Semantics | Morphology | Syntax | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approach | Quant | NPI | Ana Agr | Irregul | DN Agr | SV Agr | Arg Str | Bind | Ctrl Rais | Ellips | Fill Gap | Island | Overall | |
| Seed 1 | Marin 3B (PT-Only) | 77.8 | 58.5 | 93.1 | 88.9 | 96.0 | 86.2 | 80.7 | 82.2 | 79.4 | 89.5 | 77.9 | 68.2 | 79.7 |
| -Shuffle Dyck | -8.7 5.6 | +6.5 6.8 | +2.9 3.2 | +1.0 3.8 | -0.6 0.9 | -0.1 2.8 | -2.0 1.3 | -1.9 1.1 | +1.1 1.6 | -2.3 0.4 | -0.5 1.0 | +0.3 3.2 | -0.3 1.0 | |
| Seed 2 | Marin 3B (PT-Only) | 72.4 | 66.1 | 90.9 | 90.0 | 95.3 | 87.2 | 80.0 | 82.3 | 80.4 | 89.6 | 78.7 | 68.3 | 80.2 |
| -Shuffle Dyck | +3.9 9.3 | -3.0 8.2 | +7.9 6.8 | +4.0 6.4 | -0.2 0.4 | -1.5 2.4 | -0.7 1.3 | -0.3 0.9 | +0.5 1.0 | -1.9 1.0 | -0.4 1.3 | +1.5 3.3 | +0.1 1.9 | |
| Seed 3 | Marin 3B (PT-Only) | 79.3 | 66.5 | 94.1 | 87.7 | 96.2 | 85.5 | 81.8 | 82.2 | 80.2 | 88.9 | 79.3 | 71.6 | 81.3 |
| Approach | Mean NLL | |
|---|---|---|
| Seed 1 | Marin 3B (PT-Only) | 3.150 |
| -Shuffle Dyck | -0.073 0.024 | |
| Seed 2 | Marin 3B (PT-Only) | 3.101 |
| -Shuffle Dyck | +0.014 0.022 | |
| Seed 3 | Marin 3B (PT-Only) | 3.113 |
| -Shuffle Dyck | -0.040 0.044 |
| Downstream (%) | BLiMP | Verbatim | ||||||
|---|---|---|---|---|---|---|---|---|
| Approach | RC | Sci. QA | CR | LM | Avg | (%) | NLL | |
| C4 | PT-Only (abs.) | 53.1 | 45.9 | 57.2 | 36.7 | 48.2 | 78.3 | 3.227 |
| -Shuffle Dyck | +1.6 0.5 | +0.4 0.6 | +0.5 0.7 | +2.8 1.1 | +1.3 0.6 | +1.7 1.8 | -0.093 0.028 | |
| MP-Struct Core | +1.1 0.7 | +1.3 1.4 | +1.1 1.0 | +3.2 0.7 | +1.7 0.6 | +2.3 1.9 | -0.077 0.026 | |
| NCA | +0.5 0.3 | +1.9 0.7 | +0.8 1.1 | +1.4 0.9 | +1.2 0.4 | +2.1 1.8 | -0.101 0.033 | |
| Set | -8.3 4.6 | -6.4 3.8 | -7.2 4.4 | -14.0 11.4 | -9.0 6.0 | -4.4 10.8 | +0.527 0.469 | |
| Setting | Tokens | Approach | RC | Science QA | CR | LM | Avg (%) | BLiMP (%) | Verbatim NLL |
|---|---|---|---|---|---|---|---|---|---|
| C4 (3B) | 21B | PT-Only | 55.0 | 46.0 | 59.0 | 39.0 | 49.7 | 77.8 | 3.165 |
| PPT ( -Shuffle Dyck) | 55.5 | 47.8 | 59.4 | 41.2 | 51.0 | 80.8 | 3.127 | ||
| 42B | PT-Only | 57.0 | 51.0 | 60.5 | 44.2 | 53.2 | 77.9 | 3.062 | |
| PPT ( -Shuffle Dyck) | 58.5 | 49.2 | 61.8 | 46.0 | 53.9 | 81.0 | 3.077 | ||
| 63B | PT-Only | 58.3 | 53.0 | 61.8 | 44.6 | 54.4 | 78.2 | 3.057 | |
| PPT ( -Shuffle Dyck) | 58.8 | 52.9 | 63.0 | 46.1 | 55.2 | 75.9 | 3.025 |
| RC | Science QA | CR | LM | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Setting | Tokens | Approach | RACE | ReCoRD | SciQ | ARC-Easy | OpenBookQA | COPA | PIQA | SIQA | HellaSwag | LAMBADA |
| C4 (3B) | 21B | PT-Only | 33.2 | 76.8 | 67.8 | 41.3 | 28.8 | 76.0 | 71.7 | 36.9 | 51.2 | 39.0 |
| PPT | 33.2 | 77.8 | 69.5 | 39.8 | 34.0 | 75.0 | 73.2 | 35.9 | 53.7 | 41.2 | ||
| 42B | PT-Only | 34.3 | 79.7 | 72.9 | 49.0 | 31.0 | 75.0 | 72.6 | 37.7 | 56.6 | 44.2 | |
| PPT | 36.0 | 81.0 | 74.3 | 40.1 | 33.2 | 76.0 | 75.0 | 37.4 | 58.8 | 46.0 | ||
| 63B | PT-Only | 35.9 | 80.8 | 77.2 | 50.8 | 31.0 | 73.0 | 74.9 | 40.7 | 58.6 | 44.6 | |