KUTE v0.4 run: smaller than Zstandard and xz on 1,766,436 held-out log events, larger than both on English text; compact vocabulary file; pattern timing
run · measured · machine-checked · Kannaka · 2026-11-24T18:34:04.277Z
Fourth record for KUTE (Kannaka Universal Tokenization Engine), https://github.com/kannaka-labs/kute, release v0.4.0 at commit 8c6d3853f103c119f085895cdcda6ad22995b1f0. Evidence is pinned to commit 00ac83e6301e7da5681818d0a6b9afeed726d075, which adds to the release only an option on the comparison script so that every figure below can be rerun. No preregistration preceded these measurements; this is filed as a run, not a confirmed result. Built by Kannaka Labs with Claude Code (AI-written code, disclosed). A second Claude Code session reviewed the release branch before it merged and found two defects in the event code, both fixed in the release. Measured, on one machine (Windows 11, release build). Sizes only; nothing in this record is a speed claim. 1. Against general-purpose compressors, events. Dataset: HDFS_v1 from Loghub (https://zenodo.org/records/8196385). A small sequence vocabulary (size given in the benchmark notes) was trained on the first 80 percent of blocks and used to encode the last 20 percent (115,012 blocks, 1,766,436 events), with a marker at each block end. The compressed KUTE container is 80,789 bytes and decodes to the evaluation file exactly; the vocabulary both sides must hold is 1,827 bytes. Given the same events as text (6,374,580 bytes), the best general compressor tried was zstd -22 with a long window at 116,007 bytes; zstd -19 gave 127,914, gzip -9 145,348, xz -9 159,296. Given a form with one byte per event and a zero byte per block end (1,881,448 bytes), which costs a compressor nothing to parse, zstd -19 gave 95,401, xz -9 106,896 and gzip -9 114,295. The KUTE container is 15 percent smaller than the best of those and 30 percent smaller than the best on text. Zstandard with a dictionary trained on the training blocks did worse than without one. 2. Against general-purpose compressors, text. On the last 10 MB of enwik8 with a 32,768-token vocabulary trained on the first 90 MB, the compressed KUTE container is 3,084,101 bytes. xz -9 gave 2,680,608 and zstd -19 2,746,612, with nothing shared in advance. KUTE is 13 and 11 percent larger than these. It is smaller than gzip -9 (3,590,266) and zstd -3 (3,489,545), and about level with zstd -19 using a 110 KiB trained dictionary (3,068,943). 3. Compact vocabulary file. The 32,768-token vocabulary is 3,335,566 bytes as JSON and 155,266 bytes in the compact form, with the same digest after reading back. gzip -9 of the JSON is 530,969 bytes and xz -9 is 347,684. Loading was not clearly faster. 4. Pattern timing. With timestamps kept, discovery on all 11.2 million HDFS_v1 events returned the same 50 patterns as the untimed run recorded earlier and reports how long each takes (for example a median of 159 seconds for one four-event pattern in the searched blocks and 56 seconds in the held-out blocks). Limits and negative findings: - On text, KUTE's container loses to strong general compressors. No compression advantage is claimed for text. - The event result is one dataset with 22 to 29 event types and long runs of a repeated event. Nothing here says how it goes on events with many types or little repetition. - A sixteen times larger event vocabulary did worse: 92,597 bytes. - The KUTE sizes in the two comparison reports were supplied to the script from separate KUTE runs on the same files; the script itself runs only the other compressors. - Binary record formats (CBOR, MessagePack, Protobuf) were not compared. - The held-out timing figures rest on few occurrences and do not confirm the searched ones. - Timings remain unmeasured under clean conditions; the earlier record's note on that stands. - Patterns are statistical regularities in the order of events. Nothing is claimed about what they mean or cause, and nothing about semantic understanding or HRM. - Not done from the development plan: training checkpoints, latency percentiles, comparison with binary record formats, Studio, integrations. Standing is "measured": single runs on one machine, CI passing on Linux and Windows, not reproduced by anyone outside. Evidence files, pinned to the commit: - benchmarks/results/compressors-hdfs-v1.json: sha256 237e14175de10cf46671f104f7cce0cec206deb848e2c52e0c15d8f05be8915d (3356 bytes) - benchmarks/results/compressors-enwik8.json: sha256 137bfec6943c952c5a49083f058e6291444b88b5d7d41021a4f4bc189ed045f8 (2261 bytes) - benchmarks/results/discovery-hdfs-v1-timed.json: sha256 f20d659cdd00a56c054f9b04b19be2ffb5823c29658a9c7f303432bf4ba6fa07 (64133 bytes) - benchmarks/compressor_compare.py: sha256 21331620eed7c4aff0d2f8afbb23856c4501c1352c8299e63625661aea42960d (5951 bytes) - benchmarks/hdfs_traces.py: sha256 94345ea32a37a38d210e42b219335a61d619cbc1a72ddf1b564c4cdd31f8ef35 (3183 bytes) - benchmarks/README.md: sha256 1fc35dfc7eb8bc91c3841ea0f0e8591a7d8a8a7272fee48fb341bcdde98f727c (20292 bytes) - specifications/kvf/KVF-0.1.md: sha256 9cdaaa30f999f0baa00d2e3af6b21f216058a3fc699593a9462149a7124d909f (15859 bytes)
Evidence
- compressor comparison on held-out HDFS_v1 events (JSON)
237e14175de10cf46671f104f7cce0cec206deb848e2c52e0c15d8f05be8915d - compressor comparison on held-out enwik8 text (JSON)
137bfec6943c952c5a49083f058e6291444b88b5d7d41021a4f4bc189ed045f8 - discovery report with pattern timing on HDFS_v1 (JSON)
f20d659cdd00a56c054f9b04b19be2ffb5823c29658a9c7f303432bf4ba6fa07 - script that produced the compressor comparisons
21331620eed7c4aff0d2f8afbb23856c4501c1352c8299e63625661aea42960d - script that converts the public dataset to event records
94345ea32a37a38d210e42b219335a61d619cbc1a72ddf1b564c4cdd31f8ef35 - method, results and their limits
1fc35dfc7eb8bc91c3841ea0f0e8591a7d8a8a7272fee48fb341bcdde98f727c - vocabulary file specification, including the compact form
9cdaaa30f999f0baa00d2e3af6b21f216058a3fc699593a9462149a7124d909f
content hash 60d2a3225cecede00f9574d7d64bfa5c91fabb7e0a25b4b6bc0fb33908bbe32a
Machine check: machine-checked
PASSevidence 'compressor comparison on held-out HDFS_v1 events (JSON)': sha256 matches (3356 bytes)PASSevidence 'compressor comparison on held-out enwik8 text (JSON)': sha256 matches (2261 bytes)PASSevidence 'discovery report with pattern timing on HDFS_v1 (JSON)': sha256 matches (64133 bytes)PASSevidence 'script that produced the compressor comparisons': sha256 matches (5951 bytes)PASSevidence 'script that converts the public dataset to event records': sha256 matches (3183 bytes)PASSevidence 'method, results and their limits': sha256 matches (20292 bytes)PASSevidence 'vocabulary file specification, including the compact form': sha256 matches (15859 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.