Scaling Post-Training with a Fixed Base Model: How Far Can It Go?

    This article compares scaling post-training on an existing base model with retraining a larger base model. It explains three practical levers for post-training scale-up—longer task trajectories, more diverse training environments, and additional compute—and discusses reward design, evaluation methodology, engineering requirements, risks, and a decision framework for choosing between post-training and base-model retraining.

    1. Two Paths, Two Trade-offs

    There are two main ways to improve large model capabilities. One is to redesign and train a larger base model, which requires new investment in data, compute, and training cycles from the ground up. The other is post-training on an existing base model, using instruction tuning, reinforcement learning, and environment interaction to improve performance on specific task types.

    The difference between these paths goes well beyond cost. The base model determines knowledge capacity and general representation ability, while post-training determines how those abilities are organized, invoked, and calibrated. A common intuitive framing is that pre-training sets the lower bound of capability, while post-training determines how close the model can get to the target task performance. This framing is useful, but it needs a qualification: how much post-training can accomplish depends on whether the base model still has enough potential to exploit.

    For teams choosing a direction, the key question is under what conditions each path is worthwhile.

    2. Three Levers for Scaling Post-Training

    2.1 Extending Long-Horizon Task Chains

    Single-turn question answering is very different from real engineering tasks. A defect-fixing task may require reading a code repository, locating the problem, modifying multiple files, running tests, and iterating repeatedly based on failure messages. The whole process can involve dozens of steps. If training only covers short tasks, the model struggles to learn cross-step planning and is less capable of recovering from intermediate errors.

    By extending the length of training trajectories, the model gets an opportunity to learn how to maintain task state, judge current progress, and correct deviations. Two metrics matter here: task success rate by step count, which shows how quickly success declines as steps increase; and credit assignment difficulty, which is the challenge of determining which step caused a final failure. Long trajectories make credit assignment harder, so finer-grained intermediate checkpoints are needed.

    2.2 Expanding Environment Diversity

    A narrow set of training environments causes the model to overfit to a particular interaction interface. Common training environments include terminal operations, code repositories, multi-tool collaboration, and document retrieval. The more environment types are covered, the better the model can transfer learned policies to unseen scenarios.

    The following is an illustrative configuration for an environment mix. The weights and step counts need to be adjusted based on the actual task distribution:

    1. # Illustrative configuration: describes how training environments are mixed; not tied to any specific product interface
    2. environment_mix:
    3. - type: terminal_session
    4. weight: 0.25
    5. max_steps: 40
    6. - type: code_repository
    7. weight: 0.35
    8. max_steps: 80
    9. test_command_required: true
    10. - type: multi_tool_workflow
    11. weight: 0.25
    12. max_steps: 60
    13. - type: document_retrieval
    14. weight: 0.15
    15. max_steps: 30

    Two points require attention during configuration. First, weights should reflect the real distribution of target scenarios, not be evenly assigned based on intuition. Second, each environment type needs a step limit; otherwise, the model may prolong training time through ineffective loops.

    2.3 Investing More Training Time and Compute

    Adding compute during post-training is the most direct of the three levers. Its marginal returns usually diminish: the more compute is invested, the smaller the improvement per unit of compute. Therefore, teams should maintain a held-out validation set, save checkpoints regularly, and stop promptly when validation metrics stop improving. Without these mechanisms, compute investment can easily become unexplained waste.

    3. Reward Design Is Central to Post-Training

    The effectiveness of the reinforcement learning stage depends heavily on the quality of the reward signal. Verifiable rewards are the most stable, such as whether unit tests pass, whether the process exit code is zero, or whether the final file state matches expectations. Preference-based rewards are more subjective and are easily exploited when the model learns superficial features that please the evaluator.

    Verifiable rewards also carry the risk of being exploited. A model may learn to modify test files, delete assertions, or directly hardcode the expected output. A common way to address this is to mark test files as protected paths and count any modification as an immediate failure.

    The following is an illustrative reward function:

    1. def compute_reward(run_result: dict) -> float:
    2. """Illustrative: compute reward from verifiable results without relying on any specific platform API."""
    3. if run_result["timed_out"]:
    4. return -0.2
    5. tests_total = run_result["tests_total"]
    6. if tests_total == 0:
    7. return 0.0
    8. score = run_result["tests_passed"] / tests_total
    9. # Modifying protected files (such as the test cases themselves) is out-of-bounds and penalized
    10. if run_result["modified_protected_files"]:
    11. score -= 0.5
    12. return max(score, -1.0)

    The design intent is to give negative feedback for timeouts, assign scores by pass rate for normal completion, and apply a clear penalty for out-of-bounds operations. Specific score values need to be calibrated through experiments and should not be copied directly.

    4. Comparing the Two Paths

    The table below is a qualitative comparison intended to help teams build a judgment framework. It does not represent measured data from any specific model.

    Dimension Scaling Post-Training Retraining a New Base
    Startup cost Moderate, mainly environment construction and compute Very high, requiring large-scale data and compute
    Iteration cycle Shorter, with staged checkpoint releases Longer, with long training and validation cycles
    Capability ceiling Constrained by the base model’s knowledge capacity Determined by the new base model, with more headroom
    Main risks Overfitting to training environments; general capabilities may regress Training instability; long validation cycles
    Data dependency Depends on verifiable tasks and environments Depends on large-scale pre-training corpora
    Rollback capability Better; different checkpoints can be compared Worse; usually requires whole-model replacement

    This leads to a basic judgment. If a team already has a mature base model and a large number of verifiable tasks, post-training is usually more cost-effective. If the goal requires knowledge or modalities that the base model lacks, upgrading the base model is the fundamental solution.

    5. How to Judge Whether an Upgrade Is Effective

    The effects of post-training are easily amplified by evaluation bias, so evaluation needs to be systematic. The following are basic requirements:

    1. Use held-out task sets: Evaluation tasks must not appear in the training environment; otherwise, results will be severely inflated.
    2. Sample multiple times and examine distributions: Run the same task multiple times and compare pass rates and variance, rather than looking only at a single result.
    3. Check for regression in general capabilities: Specialized training may harm general capabilities, so general test suites need to be retained for continuous monitoring.
    4. Check benchmark contamination: Measure the overlap ratio between training data and evaluation sets, and record how it is handled.
    5. Normalize by compute cost: When comparing gains, include the added compute and time costs.

    The code below shows how to organize the evaluation flow. Functions such as run_suite and overlap_ratio are placeholders and need to be replaced with the team’s own evaluation tools:

    1. def evaluate_checkpoint(ckpt, heldout_tasks, general_suites, baseline_scores):
    2. report = {}
    3. # Run each held-out task 5 times and take the average pass rate
    4. report["heldout_pass_rate"] = run_suite(ckpt, heldout_tasks, attempts=5)
    5. # Change in general capability relative to baseline; negative means regression
    6. report["general_delta"] = {
    7. name: run_suite(ckpt, suite) - baseline_scores[name]
    8. for name, suite in general_suites.items()
    9. }
    10. # Overlap ratio between training data and held-out tasks; higher is more concerning
    11. report["contamination_ratio"] = overlap_ratio(ckpt.train_manifest, heldout_tasks)
    12. return report

    Evaluation results should be read together across three numbers: improvement on held-out tasks, change in general capabilities, and contamination ratio. Improvement on held-out tasks is convincing only when the contamination ratio is low and general capabilities have not clearly regressed.

    6. Engineering Deployment Essentials

    Putting a post-training environment into production requires attention to the following areas:

    • Environment isolation: Create an independent container sandbox for each task, restrict network access and file system permissions, and prevent tasks from affecting one another.
    • Trajectory recording and auditing: Record the input, output, and tool calls at every step in full, making it easier to review failure cases and meet compliance review requirements. Logs can be stored centrally in a logging service.
    • Monitoring and alerting: Continuously track metrics such as task success rate, timeout rate, and number of anomalous operations, and set threshold alerts for key metrics.
    • Data lifecycle management: Training trajectories and model checkpoints are large and retained for long periods. They are suitable for object storage, with reasonable archiving and cleanup policies.
    • Principle of least privilege: By default, agents should only be able to call read-only tools. Operations involving writes or deletions must require explicit confirmation.

    7. Risks and Boundaries

    The gains from scaling post-training are real, but they have clear boundaries.

    The first is reward exploitation. A model may find shortcuts that satisfy the literal requirements of the reward function while violating the true intent of the task. Reward design therefore requires continuous review and manual spot checks.

    The second is capability regression. Specialized training may weaken the model’s performance in general conversation, multilingual tasks, or other domains, which requires sufficiently broad evaluation coverage.

    The third is safety-related capability. Capability improvements in areas such as cybersecurity should be limited to authorized evaluation settings. Training and evaluation data need compliance review to prevent such capabilities from being used in unauthorized scenarios.

    Finally, evaluation itself has limits. Any benchmark covers only a limited set of capability aspects, and a single score cannot represent model performance in all scenarios.

    8. Decision Framework for Model Selection

    When deciding whether to invest in scaling post-training, teams can check the following in order:

    1. Does the existing base model still have clear room for capability improvement, or is it already close to its knowledge capacity limit?
    2. Can the target task be converted into a verifiable reward, such as tests, rule checks, or a deterministic file state?
    3. Is there a reproducible held-out evaluation set and a way to continuously monitor general capabilities?
    4. Is the marginal return on compute investment still acceptable, and are improvements between checkpoints stable?
    5. Is the engineering infrastructure sufficient to support long trajectories and highly isolated training environments?

    If the first three conditions are met, scaling post-training is usually a more cost-effective upgrade path. If the base model itself has gaps in knowledge or modalities, resources should be redirected toward retraining the base model.