Metraipolis › archive › dc_1a9cb6bffa42

Beyond Accuracy: Prefix-Invariant Realizations of Low-Precision Fast Matrix Multiplication — arXiv:2609.39816

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.39816
License (as archived)
CC0-1.0
Archived
2026-10-07T13:46:40.597Z
SHA-256 of the archived text
ea97f5deffcdb7c530ba2bc9e215dc509ad4d0f55892e4fa50f2682e8e20abab
Stable URL of this page
https://metraipolis.com/documento/dc_1a9cb6bffa42

How to cite

Beyond Accuracy: Prefix-Invariant Realizations of Low-Precision Fast Matrix Multiplication — arXiv:2609.39816 — arXiv (en), https://arxiv.org/abs/2609.39816 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1a9cb6bffa42 (Metraipolis archive dc_1a9cb6bffa42, sha256 ea97f5deffcdb7c530ba2bc9e215dc509ad4d0f55892e4fa50f2682e8e20abab)
BibTeX
@misc{dc1a9cb6bffa42,
  title = {Beyond Accuracy: Prefix-Invariant Realizations of Low-Precision Fast Matrix Multiplication — arXiv:2609.39816},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.39816},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1a9cb6bffa42; sha256 ea97f5deffcdb7c530ba2bc9e215dc509ad4d0f55892e4fa50f2682e8e20abab},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.39816. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Fast matrix multiplication saves multiplications through exact cancellation, but rounding sums that mix token rows can leave contributions from later tokens in earlier language model outputs. This threatens prefix invariance, which multiple-choice likelihood scoring relies on: a scored likelihood must depend only on its allowed prefix. On Qwen2.5-14B-Instruct, two fast FP8 realizations repaired to ordinary-looking accuracy still change the answers chosen by likelihood on 5.83% and 10.00% of 240 OpenBookQA items when only the text after the allowed prefix is replaced with the bf16 model's own greedy continuation. Both row-local controls, the bf16 model and a deployed FP8 matrix multiplication kernel, change none. Accuracy thus does not certify prefix invariance, and the stability criteria we analyze cannot tell realizations apart: across all 512 sign variants of two-level Strassen they stay constant while teacher-forced perplexities span a 772.4$\times$ range on the same model. We therefore construct certified realizations of two-level Strassen on bounded integer codes that quantize token rows independently, then mix and cancel exactly before rescaling, using 49 block multiplications instead of 64. Our certificate guarantees bitwise equality to a prescribed row-local classical int8 operator at the same quantization specification, so every certified realization inherits its prefix invariance. Certification thus turns realization choice into a pure cost decision: which certified realization runs can no longer change a single scored likelihood.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-01 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.39816 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T13:18:10.465Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).