{"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-2608-02703","title":"ARCHead: Activation-Metric Residual Correction for Large Language Model Output Heads","arxiv_id":"2608.02703","date":"2026-08-03","proceeding":null,"authors":["Şuayp Talha Kocabay","Talha Rüzgar Akkuş","Kamer Ali Yuksel"],"abstract":"Weight-only quantization substantially reduces the storage of large language model (LLM) transformer blocks, but practical backends often retain the final language-modeling head (LM-head) in BF16 or FP16. Quantizing this projection naively can strongly perturb the vocabulary-logit distribution. We present ARCHead, a packed LM-head compressor that combines a quantized low-rank core, group-wise INT4 residuals, and a low-rank correction fitted in an activation-derived metric. ARCHead stores no dense BF16 head and reduces persistent LM-head storage by 3.7-3.9x. On Qwen3-8B-Base, it uses 25.6% of BF16 head storage while attaining 1.007 relative perplexity; storage-matched naive INT4 yields 1.14-1.16. Replacing the BF16 head left by AWQ or bitsandbytes adds only 0.006-0.007 cross-entropy, with less than 2% throughput change in our measurements. ARCHead therefore complements block quantizers by compressing the large output projection they can leave untouched. Code is available at https://github.com/suayptalha/archead.","url_abs":"https://arxiv.org/abs/2608.02703","url_pdf":"https://arxiv.org/pdf/2608.02703","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":{"atlas_url":"https://app.syntology.ai/?focus=2608.02703","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.02703"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/suayptalha/archead","reach":null}],"summary":{"ran":3,"ran_fixture":3,"ran_draft_wrong":13,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":20,"ran":19,"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":"475fd2cc8062ba47","entry":"ARCHeadPacked","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.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":"475fd2cc8062ba47"}},{"code_sha256_prefix":"7be9cd1d083b3f12","entry":"CompressedHead","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.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":"7be9cd1d083b3f12"}},{"code_sha256_prefix":"e220e73affd6d602","entry":"LMHeadConfig","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.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":"e220e73affd6d602"}},{"code_sha256_prefix":"6f7f45db26e94ae1","entry":"_pad_cols","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6f7f45db26e94ae1"}},{"code_sha256_prefix":"f99f8e31bb13809c","entry":"compress_gptq","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f99f8e31bb13809c"}},{"code_sha256_prefix":"5783ff7794088771","entry":"int4_dq_per_row","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5783ff7794088771"}},{"code_sha256_prefix":"7fd8f73785679df0","entry":"int4_dq_per_row_packed","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7fd8f73785679df0"}},{"code_sha256_prefix":"0ad3c214dca74fd6","entry":"int8_dq_per_row","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0ad3c214dca74fd6"}},{"code_sha256_prefix":"66bcf153b0a61ad2","entry":"int8_dq_per_row_packed","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"66bcf153b0a61ad2"}},{"code_sha256_prefix":"e7dbcf53f4f4270a","entry":"lowrank_rand","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7dbcf53f4f4270a"}},{"code_sha256_prefix":"09c2bd65d9e48901","entry":"make_kernel_fused_dequant_row","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"09c2bd65d9e48901"}},{"code_sha256_prefix":"df6233d5637db742","entry":"make_metric","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"df6233d5637db742"}},{"code_sha256_prefix":"87be27c4f4213c52","entry":"pack_int4","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"87be27c4f4213c52"}},{"code_sha256_prefix":"f9c7158e8e46dfe1","entry":"quant_group","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9c7158e8e46dfe1"}},{"code_sha256_prefix":"b4bce7789e31d1c4","entry":"quant_group_packed","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b4bce7789e31d1c4"}},{"code_sha256_prefix":"073277642104b103","entry":"quantize_Wd_per_row_int8","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"073277642104b103"}},{"code_sha256_prefix":"37348d6bf052f8bd","entry":"sc4_quant_R","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"37348d6bf052f8bd"}},{"code_sha256_prefix":"9427bb505bf281e0","entry":"sc4_quant_R_packed","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9427bb505bf281e0"}},{"code_sha256_prefix":"8d0cffe63ad4024f","entry":"unpack_int4","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d0cffe63ad4024f"}},{"code_sha256_prefix":"b3f401d1268426a1","entry":"compress_lm_head","repo":"suayptalha/archead","repo_kind":"found_in_text","path":"archead/lm_head_methods.py","file_url":"https://github.com/suayptalha/archead/blob/HEAD/archead/lm_head_methods.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":"b3f401d1268426a1"}}]},"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":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[{"leaderboard":"/sota/question-answering-on-truthfulqa","task":"Question Answering","dataset":"TruthfulQA","model":"ARCHead","row_label":"ARCHead","configuration":null,"configuration_in_model":false,"configuration_not_shown_because":null,"values":{"MC2":"0.5408"},"where_in_paper":"Table 10, row “ARCHead”","caption_head":"Table 10: Downstream accuracy sanity check. Small differences should not be…","cells":[{"column":"MC2","cell_text":"0.5408","column_header":"TruthfulQA MC2","table_index_0based":9,"row":4,"col":2}]}],"not_placed":{"boards":2,"rejected_by_independent_check":0,"refused_by_a_rule":2,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}