Metraipolis › archive › dc_6609d4dd4387

Accelerating LLM Inference via Vector Index Based Output Embeddings — arXiv:2608.27460

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.27460
License (as archived)
CC0-1.0
Archived
2026-10-17T10:56:22.954Z
SHA-256 of the archived text
6dbca12613780113c92d4323ecb54417ee9706f6c564b0598e46b1c27209a80a
Stable URL of this page
https://metraipolis.com/documento/dc_6609d4dd4387

How to cite

Accelerating LLM Inference via Vector Index Based Output Embeddings — arXiv:2608.27460 — arXiv (en), https://arxiv.org/abs/2608.27460 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6609d4dd4387 (Metraipolis archive dc_6609d4dd4387, sha256 6dbca12613780113c92d4323ecb54417ee9706f6c564b0598e46b1c27209a80a)
BibTeX
@misc{dc6609d4dd4387,
  title = {Accelerating LLM Inference via Vector Index Based Output Embeddings — arXiv:2608.27460},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.27460},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6609d4dd4387; sha256 6dbca12613780113c92d4323ecb54417ee9706f6c564b0598e46b1c27209a80a},
  year = {2026}
}

Archived text

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

Large output embedding matrices create a significant memory bandwidth bottleneck during autoregressive decoding, especially for compact LLMs with large multilingual vocabularies. We reformulate the output projection followed by top-k token selection as a maximum inner product search over token embeddings and replace the dense vocabulary projection with an HNSW-based vector index. The resulting output head retrieves only a small candidate set of high-scoring tokens and can be integrated into existing decoding pipelines by scattering retrieved logits into a sparse full-vocabulary tensor. On CPU inference with Gemma 3, Llama 3.2, and Qwen 3 models, our method substantially accelerates the output projection and improves end-to-end batch-size-one decoding throughput by up to 82% for Gemma 3 270M, while preserving generation quality under AlpacaEval evaluation. These results suggest approximate retrieval is a practical alternative to dense output projections in latency-sensitive small-batch decoding.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-31 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.27460 — 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-17T10:47:33.100Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).