My test said two models were the same
It couldn't see the difference. A test sensitive enough to measure the gap showed the two versions of Piaa's model disagree on about one word in sixteen.
Piaa, my voice assistant, runs a large AI model on one gaming graphics card at home. Models come in versions that are squeezed to different sizes, and I had to choose between two versions of the same model: a 3-bit one, which is smaller and faster, and a 4-bit one, which needs more memory and is slower but should be a little more accurate.
So I tested them, and my test said they were the same. That turned out to be a statement about my test, not about the models. This note is about how I found that out, and what I check now before I trust a result that says “no difference”.
What my first test said
My first test was a set of 20 questions, each of which needs Piaa to pick the right tool, such as the calendar, the mail or a web search. I ran both versions through it, back to back, at the same settings. The 4-bit version scored a little lower, and I wrote down that it was worse.
A few days later I ran the same setup twice on the same day, with nothing changed. The two runs differed by 1.2 pointsspread, out of 20, between two runs of the identical setup on the same day, on my 20-question tool-choice test; the same setup scored 13.6 and 14.8 out of 20.Method tooltest.py, 20 tool-selection cases averaged over 5 passes, the identical configuration run twice in one day.Note Differences smaller than about 1.5 points on this test cannot be told apart from noise.My measurements, same day, Aug 2026 · Measured by me1.2 pointsspread, out of 20, between two runs of the identical setup on the same day, on my 20-question tool-choice test; the same setup scored 13.6 and 14.8 out of 20.Methodtooltest.py, 20 tool-selection cases averaged over 5 passes, the identical configuration run twice in one day.NoteDifferences smaller than about 1.5 points on this test cannot be told apart from noise.SourceMy measurements, same day, Aug 2026ClassMeasured by me · Aug 2026. The gap between the two versions was only 0.8 pointsgap, out of 20, between a 3-bit and a 4-bit version of the same model on my 20-question tool-choice test, inside its noise; 15.4 vs 14.6 out of 20, measured back to back.Method tooltest.py, 20 cases averaged over 5 passes, both versions in the same session at the same settings.My measurements, same session, Aug 2026 · Measured by me0.8 pointsgap, out of 20, between a 3-bit and a 4-bit version of the same model on my 20-question tool-choice test, inside its noise; 15.4 vs 14.6 out of 20, measured back to back.Methodtooltest.py, 20 cases averaged over 5 passes, both versions in the same session at the same settings.SourceMy measurements, same session, Aug 2026ClassMeasured by me · Aug 2026, which is smaller than the difference between two identical runs. My test could not tell the versions apart, so I corrected my note from “the 4-bit version is worse” to “no measured advantage”.
The same check caught a second mistake. Earlier I had compared a new number against an old one from another day, and it showed a penalty for a new engine. When I measured both engines back to back, the penalty disappeared. I now compare only within the same session.
Building a sharper test
“No measured advantage” was honest, but it wasn’t useful. A public comparison by someone else, on a different setup, suggested the 4-bit version really was closer to the original model, and my test was too blunt to confirm or rule that out.
So I built a harness that compares the two versions word by word. For every position in a long text, a model gives a probability to each possible next word. The harness measures how far apart the two versions’ probabilities are (a measure called KL divergence, or KLD), and how often they pick a different most likely word. I ran it on 140,000 characters of Piaa’s own code, since that is the kind of text I care about.
I had first estimated this as an overnight job. Reading the source code of the tool, instead of guessing, showed it scores 8,160 tokenstokens the harness scores in one run (the first half of each chunk is only context).Method 32 chunks of 512 tokens; llama.cpp scores n_ctx - 1 - n_ctx/2 tokens per chunk.My measurements, Sep 2026 · Derived8,160 tokenstokens the harness scores in one run (the first half of each chunk is only context).Method32 chunks of 512 tokens; llama.cpp scores n_ctx - 1 - n_ctx/2 tokens per chunk.SourceMy measurements, Sep 2026ClassDerived · Sept 2026 per run and needs about ~15 sGPU time for one run of the harness, which I had first priced as an overnight job.Method wall-clock GPU time of the logits dump and comparison on one RTX 5080.My measurements, Sep 2026 · Measured by me~15 sGPU time for one run of the harness, which I had first priced as an overnight job.Methodwall-clock GPU time of the logits dump and comparison on one RTX 5080.SourceMy measurements, Sep 2026ClassMeasured by me · Sept 2026 of GPU time. The uncertainty on its main number came out at ±0.00067 KLDuncertainty (standard error) on the harness's mean KL divergence, its main number, from one run of about 15 seconds; mean KL divergence 0.0252.Method standard error reported by llama.cpp's KL-divergence output over 8,160 scored tokens.My measurements, Sep 2026 · Measured by me±0.00067 KLDuncertainty (standard error) on the harness's mean KL divergence, its main number, from one run of about 15 seconds; mean KL divergence 0.0252.Methodstandard error reported by llama.cpp's KL-divergence output over 8,160 scored tokens.SourceMy measurements, Sep 2026ClassMeasured by me · Sept 2026, so it can see differences far smaller than my 20-question test ever could.
What it showed
The two versions pick a different most likely word 6.2%share of positions where the 3-bit and 4-bit versions of the same model pick a different most likely next token, on my own code; they agree on the top token 93.8% of the time.Method KL-divergence run with llama.cpp's perplexity tool, 3-bit version scored against the 4-bit one, 140,000 characters of the project's own Python, 32 chunks of 512 tokens.Note This measures how much the two versions differ, not which is better; that needs a full-precision reference.My measurements, Sep 2026 · Derived6.2%share of positions where the 3-bit and 4-bit versions of the same model pick a different most likely next token, on my own code; they agree on the top token 93.8% of the time.MethodKL-divergence run with llama.cpp's perplexity tool, 3-bit version scored against the 4-bit one, 140,000 characters of the project's own Python, 32 chunks of 512 tokens. Qwen3.8-27B, UD-Q3_K_XL vs UD-IQ4_XS, same binary, -ngl 99, no KV-cache quantisation.NoteThis measures how much the two versions differ, not which is better; that needs a full-precision reference.SourceMy measurements, Sep 2026ClassDerived · Sept 2026 of the time. That is not noise, and it is exactly what my first test could not see.
The difference isn’t spread evenly. On a typical word the two versions are almost identical, with a difference of 0.0094 KL divergencethe typical (median) difference between the two versions per token.Method median of per-token KL divergence over 8,160 tokens.My measurements, Sep 2026 · Measured by me0.0094 KL divergencethe typical (median) difference between the two versions per token.Methodmedian of per-token KL divergence over 8,160 tokens.SourceMy measurements, Sep 2026ClassMeasured by me · Sept 2026, but at the 99th percentile it is 0.189 KL divergencethe difference at the 99th percentile, where the uncertain tokens are.Method 99th percentile of per-token KL divergence over 8,160 tokens.My measurements, Sep 2026 · Measured by me0.189 KL divergencethe difference at the 99th percentile, where the uncertain tokens are.Method99th percentile of per-token KL divergence over 8,160 tokens.SourceMy measurements, Sep 2026ClassMeasured by me · Sept 2026. Most of the disagreement sits in a small number of uncertain positions, which are the places where the choice of word matters most. Overall, the 3-bit version predicts my code 0.7%how much worse the 3-bit version predicts my own code than the 4-bit one (perplexity ratio); a small difference, but about 2.4 standard errors from zero.Method mean perplexity ratio from the same KL-divergence run (1.00725 ± 0.00296).My measurements, Sep 2026 · Derived0.7%how much worse the 3-bit version predicts my own code than the 4-bit one (perplexity ratio); a small difference, but about 2.4 standard errors from zero.Methodmean perplexity ratio from the same KL-divergence run (1.00725 ± 0.00296).SourceMy measurements, Sep 2026ClassDerived · Sept 2026 worse.
There was one thing this didn’t tell me: which version is better. It measured how far apart the two are, not which one is closer to the original model. For that I needed a reference.
Which one is better
A full-size copy of the model doesn’t fit on my graphics card, so I used the next best thing: an 8-bit copy, run partly from the computer’s main memory. I also made the test harder. This time I scored 24,573 tokenstokens scored against the reference, all deep into a conversation-length context (between 8K and 16K tokens in).Method 3 chunks of 16,384 tokens; the perplexity tool scores only the second half of each chunk.My measurements, Nov 2026 · Measured by me24,573 tokenstokens scored against the reference, all deep into a conversation-length context (between 8K and 16K tokens in).Method3 chunks of 16,384 tokens; the perplexity tool scores only the second half of each chunk.SourceMy measurements, Nov 2026ClassMeasured by me · Nov 2026, all deep into a long context, where a model has the most to keep track of.
Against that reference, the 3-bit version sits at 0.0293 KLDhow far the 3-bit version Piaa runs sits from an 8-bit reference copy of the same model, on my own code.Method mean KL divergence against Q8_0 logits, llama.cpp perplexity tool, 200,000 characters of the project's Python, 3 chunks of 16,384 tokens (only the second half of each chunk is scored).My measurements, Nov 2026 · Measured by me0.0293 KLDhow far the 3-bit version Piaa runs sits from an 8-bit reference copy of the same model, on my own code.Methodmean KL divergence against Q8_0 logits, llama.cpp perplexity tool, 200,000 characters of the project's Python, 3 chunks of 16,384 tokens (only the second half of each chunk is scored). Qwen3.8-27B UD-Q3_K_XL with an f16 KV cache; reference Q8_0 partly offloaded to system memory.SourceMy measurements, Nov 2026ClassMeasured by me · Nov 2026 and the 4-bit version at 0.0177 KLDhow far the 4-bit version sits from the same 8-bit reference, on the same text.Method mean KL divergence against Q8_0 logits, same run and corpus as the 3-bit reading.My measurements, Nov 2026 · Measured by me0.0177 KLDhow far the 4-bit version sits from the same 8-bit reference, on the same text.Methodmean KL divergence against Q8_0 logits, same run and corpus as the 3-bit reading. Qwen3.8-27B UD-IQ4_XS (the file in use before 12 Nov) with an f16 KV cache.SourceMy measurements, Nov 2026ClassMeasured by me · Nov 2026. The 4-bit version is 40%how much closer the 4-bit version is to the reference than the 3-bit version; 0.0177 vs 0.0293 mean KL divergence.Method 1 - 0.01769 / 0.02926, from the two readings of the same run.My measurements, Nov 2026 · Derived40%how much closer the 4-bit version is to the reference than the 3-bit version; 0.0177 vs 0.0293 mean KL divergence.Method1 - 0.01769 / 0.02926, from the two readings of the same run.SourceMy measurements, Nov 2026ClassDerived · Nov 2026 closer to the original. My first test had said they were equal, and the second could only say they were different. This one finally says which is better.
The same run measured something my 20-question test could never have caught. Piaa also compresses the model’s working memory (its cache) to save space on the card. That compression moves the 3-bit version a further 6.8%how much further from the reference the 3-bit version moves when its memory cache is compressed to 3 bits, as Piaa runs it; 0.0313 vs 0.0293 mean KL divergence; the 20-question tool test could never see this.Method (0.03126 - 0.02926) / 0.02926, same run, same tokens, kvarn3 KV cache vs f16.My measurements, Nov 2026 · Derived6.8%how much further from the reference the 3-bit version moves when its memory cache is compressed to 3 bits, as Piaa runs it; 0.0313 vs 0.0293 mean KL divergence; the 20-question tool test could never see this.Method(0.03126 - 0.02926) / 0.02926, same run, same tokens, kvarn3 KV cache vs f16.SourceMy measurements, Nov 2026ClassDerived · Nov 2026 away from the reference. It’s a real cost, and now that I can see it, I can weigh it.
I still run the 3-bit version as Piaa’s default, because it replies noticeably faster, and the 4-bit version stays as a separate “smart” profile. The difference is that it’s now a decision about a cost I’ve measured, not a guess.
A broken test can look fine
The first time I ran the harness, it pointed at the wrong files. A folder filter missed one of my Python environments, so the “code” it measured was an image library’s plugins, not Piaa’s code. It ran without errors and produced a clean-looking number. Nothing about the result looked wrong. I only caught it by checking what the harness had actually read.
What I check now
- How noisy is the test? I run the same setup twice before I believe a difference between two different ones. If the gap is smaller than that noise, the honest result is “I can’t tell”, not “they’re equal”.
- Same session, same settings. I never compare a new number with one from another day.
- What did it actually measure? I check the input the test really used, not the input I meant to give it.
- “No difference” means no difference my test can see. When the decision matters, I build a test that could see it.