Technical Analysis of Distillation and Refusal Adjustment in a 9B Parameter Model

    This article analyzes the technical pathways for enhancing small AI models, using a 9-billion parameter model as a case study. It distinguishes between improving problem-solving capabilities via data distillation and reinforcement learning, and adjusting refusal behavior through internal activation analysis. We explore the nuances of data quality, reinforcement learning feedback, refusal calibration, and rigorous evaluation metrics, offering developers a phased verification framework to balance capability improvements with operational safety and cost.

    1. Two Distinct Technical Pathways for Small Model Improvement

    Using large model-generated problem-solving samples to train a small model, followed by adjusting its response behavior, appears to be a continuous pipeline. However, it encompasses two distinct goals that must be separated:

    First, making the model “better at solving problems,” which focuses on knowledge transfer, reasoning method learning, and answer accuracy. Second, making the model “more willing to answer,” which focuses on refusal boundaries and output behaviors.

    The former primarily relies on training data, optimization objectives, and the training process, while the latter can be achieved through alignment training, behavioral calibration, or weight intervention. These two can occur simultaneously but cannot replace one another. A model answering more frequently does not mean it answers more accurately; similarly, improved math capabilities do not automatically imply naturally reasonable safety boundaries.

    The source material introduces a derivative pathway for a 9-billion parameter model: first, training is conducted using math and STEM samples generated by a large teacher model, followed by continued optimization via lightweight reinforcement learning. Subsequently, the weights of certain layers are adjusted to alter refusal behavior.

    The technical value of such a case study lies not in whether a particular model tops a leaderboard, but in how it demonstrates the independent stages of building a small model’s capabilities, along with the common misjudgments that occur when evaluating these stages.

    2. Inference Distillation: Transferring Problem-Solving Patterns

    2.1 Data Distillation is Not Direct Parameter Compression

    The distillation mentioned here primarily involves having the teacher model generate training samples, and then having the student model learn the output behaviors within those samples. It is not about proportionally shrinking the teacher model’s parameters.

    According to the original material, the training utilized approximately 250,000 math and STEM samples. These samples included problem analysis, step breakdowns, derivation processes, and final answers. This represents knowledge transfer based on generated data.

    Compared to providing only the final answer, process-based samples add intermediate supervision signals for the student model. For instance, a physics problem might not only provide the numerical result but also demonstrate force analysis, constraint establishment, formula selection, and unit checking. Through this, the student may learn more stable problem-handling patterns.

    However, the generated explanatory text does not equate to the teacher model’s actual internal computation process. It is primarily an observable and trainable text output, the correctness and pedagogical value of which still require verification.

    2.2 Sample Quantity is Not the Key Quality Metric

    The figure of 250,000 data points describes scale and cannot independently prove training value. More critical questions include:

    • Do the problems cover different knowledge points, difficulty levels, and modes of expression?
    • Are the derivation steps consistent with the final answer?
    • Is there a large volume of duplicate problems, similar problems, or templated solutions?
    • Are there unit errors, missing conditions, or implicit assumptions?
    • Is there direct or indirect overlap with the evaluation questions?

    For problems that can be automatically verified, independent checks should be introduced wherever possible. For example, check the error margin for numerical problems, verify equivalence for symbolic results, and check if constraints are met for tasks with explicit constraints. For samples that cannot be reliably auto-judged, sampling reviews or stratified audits are necessary.

    Particular vigilance is needed against samples with “correct answers but wrong processes.” Such data might cause the model to learn superficially fluent explanations without grasping reliable derivation methods.

    2.3 Data Splitting Should Precede Large-Scale Generation

    A more prudent practice is to define the boundaries of the training, validation, and test sets before initiating teacher generation, and to check for similar content across sets.

    Merely comparing whether text is completely identical is insufficient. The same problem, even with changed numbers or rewritten contexts, might retain an almost identical solution structure. For evaluations emphasizing generalization, isolation can be performed by problem type, source, or knowledge combination to avoid confusing memorization ability with reasoning ability.

    3. Supervised Fine-Tuning vs. Reinforcement Learning: What Do They Optimize?

    3.1 Supervised Fine-Tuning Establishes Basic Problem-Solving Paradigms

    The direct goal of supervised fine-tuning (SFT) is to improve the model’s fitting degree to the target output sequence. It helps the student model learn how to organize answers, when to list conditions, how to expand derivations, and how to express conclusions.

    However, model capacity is limited, and longer teacher outputs are not necessarily better. Overly verbose, repeatedly self-checked, or repetitively argued samples may increase training and inference costs without yielding corresponding benefits.

    Therefore, training data should retain only the truly necessary logical steps, rather than treating text length as reasoning depth. In actual evaluations, one can simultaneously observe answer accuracy, average output length, and the computational resources consumed per correct answer.

    3.2 Reinforcement Learning Relies on Reliable Feedback Signals

    The original material also mentions a round of lightweight reinforcement learning (RL) following SFT. This phase typically uses reward signals to guide the model toward target behaviors among multiple possible outputs.

    For math and STEM tasks, usable feedback might include whether the answer is correct, whether the format meets requirements, and whether there are obvious invalid outputs. However, the specific feedback used must be based on actual training records; one cannot infer the source of capability improvement solely from “using reinforcement learning.”

    Reward design particularly needs to prevent opportunistic behaviors. For example, if only format compliance is rewarded, the model might learn to consistently produce correctly formatted but factually wrong answers; if correctness is judged solely by loose string matching, substantive errors might slip through.

    Therefore, the benefits brought by reinforcement learning should be verified on an independent test set, rather than judged solely by an increase in training rewards.

    3.3 Specialized Training Does Not Automatically Yield General Improvements

    The material indicates that the relevant training focused on math and STEM, without using programming data. Therefore, even if specialized tasks improve, one cannot infer that programming, long-form writing, factual Q&A, or multi-turn interaction capabilities have synchronously improved.

    The model might exhibit cross-task transfer, but whether this transfer occurs and its magnitude require separate evaluation. For enterprise applications, it is even more crucial to establish test sets around real tasks, rather than substituting overall usability with a specific category of science scores.

    4. Refusal Behavior Adjustment: Changing Output Tendencies is Not Adding Knowledge

    4.1 What Internal Activation Analysis Reveals

    The subsequent modification in the source material identifies signals related to refusal behavior by comparing the model’s internal activations when processing different prompts, and then adjusts certain weights to weaken the influence of these signals on the output.

    From a general technical perspective, this belongs to behavior intervention based on internal representation analysis. Its core assumption is that certain internal features have an exploitable correlation with refusal tendencies.

    However, this correlation cannot be simply understood as finding an independent “refusal switch.” Model internal representations are usually distributed, and refusal-related features may be intertwined with risk identification, semantic judgment, and instruction understanding. Intervening in certain weights might simultaneously affect multiple behavioral dimensions.

    The specific layer intervals mentioned in the material should only be viewed as the configuration for that particular experiment and cannot be directly generalized as a universal setting for other models.

    4.2 Reducing Refusals Can Yield Different Results

    A reduction in refusals encompasses at least two scenarios:

    The first is reducing false refusals. The model originally misidentified normal questions as unanswerable, but after adjustment, it can provide reasonable help. This is usually a valuable improvement.

    The second is weakening necessary boundaries. The model begins to continue generating when faced with requests it should have refused or restricted. This cannot be regarded as a simple capability enhancement.

    Furthermore, there is an easily overlooked scenario: the model stops refusing but provides wrong, vague, or irrelevant content. Therefore, the refusal rate must be analyzed alongside correctness, relevance, and risk performance.

    5. How to Accurately Interpret Experimental Data

    5.1 “Refused 3 Times” Does Not Equal “97% Task Success Rate”

    According to the original report, on a set of 100 prompts, the model refused all of them before adjustment, and only refused three after adjustment.

    The direct conclusion this result supports is: under this test set and its judgment criteria, the number of model refusals decreased significantly.

    However, the remaining 97 only indicate they were judged as “non-refusals.” Whether they are correct, complete, compliant, or free of inappropriate content requires additional inspection. Writing the non-refusal ratio directly as the task success rate expands the meaning of the metric.

    This data also cannot represent the model’s performance when facing all normal user requests. How test prompts are selected, whether they are specifically designed to trigger refusals, and whether the judgment rules are stable will all affect the conclusion.

    5.2 Output Distribution Changes Cannot Replace Capability Evaluation

    The material also reports a relative entropy value of approximately 0.0422 to describe the difference in output probability distribution before and after adjustment.

    Relative entropy measures distribution difference, not answer quality. Explaining it requires knowing at least the calculation direction, sampling data, statistical granularity, aggregation method, and logarithm base.

    Even if the overall distribution difference is small, noticeable behavioral changes might occur in a few key scenarios. Conversely, a large distribution difference does not necessarily mean the overall model is unusable. Therefore, this metric is suitable as an auxiliary observation item, not as sufficient proof that “capabilities have not been damaged.”

    5.3 Do Not Infer Improvement Margins Without Complete Results

    The source material mentions evaluation directions for STEM performance and inference overhead, but does not provide sufficiently complete score tables, operating conditions, and statistical calibers.

    Therefore, one cannot calculate the accuracy improvement margin, nor judge whether the model achieved a better performance-to-cost ratio. Rigorous technical analysis should respect evidence boundaries, rather than rewriting descriptive conclusions into definitive performance promises.

    6. Phased Verification Strategy for Developers

    To distinguish the benefits and costs of each modification, it is recommended to retain at least four versions: the base model, the SFT model, the RL model, and the behavior-adjusted model.

    These four versions should be compared under the same prompt templates, output length limits, sampling settings, and hardware conditions, covering the following dimensions:

    Evaluation Dimension Key Observation Points
    Specialized Capability Are math and STEM answers correct; are the steps valid?
    General Capability Is there degradation in reading comprehension, information extraction, and general Q&A?
    Instruction Following Are requirements for format, scope, and length met?
    Refusal Calibration Are normal requests falsely refused; are high-risk requests handled appropriately?
    Operational Cost Latency, output length, throughput, and memory usage.
    Stability Are results consistent across multiple samples and prompt rewrites?

    Failure cases should also be categorized rather than just recording a total score. For example, distinguishing between missing knowledge, calculation errors, missing conditions, false refusals, and inappropriate responses helps determine whether the next step should be to supplement data, modify rewards, or adjust the behavior intervention plan.

    7. Deployment Decisions: Separating Model Behavior from System Control

    A 9-billion parameter model is typically easier to deploy in resource-constrained environments than ultra-large models, but the actual cost is still affected by factors like weight precision, context length, concurrency scale, cache usage, and inference implementation. Parameter count does not directly equate to deployment thresholds.

    For enterprise applications, safety and permission requirements should not be left entirely to the model itself. Access control, sensitive data protection, tool call authorization, operation auditing, and anomaly alerting should be established as independent mechanisms by the application system.

    The behavior-adjusted model should undergo offline evaluation and isolated verification before gradually expanding its scope of use. Model weights, training data versions, evaluation records, and deployment configurations should all be traceable, with rollback capabilities retained.

    Conclusion

    The improvement of small model capabilities is not the result of a single technology, but the combined product of data quality, training objectives, feedback design, and behavioral calibration.

    Inference distillation answers “how to learn from teacher samples,” reinforcement learning answers “how to use feedback to optimize output,” and refusal adjustment answers “under what circumstances the model chooses to answer.” The three questions are related but cannot be conflated.

    For developers, the true goal to pursue is not higher hype or lower single-item refusal rates, but obtaining reliable answers at an acceptable computational cost within clearly defined task boundaries, and proving the benefits, identifying degradations, and controlling risks through independent evaluation.