mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5291] [Benchmark] Qwen3.8-Flash-Next 4-bit fidelity: UD-IQ4_XS beats the 33%-larger UD-Q4_K_XL (0.1.56, RTX 5080) #3157
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ShaggyDragon on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5291
What did you measure, and what did you get
Fidelity of the two 4-bit recipes for Qwen3.8-Flash-Next that the launcher accepts, against the IQ3_S
production brain, on the
quant_qualityv1 teacher-forced set (4,995 positions: 999 each of code / docs /english / multilingual / agent). Engine 0.1.56, image
0.2.10-cuda13, RTX 5080 16 GB, one arm at a time withproduction stopped.
Headline: UD-IQ4_XS is better calibrated than both IQ3_S and the 33%-larger UD-Q4_K_XL, and the largest pack is
the worst of the three. Bytes are not a proxy for fidelity on this model.
IQ4_XS improves ppl in all five segments (code −3.4%, docs −3.1%, english −0.4%, multilingual −0.6%,
agent −6.6%); Q4_K_XL regresses english (+2.0%) and agent (+2.6%).
Effect size, honestly. Paired exact McNemar on raw top-1 correctness: IQ4_XS vs Q4_K_XL 130 vs 119 discordant
positions (p = 0.53), IQ4_XS vs ref 139 vs 158 (p = 0.30), Q4_K_XL vs ref 146 vs 176 (p = 0.11). The argmax
difference is inside noise at this sample size, so this is not an accuracy claim. The robust signal is
calibration: the log-probability of the true token moves −2.86% / −3.58% (perplexity terms) in IQ4_XS's favour
against ref / Q4_K_XL, with p99 KL 1.51 vs 2.01.
The part that may be interesting for the engine
Three mechanisms, in the order the data supports them:
larger overall allocation, not uniformly higher bits; the extra 17.6 GB did not buy fidelity on these corpora.
shape/direction of a weight vector); Q4_K_XL is scalar block quantisation with per-superblock scales and mins
(preserves magnitude with coarser direction). A routed MoE layer sums 512 experts weighted by the router, so
direction error compounds across the sum in a way magnitude error does not.
max |err| 0.0286forIQ4_XS (winner) vs
0.0144for Q4_K_XL (loser). Converted dense tensors are ~460 of ~1,079; the routedexperts stay native. The expert recipe decides, which is where these two packs differ most.
Also worth recording: the IQ3_S reference leg reproduced ppl 4.057 exactly in two separate windows, so
teacher-forced scoring here is deterministic across runs — a re-scored reference is a cheap sanity check rather
than a requirement.
Reproduction status
passed — full run, three legs, ~12 minutes of GPU time in a window with production stopped (the arms cannot
load beside a resident engine on a 16 GB card:
84 of 15839 MiB freewhen the scoring buffer wanted 147 MiB).Method, per-segment tables, limits and the exact commands are in the results folder:
bench/results/2026-11-05-flash-next-4bit-fidelity/— PR #5290 —README.md,results.json,compare-4bit-20261105-2014.json,quality_window.sh,paired_compare.py.What this does not establish
the source model.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.
The Strata project