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.
1 source · cross-referenced
- 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.
- Oct 13, 2026 · Google DeepMind — Blog
Google DeepMind details safety guardrails for Gemini 4 Argon’s cyberdefense and biology capabilities
Trust76 - Oct 13, 2026 · Google DeepMind — Blog
Google DeepMind unveils Gemini 4 Argon for robotics with 87% score on Embodied Reasoning benchmark
Trust78 - Oct 13, 2026 · arXiv cs.CL
Researchers propose Elastic Latent Recurrence to unify recurrent and non-recurrent language models without inference-time trade-offs
Trust79