Post-training Scaling: A New Path to LLM Capability Gains

    This article explores post-training scaling as an alternative to parameter growth for improving large language model capabilities. It explains why freezing the base model enables controlled experiments, and how scaling three factors—long-horizon environments, automated verifiers, and reinforcement learning infrastructure—can drive order-of-magnitude gains. It also covers capability transfer to terminal control, software engineering, and security analysis, along with evaluation practices and engineering rollout recommendations.

    1. The Question: Does Capability Growth Require More Parameters?

    For a while, the race among frontier models was essentially a race of parameters and compute: larger total parameter counts, more activated parameters, and longer context windows formed the standard narrative of every launch. But the marginal cost of this path is rising quickly, while the returns are becoming less predictable. This has led the industry to reconsider a question: with the base model completely frozen, can scaling investment in the post-training stage alone deliver a step-change in capability?

    The answer is yes, but only if you are clear about what is being scaled. Post-training scaling is not about running the same data more times. It scales three things at once: the number and duration of task environments, the degree of automation in verification signals, and the throughput efficiency of reinforcement learning training. Together, these determine whether a model can move from “solving problems” to “getting things done.”

    2. Controlled Experiments: Why Freezing the Base Model Is More Valuable

    A typical approach is to keep the base model, network architecture, total parameter count, and activated parameter count completely unchanged, with the only variable being the scale and duration of post-training. This design is known in engineering as a controlled experiment, and its value lies in attributing capability gains clearly.

    A common large-parameter sparse architecture typically contains dozens of layers, hybrid attention and sparse indexing mechanisms, a total parameter count in the hundreds of billions, only a few billion activated parameters per token, and support for million-token context and very long continuous output. Once these conditions are fixed, any change in evaluation scores can only come from the data, environment, and algorithm sides.

    The implication for engineering teams is direct: if your base model already has sufficient knowledge and a solid reasoning floor, additional investment should go into post-training first, rather than restarting an expensive pre-training run.

    3. Long-Horizon Environment Scaling: From Single-Turn Q&A to an Interactive World

    “Long-horizon environments” refer to task environments where the model can interact continuously, observe feedback, and revise its strategy—for example, a real terminal session, a code repository requiring multi-file changes, or a target system that requires repeated probing. Their scale is determined by three dimensions:

    • Environment count: the number of independent task instances that can run in parallel;
    • Interaction depth: the average number of steps per task and the accumulated context length;
    • Feedback density: whether a decidable signal is available at each step.

    Scaling long-horizon environments works because it shifts the training distribution from “static text” to “dynamic processes,” forcing the model to learn planning, rollback, and self-verification.

    The illustrative environment organization logic is as follows (pseudocode, structure only):

    1. env_pool = build_envs(num_tasks=10_000, max_steps=200)
    2. for rollout in env_pool:
    3. traj = rollout.run(policy=model, max_steps=200)
    4. reward = verifier.score(traj) # automated judgment
    5. buffer.add(traj, reward) # feed into reinforcement learning

    4. Automated Verifiers: The Real Bottleneck of Post-training Scaling

    Reinforcement learning needs rewards, and rewards need judgment. Manual annotation cannot support hundreds of thousands of long-horizon trajectories, so the automated verifier becomes the key infrastructure of the whole system. Reusable construction approaches include:

    1. Executable assertions: use unit tests, compilation pass rates, and static analysis results as objective signals;
    2. State diffing: compare changes in the file system, process state, and network connectivity before and after execution;
    3. Rule and policy checks: use safety policies, permission boundaries, and minimal impact scope as constraints;
    4. Multi-model cross-review: use independent models to give preference judgments on trajectories, reducing the bias of a single signal.

    It is important to emphasize that the quality ceiling of the verifier determines the capability ceiling of the model. If the reward can be exploited by shortcuts, the model will quickly converge to reward hacking, appearing to produce correct final answers while the process is ineffective. Therefore, verifiers must iterate in step with adversarial testing.

    5. Reinforcement Learning Infrastructure: Throughput Determines Exploration Breadth

    Sampling costs for long-horizon tasks are extremely high; a single trajectory may contain hundreds of tool calls. For post-training scaling to hold, the training framework must achieve engineering-grade optimization in scheduling, reuse, and fault tolerance. Common points include:

    • Trajectory-level asynchronous sampling to avoid long-tail tasks blocking overall throughput;
    • Environment instance pooling and snapshot rollback to reduce reset costs;
    • Context caching and intermediate result reuse to compress repeated computation;
    • Retaining failed trajectories as material for negative samples and curriculum learning;
    • Full-chain observability: logging services and monitoring alerts covering sampling success rate, average steps, and reward distribution drift.

    A simplified training loop can be expressed as:

    1. while not converged:
    2. batch = async_sample(model, env_pool, n=2048)
    3. batch = verifier.filter_and_score(batch)
    4. loss = policy_gradient(batch, clip_ratio=0.2)
    5. model.update(loss)
    6. metrics.report(batch.reward_mean, batch.pass_rate)

    6. Capability Transfer: Terminal Control, Software Engineering, and Security Analysis

    Long-horizon post-training on the same base model concentrates gains in three types of tasks.

    Terminal control tasks examine a model’s multi-step execution ability in a real command-line environment, including path handling, dependency installation, process management, and error recovery. Because every step has clear feedback, these tasks are best suited as the main battlefield for post-training, and several-fold improvements on public benchmarks are not surprising.

    Real software engineering tasks emphasize cross-file understanding, patch generation, and regression verification. The difficulty lies not in writing code but in locating problems and maintaining changes that do not break existing behavior. Therefore, “whether tests pass” should be the core reward, rather than text similarity.

    Security analysis tasks involve vulnerability understanding, defensive hardening, and attack surface reduction. These capabilities have an obvious dual-use nature, so before releasing open weights, security assessment and hardening are usually required, along with a tiered release strategy: first provide the capability through a hosted interface, then gradually open the weights.

    7. Evaluation: How to Prove the Gains Are Not Noise

    Score jumps from post-training must be validated with rigorous methods, covering at least four levels:

    • Task success rate (report both pass@1 and pass@k);
    • Process quality (average steps, proportion of invalid calls, number of rollbacks);
    • Generalization (task sets unseen in the training environments);
    • Stability (variance across multiple runs of the same task).

    At the same time, a control group of “same base model, zero post-training” should be retained; otherwise, interference from differences in the base model itself cannot be ruled out.

    8. Engineering Recommendations

    For teams that want to reproduce this path in their own business, the following order of progression can be referenced:

    1. First inventory tasks and filter out high-frequency scenarios where feedback can be judged automatically;
    2. Build verifiers and dataset version management to ensure rewards are auditable;
    3. Set up an observability system for sampling and training, using a general-purpose container platform to host environment instances;
    4. Validate at small scale whether the scaling curve is monotonic, then decide whether to expand investment;
    5. Establish a pre-launch security assessment and canary release process.

    For elastic scheduling of compute resources, you can combine general capabilities such as the container platform, object storage, and monitoring alerts from Baidu AI Cloud to host the environment pool and archive trajectories, so that engineering focus stays on the verifier and the algorithms themselves.

    9. Conclusion

    The “no more parameters, post-training only” path shows that when the base model is capable enough, the truly scarce resources are interactive environments, automatically decidable reward signals, and efficient sampling infrastructure. Scaling these three allows a model to achieve order-of-magnitude gains without changing the architecture. For developers, this is an engineering path with more controllable costs, clearer attribution, and faster iteration.