Same Architecture, New Weights: How Post-Training Improves Quality and Lowers Cost
This article examines a model upgrade where the architecture and inference code stayed unchanged and only the weight values were rewritten through additional post-training and reinforcement learning. It outlines a four-step verification process to confirm that only weights changed, explains where the quality gains come from (continued supervised training, preference alignment, and self-feedback reinforcement learning), and clarifies why cost did not rise (sparse activation and KV cache compression built earlier). It also provides a unit economics framework, a reusable evaluation and model selection checklist, and the core takeaway: architecture sets the cost ceiling, while weights determine the capability level.
1. The Phenomenon: An Upgrade That Only Changed the Numbers
A production model version switch raised a question worth digging into: the new version performed noticeably better on agentic tasks, produced shorter outputs, and did not reduce the reported revenue per unit of compute. More unusually, when the weight repositories of the old and new versions were pulled down for fingerprint comparison, the configuration files were identical. The tensor count, total bytes, shard count, and the shard assignment of every tensor recorded in the shard index matched item by item. Only the floating-point values had been rewritten wholesale.
In engineering terms, this was not an architecture iteration. It was the same skeleton fitted with a new set of parameters. The skeleton, tensor names, and inference code paths were unchanged; the change happened in the weights themselves, which had gone through another round of post-training and reinforcement learning.
This narrows the question to a clean proposition: with the architecture and inference implementation frozen, where do the capability gains and the cost reduction each come from? For teams doing model selection, inference deployment, and evaluation, this matters far more than “the new version scores higher,” because it determines whether your evaluation plan, capacity planning, and cost accounting need to change.
2. Building the Evidence Chain: Confirming That Only the Weights Changed
Before discussing where the gains come from, you must pin down what actually changed. The verification process has four reusable steps:
- Configuration fingerprint comparison: Hash the model configuration files of both versions to confirm that structural fields such as layer count, hidden dimension, attention head count, expert routing configuration, and vocabulary size are unchanged.
- Index consistency check: Read the weight shard index and compare the total number of tensor keys, the declared total bytes, the shard count, and the “key to shard” mapping. If the mapping matches item by item, the sharding strategy and parallel layout were untouched.
- Numerical difference sampling: With key names and shapes identical, sample and compare the distributions of the old and new weights (mean, variance, norm) to confirm the changes are in the values rather than the structure.
- Behavioral regression: Run both versions with a fixed prompt set and fixed decoding parameters, then compare output length distribution, tool call success rate, and multi-step task completion rate.
Illustrative code (it only expresses the verification idea and does not involve any specific product interface):
import hashlib, jsondef fingerprint(cfg_path):raw = open(cfg_path, "rb").read()return hashlib.sha256(raw).hexdigest()def compare_index(idx_a, idx_b):a, b = json.load(open(idx_a)), json.load(open(idx_b))keys_a, keys_b = set(a["weight_map"]), set(b["weight_map"])assert keys_a == keys_b, "Tensor key sets do not match"shard_map_same = a["weight_map"] == b["weight_map"]return {"tensor_count": len(keys_a),"total_bytes_equal": a.get("metadata", {}).get("total_size")== b.get("metadata", {}).get("total_size"),"shard_mapping_identical": shard_map_same,}
One point deserves emphasis: index consistency only proves the sharding method did not change; it does not prove capability did not change. The real conclusion must come from behavioral regression, otherwise engineering noise is easily misread as model progress.
3. Where the Scores Come From: Post-Training and Self-Feedback Reinforcement Learning
An unchanged architecture means the gains cannot come from capacity expansion. They can only come from parameters being pushed toward a better solution. There are usually three main sources.
The first is continued training on the supervised side. Adding high-quality instruction data and tool call trajectories under the same architecture makes the model follow format constraints more reliably and do less ineffective reasoning. One manifestation is shorter output: the model learns not to “spread things out” but to give executable steps directly.
The second is preference alignment. Pairwise comparison signals separate “verbose but correct” from “concise and correct,” so length converges naturally while accuracy does not drop. This explains why “scores up, tokens down” can appear together: they are not two metrics pulling against each other, but two sides of the same optimization objective.
The third is self-feedback reinforcement learning. The model judges its own or its peers’ outputs, locates defects, and iterates, turning “automatically judgeable signals” into training resources. Its applicability boundary must be stated clearly:
- The task needs a verifiable end state (whether code passes tests, whether structured output can be parsed, whether a tool call returns the expected result);
- The reward model or judge itself must resist reward hacking, otherwise the model learns to please the judge rather than solve the problem;
- Human spot checks and a red team set must be retained to prevent the self-evaluation loop from amplifying systematic bias.
In engineering terms, this kind of pipeline usually runs in a “sample, judge, filter, replay” loop:
prompt batch↓ multi-sample (different temperatures)candidate set↓ automatic judging: unit tests / schema validation / rule constraintsfiltered set↓ dedup + difficulty stratification + failure sample weightingreplay buffer ──→ next round of preference/policy update
The key design point is failure sample weighting: capability gains often do not come from grinding easy problems, but from repeatedly feeding back the samples that were “almost right.”
4. Why Cost Did Not Rise: Sparse Activation and Cache Compression
The cost side contributed essentially nothing to this upgrade; it is the stock benefit of earlier architecture work. Understanding these two mechanisms is what makes the accounting clear.
Sparse activation (mixture-of-experts routing). Total parameter count is decoupled from the parameters activated per token: the reading stage activates only a smaller portion of the parameters, while the generation stage activates more but still has a cap. Capacity is stacked with total parameters, compute is controlled by activation volume, and the two no longer grow in proportion.
Key-value cache compression. The bottleneck in long-context inference is often not compute but memory bandwidth and cache capacity. A common approach is to split the network in the middle: the front section handles causal encoding, the back section handles decoding, and the global key-values on the decoding side are no longer computed by themselves but projected from the last-layer hidden states of the encoding section; cache entries are compressed to a very low byte count. This has two direct consequences: cost per unit of concurrency drops, and throughput under long context is more stable.
From this you can give a general unit economics accounting framework that avoids being misled by the “total score”:
cost per unit of effective output = (GPU-hour cost × GPU-hours) / tasks passing acceptancegross margin ≈ 1 - cost per unit of effective output / revenue per unit of effective output
Note two disciplines: first, the denominator must be “tasks passing acceptance,” not token count, otherwise long outputs disguise themselves as high output; second, externally converted GPU-hour rental prices differ greatly from internal settlement prices, so comparing gross margins across different bases requires unifying the basis first.
5. A Reusable Evaluation and Selection Checklist
For a “same architecture, new weights” version, lock in the following actions:
- Score by capability dimension, not a single total: break agentic tasks into five dimensions—planning, tool calling, long-context retrieval, code repair, and format compliance—and score each separately, so a total score does not hide weak spots.
- Record length and cost in the same table: for every sample, record output tokens, end-to-end latency, and retry count, forming a two-dimensional “score-cost” view.
- Fix the decoding configuration: lock temperature, top-p, and max length, otherwise version comparison is not reproducible.
- Separate the regression set from the red team set: the regression set shows whether there is degradation; the red team set shows whether the model has been over-“domesticated” by alignment and lost its refusal boundary.
- Have a canary and rollback plan: roll out production switches with small-traffic canary, keep the previous version’s weights and a routing switch, and roll back in minutes if something goes wrong.
6. Conclusion
The most memorable thing about this upgrade is not a leaderboard ranking but a methodology: architecture determines the cost ceiling, and weights determine the capability level. When the skeleton is frozen, gains can only come from data quality, preference alignment, and a verifiable self-feedback loop; the cost advantage comes from earlier sparsification and cache compression design. Only when the two stack up do you get the combination of “fewer tokens, higher completion rate, and no rise in unit cost.”
For users, the implementation advice is direct: bring weight fingerprint and index verification into the version management process, change evaluation from a single total score to a two-dimensional matrix of dimensions plus cost, and unify the unit economics basis to “effective tasks.” If you need to support this kind of multi-version canary and evaluation pipeline, you can rely on a container platform for isolated execution, object storage to hold weights and datasets, and logging services and monitoring alerts to connect the metrics, forming a sustainable engineering loop for iteration.
