A Practical Guide to 9B Model Distillation and Refusal Optimization

    This article breaks down how a community-developed 9B derivative model combined large-model distillation with activation-based refusal suppression. It covers process-oriented sample design, data mixing, supervised fine-tuning and lightweight RL, layer-range selection, KL divergence monitoring, and a two-scorecard evaluation approach, along with a reusable checklist for staged, reproducible model modification.

    A derivative model with roughly 9 billion parameters recently topped the trending list on an open-source model community. Its name combines a large-model series name with an open-source base series name, which makes it easy to mistake for an official release. In fact, it is a community developer’s二次加工 — a reworked build on top of an existing open-source base.

    From a technical standpoint, this event illustrates three points:

    1. Capability transfers. The problem-solving process of a very large model (trillion-scale total parameters) can be compressed into the weights of a much smaller model.
    2. Behavior is post-processable. Beyond capability, behavioral tendencies such as refusal can also be changed through weight fine-tuning.
    3. Evaluation must be multi-dimensional. Capability metrics and behavior metrics need to be measured separately; a single scorecard cannot summarize all changes.

    One caveat: leaderboard position reflects shifts in community attention, not absolute model capability. Engineering practice should focus on reproducible training pipelines and verifiable evaluation results.

    2. Overall Approach: One Top Spot, Two Rounds of Modification

    The 9B model went through two independent modifications, and only their combination produced the final version.

    • Round 1: capability distillation. The developer had a trillion-scale model generate about 250,000 math and science samples in a “quality-first” mode. Each sample contains an entry-point idea, problem decomposition, step-by-step derivation, and the final answer. This data was used to supervised fine-tune an open-source 9B base, followed by a lightweight round of reinforcement learning (a sequence-level policy optimization style method). Both stages used science data only; no coding data was mixed in.
    • Round 2: behavior adjustment. A second developer applied an activation-analysis-based refusal suppression method to the weights that already had science capability. The method compares internal activations across different prompt types, locates refusal-related signals, and modifies weights in selected layers to weaken their influence. The public configuration shows the adjustment spans layer 9 through layer 24.

    The two rounds map to two scorecards: round 1 measured accuracy and reasoning cost, round 2 measured the change in refusal count. This “decouple capability from behavior, verify each separately” practice is worth reusing in similar projects.

    3. Stage One: Distilling a Small Model from a Large Model’s Outputs

    3.1 Why process samples beat answer-only samples

    Answer-only distillation teaches the small model an input-to-output mapping, which encourages rote memorization on unseen problems. Samples that record the full derivation let the small model imitate the large model’s reasoning path and stay more stable on out-of-distribution problems. Sample design should cover:

    • identification of problem conditions and known quantities;
    • the rationale for choosing a solution path;
    • formula transformations and intermediate results at each step;
    • result verification and dimensional/boundary checks.

    3.2 Data scale and mixing ratio

    250,000 samples is a medium-scale distillation. The mixing ratio matters in practice: subdomains such as algebra, geometry, probability, physics, and chemistry should be balanced so the small model does not overfit one subdomain. Keep a portion of held-out problems out of training for later re-testing.

    3.3 Key details of supervised fine-tuning

    A schematic flow (pseudocode, showing stage relationships only):

    1. stage1_sft = finetune(base_9b, dataset=samples_250k, task=math_science)
    2. stage2_rl = policy_optimize(stage1_sft, reward=answer_correctness, steps=light)
    3. export(stage2_rl)

    Key points:

    • Keep the learning rate moderate; a small model has limited capacity and a high rate easily causes catastrophic forgetting.
    • Keep reinforcement learning to a few lightweight rounds; the main goal is to make outputs conform to a “reason first, then answer” format.
    • Never introduce coding data, so the capability boundary stays clear and attribution stays easy.

    4. Stage Two: Suppressing Refusals with Activation Analysis

    4.1 How the method works

    This class of methods (activation-guided refusal ablation techniques) rests on one assumption: refusal tendency is not uniformly distributed but concentrated in specific activation directions in a few layers. The procedure has three steps:

    1. Build two prompt sets: one containing sensitive prompts the model originally refuses, one containing ordinary prompts.
    2. Collect activations for both sets at each layer, take the difference, and find the direction with the highest discriminative power.
    3. Apply orthogonalization or projection-based modification to the weights within a specified layer range, weakening that direction’s contribution to the final logits.

    4.2 Engineering notes

    • Layer range selection. The public configuration uses layers 9 to 24, a mid-to-late range that balances semantic representation and output distribution.
    • KL divergence monitoring. The KL divergence of output distributions before and after adjustment is about 0.0422, indicating a very small overall behavior shift — a “surgical” modification.
    • Regression testing. Capability tests must run alongside, to confirm the drop in refusals did not come at the cost of accuracy.

    5. Evaluation Design: How to Read the Two Scorecards

    Dimension Measured on Key finding
    Science accuracy Distilled version Slight improvement over the base
    Reasoning cost Distilled version Tokens consumed per correct answer down about 36.1%
    Output format compliance Distilled version Share of outputs following the required format close to 97%
    Refusal count Derivative version On the same 100 prompts, refusals dropped from all to 3
    Distribution shift Derivative version KL divergence about 0.0422

    Reading the table:

    • Accuracy and cost are round 1 results; refusals and KL are round 2 results. Do not conflate them.
    • The derivative version’s science accuracy and reasoning cost still need re-testing on the same problem set; this is the biggest information gap right now.
    • “3 refusals” is a behavior metric and does not imply a matching capability improvement.

    6. A Reusable Practice Checklist

    1. Set capability goals before behavior goals, and submit and evaluate the two rounds separately.
    2. Keep derivations in distillation data, and balance subdomain ratios with a held-out set.
    3. Pair behavior adjustment with dual monitoring (KL plus capability) to prevent “getting dumber to refuse less.”
    4. Fix the evaluation set so cross-version comparisons mean something.
    5. When compute is limited, elastic container platforms on the cloud can spin up training jobs on demand, object storage can host datasets and weights, and logging plus monitoring/alerting services can track loss and GPU memory curves, so the local environment does not become the bottleneck.
    6. Run a compliance review before release. Behavior alignment does not mean content safety boundaries can be relaxed; use must stay within a compliance framework.

    7. Conclusion

    The popularity of this 9B model is essentially a demonstration of combining capability distillation with behavior fine-tuning: the large model produces high-quality reasoning traces, the small model reproduces them at low cost, and activation analysis corrects behavioral preference. For developers, what is worth borrowing is not the leaderboard rank but the engineering discipline of staged modification, per-dimension evaluation, and reproducible release.