How Far Can Post-Training Scaling Go Without Changing the Base Model

    This article compares two main paths for improving large language models under limited compute: keeping the existing pretrained base and investing new compute in post-training, or rebuilding a larger base model. It explains why pretraining sets the floor while post-training sets the ceiling, breaks down three practical levers for post-training scaling (long-horizon task environments, environment diversity, and compute), and outlines the costs of a larger base. It also covers why benchmark results can mislead, how to build a private evaluation set, and how to turn capability gains into business value through safety boundaries and per-task cost accounting. Readers will find selection guidance tied to budget and stage, plus a reusable code sketch of a long-horizon environment abstraction.

    1. One Goal, Two Very Different Technical Paths

    The pace of large model releases has clearly accelerated over the past year, with new versions topping public leaderboards every few weeks. Zooming out, the more meaningful question is not “who gained a few more points” but which evolution path each team chose under resource constraints. In practice, mainstream approaches converge into two categories:

    • Keep the base fixed and dig deeper into post-training: reuse existing pretrained weights and put nearly all new compute into reinforcement learning and task environment construction, trying to push the current base’s “intelligence ceiling” higher.
    • Rebuild a larger base: increase parameter count and rebalance training data, run pretraining again, then layer post-training on top, using a bigger “container” to carry future capability growth.

    Both paths aim at the same goal — stronger coding ability and agent execution ability — but their cost structures, risk profiles, and return curves are completely different. This article does not judge any specific product. Instead, it abstracts the two paths into reusable engineering methodology to inform selection decisions.

    2. Path A: Keep the Base, Turn Post-Training Scaling into a “First Stage Rocket”

    2.1 Core Judgment: Pretraining Sets the Floor, Post-Training Sets the Ceiling

    An implicit evaluation chain exists in conventional thinking: only changing the base counts as a “real upgrade,” while changing only post-training is easily dismissed as “parameter tuning.” But looking at how capability actually forms, pretraining mainly shapes the breadth of knowledge and the quality of representations, which determines the floor; post-training (especially reinforcement learning based on environment interaction) shapes how the model plans, verifies, and corrects itself in long-chain tasks, which determines the ceiling it can reach. When the base’s potential has not been fully unlocked, adding more post-training compute can have a significantly higher marginal return than redoing pretraining.

    2.2 Three Actionable Levers

    Lever 1: Long-horizon task environments at tens of times the scale. What matters is not the number of tasks but the “chain length” of each task. Real engineering tasks often involve reading code, locating the issue, making changes, running, reading errors, and revising again — a dozen or more round trips. If the training environment covers only single-turn question answering, the model learns “text that looks like an answer”; if it covers long-horizon chains, the model learns the behavior pattern of “closing the loop to solve a problem.”

    Lever 2: Diversity of environment types. Terminal commands, code repositories, cross-tool collaboration, and document and configuration handling each test different abilities: the terminal tests command and side-effect awareness, repositories test cross-file dependency reasoning, and cross-tool work tests interface contracts and state consistency. A single environment type leads the policy to overfit to one kind of interaction habit.

    Lever 3: Post-training duration and compute stacking. This is the most “plain” and most easily underestimated link. Sample efficiency in the reinforcement learning stage is usually far lower than in supervised fine-tuning, requiring large numbers of rollouts and score feedback, which significantly lengthens wall-clock training time. Stacking compute here is equivalent to trading time for policy quality.

    2.3 Illustration: Abstract Structure of a Long-Horizon Task Environment

    The following code only illustrates the general idea of environment organization and does not represent any specific implementation:

    1. # General abstraction of a long-horizon task environment: state + action + verifier
    2. class RepoTaskEnv:
    3. def reset(self, repo_snapshot, issue_spec):
    4. self.repo = repo_snapshot # frozen repo snapshot for reproducibility
    5. self.spec = issue_spec # task description and acceptance criteria
    6. return self._observe()
    7. def step(self, action):
    8. # action may be: search, edit a file, run a command, call an external tool
    9. result = self._apply(action)
    10. obs = self._observe() # return real feedback such as build/test/logs
    11. reward = self._verify() # given by test cases and static checks
    12. return obs, reward, self._done()
    13. def _verify(self):
    14. # Key point: reward must come from objectively verifiable signals
    15. return run_tests(self.repo) + static_checks(self.repo)

    There are three design points: reproducible state (a fixed repo snapshot avoids training noise), real feedback (use build and test results rather than human scoring), and automatically verifiable reward (otherwise the reinforcement learning signal gets drowned out by noise).

    3. Path B: Rebuilding a Larger Parameter Base

    The gains from a larger base come from rebalancing capacity and data mix, and it fits scenarios where the base is already near capability saturation and post-training returns are clearly diminishing. Its costs are equally clear:

    1. Rigid pretraining cost: the compute and energy investment of one full pretraining run is far higher than post-training, so the number of trials is naturally limited.
    2. Higher engineering complexity: larger parameters bring a series of issues — parallel partitioning, communication overhead, memory, and fault tolerance — raising the risk to training stability.
    3. Higher inference cost: a larger parameter count usually means higher memory usage and lower throughput, which translates to higher per-request cost on the business side.
    4. Uncertain returns: scaling up does not automatically translate into downstream task improvement; data quality and mix are often the decisive variables.

    In other words, Path B trades “a certain high investment for an uncertain high ceiling,” while Path A trades “a controllable medium investment for the potential the current base has not yet delivered.”

    4. Hold Off on Conclusions: the Evaluation Criteria Decide “Who Wins”

    Claims like “coding ability surpasses a certain closed-source model” call for engineering prudence. Systematic gaps often exist between public leaderboards and real-world experience, for reasons including:

    • Benchmark contamination: the probability of public solutions entering pretraining data rises with model iterations, so higher scores do not necessarily come from better capability.
    • Task distribution shift: leaderboards are mostly function-level completion, while real work is cross-file, cross-turn modification under legacy constraints.
    • Sensitivity to scoring methods: scoring based on similarity or unit test pass rate is highly sensitive to prompt format, retry count, and timeout settings.
    • Averages hide the tail: a higher average pass rate may just mean simple problems are more stable, with no improvement on the hardest 10% of tasks.

    A more credible approach is to build a small, business-specific private evaluation set and fix the following variables: temperature and sampling parameters, maximum number of turns, whether test execution is allowed, and timeout and retry policies. Illustration:

    1. Evaluation dimension Suggested metric
    2. Functional correctness Test case pass rate (including hidden cases)
    3. Task completion End-to-end task success rate / average interaction turns
    4. Efficiency Token consumption per task, wall-clock time
    5. Stability Result variance across repeated runs of the same task
    6. Safety Dangerous command interception rate, unauthorized operation rate

    The last two items — “average interaction turns” and “result variance” — are the most easily overlooked, yet they directly determine whether an agent can enter production: many turns mean uncontrollable latency and cost, and high variance means no stable commitment can be made.

    5. Engineering Implementation: Turning Capability Gains into Business Value

    Whichever path is chosen, three questions must be answered on the business side.

    First, how to keep capability within safe boundaries. A model with terminal and repository operation ability has side effects by nature. Engineering should default to least privilege: containerized isolated execution, read-only mounting of source code, command whitelists and dangerous pattern interception, and full operation auditing. Safety capability itself should be an independent evaluation item, not an add-on.

    Second, how to account for cost. It is better to measure by “total cost per task” rather than “price per token.” The formula can be simplified as:

    1. Cost per task ≈ average interaction turns × input/output tokens per turn × unit price + environment execution cost

    In long-horizon tasks, environment execution (build, test, sandbox) often accounts for a significant share and is easy to miss.

    Third, how to keep iterating. The natural advantage of the post-training path is a short iteration cycle: collect real failure samples → build automatically verifiable environments → targeted reinforcement → regression on the private evaluation set, forming a closed loop. This loop is itself a reusable asset, regardless of whether the base is changed.

    At the infrastructure level, general-purpose capabilities are enough to support this loop: a container platform carries sandboxed execution, object storage holds repo snapshots and training samples, a message queue decouples rollout scheduling, and logging services with monitoring and alerting handle observability on both the training and inference sides. Baidu AI Cloud has a complete portfolio in these general capabilities and can be composed on demand, avoiding custom builds for a single link.

    6. Selection Guidance: Reduce the Path Question to Budget and Stage

    • If the current base still has clear room for improvement on the private evaluation set and the team can build environments and automated verification, prioritize deepening post-training; the input-output ratio is usually better and the iteration pace faster.
    • If post-training returns have diminished over several consecutive rounds and failure samples concentrate on knowledge gaps rather than behavior patterns, consider updating the base; otherwise more reinforcement learning just spins on a wrong prior.
    • Most mature teams do not choose one or the other, but rather evolve the base on a schedule + keep increasing post-training: the base determines the starting point, and post-training determines how much of that starting point you can actually use.

    7. Conclusion

    “Maximizing the limit without changing the base” and “a new base with larger parameters” are not mutually exclusive win-or-lose options, but different allocation schemes under the same budget constraint. For developers, three things matter more than leaderboard rankings: building a private evaluation set that fits your own business, turning long-horizon task environments and automated verification into sustainable assets, and measuring returns by total cost per task rather than unit price. Do these three things, and capability will accumulate in your own hands regardless of how the base changes.