Scalar codebook quantization, an interactive guide
Comments on “Scalar codebook quantization, an interactive guide”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Developer Mingyang Li (myli.page) published an interactive guide to scalar codebook quantization, built from putting SmolLM2-135M on a 2010 iPod touch. It walks through levels fitted to the weights, per-group scales over 64 weights, Hadamard rotation to flatten outliers, one shared codebook, and a fast kernel. By the author's figures, 4-bit indices plus one scale per group cut the model from 538 MB to 76 MB, with perplexity of 8.1–8.9 against 7.2 at 32-bit. Most numbers are self-reported and come from a single small model; 3 bits was reportedly unusable.
Why it ranked
No. 20 of 80 with a score of 0.65. The panel rated it highest on technical depth (0.95) and new information (0.92), lowest on audience breadth (0.54). Placed No. 20, No. 19 by score alone: the fifth AI & machine learning story of the day (−0.040). The placement terms move stories; they are not part of the score.
- AI judgeJudge 2claude-haiku-5-5
- Interactive, technically deep tutorial on weight quantization for LLMs with explanation of codebooks, grouping and Hadamard rotation; highly relevant to AI builders, substantiated with references, not promotional, not previously covered.
- AI judgeJudge 3gpt-5.6-luna
- A highly technical, interactive tutorial explains codebook quantization, grouping, Hadamard rotation, shared codebooks, storage tradeoffs, and inference implications, with equations, demonstrations, and literature references. It is directly useful for efficient on-device LLM deployment.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.65total under rubric v2.3
- Significance0.54
- Reader interest0.73
- Audience breadth0.54
- Practical relevance0.68
- Substantiated0.81
- Technical depth0.95
- New information0.92
- Counts against: Promotional0.04
- Counts against: Overclaim0.14
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.55 | 0.35 | 0.72 | 0.54 | 0.37 | +0.24 | +0.130 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.58 | 0.70 | 0.90 | 0.73 | 0.32 | +0.26 | +0.189 |
| Audience breadthHow many people who build technology does it concern? | 0.60 | 0.40 | 0.62 | 0.54 | 0.22 | +0.13 | +0.070 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.61 | 0.60 | 0.82 | 0.68 | 0.22 | +0.22 | +0.149 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.88 | 0.70 | 0.86 | 0.81 | 0.18 | +0.05 | +0.041 |
| Technical depthHow technically substantive is it? | 0.99 | 0.90 | 0.96 | 0.95 | 0.09 | +0.05 | +0.048 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.88 | 0.90 | 0.98 | 0.92 | 0.10 | +0.05 | +0.046 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.05 | 0.05 | 0.02 | 0.04 | 0.03 | −0.19 | −0.008 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.19 | 0.15 | 0.08 | 0.14 | 0.11 | −0.11 | −0.015 |
| Sum of contributions | +0.649 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.649 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-22/20/"><img src="https://rubric.hrih.si/badge/2026-11-22/20.svg" alt="Ranked #20 on Rubric, 22 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 2 matches source · 6 no source given. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
No source givenNumber
SmolLM2-135M has 134.5 million weights, which take 538 MB when stored as 32-bit floats, twice the 256 MB of RAM in the 2010 iPod touch.
The article gives no link or citation for it.
The article says “has 134.5 million of them. Stored as 32-bit floats they take 538 MB, twice the iPod’s 256 MB of RAM”
The source says No source to compare with.
Matches sourceQuote
LLM.int8() found a few large-magnitude features in transformer hidden states, about 0.1% of them, that wreck quality when removed.
The cited source says the same thing.
The article says “found a few large-magnitude features in transformer hidden states, about 0.1% of them, that wreck quality when removed”
The source says “Setting these outlier feature dimensions to zero decreases top-1 attention softmax probability mass by more than 20% and degrades validation perplexity by 600-1000% despite them only making up about 0.1%…”
Source cited by the article: arxiv.org/abs/2208.07339
Matches sourceQuote
QuIP# uses a randomized Hadamard transform on the weights, and QuaRot rotates a whole LLM with Hadamard matrices to remove outliers for 4-bit inference.
The cited source says the same thing.
The article says “QuaRot (Ashkboos et al., 2024) rotates a whole LLM with Hadamard matrices to remove outliers for 4-bit inference”
The source says “In this work, we address the issue of outlier features by rotating the inputs of the model using randomized Hadamard transformations”
Source cited by the article: arxiv.org/abs/2404.00456
No source givenNumber
For heavy-tailed groups, rotation halves the 4-bit error (18% to 9%) and cuts the 2-bit error from 86% to 36%.
The article gives no link or citation for it.
The article says “For heavy-tailed groups it halves the error at 4 bits (18% → 9%) and cuts it from 86% to 36% at 2 bits”
The source says No source to compare with.
No source givenNumber
Storing a group of 64 weights with 4-bit indices and one 32-bit length costs 4.5 bits per weight, shrinking SmolLM2 from 538 MB to 76 MB.
The article gives no link or citation for it.
The article says “SmolLM2 went from 538 MB to 76 MB”
The source says No source to compare with.
No source givenBenchmark result
With GPTQ rounding, the 4-bit codebook SmolLM2 reaches perplexity of 8.1–8.9, versus 9.6 for nearest-level rounding and 7.2 for 32-bit floats.
The article gives no link or citation for it.
The article says “GPTQ brought perplexity from 9.6 down to 8.1–8.9, against 7.2 for the 32-bit floats”
The source says No source to compare with.
No source givenNumber
After Hadamard rotation, every part of SmolLM2 reaches a kurtosis of 2.9 for groups of 64, and the share of weights beyond 3σ falls from 0.50% to 0.20%.
The article gives no link or citation for it.
The article says “Every part lands at a kurtosis of 2.9”
The source says No source to compare with.
No source givenGeneralization
At 3 bits, SmolLM2 was unusable, so the floor on bits depends on the model.
The article gives no link or citation for it.
The article says “The floor on bits depends on the model: at 3 bits, SmolLM2 was unusable”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 1 pts, not on front page
Recorded for context only, checked 22 Nov 2026, 05:47 UTC. It played no part in the ranking.