Post-Training Scaling Without Changing the Base Model: A Practical Guide

    This article explains how to improve model capabilities by scaling post-training while keeping the base model, architecture, parameter count, and activated parameters per token unchanged. It covers controlled-variable experimentation, long-horizon environment expansion, automated verifier design, reinforcement learning infrastructure, evaluation criteria for three task categories, and a practical deployment checklist for building a repeatable, attributable, and rollback-friendly capability improvement pipeline.

    1. The Starting Point: Why “Keeping the Base Model” Is Worth Taking Seriously

    While flagship models keep growing in parameter count, a differentiated approach is being repeatedly validated: keep the base model, network architecture, total parameter count, and activated parameters per token completely unchanged, and concentrate resources on the post-training stage. The motivation is not to save compute, but to turn iteration into a controlled experiment—with only one variable changing, conclusions can be properly attributed.

    This approach rests on the premise that capabilities come from layers. The base model determines knowledge density, language and code priors, and the upper bound of representations; post-training determines whether those priors can be organized into stable multi-step behavior. Terminal control, real repository-level modification, and vulnerability and defense analysis are essentially “long-horizon, feedback-driven, verifiable” tasks that naturally depend more on distribution coverage and reward design in the post-training stage.

    2. Controlled-Variable Experiments: Making Iteration Attributable Engineering

    A rigorous “post-training only” iteration requires first defining the invariants clearly: base weights, number of layers, attention and sparsification mechanisms, context length, vocabulary, and inference precision are all frozen; the only changes are the scale of post-training environments, task duration distribution, and reinforcement learning compute.

    Attributability brings two direct benefits. First, evaluation gains or drops can be clearly attributed to data and algorithms rather than being confounded by base model differences. Second, rollback costs are extremely low—if a batch of environments yields negative returns, simply discard that batch without retraining the base model. In engineering practice, it is recommended to maintain a “variable list” where any change must be recorded and traceable:

    1. frozen:
    2. base_weights: v-prev
    3. layers: 78
    4. attn: mla+sparse
    5. context: 1M
    6. api_max_output: 131072
    7. tunable:
    8. env_count_scale: x数十倍
    9. rl_compute: x数十倍
    10. post_train_duration: ~1个月
    11. verifier_automation: on

    3. Long-Horizon Environment Scaling: From “Single-Turn Correct” to “Multi-Step Without Collapse”

    Long-horizon environments refer to task scenarios that require dozens or even hundreds of interactions to complete: locating issues in a real terminal, modifying multiple files, running tests, and rolling back and retrying based on errors. The key to scaling these environments is not piling up task volume, but improving “trajectory diversity” and “feedback fidelity.”

    The approach can be divided into three layers. The first layer is automatic environment generation: extract executable sandboxes from real repositories, build scripts, and test cases to form resettable and reproducible task instances. The second layer is difficulty stratification: split stage rewards by “locate—modify—verify—regress” to prevent the model from only learning the final answer while ignoring process constraints. The third layer is failure sample reflow: write negative samples such as timeouts, infinite loops, and destructive operations back into the training set so the policy learns to cut losses and ask for help.

    A simplified environment wrapper example:

    1. class LongHorizonEnv:
    2. def reset(self, repo_snapshot, task_spec):
    3. self.sandbox = build_sandbox(repo_snapshot) # reproducible container
    4. self.step_count = 0
    5. return self.observe()
    6. def step(self, action):
    7. result = self.sandbox.apply(action) # file/command-level actions
    8. self.step_count += 1
    9. reward = self.stage_reward(result) # staged rewards
    10. done = result.tests_passed or self.step_count > self.max_steps
    11. return self.observe(), reward, done, result.log

    The security boundary must be emphasized: terminal and network environments must enforce least privilege by default, network isolation, action auditing, and rollback-capable snapshots. Any destructive command should be intercepted at the policy layer rather than relying on the model’s own restraint.

    4. Automated Verifiers: Reward Signal Quality Sets the Ceiling

    The effectiveness of reinforcement learning depends heavily on verifier quality. Manually written verification rules cannot cover massive long-horizon tasks, so a pipeline of “automatic verifier generation + cross-validation” is needed: a strong model generates tests and assertions based on task descriptions, small-scale execution then verifies their decidability, ambiguous and non-executable items are removed, and multi-verifier voting reduces misjudgment.

    Design points include: prioritize executable verification (unit tests, compilation, static checks, behavioral diffs) over subjective scoring; introduce “reference implementation diffs” and “constraint satisfaction checks” for open-ended tasks; use in-sandbox behavioral probes for security tasks to determine whether the expected defense path is triggered. Verifiers themselves must also be versioned to avoid reward drift.

    5. Reinforcement Learning Infrastructure: Throughput, Stability, and Observability

    RL training for long-horizon tasks places extremely high demands on infrastructure: environment concurrency, trajectory storage, reward computation, and policy updates need to be pipelined. In engineering practice, four types of components are typically abstracted—environment pools (elastically scalable sandbox clusters), trajectory services (structured logs and replay), reward services (pluggable verifiers), and training orchestration (asynchronous sampling and weight synchronization).

    For stability, it is recommended to set timeouts and circuit breakers for long-tail tasks and automatically label anomalous trajectories. For observability, monitor metrics such as “average steps, stage pass rate, rollback rate, and destructive action rate” rather than only final success rate. If cloud resources are used, container platforms handle elastic sandboxes, object storage carries trajectories, message queues decouple sampling from training, and logging, monitoring, and alerting services handle long-tail localization—these general categories are sufficient to support a reusable training pipeline.

    6. Capability Transfer: Evaluation Criteria for Three Task Categories

    For terminal control tasks, look at “multi-step completion rate and average steps” and track the proportion of destructive operations. For real software engineering tasks, look at test pass rate and regression introduction rate for repository-level patches. For security analysis tasks, look at in-sandbox detection rate and false positive rate, and emphasize use only for defense and authorized testing. Evaluation must fix snapshots and random seeds and report confidence intervals to avoid treating single fluctuations as capability improvements.

    7. Deployment Checklist

    1) Freeze the base model and record invariants in a table; 2) build reproducible sandboxes and action auditing; 3) staged rewards plus failure sample reflow; 4) automatic verifier generation and voting review; 5) pipeline-decouple sampling and training; 6) drive tuning with process metrics; 7) consider open weights or APIs only after security evaluation passes. Following this path, teams can turn post-training scaling into a repeatable, attributable, and rollback-friendly capability improvement channel without increasing parameters.