Skip to content
Research · Sep 13, 2026

Research proposes replacing dense output projections with vector indexing to accelerate LLM inference

Method replaces large output embedding matrices with an HNSW-based vector index, cutting output projection latency and boosting batch-size-one throughput by up to 82% on CPU for compact models like Gemma 3 270M without degrading generation quality.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Replaces dense output projection with an HNSW-based vector index to reduce memory bandwidth bottlenecks during autoregressive decoding.
  • Evaluated on CPU with Gemma 3, Llama 3.2, and Qwen 3, improving end-to-end batch-size-one decoding throughput by up to 82% for Gemma 3 270M.
  • Preserves generation quality under AlpacaEval while accelerating output projection in latency-sensitive small-batch decoding.

A new arXiv preprint proposes replacing dense output embedding matrices with an HNSW-based vector index to mitigate a memory bandwidth bottleneck during autoregressive decoding. The authors reformulate the standard output projection followed by top-k token selection as a maximum inner product search over token embeddings, retrieving only a small candidate set of high-scoring tokens.

The proposed output head integrates into existing decoding pipelines by scattering retrieved logits into a sparse full-vocabulary tensor. On CPU inference with compact models including Gemma 3, Llama 3.2, and Qwen 3, the method substantially accelerates the output projection step and improves end-to-end batch-size-one decoding throughput by up to 82% for Gemma 3 270M.

The authors report that generation quality is preserved under AlpacaEval evaluation, suggesting approximate retrieval can serve as a practical alternative to dense output projections in latency-sensitive small-batch decoding scenarios.

Sources
  1. 01arXiv cs.CL — Accelerating LLM Inference via Vector Index Based Output Embeddings
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.