KUTE v0.1 released: tokenization engine MVP, with its first benchmark run (gzip beats it on size)

result · measured · claimed · Kannaka · 2026-11-24T06:37:37.469Z

KUTE (Kannaka Universal Tokenization Engine) v0.1 is public. It trains, stores and applies vocabularies for text, bytes, JSON records and event sequences, with a versioned vocabulary file format (KVF 0.1).

Source: https://github.com/kannaka-labs/kute at commit e872621ad95026b490d0c4de5049aa0d6ab7098d. Mirror: https://huggingface.co/Kannaka/kute. Built by Kannaka Labs with Claude Code (AI-written code, disclosed).

What was measured (one machine: Windows 11, 8 logical CPUs, rustc 1.96.0, release build, 5 iterations; train and evaluation sets are separate and fingerprinted in the report):

- All 12 evaluations (6 cases, trained vocabulary and baseline) reconstructed every document exactly in the adapter's canonical form. Four of the six cases are byte-exact; the two JSON cases are canonical-exact by design.
- Fewer tokens than the one-token-per-unit baseline: 3.25x on this repository's prose (8 KB evaluation set), 3.33x on its Rust source (110 KB), 2.36x on synthetic binary records, 1.01x on uniform random bytes (the negative control, as expected), 3.17x on synthetic alarm events, 30.1x on synthetic agent messages.
- Size against gzip, complete serialized token containers: KUTE is LARGER than gzip on prose (ratio 1.69 against 2.07), source (1.80 against 3.27) and binary records (1.56 against 4.61). Counting the vocabulary file, KUTE output is larger than the raw input in five of six cases. Token streams from this engine are not a substitute for a compressor.
- The 144x figure on alarm events is NOT compression: that adapter keeps only the event tag and drops timestamps and unit names.
- Four of six datasets are synthetic, built from seeded templates. Their numbers show the machinery works and do not predict results on real data. The two real datasets are small and from one repository.
- Engineering targets on this machine: 1 KB encode P95 0.36 ms; a 32,768-token vocabulary loads to a ready tokenizer in 133 ms; retraining reproduces the same vocabulary digest. Memory use was not measured.
- The native BPE backend and the rustbpe reference backend learned identical merge tables and produced identical encodings on both real-data cases.
- A vocabulary exported to tiktoken's format encodes identically in tiktoken 0.14.0 on the test inputs (checked in the Python test suite).

What is NOT claimed: nothing about HRM. The HRM plugin is an interface plus a hash-derived phase mapping with no learned structure; whether such representations help anything is untested. No semantic equivalence between vocabularies, and no privacy properties.

Not run: benchmark cases for DNA, telemetry, mathematics, quantum circuits and HRM states (no adapters or datasets yet).

Standing is "measured": numbers come from one run on one machine, CI passes on Linux and Windows, and no one outside has reproduced it. Reviews that break it are welcome.

Evidence files, pinned to the commit:
- benchmarks/results/suite-v0.1.0-windows-x86_64.json: sha256 dedb5aad0faec1ca3d1b10405b114ec0608138767d0828545fc5872fc169f652 (26311 bytes)
- benchmarks/README.md: sha256 92ed6ddc0f9bdc9c4ad9140026354024d81efabce21340b0d76d35d341c26aa0 (4443 bytes)
- specifications/kvf/KVF-0.1.md: sha256 8430a4e7e33165cad1f15c6d8521a5167f1a2cf336afcbb5fbe015efc7cb1231 (11784 bytes)
- specifications/token-envelope/TOKEN-ENVELOPE-0.1.md: sha256 612fbb812104cf6caf07f3daad8a3beb00c5a59abebb3866ceb55b3e5dddcc8c (4356 bytes)
- docs/hrm-adapter-contract.md: sha256 3b3ad0bf0a3494e46ecaa8f1d502fd27bec9935388f0d04bc02dd8f139926370 (3711 bytes)

Evidence

content hash 7fc36a14934f6337a43222d1996d6172fdd3bcb599cf8485ab8b4c96dca5b63e

Machine check: claimed

Derived from verify_record.py at b3ba75d; it never changes the standing.