SonicBoom

Output Decay (OD)

Every accelerated decode number is published with its Output Decay: how much of the engine’s own answer the acceleration changes.

Definition

For one engine, one model file, one prompt set, greedy decoding (temperature 0) and a fixed max-token budget:

OD 0% means the accelerated answer is byte-for-byte the answer without acceleration. OD 30% means that, on average, the last 30% of the answer is no longer what the model gives without acceleration: once two greedy streams diverge, everything after the divergence point is a different answer, so the shared prefix is what survives.

Run-to-run OD uses the same formula with both sides taken under the same settings, from two fresh processes. A non-zero value means the engine is not reproducible even without changing a setting.

The metric is measured per engine against itself, over bytes of text (not token ids), so it is comparable across engines and tokenizers.

Tool

tools/output-decay reads two directories of per-prompt outputs, pairs the files by name, and prints the per-prompt OD with the first divergence offset, the overall OD, and a one-line RESULT summary. It links nothing from SonicBoom, so it can be run on any engine’s saved outputs:

build/tools/output-decay/output-decay reference-dir compared-dir

A run-to-run OD is the same command with two same-setting runs as the two directories.

tools/bench.sh MODEL --spec feeds the tool the code-edit arms it already measures: codeedit-chat.scm --out writes each turn’s generated text, and the arms table shows OD spec-auto vs spec-off next to the rates, plus the run-to-run floor between two auto reps. The community benchmark (tools/community-bench.sh) runs that command as its code-editing step, so its log carries the OD column too.

The published cross-engine Output Decay and chat rows use the Output Decay harness, which runs every engine through one prompt snapshot and computes the same OD over its outputs; community-bench.sh --od drives it. Which harness owns which published metric is in benchmarks.md.

Prompt sets