When an Instruction-Tuned Checkpoint Loses on Prose Completion
The report counts 400 unchanged outputs, yet Mistral 7B Instruct loses on prose completion. One 84-byte ending shows where to look for the difference.
How can a report count 400 unchanged outputs and still reject a checkpoint switch? That is what happened when Mistral-7B-Instruct-v0.1 took the place of Mistral-7B-v0.1 on a prose-completion test.
Open the first pair of records and the output field reads null on both sides. The evaluator had supplied the ending. What it asked each checkpoint to do was score the words the author actually wrote. On 370 of the 400 passages, the instruction-tuned checkpoint gave those words less probability. A reviewer comparing the output fields alone would miss every one of those changes.
The next words were already written
In the first passage, lambada-openai-0001, the opening ends with “Shane gripped”. The reference begins with the space before “her arm” and continues for 84 bytes. Both checkpoints saw the same plain text, without a chat template. LM Evaluation Harness scored the 24 tokens of the ending in order, each in light of the words that came before it.
Look at likelihood.logprob_sum in each record. Adding the natural logarithms of the token probabilities gives −36.737 for base and −39.463 for Instruct. Subtract the base sum from the Instruct sum and exponentiate. For this particular ending, Instruct assigned about one-fifteenth as much probability as base. The records tell us nothing about which alternative words either checkpoint would have written.
One ending, two probabilities
- Base · 1.000
- The base checkpoint’s probability for the 84-byte ending sets the scale.
- Instruct · 0.0655
- About one-fifteenth as much probability for the same words after the same opening.
Both output fields are null. The comparison uses the log probabilities for the supplied ending.
How typical was that passage?
Longer endings give a model more words to anticipate. To compare passages, the evaluator changes the sign of each log-probability sum and divides by the number of UTF-8 bytes in the ending. The unit is a nat per byte. Lower loss means the checkpoint assigned more probability to the supplied text. For the 84-byte ending, loss rises from 0.4373 to 0.4698 nats per byte.
The figure places that increase of 0.0325 beside the other 399 pairs. It falls in the most common range. In all, 329 passages had an increase below 0.10 nats per byte, 41 had a larger increase, and 30 had lower loss with Instruct. The overall rise was spread across the selection.
Where the 400 passage scores moved
- Lower loss · 30 passages
- All 30 decreases were smaller than 0.05 nats per byte.
- Increase below 0.10 · 329 passages
- 181 increases were below 0.05. Another 148 were between 0.05 and 0.10. The worked passage rose by 0.0325.
- Increase of 0.10 or more · 41 passages
- 37 increases were below 0.15, and four were between 0.15 and 0.20.
Subtract base loss per byte from Instruct loss per byte for each passage. None of the differences was zero.
Which requirement failed?
Each passage contributes one loss per checkpoint to the mean. Across the 400 passages, base averaged 0.54464 nats per byte and Instruct 0.59429. Dividing the second mean by the first gives 1.09116, a 9.12% increase in average loss per byte. The one-fifteenth figure above answers a different question about the probability of one exact ending.
The migration policy was fixed before measurement. It allowed the upper end of the loss-ratio interval to reach 1.05. Resampling passages 2,048 times, keeping the two checkpoints paired, gave a 95% interval of 1.08456 to 1.09806.
| Check | Observed | Required |
|---|---|---|
| Usable pairs | 400 of 400 | All 400 |
| Upper end of ratio interval | 1.09806 | At most 1.05 |
| Width of ratio interval | 0.01350 | At most 0.10 |
Scroll horizontally to see every column.
All 400 pairs were usable and the interval was narrow enough. Even its lower end exceeded the allowance. The upper-bound check is what produced the recorded regression verdict.
Replay the rejection
With the public InvarLock core package and matching example checkout, you can verify this decision on a CPU. The released replay instructions reconstruct both paired runs and the policy from the capture. Use the protocol and run hashes and expected evidence signer from a separately trusted copy of the reference. Create a local verifier key and trust profile as shown there. From the checkout, run the two commands separately so the expected rejection still leaves you a report to read.
pack=examples/captured-results/references/mistral-7b-likelihood/evidence
invarlock verify "$pack" --trust-profile mistral-recipient/trust.json \
--receipt mistral-recipient/verification.receipt.json
invarlock report "$pack" --html mistral-recipient/report.html
In our offline replay, verification returned exit 7, confirmed the evidence integrity and wrote a new signed receipt. Rendering returned exit 0. In the HTML report, “Recorded policy result” identifies the failed limit. To check either direction for yourself, pick a passage from the 400-row case index, find its ID in both signed records, and divide each negative log-probability sum by its reference byte count.
What to check before switching
If your writing tool finishes a paragraph under the cursor, keep a few real openings together with what their authors wrote next. Score those endings with both checkpoints. A diff of generated text can answer a useful question when a test asks for generated text. Here it compares two empty fields.
If the proposed feature asks the model to revise that same paragraph, save the editing instruction as well. You need to see the edit each checkpoint produces and check whether it does what the author asked. Reusing the paragraph is reasonable. Reusing the prose-completion verdict would answer the wrong question.
Limitations
- The 400 passages come from a length-stratified LAMBADA subset that inherited Qwen tokenizer eligibility rules. Selection preceded the Mistral measurements. Splitting passages into a context and a multiword continuation changes the task from the official final-word benchmark.
- The interval resamples records on this selection. It makes no allowance for dependence between passages from the same book and establishes no population-wide effect.
- The comparison covers two pinned checkpoints on plain text and one illustrative tolerance. Chat behavior, instruction following, reader preference and the quality of freely generated endings require their own measurements.
- Replay checks retained observations and their signed bindings. Original execution and model identities are recorded by the evaluator. The new receipt and report add no model inference.
Sources
Website documentation explains the maintained workflow. The original Mistral reference records a 0.15.0 wheel built from commit 9a2eb7f8fedf373c2c468ecdc60bb84709dcd1b2. The capture and signed result entered the public repository at 88983a3f8ae404500adbeb203f312e9f6f62db0e. The November 23 replay used the released 0.17.4 wheel and matching checkout at 5c926bd91f4a5e125d22d2ee44b4f7a8e99e50c5. Its HTML matches the linked report byte for byte.
- Captured results
- Pairing and replay
- Mistral prose-completion report
- Loss per byte for all 400 pairs (CSV)
- Original measurement summary, model revisions and capture pins
- Paired observation records
- Frozen comparison policy
- Original verification receipt
- Released replay instructions and selection details
More in Model Changes
Explore nearby related posts.
Research note
GPT-6.1 Sol vs GPT-6 Sol: fewer tokens on successful fixes
Across 200 paired coding tasks, GPT-6.1 gained 15 fixes and lost 7. Explore why token savings, net scores and first-attempt outcomes each tell only part of the story.
Research note
Three GGUF Comparisons: Different Regressions, Shared Errors
Five different losses follow a shared correct starting point, while 30 questions keep one wrong answer across all six outputs. Reproduce the findings from unchanged public records.
Release
Self-edit evidence, backend compatibility, and larger model lanes
InvarLock 0.12.0 adds knowledge/self-edit workflow metadata, widens BYOE edit-lane evidence, and reorganizes public evidence around backend compatibility and larger model findings.