v3: en-US normalization; DOI 10.5281/zenodo.22133765
Browse files- index.html +10 -10
index.html
CHANGED
|
@@ -91,7 +91,7 @@ hr{border:none; border-top:1px solid var(--rule); margin:44px 0}
|
|
| 91 |
<p class="eyebrow">Quantization · Apple Silicon · 2026</p>
|
| 92 |
<h1>Data-Free Vector Quantization Beats Affine Quantization at Matched Bytes Below 6 Bits</h1>
|
| 93 |
<p><strong>Noah Zelezny</strong></p>
|
| 94 |
-
<p><em>August 2026 · doi:<a href="https://doi.org/10.5281/zenodo.
|
| 95 |
Every number traces to a committed entry in the laboratory record; every
|
| 96 |
margin is stated against a measured fit-to-fit noise floor for its
|
| 97 |
geometry.</em></p>
|
|
@@ -121,7 +121,7 @@ is scored on one deterministic instrument throughout. For the two
|
|
| 121 |
smaller models this is KL divergence: how far the quantized model's
|
| 122 |
next-token probabilities drift from the full-precision original's,
|
| 123 |
reported in millinats (defined in §2.6; zero means identical
|
| 124 |
-
|
| 125 |
full-precision teacher is too large to run on any machine we could
|
| 126 |
assemble, so that model is scored by perplexity on frozen prose and
|
| 127 |
code corpora — a measure against text rather than against the teacher.
|
|
@@ -155,7 +155,7 @@ a pre-registered experiment, a fitter modification engineered to improve
|
|
| 155 |
precisely the reconstruction statistic identified as decisive produced a
|
| 156 |
model 4.7 times worse than the one it was designed to improve. Only
|
| 157 |
evaluation of the assembled model ranks artifacts.</p>
|
| 158 |
-
<p>Comparable
|
| 159 |
nonetheless excluded from all claims: raw likelihood is not a valid
|
| 160 |
property of those instruction-tuned models, so no deterministic scoring
|
| 161 |
scheme was available. The effect is likely broader than the three models
|
|
@@ -320,7 +320,7 @@ logits, in millinats, with top-1 agreement, plus referee perplexity on
|
|
| 320 |
the 27B — the same wikitext-style prose corpus at its first 2048
|
| 321 |
tokens; a single corpus, where two were used for the 397B. Comparator rows were re-verified on a second machine and agree
|
| 322 |
to every reported digit. The gemma-4 family, where we observed similar
|
| 323 |
-
size-quality
|
| 324 |
invalid on those instruction-tuned models as a property of the model
|
| 325 |
itself, scoring is therefore not deterministic, and no claim here rests
|
| 326 |
on an instrument that cannot reproduce its own numbers.</p>
|
|
@@ -400,7 +400,7 @@ we report against them is therefore understated by that amount — the
|
|
| 400 |
d8 build's lead is 20.4 GiB rather than 19.6, and the flagship's 22.7
|
| 401 |
rather than 21.9. We keep the download-size convention and state the
|
| 402 |
offset rather than restate the sizes, because a convention that gets
|
| 403 |
-
adjusted in the reporter's
|
| 404 |
<p><strong>Ours (VQ; prose / code perplexity, packed post-graft GiB):</strong></p>
|
| 405 |
<div class="tw"><table>
|
| 406 |
<thead>
|
|
@@ -591,7 +591,7 @@ point on this curve.</p>
|
|
| 591 |
</tr>
|
| 592 |
</tbody>
|
| 593 |
</table></div>
|
| 594 |
-
<p>One asymmetry in these 35B comparisons runs in our
|
| 595 |
visible in the sizes. Every affine comparator here quantizes the MoE
|
| 596 |
router — the community 4-bit and 8-bit and our own 6-bit all carry
|
| 597 |
quantized gate projections — while our VQ builds leave the routers at
|
|
@@ -837,9 +837,9 @@ VQ alike.</p>
|
|
| 837 |
<p>Dimension pays at matched rate (§3.1) but the margin shrinks as rate
|
| 838 |
rises — 12.2% at 2.0 bpw, 8.6% at 3.0 — and at 4.0 bpw it stops paying
|
| 839 |
cleanly. A d4/K65536 rung matched against a d2/K256 rung 0.1 GiB smaller
|
| 840 |
-
(14.55 vs 14.45) splits: divergence
|
| 841 |
floor measured at a different geometry and so not a margin we read,
|
| 842 |
-
while perplexity
|
| 843 |
floor. Neither pre-registered branch fired; the honest reading is a
|
| 844 |
wash leaning d2, and the dimension advantage is not established above
|
| 845 |
3 bpw. Codebook size pays with the expected
|
|
@@ -916,7 +916,7 @@ in a setting where the wrong numbers are the plausible ones.</p>
|
|
| 916 |
<h2 id="6-limitations">6. Limitations</h2>
|
| 917 |
<p><strong>Coverage.</strong> Three models from one vendor family, only one of them
|
| 918 |
dense; a second dense model would test whether the 27B generalizes.
|
| 919 |
-
(The gemma-4 family showed similar
|
| 920 |
deterministically and is excluded.) Single software stack (MLX/Metal);
|
| 921 |
the kernel conclusions — threadgroup capacity, the d8 decode tax — are
|
| 922 |
specific to Apple Silicon.</p>
|
|
@@ -947,7 +947,7 @@ recording its exact fit invocation was overwritten four days after the
|
|
| 947 |
fit, so its remaining unrecoverable inputs are the fit flags themselves.
|
| 948 |
It remains downloadable, its scores reproduce exactly on the artifact,
|
| 949 |
and its quality sits inside the measured draw distribution of its
|
| 950 |
-
geometry — a
|
| 951 |
floors are how we know).</p>
|
| 952 |
<h2 id="7-reproducibility">7. Reproducibility</h2>
|
| 953 |
<p>All artifacts are published under <code>TheDrainFlorist</code> on Hugging Face
|
|
|
|
| 91 |
<p class="eyebrow">Quantization · Apple Silicon · 2026</p>
|
| 92 |
<h1>Data-Free Vector Quantization Beats Affine Quantization at Matched Bytes Below 6 Bits</h1>
|
| 93 |
<p><strong>Noah Zelezny</strong></p>
|
| 94 |
+
<p><em>August 2026 · doi:<a href="https://doi.org/10.5281/zenodo.22133765">10.5281/zenodo.22133765</a>.
|
| 95 |
Every number traces to a committed entry in the laboratory record; every
|
| 96 |
margin is stated against a measured fit-to-fit noise floor for its
|
| 97 |
geometry.</em></p>
|
|
|
|
| 121 |
smaller models this is KL divergence: how far the quantized model's
|
| 122 |
next-token probabilities drift from the full-precision original's,
|
| 123 |
reported in millinats (defined in §2.6; zero means identical
|
| 124 |
+
behavior). The 397B's
|
| 125 |
full-precision teacher is too large to run on any machine we could
|
| 126 |
assemble, so that model is scored by perplexity on frozen prose and
|
| 127 |
code corpora — a measure against text rather than against the teacher.
|
|
|
|
| 155 |
precisely the reconstruction statistic identified as decisive produced a
|
| 156 |
model 4.7 times worse than the one it was designed to improve. Only
|
| 157 |
evaluation of the assembled model ranks artifacts.</p>
|
| 158 |
+
<p>Comparable behavior was observed on the gemma-4 model family, which is
|
| 159 |
nonetheless excluded from all claims: raw likelihood is not a valid
|
| 160 |
property of those instruction-tuned models, so no deterministic scoring
|
| 161 |
scheme was available. The effect is likely broader than the three models
|
|
|
|
| 320 |
the 27B — the same wikitext-style prose corpus at its first 2048
|
| 321 |
tokens; a single corpus, where two were used for the 397B. Comparator rows were re-verified on a second machine and agree
|
| 322 |
to every reported digit. The gemma-4 family, where we observed similar
|
| 323 |
+
size-quality behavior, is excluded throughout: raw likelihood is
|
| 324 |
invalid on those instruction-tuned models as a property of the model
|
| 325 |
itself, scoring is therefore not deterministic, and no claim here rests
|
| 326 |
on an instrument that cannot reproduce its own numbers.</p>
|
|
|
|
| 400 |
d8 build's lead is 20.4 GiB rather than 19.6, and the flagship's 22.7
|
| 401 |
rather than 21.9. We keep the download-size convention and state the
|
| 402 |
offset rather than restate the sizes, because a convention that gets
|
| 403 |
+
adjusted in the reporter's favor is worth less than a conservative one.</p>
|
| 404 |
<p><strong>Ours (VQ; prose / code perplexity, packed post-graft GiB):</strong></p>
|
| 405 |
<div class="tw"><table>
|
| 406 |
<thead>
|
|
|
|
| 591 |
</tr>
|
| 592 |
</tbody>
|
| 593 |
</table></div>
|
| 594 |
+
<p>One asymmetry in these 35B comparisons runs in our favor, and it is not
|
| 595 |
visible in the sizes. Every affine comparator here quantizes the MoE
|
| 596 |
router — the community 4-bit and 8-bit and our own 6-bit all carry
|
| 597 |
quantized gate projections — while our VQ builds leave the routers at
|
|
|
|
| 837 |
<p>Dimension pays at matched rate (§3.1) but the margin shrinks as rate
|
| 838 |
rises — 12.2% at 2.0 bpw, 8.6% at 3.0 — and at 4.0 bpw it stops paying
|
| 839 |
cleanly. A d4/K65536 rung matched against a d2/K256 rung 0.1 GiB smaller
|
| 840 |
+
(14.55 vs 14.45) splits: divergence favors d4 by 2.2 mnats, which is 1.06 times a
|
| 841 |
floor measured at a different geometry and so not a margin we read,
|
| 842 |
+
while perplexity favors d2 by 0.078, or 1.75 times that same borrowed
|
| 843 |
floor. Neither pre-registered branch fired; the honest reading is a
|
| 844 |
wash leaning d2, and the dimension advantage is not established above
|
| 845 |
3 bpw. Codebook size pays with the expected
|
|
|
|
| 916 |
<h2 id="6-limitations">6. Limitations</h2>
|
| 917 |
<p><strong>Coverage.</strong> Three models from one vendor family, only one of them
|
| 918 |
dense; a second dense model would test whether the 27B generalizes.
|
| 919 |
+
(The gemma-4 family showed similar behavior but cannot be scored
|
| 920 |
deterministically and is excluded.) Single software stack (MLX/Metal);
|
| 921 |
the kernel conclusions — threadgroup capacity, the d8 decode tax — are
|
| 922 |
specific to Apple Silicon.</p>
|
|
|
|
| 947 |
fit, so its remaining unrecoverable inputs are the fit flags themselves.
|
| 948 |
It remains downloadable, its scores reproduce exactly on the artifact,
|
| 949 |
and its quality sits inside the measured draw distribution of its
|
| 950 |
+
geometry — a favorable but unexceptional draw, not a mystery (§2.6's
|
| 951 |
floors are how we know).</p>
|
| 952 |
<h2 id="7-reproducibility">7. Reproducibility</h2>
|
| 953 |
<p>All artifacts are published under <code>TheDrainFlorist</code> on Hugging Face
|