Why LLM Usability Varies: The Role of Post-Training

    This article explains why large language models with similar benchmark scores can feel very different in real-world use. It separates pretraining from post-training, then examines instruction tuning, preference data and reward models, reinforcement learning, and principle-based AI feedback as the stages that shape assistant behavior and user experience.

    1. Why the Experience Differs Even at the Same Capability Level

    Over the past year or two, many developers have had a similar experience: two models score similarly on general benchmarks, but when they are actually used to write code, edit documents, or handle multi-turn Q&A, one feels smooth while the other requires repeated reminders. This difference is hard to explain by “more parameters” alone.

    To understand it, it helps to split large model training into two stages. Pretraining is responsible for acquiring knowledge and patterns, while post-training is responsible for organizing those capabilities into usable assistant behavior. The two stages solve different problems, and together they determine the final user experience.

    2. Pretraining Solves “Can It?”, Post-Training Solves “Is It Willing to, and How?”

    The common goal of large-scale pretraining is next-token prediction. From massive amounts of text, code, and structured data, the model learns language patterns, factual knowledge, and reasoning patterns. But this base model has two typical problems:

    • It may be rich in knowledge but not necessarily answer in the format the user requested.
    • It may write fluent content but not necessarily complete the user’s actual task.

    For example, if the user asks to “output only JSON,” the base model may first write an explanation. If the user says, “This code has a bug, help me fix it,” the model may rewrite the entire file directly without explaining what changed. These behaviors come from a mismatch between the training objective and user intent.

    Post-training is meant to calibrate this mismatch. It needs to answer several questions: what kind of answer is worth keeping, when should the model ask a follow-up question, whose instruction should take priority when instructions conflict, and should the model persist in correcting an error once it is found.

    3. Main Stages of Post-Training

    3.1 Instruction Tuning

    Instruction tuning uses instruction-answer sample pairs to supervise-train the model. The samples are usually written by annotators or domain experts and cover tasks such as Q&A, summarization, rewriting, code generation, and tool calling. The role of this step is to teach the model the basic format for following instructions.

    Data quality directly determines the capability ceiling. Common practices include:

    • Sampling by task type in layers to avoid over-representing one task category.
    • Setting a clear completion standard for each sample, such as code that must run or structured output that must be parseable.
    • Keeping diverse user expressions, covering colloquial, vague, and constrained requests.

    3.2 Preference Data and Reward Models

    Instruction tuning can only provide one standard answer, while many tasks do not have a unique answer. Preference data works by generating multiple answers to the same question and having human or automated judges rank them, forming paired data of “better” and “worse” responses.

    Based on paired data, a reward model can be trained. A commonly used loss form comes from the Bradley-Terry model, with the goal of giving preferred answers higher scores than non-preferred answers:

    1. import math
    2. def pairwise_preference_loss(score_chosen: float, score_rejected: float) -> float:
    3. """Pairwise preference loss: -log(sigmoid(s_chosen - s_rejected))"""
    4. diff = score_chosen - score_rejected
    5. # Numerically stable form, equivalent to log(1 + exp(-diff))
    6. return math.log1p(math.exp(-diff)) if diff > -30 else -diff
    7. # When the preferred answer has a higher score, the loss is smaller
    8. print(round(pairwise_preference_loss(2.0, 0.5), 4)) # 0.2014
    9. print(round(pairwise_preference_loss(0.5, 2.0), 4)) # 1.7014

    The quality of the reward model is critical. If it favors long answers, polite tone, or a certain fixed format, the policy model will learn to cater to the scorer rather than improve actual quality. This phenomenon is often called reward over-optimization. Countermeasures include using diverse data, adding adversarial samples, and continuously monitoring with an evaluation set independent of the training pipeline.

    3.3 Reinforcement Learning Stage

    After obtaining a reward model, a common approach is to fine-tune the policy model with reinforcement learning so that it generates higher-scoring answers under the reward signal. During training, a constraint term is usually added to limit how far the new policy deviates from the original model, preventing output degradation such as repetition, verbosity, or language confusion.

    The difficulty of this stage lies in trade-offs. If the reward signal is too strong, it can damage general capabilities; if the constraint is too strong, improvement is limited. In engineering practice, it is necessary to continuously observe changes in various metrics and keep rollback-capable checkpoints.

    3.4 Principle-Based AI Feedback

    Human annotation is costly and slow, and it is also difficult to cover all safety and style requirements.