Verbatim extraction with byte-level constrained decoding
Comments on “Verbatim extraction with byte-level constrained decoding”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Hiroshi's post tests seven small models on extracting contract clauses from CUAD. Unconstrained, 4–38% of returned spans are not in the source. Constraining output to the document's token IDs often yields empty answers, since it blocks tokens the model prefers. A byte-level constraint (llguidance's substring_chunks in vLLM) plus allowances for formatting habits cut hallucinated spans to zero and raised span F1 for all seven, for example Qwen3.5-2B from 32.6 to 47.3. Best F1 stays near 50, which the author attributes to choosing passages.
Why it ranked
No. 9 of 132 with a score of 0.71. The panel rated it highest on technical depth (0.94) and substantiated (0.93), lowest on audience breadth (0.53). Placed No. 9, No. 12 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Detailed, well-evidenced technical study of constrained decoding for verbatim LLM extraction with reproducible method and code; broadly relevant to builders of LLM products, moderate significance, no promotion.
- AI judgeJudge 3gpt-5.6-luna
- Detailed empirical study and reproducible implementation of byte-level constrained decoding, with extensive model comparisons, failure analysis, code, and measured improvements for reliable verbatim extraction.
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.71total under rubric v2.3
- Significance0.59
- Reader interest0.78
- Audience breadth0.53
- Practical relevance0.80
- Substantiated0.93
- Technical depth0.94
- New information0.89
- Counts against: Promotional0.03
- Counts against: Overclaim0.13
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.59 | 0.45 | 0.72 | 0.59 | 0.27 | +0.24 | +0.141 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.72 | 0.72 | 0.90 | 0.78 | 0.18 | +0.26 | +0.203 |
| Audience breadthHow many people who build technology does it concern? | 0.59 | 0.42 | 0.58 | 0.53 | 0.17 | +0.13 | +0.069 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.88 | 0.70 | 0.82 | 0.80 | 0.18 | +0.22 | +0.176 |
| 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.99 | 0.85 | 0.94 | 0.93 | 0.14 | +0.05 | +0.046 |
| Technical depthHow technically substantive is it? | 1.00 | 0.90 | 0.93 | 0.94 | 0.10 | +0.05 | +0.047 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.89 | 0.80 | 0.98 | 0.89 | 0.18 | +0.05 | +0.045 |
| 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.04 | 0.05 | 0.01 | 0.03 | 0.04 | −0.19 | −0.006 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.17 | 0.15 | 0.08 | 0.13 | 0.09 | −0.11 | −0.015 |
| Sum of contributions | +0.706 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.706 | ||||||
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-12-05/9/"><img src="https://rubric.hrih.si/badge/2026-12-05/9.svg" alt="Ranked #9 on Rubric, 5 Dec 2026" width="231" height="28"></a>Claim check
Claim check: 1 matches source · 7 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
Across seven small models asked to extract contract clauses, hallucinated spans (not found in the source) make up 4–38% of spans depending on the model, and 6–55% of answers contain at least one.
The article gives no link or citation for it.
The article says “Depending on the model, that’s 4–38% of spans, and 6–55% of answers contain at least one”
The source says No source to compare with.
No source givenNumber
With per-token error ε = 0.1%, a 10-token span is right about 99% of the time but a 300-token clause only about 74% of the time.
The article gives no link or citation for it.
The article says “a 10-token party name is right 99% of the time, but a 300-token clause is right only 74% of the time”
The source says No source to compare with.
No source givenNumber
Under a naive token-ID copy constraint, Qwen3.5-0.8B goes from 7% empty answers to 60%, and LFM3 from 14% to 47%.
The article gives no link or citation for it.
The article says “Under the current constraints, Qwen3.5-0.8B goes from 7% empty answers to 60%, and LFM3 from 14% to 47%”
The source says No source to compare with.
No source givenCausal conclusion
The naive token-ID constraint causes models to produce empty answers because it blocks tokens the model strongly prefers, such as the fused ␣[" token, leaving ]} as the cheapest allowed option.
The article gives no link or citation for it.
The article says “When thrown into an unknown territory, the easiest way out for the LLM is to not answer at all”
The source says No source to compare with.
Matches sourceVersion
llguidance, the grammar engine behind one of vLLM's structured-output backends, works on bytes over a token trie and has a regex extension, substring_chunks, that accepts any contiguous run of the given chunks.
The cited source says the same thing.
The article says “it has a little-known regex extension for this exact case: substring_chunks, which accepts any contiguous run of the chunks you give it”
The source says “%regex { "substring_chunks": lst }` will match `lst[n:m].join("")` for some `n <= m <= len(lst”
Source cited by the article: github.com/guidance-ai/llguidance/blob/main/docs/syntax.md
No source givenBenchmark result
With the byte-level copy constraint plus the habit accommodations, hallucinated spans fall to exactly zero for every one of the seven models, and so do answers containing one.
The article gives no link or citation for it.
The article says “Hallucinated spans go to exactly zero for every model, and so do answers containing one”
The source says No source to compare with.
No source givenBenchmark result
The copy constraint with fixes raises span F1 over JSON-schema mode for all seven models, e.g. Qwen3.5-0.8B from 6.4 to 14.0 and Qwen3.5-2B from 32.6 to 47.3.
The article gives no link or citation for it.
The article says “The copy constraint beats JSON mode for all seven models”
The source says No source to compare with.
No source givenCausal conclusion
Remaining errors, with best F1 scores only around 50, are mostly about choosing what to copy rather than copying, since 57% of prompts have no relevant clause.
The article gives no link or citation for it.
The article says “most of the remaining errors are not about copying at all, but about choosing what to copy”
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 5 Dec 2026, 05:47 UTC. It played no part in the ranking.