How a 9B Distilled Model Tops the Charts: A Three-Stage Pipeline and Three-Dimensional Evaluation

    This article breaks down how a roughly 9B-parameter model reached the top of an open-source model community's trending list, stripped of specific product names so the reusable engineering method stands out. It covers a three-stage distillation pipeline: generating process-style reasoning traces from a trillion-parameter teacher, supervised fine-tuning the 9B base to imitate those reasoning paths, and a lightweight reinforcement learning pass (such as GRPO-style methods) that cuts reasoning token usage by about 36.1% at equal accuracy. It then explains a second modification that treats refusal behavior as a locatable internal signal, using activation steering to adjust weights in layers 9 to 24 with a reported KL divergence of 0.0422. Finally, it argues for a three-dimensional evaluation loop covering capability, cost, and behavior, and gives a practical rollout order with rollback snapshots and version, log, and monitoring support.

    1. The Event: Why a 9B Model Reached the Top

    A model with roughly 9 billion parameters recently took the top spot on an open-source model community’s trending list. Its lineage is unusual. The base is an open-source 9B general-purpose model. The intermediate version was fine-tuned by a community developer on about 250,000 math and STEM samples generated by a trillion-parameter model. The final version was then produced by another developer, who applied a “refusal behavior” adjustment on top of the public weights.

    What deserves attention is not the ranking but the fact that the results were split in two. The intermediate version reported STEM accuracy against inference cost, while the final version reported refusal counts, and the two evaluation sets did not overlap. This exposes a common problem in small-model evaluation: each round of changes is tested on its own set of questions, making the conclusions hard to connect. This article strips out specific product names and focuses only on the reusable engineering method.

    2. Route Breakdown: A Three-Stage Distillation Pipeline

    1. Have the Teacher Model Generate “Process-Style” Samples

    The key design choice is that samples are not question-answer pairs but complete solution traces: where to start, how to break the problem down, how each step is derived, and what the final conclusion is. This kind of corpus with an explicit reasoning process is the prerequisite for a small model to learn to reason rather than memorize answers. In practice, deduplication, answer verification, difficulty stratification, and format normalization are usually applied as well.

    A sample structure might look like this:

    1. {
    2. "prompt": "problem statement...",
    3. "reasoning": "step one... step two... step three...",
    4. "final_answer": "result",
    5. "difficulty": "medium",
    6. "subject": "math"
    7. }

    2. Supervised Fine-Tuning: Make the Small Model Imitate the Reasoning Path

    The samples above are used to run full or parameter-efficient fine-tuning on the 9B base, with the goal of fitting the teacher’s output distribution. This stage sets the capability ceiling, and data quality and coverage matter far more than raw quantity.

    3. Lightweight Reinforcement Learning: Compress Ineffective Thinking

    After supervised fine-tuning, a lightweight reinforcement learning pass is added (for example, a group relative policy optimization style method). The main gain is not higher accuracy but fewer reasoning tokens consumed to answer a question correctly. The source document reports a drop of about 36.1% in inference cost at equal accuracy, which is highly valuable for online scenarios that are sensitive to inference cost. Both stages are limited to math and STEM, with no coding data mixed in, showing that domain purity directly affects distillation results.

    3. The Second Modification: Treating “Refusal” as a Locatable Internal Signal

    The method used for the final version follows an activation steering approach: compare the model’s internal activations when processing different types of prompts, locate the signal direction strongly associated with refusal, and then make small modifications to the weights of some layers to weaken that signal’s influence on the output. The public configuration limits the adjustment to layers 9 through 24, a typical mid-layer intervention. Too shallow would damage basic language ability, while too deep would approach the output layer and easily cause degradation.

    The core advantage of this type of method is that it requires no retraining and costs very little, but the tradeoff is possible distribution drift, so a metric like KL divergence must be reported. The reported 0.0422 is a relatively small magnitude, meaning the output probability distribution changed only slightly before and after the adjustment.

    4. Evaluation Must Form a Three-Dimensional Loop

    Scoring on a single dimension is self-deception. The recommendation is to fix one set of questions and record all of the following at once:

    Dimension Metric Focus
    Capability STEM/math accuracy Whether it regresses
    Cost Reasoning tokens per question Whether it actually saves
    Behavior Refusal rate, format compliance rate Whether it becomes over-compliant

    On 100 prompts, the final version reduced refusals from 100 to 3, with format compliance close to 97%, but accuracy and cost have not yet been re-tested on the same set of questions. This is exactly the piece that most needs to be filled in when reproducing this route.

    5. Engineering Implementation Advice

    To reuse this method in your own business, a workable order is: first validate teacher trace quality with a small sample, then run supervised fine-tuning, then use reinforcement learning to compress tokens, and only then touch refusal behavior. At every step, keep rollback-capable weight snapshots, and pair them with model registry version management, a logging service to record evaluation results, and monitoring and alerting to track online metric drift. On the compute side, a container platform can provide elastic scheduling, and evaluation data can be archived centrally in object storage. Baidu AI Cloud offers general-purpose compute and storage, logging, and monitoring capabilities for this kind of training and evaluation pipeline, but the specific selection should still be based on your own data and compliance requirements.

    The conclusion is clear: a small model’s comeback relies not on parameters but on high-quality process data, restrained training stage separation, and quantifiable three-dimensional evaluation.