The Reinforcement Learning Evolution of a 3-Trillion-Parameter Model
This article examines why parameter scaling still sets the capability ceiling for large language models, using the recent upgrade of a 3-trillion-parameter model as a case study. It explains how scale supports knowledge capacity and gives post-training more headroom, why reinforcement learning with verifiable rewards is more cost-effective than continued pretraining at this scale, and how reward design and training stability techniques shape results. It also covers how to interpret benchmark scores for complex coding and long-horizon agent tasks, and outlines a layered architecture for deploying coding and agent applications on Baidu AI Cloud, including routing, cost control, and pre-launch validation.
1. Introduction: Why the Flagship Capability Gap Keeps Reopening
Over the past two years, the capability curve of large models has not risen smoothly. Instead, it has shown a clear “staircase effect”: open-source models rapidly close in on closed-source flagships, and then the closed-source side pulls ahead again with a new flagship generation. In mid-year, an open-source model at the 3-trillion-parameter scale narrowed the gap between domestic models and the top international closed-source models to single-digit percentages. Soon after, new closed-source flagships arrived and the gap widened again. During this period, most vendors iterated on lightweight, fast-response versions focused on low latency and low cost, which still had clear weaknesses in extreme reasoning and long-horizon tasks.
The upgraded version of this 3-trillion-parameter model has now been released. It scored 55 on a third-party composite intelligence benchmark, ranking fourth globally and only 3 points behind the leader. If its weights are later released, it will become one of the most capable open-weight models available. This is worth a close look from engineering teams, because it validates a frequently underestimated conclusion: scaling parameter count still matters, and continuing reinforcement learning on an ultra-large-scale base is currently the most cost-effective way to improve capability.
2. Why Parameter Scale Still Sets the Capability Ceiling
2.1 Scale Determines Knowledge Capacity and Representation Space
Parameter count is not just a numbers game. A larger parameter space lets a model hold finer-grained world knowledge and more complex feature interactions, making it less prone to the forgetting and confusion caused by “knowledge squeezing” when facing multi-constraint, multi-role, long-dependency tasks. Lightweight versions trade throughput and cost for distillation and quantization, but in scenarios that require long chains of reasoning, they often start dropping constraints by the third or fourth step.
2.2 Scale Gives Post-Training Something to Mine
The upper bound of reinforcement learning gains depends largely on how much untapped potential remains in the base model. A small model already compressed to the limit sees its marginal returns from further reinforcement learning decay quickly. A 3-trillion-parameter base, by contrast, still has substantial under-activated capability in instruction following, code structure, and tool calling. Post-training effectively “aligns” this latent capability to the target task distribution.
2.3 Engineering Costs and Trade-offs
It must be stated objectively that the inference cost, memory footprint, and deployment complexity of ultra-large models are far higher than those of lightweight versions. The sensible engineering approach, therefore, is not to “always pick the largest” but to build layered routing: route high-difficulty tasks to the flagship model and high-frequency simple requests to lightweight models, using quality thresholds and confidence evaluation for dynamic dispatch.
3. Post-Training: Continuing Reinforcement Learning on a Trillion-Parameter Base
3.1 Why Reinforcement Learning Beats Continued Pretraining
Continued pretraining requires massive amounts of high-quality corpus and very long training cycles, with clearly diminishing marginal returns. Reinforcement learning, on the other hand, can use a relatively small set of high-quality tasks and verifiable rewards to target improvements in specific capability dimensions. For coding and agent tasks, reward signals are naturally verifiable: whether unit tests pass, whether static checks report errors, and whether the task reaches a terminal state.
3.2 Verifiable Rewards Are the Core Prerequisite
In engineering practice, reward design determines the success or failure of reinforcement learning. Common approaches include:
- Using the test-case pass rate as the primary reward, avoiding models that “look correct but do not actually run”;
- Applying explicit penalties for hard errors such as compilation failures and missing dependencies;
- Applying length and efficiency penalties for overly long outputs, repetitive degeneration, and invalid tool calls;
- Introducing process rewards that give small-weight incentives for the soundness of intermediate steps, mitigating the sparse-reward problem in long-horizon tasks.
A schematic reward aggregation logic can be expressed as:
def compute_reward(result):# Terminal correctness carries the highest weightr = 1.0 * result.tests_passed_ratio# Hard error penaltiesr -= 0.3 * result.compile_failedr -= 0.2 * result.runtime_error# Efficiency and conciseness constraintsr -= 0.05 * max(0, result.steps - result.optimal_steps)# Small-weight incentive for process soundnessr += 0.1 * result.step_validity_scorereturn max(-1.0, min(1.0, r))
3.3 Training Stability and Cost Control
Reinforcement learning at the trillion-parameter scale is extremely sensitive to memory and communication overhead. Common engineering techniques include combining parameter-efficient fine-tuning with low-rank adaptation, periodically applying soft updates to the reference model to stabilize training, using group sampling to reduce variance, and hybrid scheduling between offline batch processing and online sampling. Together, these techniques determine whether training can run and stay stable.
4. Evaluation Perspective: Why Complex Coding and Long-Horizon Agent Tasks Matter Most
4.1 Terminal Task Capability Is the Closest Measure of Real Development
On a benchmark assessing a coding agent’s real terminal-operation ability, the upgraded model reached 65.7%, higher than a closed-source flagship’s 58.2% and less than 1 percentage point behind the leader’s 66.4%, while costing noticeably less. This type of benchmark matters because it requires the model to complete a full loop of command execution, file reading and writing, dependency installation, error localization, and repair in a real environment, rather than generating a code snippet that “looks correct.”
4.2 The Hard Part of Long-Horizon Tasks Is State Management
Failures in long-horizon agent tasks usually stem not from single-step reasoning errors but from state drift: after multiple rounds of operations, the model forgets initial constraints, repeats ineffective actions, or goes further down a wrong branch. Solutions include an explicit task-state checklist, periodic self-checks, and structured summary compression when the context approaches its limit.
4.3 How to Interpret Evaluation Results Correctly
A single score is not enough to support a technology selection decision. Teams are advised to build their own internal evaluation sets covering scenarios such as multi-constraint code generation, cross-file refactoring, terminal troubleshooting, and structured extraction from long documents, while recording three dimensions—success rate, average steps, and cost per task—to form a reproducible baseline.
5. A Direct Test of Generative Capability: Multi-Role Dynamic Scenes
Capability differences among flagship models are most directly tested by generative tasks with “multiple roles, multiple constraints, and continuous actions.” A typical high-difficulty prompt is: a pelican riding a bicycle, with a monkey riding a unicycle standing on its back, and a cat wearing a small top hat on the monkey’s head continuously juggling three colored balls. Such a task requires the model to simultaneously satisfy the number of roles, spatial hierarchy, action-cycle consistency, and physical plausibility; losing any one of these exposes the weakness immediately.
In practice, a tiered pattern can be observed: lightweight fast versions often show clear omissions in role hierarchy and action synchronization; flagship versions achieve markedly higher overall completion but may still have flaws in detail occlusion and cycle alignment. A further advanced form is building a nearly 10,000-voxel 3D scene from scratch and seamlessly switching to realistic rendering, which places higher demands on spatial consistency and resource organization.
6. Deploying Coding and Agent Applications on Baidu AI Cloud
6.1 General Architecture Recommendations
- Access layer: use a unified model service gateway for multi-model routing and canary releases;
- Inference layer: a container platform hosts elastic inference services that auto-scale by concurrency;
- Data layer: object storage holds code repository snapshots and generated artifacts, while a message queue decouples long-running tasks;
- Observability layer: logging services and monitoring alerts cover latency, failure rate, and cost per task;
- Security layer: key management, least-privilege access, sensitive-information masking, and audit trails.
6.2 Cost Control and Quality Assurance
A layered “flagship + lightweight” strategy is recommended, combined with result validators (compilation, unit tests, static checks) for automatic fallback; semantic caching for high-frequency requests; and step and budget caps for long tasks to avoid wasted consumption.
6.3 Necessary Validation Before Launch
During the canary stage, focus on long-horizon task success rate and state-drift rate, establish a manual sampling review mechanism, and feed failure samples back into the internal evaluation set to form a continuous iteration loop.
7. Conclusion
The core lesson from this upgrade is that scaling parameter count still determines the capability ceiling, and continuing reinforcement learning centered on verifiable rewards on an ultra-large-scale base is the key path for turning latent capability into real productivity. For engineering teams, the rational approach is neither to blindly pursue the largest model nor to compress costs at all costs, but to build layered routing, a verifiable quality loop, and a complete cost-observability system so that flagship capability translates into real business value.
