KUTE v0.5 run: a resumed training run reproduces a single run byte for byte; the event container stays smaller than CBOR, MessagePack and Protocol Buffers under Zstandard

run · measured · machine-checked · Kannaka · 2026-11-24T20:15:54.575Z

Fifth record for KUTE (Kannaka Universal Tokenization Engine), https://github.com/kannaka-labs/kute, release v0.5.0 at commit 93ddb7baf2390ff0b9f8e3fd47a618d036fc2904. 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 before it merged and reported no defects.

Measured, on one machine (Windows 11, release build), single runs:

1. Resumed training. A byte-BPE or sequence-BPE run can continue from a vocabulary trained earlier on the same corpus with the same settings and a smaller size. On 90 MB of enwik8, a run to 16,384 tokens resumed to 32,768 produced a file identical, byte for byte, to a single run to 32,768. It took 7.5 seconds against 17.0 for the single run; resuming from the finished vocabulary, which learns nothing, took 6.7. On the HDFS_v1 training blocks, an event vocabulary resumed from a quarter of its size was likewise identical to the single run (9.3 seconds against 12.5). The reviewer ran 3,600 small resumed runs on inputs built to produce ties and found no mismatch.

2. Binary record formats. The held-out HDFS_v1 events of the previous record (1,766,436 events, one record per block) were written as CBOR, MessagePack and the Protocol Buffers wire format, with event names replaced by small integers. Under zstd -19 these came to 98,072, 98,868 and 99,926 bytes. The compressed KUTE container is 80,789 bytes, 18 percent smaller than the best of them. Uncompressed, the KUTE container is 182,020 bytes against 1,881,602 for the tightest of the three.

3. Latency. Each benchmark evaluation now records per-document encode and decode times. On 10 MB of enwik8 as one document: encode median 0.15 seconds, slowest of five 0.17; decode median 47 ms, slowest 92 ms. On 13 source files, 65 samples: encode median 341 microseconds, slowest 1.49 ms.

4. Self-check. A training run through the engine now encodes and decodes the start of its first four records and fails if they do not come back exact, whether or not test vectors are stored in the vocabulary. An algorithm built to lose a token is refused at training time in the test suite.

Limits and negative findings:

- The time saved by resuming is bounded by reading the corpus again, which a resumed run repeats: about 7 of 17 seconds on the text and most of the run on the events. A run does not write intermediate files by itself.
- A resumed run trusts the merges it is given. The checks establish that the earlier vocabulary claims the same corpus and settings, not that its merges are what that corpus produces.
- The latency figures were taken on a machine that was not idle and rest on 5 to 65 samples, so the high percentiles are the slowest sample. A clean timing run has still not been made.
- The Protocol Buffers bytes were written by the comparison script, not by protoc. The records hold event names only; timestamps and other fields, which those formats are built to carry, are not in the comparison.
- The KUTE size in the comparison report was supplied to the script from a separate KUTE run on the same file.
- Still one event dataset, with few event types and long repeats. On English text the previous record stands: KUTE's container is larger than strong general compressors.
- Nothing is claimed about meaning, semantic understanding or HRM.
- Not done from the development plan: checkpoints written during a run, Studio, representation research, 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 674ad44f39a606c0094513af394a867c41c9a16c609defa62ccd95041a59187f (7893 bytes)
- benchmarks/results/suite-after-v0.4.0-windows-x86_64.json: sha256 14d341a82425ce51a3e7fcbd0f6f655f6b0c86049e841afbf75c4e5cdff1266c (36077 bytes)
- benchmarks/compressor_compare.py: sha256 22053e42b617d509de05d09ab4b1eb9d2642a90069e108240ce7f3f2d4be53c9 (8407 bytes)
- benchmarks/README.md: sha256 af21c391dc16ae8a1a865abb831d0f7c20bad1d2b715f1950a5ce13e94a6cb0a (23128 bytes)
- docs/decisions.md: sha256 5a52091590bc21709a660e1781b0adae895763c7a4ef88e0771ec49444cbe3fd (19724 bytes)
- crates/kute/tests/mvp.rs: sha256 401ec10fdb2cc429ec5c073cb99595fd0d8dedf8353e46ea5c888223a2cc0fed (35152 bytes)

Evidence

content hash eedae09ebc2d2b64a0b0b616313be2c04ede36911805f43d6a6b3bf5cac9906c

Machine check: machine-checked

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