Metraipolis › archive › dc_0d5a8eb3e934
Unified Lookup-Table Inference with Signed-Digit K/V Caches for Ternary LLMs — arXiv:2608.03229
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.03229
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T12:32:15.758Z
- SHA-256 of the archived text
071a4e55c4705bd2197fd81bd20fc9fde26660198ed740bb00bb90b5df7d7f28- Stable URL of this page
https://metraipolis.com/documento/dc_0d5a8eb3e934
How to cite
Unified Lookup-Table Inference with Signed-Digit K/V Caches for Ternary LLMs — arXiv:2608.03229 — arXiv (en), https://arxiv.org/abs/2608.03229 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0d5a8eb3e934 (Metraipolis archive dc_0d5a8eb3e934, sha256 071a4e55c4705bd2197fd81bd20fc9fde26660198ed740bb00bb90b5df7d7f28)
BibTeX
@misc{dc0d5a8eb3e934,
title = {Unified Lookup-Table Inference with Signed-Digit K/V Caches for Ternary LLMs — arXiv:2608.03229},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.03229},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0d5a8eb3e934; sha256 071a4e55c4705bd2197fd81bd20fc9fde26660198ed740bb00bb90b5df7d7f28},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03229. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Ternary LLMs make their weight-dominated projections compact and efficient, but attention remains a mismatch: its K/V cache is created online and is typically processed by a separate higher-precision engine. Compressing this cache alone does not resolve the mismatch. To execute attention with the same lookup-table machinery as ternary projections, values accumulated in one reduction must retain a compatible representation and scale. This requirement also differs for keys and values during causal decoding, because newly generated values may belong to an unfinished cache block. This work develops a unified lookup-table inference approach for ternary LLMs. It stores runtime K/V states as scaled multi-plane signed digits organized around the reduction structure of attention. The resulting digit planes are consumed directly by activation-derived tables, avoiding dense K/V materialization between cache storage and attention computation. The design combines online K/V formation, bounded handling of incomplete value blocks, and a shared multi-stream datapath for Linear projections and attention. A constraint-guided search selects the representation and execution policy for a target quality--efficiency trade-off. Experiments on native and post-training ternary models validate the approach across cache capacity, model quality, and hardware efficiency. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AR). Categorie arXiv: Hardware Architecture (cs.AR). Pagina del lavoro: https://arxiv.org/abs/2608.03229 — 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-31T12:19:28.454Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).