Metraipolis › archive › dc_a3a928baed2d
N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Models — arXiv:2610.21810
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.21810
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T10:02:17.855Z
- SHA-256 of the archived text
f378af4bbc7f0ce7b87795c310ba216c1d2b7ceff17956df1cfb18298110cc51- Stable URL of this page
https://metraipolis.com/documento/dc_a3a928baed2d
How to cite
N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Models — arXiv:2610.21810 — arXiv (en), https://arxiv.org/abs/2610.21810 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a3a928baed2d (Metraipolis archive dc_a3a928baed2d, sha256 f378af4bbc7f0ce7b87795c310ba216c1d2b7ceff17956df1cfb18298110cc51)
BibTeX
@misc{dca3a928baed2d,
title = {N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Models — arXiv:2610.21810},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.21810},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a3a928baed2d; sha256 f378af4bbc7f0ce7b87795c310ba216c1d2b7ceff17956df1cfb18298110cc51},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.21810. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Conditional memory expands language-model capacity through selective lookup, but the full embedding table must remain available for every possible input. We introduce Conditional Program (CP), a compressed representation that reconstructs only the rows an input requests. CP represents each row by a short code and a local scale, with a reconstruction program shared across the table. We instantiate this representation with a Gaussian trellis, norm restoration and independently decodable row records. CP's two-bit code lowers output KL by 41--63\% relative to 2-bit round-to-nearest. Analysis across three trained n-gram memory families shows that Gaussian-like coordinate statistics coexist with learned relationships among rows; at matched storage budgets, the shared trellis outperforms the fitted codebooks and low-rank residual variants we test. For DeepSeek, it reduces table storage from 203GB to 51GB, leaving room for larger workloads when the table is kept on GPU. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2610.21810 — 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-16T08:44:47.764Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).