How to Scale Post-Training Without Re-Pretraining

    This article examines how a model can achieve major capability gains while keeping the base model, architecture, and parameter counts unchanged, using post-training scale as the only variable. It explains why freezing the base makes for a more rigorous experiment, then breaks down the three pillars behind the approach: long-horizon environment scaling, automated verifier construction, and RL infrastructure. It also covers how to read benchmark results critically and offers a reusable implementation path for engineering teams. The key takeaway: when the base model is near saturation, scaling post-training is a more cost-efficient and lower-risk curve for capability growth.

    How to Scale Post-Training Without Re-Pretraining

    The Core Finding: Capability Leaps Come from Post-Training, Not Parameters

    In mid-August 2026, a leading Chinese team released a frontier model aimed at coding and cyber defense, with the official tagline emphasizing that it was “built for coding, prepared for defense.” The most notable detail was not how large it was, but how economical: the total parameter count, activated parameter count, layer count, and attention mechanism were all identical to the previous flagship. The team explicitly positioned it as a set of “controlled experiments”—the base model stays fixed, and the only variable is the scale and duration of post-training.

    Within the same time window, several technical paths were visible across the industry: some pushed total parameters into the trillion range, others strengthened ultra-long context and reasoning chains, while this path put all resources into reinforcement learning and long-horizon environments. Roughly one month of continuous post-training delivered multiplied gains in terminal control, real software engineering, and vulnerability analysis. In its public evaluations, the terminal task benchmark jumped from a single-digit score to nearly thirty, the real code repository repair benchmark improved by more than twenty points, and the vulnerability reproduction benchmark ranked among the top with a success rate above eighty percent.

    For engineering teams, the value of this finding is this: when base model capability approaches saturation, scaling post-training is a capability growth curve with a better return on investment and more controllable risk.

    1. Why “Not Touching the Base” Is a More Rigorous Experiment

    1.1 Interpretability from Variable Isolation

    Large model capability evaluation has long struggled with a methodological problem: when a new version gets stronger, is it because pre-training data improved, the architecture changed, or post-training became more thorough? Once multiple variables change at the same time, attribution becomes nearly impossible. Freezing the base model, architecture, total parameters, and activated parameters, and opening up only the environment scale and reinforcement learning compute for post-training, establishes a clear causal chain between “capability improvement” and “training strategy.”

    This design is equivalent to a strict A/B experiment in engineering terms: the control group is the previous release, the experimental group is the same base plus a new round of post-training, with the evaluation set, inference configuration, and sampling parameters held constant.

    1.2 Differences in Cost Structure

    Re-pretraining a mixture-of-experts model with hundreds of billions of parameters requires a ten-thousand-GPU-class cluster running continuously for months, along with substantial uncertainty around data mixing ratios, deduplication, and annealing strategies. Post-training also requires considerable compute, but the number of training steps is orders of magnitude smaller, feedback signals are denser, failures can be rolled back, and the iteration cycle compresses from “quarterly” to “weekly.”

    1.3 Redrawing Capability Boundaries

    Conventional thinking holds that capabilities like math, code, and logical reasoning depend heavily on “knowledge injection” during the pre-training stage. The practice of scaling post-training shows that when a task can be fully described by an environment and results can be judged automatically, the model can fill in capabilities on its own through interaction with the environment. This provides a theoretical basis for “vertical scenario reinforcement.”

    2. Three Pillars: Long-Horizon Environments, Automated Verifiers, and RL Infrastructure

    2.1 Long-Horizon Environment Scaling: Turning “Tasks” into Interactive Worlds

    Long-horizon environments are sandboxes that let a model execute dozens or even hundreds of consecutive operations and receive real feedback. Typical components include:

    • A complete operating system user-space environment with a file system, process management, package management, and network isolation;
    • Reproducible snapshots of real code repositories, with test cases and build scripts;
    • Cyber attack-and-defense ranges containing injectable vulnerabilities, observable logs, and traffic;
    • Unified action interfaces and state snapshot mechanisms that support failure rollback and branch exploration.

    The key to scaling is the “environment production pipeline”: batch-pulling open-source repositories, automatically building images, automatically determining environment usability, and automatically generating task descriptions and acceptance criteria. Industry practice shows that when the number of environments expands from hundreds to tens of thousands, the improvement in model success rate on long-horizon tasks is often more significant than simply increasing training steps.

    A schematic environment description structure (pseudocode):

    1. task_id: swe-00421
    2. image: sandbox/base@sha256:...
    3. timeout_sec: 1800
    4. max_steps: 120
    5. initial_state:
    6. repo_ref: commit-abc123
    7. failing_tests: [tests/test_parser.py::test_edge_case]
    8. actions:
    9. - shell
    10. - file_edit
    11. - test_run
    12. verifier:
    13. type: unit_test
    14. command: "pytest -q tests/"
    15. success_on: exit_code == 0
    16. reward:
    17. sparse: 0.0
    18. shaped: {test_pass_ratio: 0.7, lint_clean: 0.2, minimal_diff: 0.1}

    2.2 Building Automated Verifiers: Reward Signal Quality Sets the Ceiling

    The effectiveness of reinforcement learning depends heavily on whether the reward signal is “decidable and hard to game.” Writing verifiers manually cannot support tens of thousands of environments, so automation is required:

    1. Test-driven: Extract acceptance conditions from a repository’s existing tests; when tests are missing, use a generative model to fill them in, then use “whether it can distinguish correct from incorrect patches” as the screening criterion;
    2. Differential validation: For the same task, a correct solution and a deliberately flawed solution must receive different verdicts, preventing the reward from degenerating into a constant;
    3. Anti-cheating constraints: Prohibit modifying test files, prohibit hardcoding expected values, and limit patch size to prevent the model from taking shortcuts;
    4. Layered rewards: Break the sparse “final pass” into intermediate signals such as compilation success, unit test pass ratio, static checks, and minimality of changes, easing the credit assignment problem in long-horizon tasks.

    2.3 RL Infrastructure: Throughput, Stability, and Observability

    The engineering difficulty of long-horizon reinforcement learning lies not in the algorithm but in the system: slow environment startup, high action latency, and wasted compute on failed samples. Mature solutions typically have the following characteristics:

    • Environment pooling and image pre-warming, reducing sandbox startup from tens of seconds to seconds;
    • Asynchronous sampling and pipeline parallelism, overlapping the generation, execution, and scoring stages;
    • Strict resource isolation and quotas to prevent a single task from bringing down the cluster;
    • Full-chain tracing that records every action, observation, and reward for review and denoising;
    • Checkpoint resume and sample reuse to reduce the cost of interruptions in long training cycles.

    For cloud deployment, these needs can be met by combining container platforms to host the sandbox pool, object storage to save trajectories and images, message queues to decouple sampling and scoring, and logging services plus monitoring and alerting for observability. The relevant general product categories on Baidu AI Cloud can cover these requirements.

    3. Evaluation: Don’t Just Look at the Total Score

    Terminal control benchmarks measure multi-step command execution and failure recovery; real software engineering benchmarks measure the ability to locate and fix defects in a complete repository; vulnerability analysis benchmarks measure the closed-loop capability from code auditing to exploit chain construction. What they share is that they are long-horizon, verifiable, and close to real workflows, which also makes them most likely to expose the problem of “only completing snippets, not finishing tasks.”

    When reading scores, pay attention to three things: first, whether there is test leakage or training set contamination; second, whether the pass rate is counted as “success on the first attempt”; third, whether confidence intervals and multi-sample variance are provided. An improvement in a single number may just be noise from a change in sampling strategy.

    4. A Reusable Implementation Path

    1. Scenario convergence: Pick task families whose results can be judged automatically, such as batch script repair, configuration inspection, and log anomaly localization;
    2. Environment assetization: Abstract internal systems into standardized sandbox images, and establish versioning and rollback mechanisms;
    3. Verifiers first: Build the judgment criteria before training, to avoid reward noise contaminating the entire pipeline;
    4. Small-step scaling: Run ablations separately along three dimensions—environment scale, training steps, and sample count—to find the point of diminishing marginal returns;
    5. Production guardrails: Require manual confirmation for high-risk operations by default, log all action trajectories, and enforce least privilege and network isolation.

    Conclusion

    What is truly worth remembering about this release is that it pulled “model capability improvement” back from alchemy into engineering: freeze the base, expand environments, tighten verifiers, and optimize the training system. For most teams, there is no need to reproduce training at the same scale, but the methodology can be copied directly—first turn tasks into interactive, decidable environments, and capability growth becomes a measurable, reproducible curve.