Post-Training Scaling Without More Parameters: How Long-Horizon Environments Drive Capability Gains

    This article analyzes how a frontier coding model achieved measurable capability gains by scaling post-training alone, while keeping the base model, architecture, total parameters, and activated parameters unchanged. It breaks down the three core pillars of post-training scaling—long-horizon environments, automated verifiers, and reinforcement learning infrastructure—explains why coding, terminal control, and security capabilities improve together, and outlines evaluation, integration, and risk considerations for engineering teams deciding where to invest a limited budget.

    Post-Training Scaling Without More Parameters: A Technical Breakdown

    1. The Problem: Parameter Scale Is No Longer the Only Variable

    For a long time, capability gains in frontier models depended heavily on the synchronized expansion of parameter count and pre-training data volume. Once training costs entered a high range, however, the industry began to reconsider a more fundamental question: with the base model and architecture completely frozen, can scaling investment in the post-training stage alone deliver observable and reproducible capability jumps?

    A recently released frontier coding model offers a case worth studying. Its technical disclosure shows that the new version shares an identical base with the previous generation: a sparse mixture-of-experts structure with roughly 753B total parameters, about 40B activated per token, 78 layers, and the same mechanisms such as multi-head latent attention and sparse attention. The context window reaches the million-token level, with a single continuous output limit of about 128K tokens on the API side, and support for thinking mode, streaming output, function calling, context caching, structured output, and tool protocol integration. The only change is concentrated in post-training: the long-horizon environment scale expanded by roughly tens of times, reinforcement learning compute investment increased significantly, and the cycle lasted about one month.

    The value of this path is that it naturally forms a “controlled experiment”: the base, architecture, total parameters, and activated parameters all remain unchanged, and the only variable is post-training scaling. For engineering teams, the conclusions of such an experiment are more instructive than a simple score ranking—it answers “where should the money go when the budget is limited.”

    2. Core Mechanisms: What Post-Training Scaling Actually Expands

    2.1 Long-Horizon Environments: From Single-Turn Q&A to Multi-Step Task Loops

    The first element of post-training scaling is environment scale. An environment refers to the collection of task scenarios in which the model can interact and obtain feedback. Single-turn Q&A data can only teach a model to “sound right,” whereas capabilities such as terminal control, real software engineering, and security analysis require the model to maintain goal consistency across multi-step operation sequences and revise its strategy at each step based on feedback.

    Building long-horizon environments typically requires coverage of three scenario types: first, sandbox tasks whose success or failure can be judged automatically, such as code repair, configuration troubleshooting, and data processing pipelines; second, tasks with long dependency chains, where errors in earlier steps propagate forward and force the model to learn self-verification; third, tasks with constraints, such as resource limits, time windows, and permission boundaries. The expansion of environment quantity and diversity directly determines the breadth of the state distribution the policy model can encounter.

    2.2 Automated Verifiers: Reward Signal Quality Sets the Ceiling

    The effectiveness of reinforcement learning depends heavily on reward signal quality. Manual annotation cannot support the scale of long-horizon environments, so automated verifiers become critical infrastructure. Common designs include: using unit test and integration test pass rates as the primary reward; using static checks, type checks, and dependency resolution results as auxiliary penalties; and for security tasks, using a dual condition of “goal achieved without crossing boundaries.”

    A schematic reward aggregation logic can be expressed as:

    1. def compute_reward(task_result):
    2. # Primary reward: functional correctness
    3. r_correct = 1.0 if task_result.tests_passed else 0.0
    4. # Auxiliary terms: process compliance and resource consumption
    5. r_process = -0.2 * task_result.violations
    6. r_cost = -0.05 * task_result.step_count
    7. # Boundary penalty for security tasks
    8. r_safety = -1.0 if task_result.out_of_scope else 0.0
    9. return r_correct + r_process + r_cost + r_safety

    It is worth emphasizing that verifiers themselves can be attacked by “shortcut” strategies, such as hard-coding return values for test cases. In engineering practice, hidden test cases, test case rotation, and multi-dimensional cross-validation are commonly used to suppress reward hacking.

    2.3 Reinforcement Learning Infrastructure: Throughput and Stability

    Sampling costs for long-horizon tasks are far higher than for short text, so infrastructure optimization often brings greater gains than algorithm fine-tuning. Key engineering points include: resource isolation and elastic scheduling between sampling and training; memory optimization for long sequences combined with parallel strategies; efficient reuse of failed samples and curriculum-style difficulty scheduling; and reward distribution monitoring and anomaly circuit-breaking during training. In practice, doubling sampling throughput often equals a proportional improvement in effectiveness, because the explorable state space is significantly expanded.

    3. Capability Transfer: Why Coding and Security Improve Together

    Terminal control, software engineering, and network defense share the same underlying capability structure: multi-step decision-making in uncertain environments with revision based on feedback. This explains the “co-occurrence” of capabilities under post-training scaling.

    • Terminal control capability is reflected in command selection, error output parsing, and state recovery;
    • Software engineering capability is reflected in cross-file dependency understanding, regression risk control, and test-driven repair;
    • Security analysis capability is reflected in attack surface identification, boundary condition construction, and minimal-impact verification.

    All three require low-hallucination tool calls and stable long-horizon memory, which are exactly what long-horizon environment training directly optimizes. From the disclosed relative changes, terminal benchmarks show several-fold jumps, software engineering benchmarks improve by roughly twenty percentage points, security benchmarks enter a high-percentage range, and exploit benchmarks more than double compared with the previous generation. These numbers should be understood as “relative gains of a specific method on specific benchmarks,” not universal capability measures.

    4. Evaluation and Deployment: How to Validate and Integrate

    4.1 Evaluation Design Should Avoid Single-Point Dependence

    A three-layer evaluation is recommended: the first layer is benchmark scores, used for horizontal comparison; the second layer is a self-built business set covering real repositories, real alerts, and real tickets; the third layer is long-stability testing, observing goal drift and tool misuse rates across multi-turn interactions. Relying only on public benchmarks is prone to overfitting; the self-built set is the basis for decisions.

    4.2 Keep Integration Tool-Agnostic

    Model capability is ultimately delivered through intelligent coding tools and agent frameworks. In engineering, interface abstraction should be maintained, decoupling the model integration layer from the tool-calling layer so that the same orchestration logic can switch between different models:

    1. User intent -> Task planning -> Tool calls (terminal/retrieval/tests) -> Verifier judgment -> Feedback loop

    Supporting recommendations include: setting manual confirmation and least-privilege permissions for high-risk operations; logging all tool calls and verification results for auditing and replay; tracking success rate, average steps, and timeout rate with monitoring alerts; and placing intermediate artifacts in object storage to support long-task recovery.

    4.3 Cloud Support Capabilities (General Categories)

    Hosting such long-horizon training and inference typically requires a container platform for elastic scheduling, object storage for saving environments and artifacts, a message queue to decouple sampling and training, and logging and monitoring services for observability. If using the relevant general capabilities of Baidu AI Cloud, they can be evaluated by the categories above, focusing on elastic scaling speed, task-level isolation, and audit completeness.

    5. Boundaries and Risks

    Post-training scaling is not a cure-all. First, the base model determines the capability ceiling; if the base lacks a certain type of knowledge, post-training cannot create it from nothing. Second, environment construction is costly, and poor environment quality directly amplifies reward noise. Third, security capabilities have a dual-use nature, so the pace of weight release needs to match security assessment and hardening processes; the common practice is to leave an evaluation window after release and then open access gradually. Fourth, benchmark gains do not equal production returns and must be validated by regression on the business set.

    6. Conclusion

    The core lesson of this case is that beyond the parameter race, scaling investment in the post-training stage is a verifiable and reusable path to gains. For technical teams, the priorities worth building first are the three foundations: a long-horizon environment production pipeline, automated verifiers, and efficient reinforcement learning infrastructure. At the same time, maintaining tool-agnostic model integration and end-to-end observability allows teams to obtain stable returns at the lowest cost as capabilities iterate rapidly.