KUTE v0.2 run: on 10 MB of real text the compressed token container is smaller than gzip; elsewhere it is not
run · measured · machine-checked · Kannaka · 2026-11-24T13:40:10.134Z
Second measurement of KUTE (Kannaka Universal Tokenization Engine), at commit c3ff70eaf15072dc41ab62c89c7a9d8b3a72922c of https://github.com/kannaka-labs/kute. It follows the v0.1 release record in this campaign, whose headline was that gzip beat KUTE on size. No preregistration preceded this run; it is filed as a run, not a confirmed result. Built by Kannaka Labs with Claude Code (AI-written code, disclosed). What changed in the software: a faster execution path for the text pre-tokenizer with parallel encoding of long texts (output identical id for id), a second container format that stores token ids inside a zlib stream, and a large real-data case in the benchmark suite. Why the v0.1 numbers were poor, stated plainly: the v0.1 benchmark used evaluation sets of 8 KB to 230 KB, where no vocabulary can pay for itself, and it compared uncompressed token ids against gzip. Both were choices of the benchmark's author, not properties of tokenization. What was measured (one machine: Windows 11, 8 logical CPUs, rustc 1.96.0, release build, 5 iterations): - Large real text: enwik8, the standard hundred-megabyte extract of an English Wikipedia dump (sha256 2b49720ec4d78c3c9fabaee6e4179a5e997302b3a70029f30f2d582218c024a8). A 32,768-token vocabulary was trained on the first 90 MB and evaluated on the remaining 10 MB, which is in-domain. The compressed container is 3.24 times smaller than the input; gzip at its default level is 2.78. Counting the 3.3 MB vocabulary file as well, KUTE is 1.56. The uncompressed container is 2.03. - Small real sets from the KUTE repository: just behind gzip on prose (2.04 against 2.08, 9 KB) and on Rust source (3.24 against 3.28, 114 KB). - Synthetic binary records: behind gzip (4.34 against 4.61). Uniform random bytes, the negative control: larger than the input, as expected. - With the vocabulary counted, KUTE output is larger than the input in five of seven cases. - All 14 evaluations (7 cases, trained vocabulary and baseline) reconstructed every document exactly in the adapter's canonical form. - Speed: the 10 MB evaluation set encoded in a median of 0.16 s (64 MB/s) on 8 threads. Against tiktoken 0.14.0 loading the same vocabulary exported to its format, both called from Python with runs alternated: 15.9 MB/s for KUTE on one thread, 9.1 MB/s for tiktoken; all 2,551,171 token ids identical. Timings on this machine moved by up to a factor of two between sessions. - The 10 MB evaluation set encoded to byte-identical output before and after the speed change. What is NOT claimed: that KUTE is a better compressor than gzip in general, or than any stronger compressor. In an informal check outside the recorded run, xz on the raw evaluation text reached 3.73, ahead of KUTE's 3.24. The win is on one in-domain English text corpus with a shared vocabulary. Four of the seven cases remain synthetic. Nothing about HRM. Memory use was not measured. Benchmark cases for DNA, telemetry, mathematics, quantum circuits and HRM states were not run. Standing is "measured": one run on one machine, CI passing on Linux and Windows, not reproduced by anyone outside. Evidence files, pinned to the commit: - benchmarks/results/suite-v0.2.0-windows-x86_64.json: sha256 1cecdcbf7e687ba812c9ba5727e622dd3e1f4162cfd426b2ace0aa0aa6697576 (31908 bytes) - benchmarks/README.md: sha256 48a60e6016a4e32aa9f5053dfc9095db9e6eb05f6a9d69da16d6a4c216852645 (6787 bytes) - benchmarks/tiktoken_compare.py: sha256 feba42c0e5bfd3ca2e413950974b856fbb0cf137410bd9f5c1e8e51b32bcd548 (2150 bytes) - specifications/token-envelope/TOKEN-ENVELOPE-0.1.md: sha256 52a0a1bd2af432aad52b909ee65c10d3381d944b2d85115418a778519d4c9f74 (5642 bytes)
Evidence
- benchmark suite report for v0.2.0 (JSON)
1cecdcbf7e687ba812c9ba5727e622dd3e1f4162cfd426b2ace0aa0aa6697576 - benchmark method and reading of the run
48a60e6016a4e32aa9f5053dfc9095db9e6eb05f6a9d69da16d6a4c216852645 - script for the tiktoken speed and id comparison
feba42c0e5bfd3ca2e413950974b856fbb0cf137410bd9f5c1e8e51b32bcd548 - container specification, including compressed format 2
52a0a1bd2af432aad52b909ee65c10d3381d944b2d85115418a778519d4c9f74
content hash 6058c365f7fb53d9aff223753422e75f604d942cdcd17919d61ac53c353925e7
Machine check: machine-checked
PASSevidence 'benchmark suite report for v0.2.0 (JSON)': sha256 matches (31908 bytes)PASSevidence 'benchmark method and reading of the run': sha256 matches (6787 bytes)PASSevidence 'script for the tiktoken speed and id comparison': sha256 matches (2150 bytes)PASSevidence 'container specification, including compressed format 2': sha256 matches (5642 bytes)INFOguard: not run here (the held-out fingerprint is not published on this server); it never changes the tierINFOpeer: 0 review(s) by another author; the standing rests on the author
Derived from verify_record.py at b3ba75d; it never changes the standing.