daVinci-LLM: Towards the Science of Pretraining
A fully-open 3B pretraining recipe from GAIR-NLP that operationalizes the Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-training framework (L0–L9 data taxonomy) on a 7.5T+ token corpus, using a dynamically-monitored adaptive two-stage curriculum (6T general → 2T structured-QA, with a 70%-QA Stage-2-2 phase). Headline result: daVinci-LLM-3B reaches 51.72 average, matching OLMo-3 7B (51.65) despite half the parameters, and substantially beating it on MATH (62.80 vs 39.60). Releases include the final checkpoint, all intermediate checkpoints, the full 7.5T-token corpus with per-datum Darwin Level annotations, and the documented results of 200+ controlled ablations including failed experiments.
Key claims
Section titled “Key claims”- A 3B model trained on systematically-curated data matches OLMo-3 7B (51.72 vs 51.65 overall on a 5-task aggregate) [Repo “Key Results” table].
- The MATH gap to OLMo-3 7B (+23.20 points: 62.80 vs 39.60) is attributed to L4-refined and L5-completed reasoning content in the corpus, not to architectural changes [Repo §3.3, Tech report §4].
- Capability maturation is decoupled across domains: general-knowledge benchmarks saturate around ~1T tokens of Stage-1 training, while code and science reasoning continue improving past 4T tokens — motivating progressive reallocation toward reasoning-intensive domains within Stage 1 [Repo §Stage 1, Fig “train-traj”].
- A format shift (introducing structured QA in Stage 2) unlocks growth beyond what mixture rebalancing alone achieves; Stage 2-2 (intensify to 70% QA after balanced Stage 2-1) yields a +12.14 aggregate gain over Stage 1’s end state [Repo §Stage 2].
- Extreme specialization triggers collapse: jumping directly to a 70%-QA mix without the balanced Stage 2-1 foundation degrades retention of general capabilities — a “balance first, then intensify” rule [Repo §Q3 ablation].
- Evaluation protocol matters and can produce ranking reversals: PPL-based and generative evaluations disagree on high-QA-trained models; the paper recommends reporting multiple protocols for a complete capability profile [Repo §Q4 ablation].
- Per-level data-processing contributions, isolated: L3 model-based filtering +3.4 MBPP, L4 generative refinement +7.0 MATH, L5 cognitive completion strong in-domain alignment but limited transfer [Repo §Q1 ablation, Tech report §4].
Method
Section titled “Method”Three pillars, jointly released:
-
Data: 7.5T+ tokens, every datum tagged with its Darwin Level (L0–L9 per Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-training). Combines public datasets (passed through deeper processing where appropriate) with in-house corpora. Annotation makes the corpus reusable at any processing depth.
-
Training: Adaptive two-stage curriculum. Stage 1 (6T tokens) builds broad foundations; benchmark probes during training reveal that general knowledge saturates around 1T while code/science keep growing past 4T, so the mix is progressively reallocated toward reasoning-heavy domains within the stage. Stage 2 (2T tokens) introduces structured QA: Stage 2-1 balances domains to stabilize, Stage 2-2 intensifies to 70% QA for targeted amplification.
-
Science: 200+ controlled ablations conducted as verifiable research questions — processing-depth contribution per level (Q1), capability-maturation curves and mix adaptation (Q2), specialization vs forgetting (Q3), evaluation-protocol reliability (Q4). Negative results and failed experiments are released alongside the positive ones.
The deliverables — model, all intermediate checkpoints, full corpus with Darwin Level metadata, technical report with the full ablation set — are pitched as an OLMo-style reproducibility package rather than just a model release.
Results
Section titled “Results”| Capability | daVinci-3B | OLMo-3 7B | LLaMA-3.2-3B | Qwen-2.5-3B |
|---|---|---|---|---|
| Overall | 51.72 | 51.65 | 37.58 | 51.44 |
| General Knowledge | 52.96 | 55.13 | 51.08 | 55.16 |
| Code Generation | 55.99 | 54.42 | 32.40 | 56.13 |
| Scientific Reasoning | 48.30 | 45.98 | 22.45 | 44.65 |
| MATH | 62.80 | 39.60 | 9.00 | 37.20 |
(Source: Repo “Key Results” table.) The MATH delta is the largest single result — daVinci-3B beats OLMo-3 7B by 23.20 points on MATH and Qwen-2.5-3B by 25.60. The Stage-2 +12.14 aggregate gain comes from format-shift + QA intensification, not from architecture.
Why it’s interesting
Section titled “Why it’s interesting”This is the most legible “full-stack open pretraining recipe” filed since Smol Training Playbook (GPU MODE talk on SmolLM3) (SmolLM3), and it sits in interesting tension with that playbook’s conclusion. SmolLM3’s argument is that data-curation is the dominant return — daVinci-LLM agrees but goes further: it claims the axes of data curation (processing depth per L0–L9, capability-aware mix adaptation, format shift, QA intensification) are themselves separately ablatable and that explicit ablation is the difference between matching a 7B-parameter peer at 3B and not. Three specific connections worth noting: (i) the dynamic-mix-adaptation story complements Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training (CLIMB) — CLIMB automates the mix search; daVinci runs it as an in-training feedback loop driven by per-domain benchmark probes; (ii) the “balance first then intensify” Stage-2 finding parallels Replaying pre-training data improves fine-tuning (data replay during fine-tuning) — both push back against the naive “more of the target distribution, faster” intuition; (iii) the PPL-vs-generative ranking-reversal observation echoes On Data Engineering for Scaling LLM Terminal Capabilities‘s concern that protocol choice can flip dataset rankings, and is the most explicit pretraining-side report of that effect on the wiki.
See also
Section titled “See also”- Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-training — companion framework paper; this paper is its empirical validation
- Synthetic Training Data — L4/L5 cognitive-completion content is the synthetic-data lineage; daVinci is the largest-scale public ablation of those operations
- Open foundation-model releases — full corpus + all checkpoints + 200+ ablation reports is the most aggressive openness release filed in this batch
- Smol Training Playbook (GPU MODE talk on SmolLM3) — SmolLM3’s data-curation-dominant thesis; daVinci sharpens it by isolating processing-depth and format-shift axes
- Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training — automated mix search; daVinci does in-training mix adaptation manually with benchmark probes
- Replaying pre-training data improves fine-tuning — data replay during fine-tuning; parallel finding that “more target, faster” is naive
- The Finetuner's Fallacy: When to Pretrain with Your Finetuning Data — when to pretrain on finetuning data; daVinci’s Stage-2 format-shift is one structured way to do this
- Shaping capabilities with token-level data filtering — negative curation at token granularity; complementary to daVinci’s positive curation at L3–L5
- On Data Engineering for Scaling LLM Terminal Capabilities — protocol-choice can flip dataset rankings; daVinci confirms the same on PPL vs generative
- Synthetic Data Powering Pretraining (UC Berkeley EE 290/194-11 Lecture 11a) — survey-side parallel