Reproduce “EVA: Accelerating LLM Decoding via an Efficient Vector Quantization Architecture” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Bowen Duan, Cong Guo, Chiyue Wei, Haoxuan Shan, Yuzhe Fu, Xinhua Chen, Yifan Xu, Ziyue Zhang and 3 more
Duke University researchers developed EVA, an efficient vector quantization architecture that reconfigures LLM decoding from memory-bound matrix-vector operations into compute-efficient matrix multiplications, simultaneously resolving memory bank conflicts during codebook lookups. This specialized hardware-software co-design enables up to 11.17x decoding speedup and 7.17x energy efficiency improvement over prior state-of-the-art methods, while maintaining competitive accuracy even at 2-bit weight precision.
Key insights
- Recasting the VQ decoding process from element-wise weight reconstruction to a codebook-centric matrix multiplication significantly boosts arithmetic intensity and hardware utilization.
- Performing lookups on a pre-computed "output codebook" instead of the main weight codebook inherently eliminates memory bank conflicts, resolving a major VQ bottleneck with an 8x reduction in SRAM storage and bandwidth demands.
- A co-designed processing element capable of dynamic reconfiguration allows efficient execution of both high-precision VQ decoding and low-precision prefill workloads on the same hardware without significant overhead.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.