Why Large Models Show Different User Experiences: An Engineering Analysis of Post-Training and Alignment
This article explores why large language models with similar benchmark scores often perform differently in real-world tasks. It explains the distinct roles of pre-training and post-training, outlines the four primary goals of post-training, and analyzes mainstream post-training methods including Supervised Fine-Tuning (SFT), Reinforcement Learning from Human Feedback (RLHF), Principle-Based AI Feedback, and Direct Preference Optimization (DPO).
1. The Starting Point: High Capability Does Not Equal Good Usability
In practice, developers often encounter a situation where two models have similar scores on public benchmarks, but when applied to real tasks, one consistently meets requirements while the other frequently gives irrelevant answers or writes seemingly complete but non-functional code.
This gap is hard to explain solely by parameter scale or data volume. Model capabilities can be divided into two layers: what knowledge the model possesses, and whether the model can invoke this knowledge according to the user’s intent. The former is primarily determined by pre-training, while the latter is largely determined by post-training. Understanding this division of labor is fundamental to analyzing experience differences.
2. What Pre-training Solves and What It Doesn’t
The common goal of pre-training is next-token prediction. The model learns statistical patterns across massive amounts of text, code, and structured data, thereby mastering language, common sense, code syntax, and various reasoning patterns. This stage determines the model’s capability ceiling.
However, there is a clear gap between the ability to predict text and the ability to act as an assistant, mainly reflected in three aspects:
- Instruction misunderstanding: A user may ask to “summarize in three bullet points,” but the model might output a large block of text.
- Goal misalignment: The model tends to continue the most common text format rather than completing the user’s actual task.
- Behavioral instability: The quality of the answer may fluctuate significantly if the same question is rephrased.
Therefore, a model that has only completed pre-training is like a person with a vast memory and knowledge but no professional training. The task of post-training is to transform existing knowledge into reliable service behavior.
3. The Four Goals of Post-Training
Post-training usually revolves around four goals:
- Instruction following: Accurately understanding formats, constraints, and task priorities.
- Preference alignment: Outputting content that meets widely accepted quality standards, such as clarity, accuracy, and usefulness.
- Boundary handling: Actively asking questions when information is insufficient, and making reasonable trade-offs when encountering conflicting instructions or potential risks.
- Self-correction: Being able to locate problems and make corrections after discovering errors, rather than sticking to wrong conclusions.
These four goals are interconnected. Taking programming as an example, self-correction relies on whether the model can read error messages, determine the source of the error, and provide verifiable modifications. These types of capabilities require specialized training data and evaluation methods to cultivate.
4. Mainstream Post-Training Methods
4.1 Supervised Fine-Tuning (SFT)
Supervised fine-tuning is the most basic step. Trainers prepare a large number of samples pairing “instructions with ideal answers” to let the model learn this mapping. Data quality is often more important than quantity. If the demonstration answers have chaotic styles, factual errors, or inconsistent formats, the model will learn these flaws exactly as they are.
4.2 Reinforcement Learning from Human Feedback (RLHF)
A public study in 2022 provided clear evidence for this approach. Researchers first performed supervised fine-tuning with human demonstration data, then had annotators rank multiple answers to the same question, trained a reward model to predict human preferences, and finally used reinforcement learning to optimize the generation strategy. Experimental results showed that, on their test distribution, annotators preferred a 1.3 billion-parameter model processed through this pipeline over a 175 billion-parameter model that had not undergone similar processing.
This result indicates that making existing capabilities easier to invoke and more aligned with user intent is itself a significant advancement.
The typical process of this method can be represented by the following pseudocode:
# Pseudocode: Training a reward model based on preference datafor prompt, chosen, rejected in preference_dataset:score_chosen = reward_model(prompt, chosen)score_rejected = reward_model(prompt, rejected)# Preference loss: encourage a higher score for the chosen answerloss = -log(sigmoid(score_chosen - score_rejected))update(reward_model, loss)# Then use the reward model's score as a signal to optimize the policy model with reinforcement learningfor prompt in prompts:response = policy_model.generate(prompt)reward = reward_model(prompt, response)update(policy_model, reward_signal=reward)
There are two common issues with this pipeline. First, the reward model itself can make mistakes, and the policy model might learn to cater to the reward model—for example, by outputting verbose but seemingly professional answers. Second, the consistency of manual annotation is limited, and the details of the annotation guidelines directly affect the final behavior.
4.3 Principle-Based AI Feedback
Another approach is to reduce reliance on large-scale manual annotation. The basic idea is to first provide a set of clear principles, such as that answers should be accurate, not fabricate sources, and explain reasons when refusing harmful requests. The model critiques existing answers based on these principles and generates revised versions. Subsequently, the model can compare two answers to see which better aligns with the principles, forming preference data for reinforcement learning.
The advantage of this method is that the principles are clear, readable, easy to audit, and easy to iterate. Its applicability also has clear boundaries: it is mainly used to shape safer and more compliant behavior, and it cannot directly explain why a model performs better on programming tasks.
4.4 Direct Preference Optimization (DPO)
Direct preference optimization transforms preference learning into a classification-style objective, eliminating the need to train a separate reward model and complex reinforcement learning loops. It is simple to implement, and the training process
