← Latest papers
🤖 AI

daVinci-LLM:Towards the Science of Pretraining

The daVinci-LLM paper leverages a unique combination of industrial-scale resources and full research freedom to establish a fully-open, systematic science of pretraining, introducing the "Data Darwinism" framework and demonstrating through extensive ablation studies that processing depth, adaptive domain strategies, and compositional balance are critical determinants of model capability alongside data volume.

Original authors: Yiwei Qin, Yixiu Liu, Tiantian Mi, Muhang Xie, Zhen Huang, Weiye Si, Pengrui Lu, Siyuan Feng, Xia Wu, Liming Liu, Ye Luo, Jinlong Hou, Qipeng Guo, Yu Qiao, Pengfei Liu

Published 2026-03-31
📖 5 min read🧠 Deep dive

Original authors: Yiwei Qin, Yixiu Liu, Tiantian Mi, Muhang Xie, Zhen Huang, Weiye Si, Pengrui Lu, Siyuan Feng, Xia Wu, Liming Liu, Ye Luo, Jinlong Hou, Qipeng Guo, Yu Qiao, Pengfei Liu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Black Box" of AI

Imagine the world of Artificial Intelligence is like a giant cooking competition.

  • The Big Chefs (Commercial Companies): They have massive kitchens, unlimited ingredients, and the best ovens. But they keep their secret recipes locked in a safe. They only serve you the final dish (the AI model) and won't tell you how they made it, what ingredients they used, or why it tastes the way it does.
  • The Home Cooks (Academic Researchers): They are free to experiment and write down every step of their cooking. But they only have a tiny stove and a few eggs. They can't make a feast big enough to compete with the Big Chefs.

The Result: We have great-tasting AI, but we don't understand how to make it better. We are stuck guessing.

The Solution: The "Open Kitchen" Experiment

The daVinci-LLM team (a collaboration between SII, SJTU, and GAIR) decided to build a kitchen that has both the massive industrial equipment of the Big Chefs and the total freedom of the Home Cooks.

They didn't just release a finished cake; they released the entire cookbook, the shopping list, the dirty dishes, and even the failed experiments where the cake burned. Their goal was to turn AI training from a "mystery art" into a real science.


The Secret Sauce: "Data Darwinism"

Most people think making a smarter AI just means feeding it more books. The daVinci team says: "No, it's about the quality of the food, not just the quantity."

They created a system called Data Darwinism, which is like a 10-level filter for their ingredients (data). Think of it like preparing a meal:

  1. L0-L2 (The Grocery Run & Sorting): They grab raw data from the internet (like buying raw vegetables). They wash off the dirt and throw away the rotten ones (filtering out garbage text).
  2. L3 (The Taste Test): They use a smart robot to taste the food and decide if it's actually good to eat, rather than just looking at the label.
  3. L4 (The Chef's Refinement): This is the magic step. Instead of just serving the raw vegetable, the chef (a powerful AI) chops it up, removes the tough skin, and arranges it beautifully on a plate. They take messy, hard-to-read scientific papers and rewrite them so they are clear and logical, without changing the facts.
  4. L5 (The Master Chef's Lesson): This is the highest level. The AI doesn't just clean the food; it creates new lessons. It takes a complex math problem and writes out a step-by-step tutorial on how to solve it, filling in the gaps that a human might skip.

The Discovery: They found that using these "Master Chef" steps (L4 and L5) made their small 3-billion-parameter model perform as well as much larger 7-billion-parameter models. Quality beat quantity.


The Training Plan: A Two-Stage Journey

Training an AI is like raising a child. You can't teach them advanced calculus before they know how to count. The team used a Two-Stage Curriculum:

Stage 1: The "Kindergarten" (General Foundation)

  • The Goal: Teach the model to speak, read, and understand the world.
  • The Method: They fed it a huge mix of general internet text, code, and science.
  • The Twist: They noticed that the model learned "general facts" very quickly (like a kid learning the alphabet), but it kept getting better at "reasoning" (like solving puzzles) for a long time. So, they adjusted the diet mid-way, feeding it more logic-heavy content (code and science) and less random internet chatter.

Stage 2: The "University" (Reasoning Enhancement)

  • The Goal: Turn the smart kid into a genius problem-solver.
  • The Method: They stopped feeding it random stories and started feeding it Question & Answer (QA) pairs.
  • The Analogy: Imagine you are studying for a test.
    • Stage 1 was reading the whole textbook.
    • Stage 2 is doing practice exams.
    • They started with a mix of practice exams and reading (30% QA), then ramped it up to 70% practice exams.
  • The Result: The model learned to think step-by-step. It went from being okay at math to being a math wizard, all while keeping its general knowledge intact.

The Big Discoveries (What They Learned)

Through over 200 experiments (trying different recipes and seeing what failed), they found three golden rules:

  1. Deep Processing > Big Data: Cleaning and refining your data (L4/L5) is more powerful than just dumping more raw data on the model. It's like eating a nutrient-dense superfood vs. eating a mountain of junk food.
  2. Adapt or Die: Different skills grow at different speeds. If you keep feeding the same mix of data, the model stops learning. You have to change the recipe as the model gets smarter.
  3. Balance is Key: If you feed the model only math problems, it forgets how to write poetry. If you feed it only stories, it can't solve math. You have to balance the "specialized" training with "general" training to avoid "catastrophic forgetting" (where the AI gets smart at one thing but dumb at everything else).

The Final Score

The result is daVinci-LLM-3B.

  • It is a small model (3 billion parameters).
  • It is open (everyone can see how it was made).
  • It performs as well as much larger models (like the 7-billion-parameter OLMo-3) in math, coding, and science.

Why This Matters

This paper is a gift to the whole world. By showing exactly how they did it, they proved that you don't need to be a billion-dollar company to build a world-class AI. You just need good science, clean data, and the freedom to experiment.

They turned the "black box" of AI training into a clear, transparent window, allowing anyone to learn, improve, and build upon their work.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →