{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-24144","title":"EVA: Accelerating LLM Decoding via an Efficient Vector Quantization Architecture","arxiv_id":"2605.24144","date":"2026-05-22","proceeding":null,"authors":["Bowen Duan","Cong Guo","Chiyue Wei","Haoxuan Shan","Yuzhe Fu","Xinhua Chen","Yifan Xu","Ziyue Zhang","Changchun Zhou","Hai Li","Yiran Chen"],"abstract":"Large Language Models (LLMs) have achieved impressive performance across diverse domains but remain inefficient during the autoregressive decoding phase. Unlike the prefill stage, which employs compute-bound GEMM operations, decoding executes a sequence of small GEMV-like computations that are memory-bound and underutilize modern accelerators. Weight-only vector quantization (VQ) has emerged as an effective compression technique that clusters model weights into a shared codebook and replaces the original weight matrix with low-precision indices, enabling 2-bit-level weight compression. While this approach substantially reduces model size and memory bandwidth, it still suffers from two critical inefficiencies: the low utilization of GEMV computation and frequent memory conflicts during codebook lookups. This paper presents EVA, an efficient vector-quantization-based architecture that addresses both computational and memory bottlenecks in LLM decoding. EVA builds on a simple yet effective insight that combines input-codebook computation with conflict-free memory access. Instead of reconstructing quantized weights from indices, EVA directly performs dot products between input vectors and the weight codebook, transforming LLM decoding from GEMV to GEMM computation. It then performs structured lookups from an intermediate output buffer, eliminating memory bank conflicts. We further design a hardware-software co-optimized architecture specialized for LLM decoding while remaining compatible with conventional prefill execution. Evaluations show that EVA achieves up to 11.17$\\times$ speedup and 7.17$\\times$ higher energy efficiency compared with the SOTA lookup-based architecture, while preserving arithmetic precision after vector quantization. Our code is available at https://github.com/dbw6/Eva.git.","url_abs":"https://arxiv.org/abs/2605.24144","url_pdf":"https://arxiv.org/pdf/2605.24144","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2605.24144","atlas_url":"https://app.syntology.ai/?focus=2605.24144","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.24144"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/dbw6/Eva","reach":null}],"summary":{"ran":9,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":13,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"60eaa38c50c59a9b","entry":"compute_average_index_counts","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/aqlm_analysis.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/aqlm_analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"60eaa38c50c59a9b"}},{"code_sha256_prefix":"1fce10211e64cfff","entry":"extract_weight_indices","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/aqlm_analysis.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/aqlm_analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1fce10211e64cfff"}},{"code_sha256_prefix":"81f3ffa3b24921b4","entry":"fit_faiss_kmeans","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/src/kmeans.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/src/kmeans.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"81f3ffa3b24921b4"}},{"code_sha256_prefix":"a4b3eb2d0a0ea0d4","entry":"is_model_for_causal_lm","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/src/modelutils.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/src/modelutils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a4b3eb2d0a0ea0d4"}},{"code_sha256_prefix":"170f525d725f54b6","entry":"load_yaml","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/config.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"170f525d725f54b6"}},{"code_sha256_prefix":"3ad03bb7784f1436","entry":"load_yaml_directory","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/config.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3ad03bb7784f1436"}},{"code_sha256_prefix":"681820c06d56adbd","entry":"maybe_get_0th_element","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/src/utils.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"681820c06d56adbd"}},{"code_sha256_prefix":"8ddb42ef2b21568b","entry":"resolve_repo_path","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/config.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ddb42ef2b21568b"}},{"code_sha256_prefix":"66c1130f2c759f58","entry":"traces_from_lengths","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/datasets.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/datasets.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"66c1130f2c759f58"}},{"code_sha256_prefix":"aebbe1775db58c48","entry":"get_mean_nbits_by_codebook","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/src/utils.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aebbe1775db58c48"}},{"code_sha256_prefix":"a2ef1e1285e2c83a","entry":"load_aqlm_model","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/model_loader.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/model_loader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2ef1e1285e2c83a"}},{"code_sha256_prefix":"1c28ff61d7b14b57","entry":"load_quantized_model","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"simulator/aqlm_analysis.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/simulator/aqlm_analysis.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c28ff61d7b14b57"}},{"code_sha256_prefix":"e546469491f4fb36","entry":"maybe_script","repo":"dbw6/Eva","repo_kind":"found_in_text","path":"algorithm/src/utils.py","file_url":"https://github.com/dbw6/Eva/blob/HEAD/algorithm/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e546469491f4fb36"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":3,"rejected_by_independent_check":0,"refused_by_a_rule":3,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}