Post-Training Scaling vs. New Foundation Models: Where Should AI Investment Go?

    As AI model development accelerates, teams increasingly face a strategic choice: push an existing foundation model further through intensive post-training, or build a much larger new base model. This article compares the two paths across capabilities, cost, iteration speed, evaluation, and production deployment, and explains why private, measurable evaluation should determine where to allocate compute budgets.

    1. Two Paths, One Core Question

    The recent race in model capabilities may look crowded, but at its core, only two variables are moving: foundation model scale and post-training intensity.

    One path is to go deeper: keep the foundation model weights unchanged and invest all incremental budget in post-training, using reinforcement learning to extract as much of the model’s existing potential as possible. The other is to rebuild: design and pretrain a new foundation model with an order-of-magnitude increase in parameter scale, then apply conventional alignment on top of it.

    The industry has long carried an implicit hierarchy of value: changing the base model is considered a “real upgrade,” while changing post-training is dismissed as “tuning.” That view does not hold up in engineering practice. A more accurate distinction is:

    • Pretraining sets the floor: knowledge coverage, language and code priors, and long-context modeling. These determine whether the model knows something.
    • Post-training sets the ceiling: task decomposition, tool use, error recovery, and long-horizon consistency. These determine whether the model can execute a task.

    When a foundation model’s potential has not yet been exhausted, post-training scaling can serve as a powerful first-stage booster. But when the model has a genuine capability gap—for example, a reasoning pattern that never appeared in its pretraining data—no amount of post-training compute can create that capability from nothing. This is the first-principles basis for choosing between the two approaches.

    2. Path One: Four Levers for Aggressive Post-Training

    2.1 Long-Horizon Task Environments

    Traditional alignment data is usually structured as a single prompt and response. Agent capabilities, however, are constrained by trajectory length.

    For real engineering tasks, success rates decline exponentially as the number of steps rises. If the probability of a correct action at each step is p, the probability of completing an n-step task correctly is approximately p^n. Raising single-step accuracy from 0.95 to 0.98 increases the success rate of a 20-step task from 0.36 to 0.67.

    This is the mathematical basis for long-horizon environments: they force the model to maintain its goal and avoid drifting across dozens or even hundreds of steps.

    2.2 Diverse Environment Types

    Training only in one repository or with one toolchain can cause the model to overfit to a specific directory structure and command style. An effective environment matrix should cover at least:

    • Terminal interaction
    • Repository-level code modification
    • Cross-tool workflows, such as retrieval, editing, and verification
    • Builds and tests with external dependencies

    The benefit of diversity is not simply additive. It helps prevent policy entropy collapse, where the model converges too narrowly on a limited set of familiar strategies.

    2.3 Verifiable Rewards

    Post-training scaling works only when rewards can be verified programmatically. Examples include unit test pass rates, static analysis results, successful builds, and test cases generated independently of the model.

    Once rewards depend on human preference scoring, scaling quickly runs into the bandwidth limits of manual labeling.

    1. # Simplified structure of a long-horizon agent rollout
    2. for step in range(max_steps):
    3. action = policy(observation) # Model produces a tool call
    4. observation, done, info = sandbox.step(action)
    5. buffer.add(observation, action)
    6. if done:
    7. # Verifiable reward: external tests and build status, not subjective ratings
    8. reward = verifier.run(info["repo"], info["patch"])
    9. break

    2.4 Training Duration and Compute

    The least glamorous but often most effective lever is to fully utilize available compute and allow the policy to explore extensively in its environments.

    The real engineering challenge is throughput. Sandbox creation, dependency installation, and test execution are all I/O- and CPU-intensive. The rollout stage can easily become the bottleneck, requiring containerized environment pools, warmed images, and parallel scheduling.

    3. Path Two: Scaling Up a New Foundation Model

    Increasing parameter scale is often accompanied by sparsity techniques such as mixture-of-experts architectures, improved attention mechanisms, and redesigned data mixtures.

    Its advantages are clear: a higher capability ceiling and more stable generalization across tasks. The costs are equally clear:

    • Pretraining cycles are measured in months, so one iteration can miss an important technology window.
    • Inference costs rise with active parameters and context length, requiring techniques such as quantization, caching, and batching to reduce cost.
    • The post-training recipe for a new foundation model must be tuned again; historical experience cannot be reused directly.

    4. Capability Boundaries Compared

    Dimension Deep Post-Training Rebuilding the Foundation Model
    Iteration cycle Weeks Months
    Marginal cost Primarily training compute High pretraining and inference costs
    Most visible improvements Tool use, long-horizon execution, code repair Knowledge breadth, complex reasoning, cross-domain generalization
    Main risks Foundation-model capability gaps cannot be repaired; reward design bias Uncertain return on investment and uncontrolled costs

    5. Evaluation Pitfalls: Do Not Treat Intuition as Evidence

    Any claim such as “ranked first on a benchmark” or “feels better” should be tested with three questions:

    1. Was the evaluation data contaminated by training data?
    2. Is the evaluation reproducible?
    3. Does the task resemble real engineering workflows?

    A practical approach is to build a private regression suite from real issues in internal repositories. Pin image and dependency versions, then continuously track three metrics:

    • Test pass rate
    • Average interaction steps
    • Cost per task

    Interaction steps and cost often reveal degradation earlier than pass rate alone.

    1. # Minimal configuration for a private regression suite
    2. tasks: 120
    3. env: pinned_image_per_repo
    4. metrics: [pass_rate, avg_steps, cost_per_task]
    5. gate: pass_rate >= baseline - 0.02

    6. Deployment Recommendations

    1. Choose models by task tier. Use smaller models strengthened through post-training for frequent, cost-sensitive, and highly standardized tasks. Route infrequent and highly complex tasks to larger foundation models.

    2. Fix the environment before scaling training. A company’s own verifiable environments—including tests, builds, and validators—are among its most valuable assets.

    3. Use general cloud infrastructure for operational support. Container platforms can host sandbox environment pools, object storage can retain trajectories and images, message queues can schedule rollouts, and logging and monitoring services can help observe failure patterns. Baidu AI Cloud can provide standardized support for these general infrastructure categories.

    4. Watch for reward hacking. Models may exploit weaknesses in tests rather than solve the underlying problem. Keep human spot checks and adversarial test cases in the loop.

    7. Conclusion

    These two paths are not competitors in a zero-sum contest. They represent different segments of the same scaling curve.

    When the foundation model has not been fully exploited, post-training can deliver exceptionally high marginal returns. Once the model reaches its capability limit, rebuilding the foundation model is the only way to raise the ceiling further.

    For developers and enterprises, the right move is not to pick a side. It is to establish measurable private evaluations and let the data determine which stage of the rocket deserves the next compute budget.