Technical Breakdown: How a 9B Distilled Model Tops Reasoning Benchmarks

    This article breaks down the technical pipeline behind a roughly 9B-parameter model that topped public reasoning evaluations and was later re-distilled by the community. It explains process-level supervision versus answer-only alignment, how teacher outputs are generated and filtered, key supervised fine-tuning choices on the student side, why re-distillation can improve results further, and how to evaluate and control costs without being misled by a single leaderboard.

    1. The Technical Problem Behind the Headline

    A small model of roughly 9 billion parameters topped a public reasoning benchmark, and community members then produced re-distilled derivatives. The important part is not the leaderboard position itself, but what the event validates: a cost-controlled modeling path. In this path, a much larger model generates high-quality problem-solving traces, and those traces are transferred to a smaller model. This is usually referred to as process-level supervision in knowledge distillation, and it differs fundamentally from the traditional approach of aligning only the final answer.

    It is worth clarifying that distillation is not the only way to compress a model. Quantization, pruning, and low-rank decomposition address how to run the same model with fewer resources. Distillation addresses how a small model can acquire reasoning ability it did not originally have. The former does not change the capability ceiling; the latter tries to raise it. The two can be combined.

    2. Pipeline Breakdown: From Teacher Outputs to Student Convergence

    2.1 Teacher Side: Generating Problem-Solving Samples

    In the original practice, the teacher was a very large model with roughly 1.6 trillion total parameters. Running in its maximum-quality reasoning mode, it generated about 250,000 math and science samples. Three design choices matter here:

    • Reasoning mode selection: Long chain-of-thought output was enabled, trading throughput for reasoning depth, because the value of distillation lies in the process rather than the conclusion.
    • Subject and difficulty distribution: Math and science problems can be checked automatically, which makes them naturally suitable for filtering. Verifiable domains are the safest choice for cold start.
    • Sample volume: Around 250,000 samples sits in a “sufficient but not redundant” range. Too few cannot cover the range of reasoning patterns; too many bring rapidly diminishing marginal returns and a sharp increase in cleaning cost.

    2.2 Data Side: Cleaning and Mixing Decide the Ceiling

    The most common cause of failed distillation is not a student model that is too small, but too much noise in teacher outputs. Engineering practice needs at least four gates:

    1. Answer correctness check: Executable verification, symbolic computation, or answer comparison to remove samples with wrong conclusions.
    2. Process consistency check: Check whether intermediate steps contradict each other, whether circular reasoning appears, and whether the trace jumps straight to the conclusion.
    3. Deduplication and contamination removal: Merge near-duplicate problems and scan for overlap with evaluation sets to avoid an inflated leaderboard result.
    4. Difficulty and length mixing: Samples that are too short fail to teach decomposition, while samples that are too long push up inference cost. Truncate by percentile in general and preserve a difficulty gradient.

    2.3 Student Side: Key Choices in Supervised Fine-Tuning

    The student was an open-source general-purpose base model of roughly 9 billion parameters. The goal at this stage is not to learn answers, but to learn how the teacher thinks, so both the training objective and the data organization revolve around the process:

    1. system: You are a rigorous science problem-solving assistant. Analyze first, then derive, and give the conclusion at the end.
    2. user: <problem>
    3. assistant: <analysis entry> -> <problem decomposition> -> <step-by-step derivation> -> <conclusion and verification>

    Key points: compute loss only on the assistant side; keep the template consistent with the reasoning stage; control per-sample length to keep GPU memory usage stable; use a smaller learning rate and a moderate number of epochs to avoid overfitting on a small sample set and producing a “template tone.”

    2.4 Re-Distillation: Why Derivatives Can Go Further

    Community derivatives reused the distilled weights and applied another round of modification. There are three common motivations: replacing or strengthening the base model, running a second alignment pass with a stronger teacher or cleaner data, and applying preference optimization for a specific reasoning style. This shows that distillation is an iterative process rather than a one-off action.

    3. Evaluation and Validation: Do Not Trust a Single Leaderboard

    • Holdout isolation: Evaluation questions must be strictly isolated from training questions, with a leakage scan.
    • Multi-dimensional metrics: Beyond accuracy, track average reasoning length, format compliance rate, timeout rate, and cost per token.
    • Robustness testing: Add perturbed questions, questions with multiple solutions, and questions that require self-verification, to see whether the model has merely memorized templates.
    • Regression comparison: Run a three-way comparison against the non-distilled base and an answer-only supervision version to quantify the gain from process supervision.

    4. Engineering Implementation and Cost Control

    On the cloud, the pipeline can be assembled from general-purpose capabilities: object storage holds samples and checkpoints, a container platform runs training and batch inference, a message queue decouples the three stages of generation, cleaning, and training, and logging plus monitoring with alerts track failure rates and resource levels. If you use the relevant general capabilities from Baidu AI Cloud, the same layered decoupling approach applies. Avoid coupling generation, cleaning, and training in a single task, which makes re-run costs spiral out of control.

    Cost optimization suggestions: use tiered concurrency with retry on failure for teacher-side batch generation; apply rule-based filtering before model-based judgment in the cleaning stage; use gradient accumulation instead of large batches during training, and length bucketing to reduce padding waste.

    5. Common Pitfalls

    • Training directly on unfiltered teacher output, so the student learns to be confidently wrong.
    • Aligning only the final answer, with no improvement in reasoning ability.
    • A single template causing poor generalization and failure on new problem types.
    • Evaluation set leakage distorting conclusions.
    • Uncontrolled reasoning length, leading to high latency and high cost after launch.

    6. Summary

    The essence of a small model topping the leaderboard is a systems-engineering win built on high-quality process data, strict cleaning, stable fine-tuning, and trustworthy evaluation. The minimal reusable plan: generate small-to-medium scale samples in verifiable subjects first, set up the four cleaning gates, then run supervised fine-tuning with a process-level template, and finally accept the result using both isolated evaluation and cost metrics.