How a 9B Model Tops Reasoning Benchmarks: A Technical Breakdown of Distillation

    This article breaks down how a roughly 9B-parameter model reached the top of public reasoning benchmarks through a two-stage transformation: supervised fine-tuning on process-oriented data generated by a much larger reasoning model, followed by lightweight policy optimization. It explains each stage, the engineering pitfalls to watch for, a reusable practice checklist, and the limits of this approach, showing that reasoning ability transfers more readily than broad knowledge coverage.

    1. What a “Small Model Tops the Leaderboard” Moment Actually Means

    A model with roughly 9 billion parameters ranked near the top of a public reasoning benchmark. The community later found that its capabilities did not come from independent pretraining. Instead, the model went through two consecutive rounds of modification: first, capability injection using problem-solving process data generated by a common large-scale reasoning model; second, a lightweight round of policy optimization.

    The ranking itself is not the interesting part. What matters is that this case validates an engineering path: reasoning ability is far more transferable than knowledge coverage.

    One common misunderstanding needs clearing up: a small model “topping the leaderboard” usually holds only within a specific task distribution. Math and STEM problems have verifiable answers and relatively standardized reasoning chains, making them the scenarios where distillation pays off most clearly. Once you move to open-domain question answering, long-tail common sense, or tasks that require broad world knowledge, the gap in parameter count reappears. A more accurate statement is this: within the target domain, a small model approaches large-model performance at very low cost.

    2. Breaking Down the Pipeline: Three Stages of Capability Transfer

    Stage 1: Generating “Process-Oriented” Samples with a Large Model

    The original approach used an ultra-large model with roughly 1.6 trillion total parameters to generate about 250,000 math and STEM samples in high-reasoning-effort mode. Three design choices matter here:

    1. Collecting the process, not just the answer. Each sample includes the entry point, how the problem is decomposed, the step-by-step derivation, and the final conclusion. The small model learns a template for “how to think,” not merely an input-output mapping.
    2. Why high reasoning effort matters. The reasoning effort parameter controls the intermediate reasoning budget a model spends before giving an answer. A higher budget produces more complete steps and more thorough self-checking in the samples, which raises the signal-to-noise ratio of the training targets.
    3. Balancing scale and cost. 250,000 samples is a “sufficient and manageable” volume: enough to cover the main problem types without letting generation and cleaning costs spiral.

    A schematic way to organize the data looks like this (field names are for illustration only):

    1. sample = {
    2. "prompt": "Original problem text",
    3. "reasoning_trace": "Where to start -> How to break it down -> Step-by-step derivation",
    4. "final_answer": "Result",
    5. "domain": "math|physics|...",
    6. "difficulty": 3,
    7. "verified": True # Whether it passed answer or rule-based validation
    8. }

    Stage 2: Supervised Fine-Tuning on a Mid-Sized Base

    The second step picks an open-source base model of roughly 9 billion parameters and fine-tunes it on the samples above. Several engineering points are essential:

    • The base model sets the ceiling. The base needs basic instruction-following and reasoning ability; otherwise, even good process data will be hard to absorb.
    • Template consistency. The chat template, special tokens, and termination tokens must match the base model’s pretraining stage. Otherwise, you get distribution mismatch and generation that fails to converge.
    • Joint loss over process and answer. Computing loss only on the answer lets the model take shortcuts. Constraining both the reasoning segment and the answer segment is what suppresses the tendency to “guess the answer.”
    • Data cleaning is not optional. Deduplication, removing overly long and truncated samples, and filtering out trajectories with wrong answers are the steps with the most certain payoff.

    Stage 3: Finishing with Lightweight Policy Optimization

    The final step applies a sequence-level policy optimization method for small-step reinforcement learning. Its value is not a large score jump but correcting preferences: when multiple correct reasoning paths exist, it makes the model favor the concise, stable one and reduces the chance of format drift and redundant self-repetition. In practice, the learning rate needs to be significantly lower than in the fine-tuning stage, and the number of iterations should stay small. Otherwise, catastrophic forgetting can wipe out the reasoning format learned in Stage 1.

    3. A Reusable Practice Checklist

    • Define the evaluation first, then build the data. Clarify the target domain and the evaluation split to avoid inflated scores caused by training samples and evaluation questions coming from the same source.
    • Prefer verifiable answers. Prioritize problem types that can be automatically checked with rules or a solver. Automatic validation is the most effective low-cost way to filter noise.
    • Save checkpoints per stage. Evaluate each stage independently so that when a regression appears, you can quickly identify which step introduced it.
    • Keep compute elastic. Data generation, fine-tuning, and evaluation have very different resource profiles. Scaling on demand with container platforms and elastic compute, managing dataset versions with object storage, and tracking training metrics and failed jobs with logging and monitoring/alerting is a fairly general engineering setup.
    • Stay aware of compliance and provenance. Distilling from another model’s outputs requires attention to the relevant license terms. For enterprise deployment, complete a provenance and authorization review internally.

    4. Limitations and Judgment

    The boundaries of this path are equally clear. Once capability is compressed into a small model, the breadth of generalization narrows. Incorrect reasoning in the process data gets inherited along with the correct parts. A gap remains between leaderboard performance and real business performance. The sensible positioning is to treat the small model as a low-cost reasoning engine for specific high-frequency tasks and escalate complex problems to a larger model, forming tiered invocation. If an enterprise wants to reproduce similar results on its own data, the general model training and inference capabilities offered by Baidu AI Cloud can serve as the underlying platform, but the actual payoff still depends on how rigorous the data quality and evaluation design are.