QED-Nano: Teaching a Tiny Model to Prove Hard Theorems
The paper introduces QED-Nano, a 4B open-source model that achieves competitive Olympiad-level theorem proving through a three-stage training pipeline involving distillation, rubric-based reinforcement learning, and a reasoning cache, surpassing larger open models and approaching proprietary performance at a fraction of the cost.
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
Imagine you have a brilliant, world-class mathematician (like a 685-billion-parameter AI) who can solve the hardest math problems in the world, but they are so expensive to hire that only the biggest tech giants can afford them. They are like a private jet: fast and powerful, but you can't buy one, and you can't even see how the engine works.
Then, there are the "small" AI models. They are like a reliable, affordable bicycle. They are cheap and open for everyone to use, but usually, they can only ride on flat, easy roads. They struggle with the steep, rocky mountains of advanced math proofs.
The Big Question: Can we take that affordable bicycle and train it to climb the same mountains as the private jet?
The Answer: Yes. The team behind this paper built QED-Nano, a tiny 4-billion-parameter model that learned to prove complex math theorems, rivaling models 30 to 100 times its size.
Here is how they did it, explained through a simple story:
The Three-Step Training Camp
To turn a small model into a math genius, the team didn't just throw more data at it. They used a specific three-stage training camp:
1. The "Style Coach" (Supervised Fine-Tuning)
Imagine you want to learn how to write a perfect legal argument. You wouldn't just read random books; you would hire a master lawyer to show you exactly how they structure their sentences, where they place their commas, and how they build their logic.
- What they did: They took the tiny model and showed it thousands of examples of perfect math proofs written by the giant "DeepSeek-Math-V2" model.
- The Analogy: This is like giving the bicycle a new frame and teaching it the style of a professional racer. It learned how to "talk" like a mathematician, but it didn't necessarily understand the deep logic yet.
2. The "Strict Referee" (Reinforcement Learning with Rubrics)
Now the model can write like a pro, but it might still make logical errors. In the old days, AI was graded like a multiple-choice test: "Did you get the right number? Yes/No." But math proofs aren't multiple choice; they are essays. You can get the right answer with the wrong logic, or a wrong answer with brilliant logic.
- What they did: They created a "Rubric" (a detailed grading sheet) for every problem. Instead of just saying "Wrong," a smart AI referee (acting as a judge) would grade the proof step-by-step.
- "Good job stating the theorem (+1 point)."
- "You forgot to prove this step is valid (-2 points)."
- "Your logic here is circular, so no points for this section."
- The Analogy: This is like a coach who doesn't just yell "Run faster!" but instead watches the runner's form, points out exactly where their foot is landing wrong, and gives them a score based on how they ran, not just if they finished. The model learned to improve its reasoning to get a higher score from the referee.
3. The "Thinking Pause" (Reasoning Cache & Test-Time Scaffolds)
This is the secret sauce. Usually, when an AI solves a problem, it has to spit out the whole answer in one go. If the problem is huge, the AI gets overwhelmed and forgets the beginning of its own thought process.
- What they did: They taught the model to pause, summarize what it has figured out so far, and then start the next step based on that summary. It's like writing a long essay, stopping every few paragraphs to write a "TL;DR" (Too Long; Didn't Read) summary of what you've said, and then using that summary to write the next part.
- The Analogy: Imagine trying to solve a maze. Instead of running blindly until you hit a wall, the model stops every few turns, draws a map of where it has been, and then uses that map to plan the next leg of the journey. This allows the tiny model to "think" for a very long time (up to 2 million tokens!) without getting lost.
The Results: The Underdog Wins
The results were shocking.
- The Small Model: QED-Nano (4B parameters) scored 40% on a hard math olympiad test without any extra help.
- The Giant Models: It beat models that are 30 times larger (like Nomos-1) and even 60 times larger (like GPT-OSS-120B).
- With the "Thinking Pause": When they let the model use its "summary" trick to think longer, it scored 57%, getting very close to the performance of the expensive, closed-source "Gemini 3 Pro."
Why This Matters
- Democratization: You don't need a billion-dollar budget to solve hard math problems anymore. A small, open model can do it if trained correctly.
- Efficiency: Running a 4B model is like riding a bicycle; running a 600B model is like flying a private jet. The bicycle is much cheaper and easier to maintain, yet it can reach the same destination.
- Transparency: Because this model is "open," scientists can see exactly how it was trained. We aren't guessing how the magic works; we have the recipe.
In a nutshell: The paper proves that you don't need a massive brain to solve hard problems; you just need the right training, a strict referee, and the ability to pause and think before you speak. They turned a small, affordable AI into a math Olympiad contender.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.