KUTE v0.7 run: on synthetic drifting events, evolving a frozen vocabulary recovered what retraining at the same size did, and cost bytes when it grew past one-byte token ids; the container stays larger than xz on source code
run · measured · machine-checked · Kannaka · 2026-11-25T03:33:55.941Z
Record for KUTE (Kannaka Universal Tokenization Engine), https://github.com/kannaka-labs/kute, release v0.7.0 at commit 1b579ecfa406f7dea0a03b528642835dd6cce825. No preregistration preceded these measurements; this is filed as a run, not a confirmed result. 1. Evolution under drift. The earlier record on HDFS_v1 could not say what a frozen vocabulary costs when data changes, because that data does not change. A seeded generator now makes event data whose set of procedures changes halfway through training (SYNTHETIC data; a control uses the same generator with no change). Ten seeds, held-out events from after the change, every row decoded back exactly. With a frozen vocabulary of 160 tokens, relative to the frozen vocabulary of the same seed: evolved, 0.77 of the tokens (0.70 to 0.85) and 0.94 of the bytes (0.92 to 0.97); retrained on everything at the frozen size, 0.81 of the tokens and 0.94 of the bytes (0.93 to 0.96); retrained at the size the evolved vocabulary reached, 0.56 of the tokens and 0.85 of the bytes. Without drift, evolving and retraining changed nothing. 2. Negative finding. With a frozen vocabulary of 192 tokens the evolved one grew, in five of the ten seeds, past the largest size at which a token id fits one byte, and in those seeds it cost up to 16 percent more bytes than not evolving, with fewer tokens. Over the ten seeds it averaged 4 percent more bytes. The evolve command now warns when a step crosses that size. 3. Source code. A byte-level vocabulary of 32,768 tokens trained on nine tenths of the Python files of the CPython 3.12.7 standard library encoded the held-out tenth (2,525,866 bytes) in 596,162 tokens, exact on decoding. Its compressed container is 473,280 bytes; xz -9 gives 419,968 and zstd -19 gives 429,227 on the same bytes with nothing shared. As on English text, KUTE does not compete with a general-purpose compressor on size here. One run, sizes only. 4. Speed against Hugging Face tokenizers 0.23.2, same split pattern on both sides, one training per process, ten runs each, enwik8 with a vocabulary of 32,768 tokens. On a 24-thread desktop: KUTE 1.89 s (1.84 to 1.97), tokenizers 7.80 s (7.56 to 7.94). On an 8-thread laptop: KUTE 4.0 s (3.9 to 4.2), tokenizers 64.4 s (61.4 to 69.5). Paging and throttling were checked and ruled out on the laptop. Unexplained: on the laptop a tokenizers training takes about half as long after the same process has encoded a large batch. An earlier method that trained both libraries repeatedly in one process gave different ratios and is withdrawn as a basis for comparison. Two machines, one corpus, one vocabulary size. 5. A separate application. A standalone program using only the published Python package archived the Loghub-2.0 OpenSSH log (638,947 lines): the last fifth, unseen in training, went to 4,870,481 tokens and came back byte for byte. Of the top 20 event sequences discovered in the first four fifths, all occurred again in held-out sessions but only 8 kept half their learned rate or more. The project's reviewer session reproduced the report on a second machine from the written instructions, identical except for timings. 6. Defects found before release by the reviewer session and fixed: a limit on decoded size that counted symbols and not their bytes (a container of 1,398 bytes decoded to 103.7 MB under a 4 MiB limit); a streaming-discovery checkpoint with impossible counts was accepted on restore. Also in the release, tested but not measured against anything: mutual TLS between peers with policy denying by default; budgets on held vocabularies, tokens, inbox and decoded bytes, with a sustained-load test; strict JSON normalization; a read-only MCP server; a streaming discovery prototype with fixed state. Limits: the drift data is synthetic from one generator with a clean switch; one evolution step; the code corpus is one project in one language, with held-out files from the same code base; the fuzz tests are seeded mutation, not coverage-guided; the sustained-load test is one process and seconds long. Nothing is claimed about meaning, semantic understanding, usefulness to a model, or HRM. Not done from the plan: REST service, registry, Studio, representation research. Standing is "measured". Evidence files, pinned to the commit: - docs/release-0.7.md: sha256 5d44f46fc6a401c02dbe04b8f040053822a18610925a4acb36f09dcc141025c1 (8233 bytes) - benchmarks/README.md: sha256 e4f55af1fdd4d01031f385d3d170438ce1185a3736710ea18db152da18b0132d (40954 bytes) - benchmarks/results/evolution-drift-synthetic-160.json: sha256 8273bcf18b8aa64400e2e582fa34596c059a872e17a59263a7d582c29a27ad33 (9112 bytes) - benchmarks/results/evolution-drift-synthetic.json: sha256 27f42dd8f8c6e4ca0fadbc50fcf27cf646f6b800eda87dfe2eb4a22d61703e3d (9112 bytes) - benchmarks/evolution_drift.py: sha256 24f96ed9b6fb53dee909d231c5c051a7577e5e556fb27fd505e07d93e5495b1d (6412 bytes) - benchmarks/results/compressors-cpython-lib.json: sha256 23900480d21cf4076ec757208a28136bf1fd884c05a9642093620265d3b30890 (2452 bytes) - benchmarks/results/tokenizers-enwik8-10runs-matched-isolated-desktop.json: sha256 08e2704d9bbe205d1f061bec739ebc43a75d85e8ed99744958b915d21e35cb0e (1425 bytes) - benchmarks/results/tokenizers-enwik8-10runs-matched-isolated.json: sha256 4000f06873d09f23fbb2c2f70845b41a7e62c09455519517d337b9624814219e (1499 bytes) - examples/log-archive/report-openssh-kute-0.6.0.json: sha256 277f0fd7e7476ffe1ce161a27f36014ee5d06dd6456a0ba78cbe53aa6a2ef351 (6437 bytes) - examples/log-archive/log_archive.py: sha256 0f3613eea31efec5243263ea78f5bc9fb1f3628cf1e13039f7f0413c59633540 (7808 bytes) - crates/kute-protocol/tests/soak.rs: sha256 fa4ce6edc07254e248b9093c1147983fa25038d4c5336a7c8753a05d61f8dff8 (6999 bytes)
Evidence
- each release gate with its test or report, the limitations, and how to reproduce
5d44f46fc6a401c02dbe04b8f040053822a18610925a4acb36f09dcc141025c1 - method, results and their limits
e4f55af1fdd4d01031f385d3d170438ce1185a3736710ea18db152da18b0132d - frozen, evolved and retrained vocabularies on synthetic drifting data, ten seeds, frozen size of 160 tokens (JSON)
8273bcf18b8aa64400e2e582fa34596c059a872e17a59263a7d582c29a27ad33 - the same at a frozen size of 192 tokens (JSON)
27f42dd8f8c6e4ca0fadbc50fcf27cf646f6b800eda87dfe2eb4a22d61703e3d - generator and script for the drift runs
24f96ed9b6fb53dee909d231c5c051a7577e5e556fb27fd505e07d93e5495b1d - sizes on held-out source code against general-purpose compressors (JSON)
23900480d21cf4076ec757208a28136bf1fd884c05a9642093620265d3b30890 - training and encoding against tokenizers, matched split, one training per process, desktop (JSON)
08e2704d9bbe205d1f061bec739ebc43a75d85e8ed99744958b915d21e35cb0e - the same on the laptop (JSON)
4000f06873d09f23fbb2c2f70845b41a7e62c09455519517d337b9624814219e - report of the log archive application on the OpenSSH log (JSON)
277f0fd7e7476ffe1ce161a27f36014ee5d06dd6456a0ba78cbe53aa6a2ef351 - the application
0f3613eea31efec5243263ea78f5bc9fb1f3628cf1e13039f7f0413c59633540 - sustained-load test of the peer's budgets
fa4ce6edc07254e248b9093c1147983fa25038d4c5336a7c8753a05d61f8dff8
content hash ab1f092d2ee838d3d90a429a55a9bbf3d57c49915f547dcc2a4800225003907d
Machine check: machine-checked
PASSevidence 'each release gate with its test or report, the limitations, and how to reproduce': sha256 matches (8233 bytes)PASSevidence 'method, results and their limits': sha256 matches (40954 bytes)PASSevidence 'frozen, evolved and retrained vocabularies on synthetic drifting data, ten seeds, frozen size of 160 tokens (JSON)': sha256 matches (9112 bytes)PASSevidence 'the same at a frozen size of 192 tokens (JSON)': sha256 matches (9112 bytes)PASSevidence 'generator and script for the drift runs': sha256 matches (6412 bytes)PASSevidence 'sizes on held-out source code against general-purpose compressors (JSON)': sha256 matches (2452 bytes)PASSevidence 'training and encoding against tokenizers, matched split, one training per process, desktop (JSON)': sha256 matches (1425 bytes)PASSevidence 'the same on the laptop (JSON)': sha256 matches (1499 bytes)PASSevidence 'report of the log archive application on the OpenSSH log (JSON)': sha256 matches (6437 bytes)PASSevidence 'the application': sha256 matches (7808 bytes)PASSevidence 'sustained-load test of the peer's budgets': sha256 matches (6999 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.