cd /news/large-language-models/accelerating-llm-inference-via-vecto… · home topics large-language-models article
[ARTICLE · art-116192] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Accelerating LLM Inference via Vector Index Based Output Embeddings

Researchers propose replacing dense output projections in LLMs with an HNSW-based vector index to speed up token selection, achieving up to 82% faster end-to-end decoding throughput for Gemma 3 270M on CPU while preserving generation quality under AlpacaEval evaluation.

read1 min views1 publishedAug 31, 2026

arXiv:2608.27460v1 Announce Type: new Abstract: 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.

── more in #large-language-models 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/accelerating-llm-inf…] indexed:0 read:1min 2026-08-31 ·