Post-Training or Retraining the Base Model? Two LLM Evolution Paths

    As large language models mature, teams face a choice between continuing post-training on an existing base model and training a new base model from scratch. This article explains why both paths emerge, their advantages and limitations, data quality and evaluation practices, a practical selection framework, and key engineering considerations for deployment.

    1. Why Two Paths Emerge at the Same Time

    The capabilities of large language models mainly come from two stages. The pretraining stage uses massive amounts of text and code to learn language patterns and world knowledge, and it largely determines the upper bound of model capability. The post-training stage includes supervised fine-tuning, preference alignment, and reinforcement learning. It determines how the model organizes existing capabilities into usable answers, tool calls, and multi-step task execution, and it also determines the model’s stability in specific scenarios.

    Two common evolution approaches have emerged in the industry. The first is to continue post-training on an existing base model and extract as much potential as possible from it. The second is to redesign the data, architecture, and training process, train a new base model from scratch, and then complete post-training on top of it. Neither path is absolutely superior; the choice depends on the team’s resources, time window, and target capabilities.

    2. Path One: Post-Training on an Existing Base Model

    The core assumption of this path is that the base model already contains a large amount of capability that can be activated. The task of post-training is to bring that capability out and correct the direction of outputs.

    There are three main advantages. First, the cycle is short; one round of data construction plus training can usually be completed within weeks. Second, cost is controllable because compute investment is concentrated in the post-training stage. Third, the engineering pipeline can be reused, and the inference service, evaluation system, and deployment process do not need to be rebuilt.

    The limitations are also clear. The capability ceiling is constrained by the base model, and post-training can hardly fill in knowledge that the base model lacks. In addition, post-training is prone to catastrophic forgetting, where the model improves on new tasks but regresses on general capabilities.

    Data quality is the key to this path. Common practices include the following.

    • Rejection sampling: let the model generate multiple candidate answers for the same question, then use rules or verifiers to select correct results as training samples.
    • Verifiable tasks: code problems can be judged by unit tests, and math problems can be judged by answer comparison. These signals are more stable than manual labeling.
    • Synthetic data: use existing models to generate training samples, but deduplication, filtering, and spot checks are required; otherwise, errors will be amplified.
    • Data mixing: mix general data and target-domain data in proportion to mitigate forgetting.

    Below is a simplified illustration of a rejection sampling workflow:

    1. def build_sft_dataset(prompts, generate, verify, n_samples=8):
    2. dataset = []
    3. for prompt in prompts:
    4. candidates = [generate(prompt) for _ in range(n_samples)]
    5. passed = [c for c in candidates if verify(prompt, c)]
    6. if passed:
    7. dataset.append({"prompt": prompt, "response": passed[0]})
    8. return dataset

    In this illustrative code, generate and verify need to be implemented by the team. For code tasks, verify can run unit tests in an isolated sandbox; for math tasks, verify can parse the answer and compare it with the reference result. Keeping only samples that pass verification can significantly reduce noise in the training data.

    3. Path Two: Training a New Base Model from Scratch

    The core assumption of this path is that the data and architecture in the pretraining stage determine the capability ceiling. Only by redesigning these two parts is there a chance to achieve a higher upper bound.

    Its advantage is a high degree of design freedom. Teams can replan data sources and cleaning pipelines, adjust model scale and structure, for example by choosing between dense models and mixture-of-experts models, and decide how to extend context length. A fully designed base model can provide a better starting point for multiple subsequent iterations.

    The costs are equally clear. Training cycles are measured in months, compute and data costs are high, and errors at any stage can cause significant waste. Stability issues during training require continuous attention, such as sudden loss spikes, gradient anomalies, and distribution shifts caused by data pipeline errors. Therefore, this path requires mature training infrastructure, data engineering capability, and monitoring systems as support.

    When making a decision, teams usually need to answer several questions: Do the target capabilities depend on knowledge missing from the base model? Can existing data support larger-scale training? Does the team have the organizational capacity for long-term investment? If the effort fails, can the time and cost losses be absorbed?

    4. How to Compare the Two Paths Fairly

    A common mistake when comparing different models or paths is to look only at a single leaderboard score. Fair comparison requires attention to the following points.

    First, evaluation dimensions should cover real tasks. Coding capability can be broken down into subtasks such as code generation, bug fixing, test writing, and code review. Agent capability requires attention to multi-step planning, tool-call accuracy, and error recovery. Long-context handling, instruction following, and safety compliance should also be included in evaluation.

    Second, beware of benchmark contamination. If training data contains evaluation questions or near variants, scores will be inflated. Supplementary validation can use newly constructed private question sets or data split by time.

    Third, fix experimental conditions. Prompt templates, decoding parameters, system instructions, and tool configurations must remain consistent. For stochastic generation tasks, sample multiple times and report both mean and variance.

    Fourth, combine automated metrics with human review. Automated metrics are suitable for large-scale screening, but dimensions such as code readability and explanation quality still require human judgment.

    Below is a reference implementation for calculating the pass@k metric for code generation tasks, using the unbiased estimator formula:

    1. from math import comb
    2. def pass_at_k(n: int, c: int, k: int) -> float:
    3. """n: total samples per problem, c: number of samples passing tests, k: number of samples evaluated"""
    4. if n - c < k:
    5. return 1.0
    6. return 1.0 - comb(n - c, k) / comb(n, k)

    Here, n is the total number of samples per problem, and c is the number of those samples that pass the tests. Averaging over the problem set gives the overall metric.

    5. A Practical Framework for Enterprise Selection

    Enterprises can judge the choice from four dimensions.

    1. Business timeliness: if the requirement must go live within weeks, the post-training path is usually more realistic.
    2. Data conditions: if there is already a large amount of high-quality, verifiable domain data, the benefits of post-training are easier to realize. If data is scarce, data engineering must be invested in first.
    3. Budget and talent: training a new base model requires a long-term, stable compute budget and a team with distributed training experience.
    4. Deployment constraints: model size directly affects inference memory usage, response latency, and per-call cost. Quantization, distillation, and inference optimization can be used in both paths.

    Model license terms also need to be checked. Open-source licenses differ in their requirements for commercial use, redistribution, and attribution, and legal and engineering teams should confirm them together before launch.

    6. Engineering Priorities for Deployment

    Whichever path is chosen, the launch process should follow these principles.

    • Staged rollout: validate in internal or low-traffic scenarios first, then gradually expand.
    • Rollback mechanism: keep the previous model and configuration so that anomalies can be switched back quickly.
    • Monitor key metrics: including task success rate, response latency, tool-call error rate, and user feedback.
    • Data compliance: user data involved in training and inference must be de-identified and must comply with relevant regulations and internal policies.
    • Safety evaluation: conduct targeted testing for unauthorized calls, sensitive content output, and prompt injection.

    If a team is just beginning to build its own model capabilities, it is advisable to start with the post-training path to accumulate data and evaluation systems. After the data pipeline and monitoring capabilities mature, the team can then assess whether it is worth investing in training a new base model.