The Capability Boundary of Post-Training on a Fixed Base Model: A Pareto Frontier Practice
This article examines what happens when the base model, architecture, total and active parameter counts are held constant and only post-training and reinforcement learning change over a short cycle. It breaks down the three layers of post-training, explains why verifiable reinforcement learning drives most of the gain, and weighs the benefits and costs of long chain-of-thought reasoning. It then argues that at the 700B scale, code tasks are limited less by model capacity than by the quantity and quality of executable environments, describes a minimal environment-production pipeline and its key metric, outlines a layered evaluation method covering capability, efficiency and stability, and explains why security is a natural spillover direction. Readers will find practical guidance on reward design, environment infrastructure and evaluation.
1. The Question: How Much Is Left Once the Variables Are Locked
Large model capability usually improves while three things change at once: the base model, the parameter scale, and the post-training data and algorithms. When all three move together, it is hard to tell where the gain actually came from. This is why a “controlled-variable experiment” has emerged in the industry: keep the base model, network structure, total parameter count and active parameter count exactly the same, change only the post-training and reinforcement learning recipe over a short cycle, and observe how the capability curve shifts.
The value of such an experiment is not leaderboard chasing. It answers an engineering decision: has the existing base model already hit its capability ceiling? If the answer is “not yet”, then the marginal return of continuing to invest in data and training infrastructure may be higher than pre-training a larger base model from scratch.
Public aggregate evaluation results suggest that this kind of experiment can indeed push a model to parity with leading models in the same tier, and occupy a point on the Pareto frontier in the “mid-to-high capability band”, which is the most crowded competitive range. The Pareto frontier means this: under a given cost constraint, no other option achieves higher capability without sacrificing cost, latency or throughput. Only points on that frontier are genuinely deliverable engineering choices.
2. Where the Gain Comes From: How Post-Training and RL Work
Post-training is not simply “feeding in a bit more data”. It has at least three layers:
- Supervised fine-tuning: distilling high-quality, verifiable solution trajectories into the model, and correcting output format, tool-calling conventions and code style.
- Preference optimization: using pairwise comparison or rule-based rewards to raise the probability mass on branches that are more likely to be correct.
- Verifiable reinforcement learning: using hard signals such as test pass rate, successful compilation, static checks and unit-test regressions as the reward, so the model explores more reliable solution paths on its own.
The third layer is the main source of current gains, because the reward is verifiable. Tasks like code, math and structured output come with automatic judges, so reward noise is low and the model is less likely to take shortcuts. Open-ended writing tasks have subjective rewards, and RL there easily degenerates into “pleasing the grader”.
A schematic reward design looks like this (pseudocode, expressing the idea only):
def reward(sample):if not compiles(sample):return -1.0passed, total = run_tests(sample)base = passed / max(total, 1)# Penalize redundancy and overlong reasoning to avoid trading length for scorelength_penalty = 0.05 * max(0, sample.tokens - budget) / budgetreturn base - length_penalty
The key point is that the reward must explicitly include an efficiency term. Otherwise the model learns to exchange longer output for a higher pass probability, which leads directly to the next topic.
3. Long Chain of Thought: The Return and the Cost of Trading Time for Space
A common compensation strategy for smaller models is to lengthen the chain of thought. The mechanism is not mysterious: the number of layers and the compute a single forward pass can perform are fixed, but every reasoning step generated is written back into the context and participates in later computation. This is equivalent to drafting the same problem several more times, turning “one shallow computation” into “multiple deep computations”. A model in the 27B range can therefore plausibly match a larger same-tier model on an aggregate index.
The costs are equally clear:
- Latency and cost rise linearly; both time-to-first-token and total duration get worse.
- Intermediate reasoning crowds the context, so long tasks can end up with early conclusions overwritten.
- Errors accumulate along the chain; the longer the reasoning, the more external verification is needed.
- In interactive coding scenarios, the user’s waiting experience degrades noticeably.
A notable phenomenon follows: some 700B-class models iterated on the same base do not exhibit unusually long thinking in actual use, yet still score at the same tier. This suggests their capability was not piled up from reasoning length, but more likely comes from the quality and coverage of training signals.
4. Is the 700B Class Enough for Code Tasks
Combining the observations above, an engineering-leaning judgment can be made: for code generation and repair, the 700B-class combination of active and total parameters is already close to sufficient. The remaining gap correlates less with parameter scale and more with “the number and quality of executable environments”.
There are three reasons:
- The difficulty ceiling of code tasks is largely determined by the complexity of verifiable samples, not by model capacity.
- Repository-level tasks require long context plus tool calling, which is a data and process problem.
- The real defect distribution is long-tailed; scaling parameters can hardly cover it, while expanding environments can.
5. Executable Environments: The Undervalued Training Infrastructure
An executable environment is a sandbox in which model output can actually be run and judged: containerized dependencies, reproducible builds, a complete test suite and explicit acceptance scripts. Common practices for building them include:
- Using a container platform to unify dependencies and runtime, keeping builds reproducible.
- Using object storage to archive environment images and task snapshots, controlling cold-start cost.
- Using a message queue to schedule task distribution and result collection, smoothing peaks and filling troughs.
- Using logging and monitoring with alerting to track failure clusters and locate problems in the environment itself.
- On top of general-purpose capabilities from cloud providers such as Baidu AI Cloud, the loop of “environment production, sampling, verification, reflow” can be turned into a continuous pipeline.
A minimal closed loop can be described as:
task sampling -> environment build -> model generation -> automatic verification -> failure clustering -> data cleaning -> retraining
The metric that measures the health of this pipeline is not the total number of samples, but “the number of valid verifiable samples produced per unit of compute”. When the environment pass rate is too low, expanding sampling only amplifies noise.
6. Evaluation: How to Avoid Drawing the Wrong Conclusion
Brief personal use is easy to misjudge. A more reliable approach is layered evaluation:
- Capability layer: use verifiable benchmarks to measure pass rate, distinguishing “can write” from “writes correctly”.
- Efficiency layer: record reasoning length, total latency and cost per task, and plot the capability-cost curve.
- Stability layer: sample the same task multiple times and observe variance; high variance means not deliverable.
- Scenario layer: run a small-scale canary on real repositories, focusing on regression rate rather than demo effect.
If a model ties on the capability layer but wins on the efficiency layer, its value in real business is often higher, because it sits at a more favorable cost position on the Pareto frontier.
7. Capability Spillover: Why Security Becomes a Focus
Once post-training pushes “verifiable reasoning” to a certain level, capability spills over into security: vulnerability pattern recognition, patch generation, fuzzing script writing and log anomaly attribution. These tasks also have automatic judging conditions and are highly isomorphic to code training. That is also why many teams make security the focus of the next stage. It is worth stressing that security capability ultimately lands in enterprise and public-sector scenarios, and depends on delivery and implementation systems rather than a single model metric. Organizations should pay attention to general compliance requirements such as permission isolation, audit trails and keeping data within its own domain, rather than chasing a single leaderboard position.
8. Conclusion and Action Items
- If the existing base model is not behind in same-tier evaluations, invest first in verifiable environments and reinforcement learning rather than redoing pre-training.
- The reward function must include length and cost penalties to avoid trading chain-of-thought length for score.
- Evaluate capability, efficiency and stability together, so a single hands-on session does not mislead.
- Turn environment production into a pipeline, and use valid-sample output efficiency as the core metric.
- For spillover directions such as security, put delivery and compliance systems in place before investing.
In one sentence: the deciding factor in this round of competition is shifting from “how large the base model is” to “how many verifiable training environments you can build”.
