Papers › REAM: Merging Improves Pruning of Experts in LLMs

REAM: Merging Improves Pruning of Experts in LLMs

6 Apr 2026arXiv:2604.04356added by Syntology

Saurav Jha, Maryam Hashemzadeh, Ali Saheb Pasand, Ali Parviz, Min-Joong Lee, Boris Knyazev

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Mixture-of-Experts (MoE) large language models (LLMs) are among the top-performing architectures. The largest models, often with hundreds of billions of parameters, pose significant memory challenges for deployment. Traditional approaches to reduce memory requirements include weight pruning and quantization. Motivated by the Router-weighted Expert Activation Pruning (REAP) that prunes experts, we propose a novel method, Router-weighted Expert Activation Merging (REAM). Instead of removing experts, REAM groups them and merges their weights, better preserving original performance. We evaluate REAM against REAP and other baselines across multiple MoE LLMs on diverse multiple-choice (MC) question answering and generative (GEN) benchmarks. Our results reveal a trade-off between MC and GEN performance that depends on the mix of calibration data. By controlling the mix of general, math and coding data, we examine the Pareto frontier of this trade-off and show that REAM often outperforms the baselines and in many cases is comparable to the original uncompressed models.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 20 code samples harvested from 1 repository linked to this paper: 20 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 1 honoured, 2 violated, 1 with no contract checked; 16 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 16 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 20 samples from 1 repository, 20 ran (4 with no instrument failure; 16 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 20 samples that ran has no recorded date.

zai-org/glm-simple-evals found in paper text by SyntologySyntology: 20 samples, 20 ran (16 instrument-failed) · 0 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested: 20 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 1 honoured, 2 violated, 1 with no contract checked; 16 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
2ran · violated contract
16ran · our draft was wrong
1ran

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zai-org/glm-simple-evals. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

zai-org/glm-simple-evals found in paper text by Syntology 20 samples, 20 ran (16 instrument-failed) · 0 unverified
are_equal_under_sympy in 7 papers evals/grading/grader.py ran · violated contract fingerprinted no licence file found · pointer only · bc7ab5cea18531ef · report fixture: signature ground_truth_normalized:str/0/str, given_normalized:str/0/str · returned bool · level recorded 2026-09-22
count_unknown_letters_in_expr in 14 papers evals/grading/grader.py ran · honoured contract fingerprinted no licence file found · pointer only · 368d3db6347269c3 · report fixture: signature expr:str/0/str · returned int · level recorded 2026-09-22
estimate_pass_at_k in 28 papers evals/livecodebench_eval.py ran · our draft was wrong no licence file found · pointer only · 9df10eb02582b09f · report fixture: signature num_samples:int/0/int, num_correct:ndarray/1/int, k:int/0/int · returned ndarray · level recorded 2026-09-25
extract_boxed_answer in 21 papers evals/math_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 09b470ed75dcda56 · report fixture: signature solution:str/0/str · returned str · level recorded 2026-09-25
extract_function_name evals/scicode_eval.py ran · our draft was wrong no licence file found · pointer only · 235feea5d71e36b7 · report fixture: signature function_header:str/0/str · returned str · level recorded 2026-09-25
extract_python_script evals/scicode_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 15619befbc78e624 · report fixture: signature response:str/0/str · returned str · level recorded 2026-09-25
format_example in 43 papers evals/mmlu_pro_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 24ff49e5a1d92207 · report fixture: signature question:str/0/str, options:list/1/str, cot_content:str/0/str · returned str · level recorded 2026-09-25
format_judge evals/hle_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 6ec9d0ddf8275c25 · report fixture: signature question:str/0/str, correct_answer:str/0/str, response:str/0/str · returned list · level recorded 2026-09-25
format_message in 7 papers evals/hle_eval.py ran · our draft was wrong no licence file found · pointer only · ba6ce7a502b69fbe · report fixture: signature question:dict/0/? · returned list · level recorded 2026-09-25
format_question in 11 papers evals/gpqa_eval.py ran · our draft was wrong no licence file found · pointer only · aaef2696f445a0a2 · report fixture: signature row:dict/0/?, auto_extract_answer:bool/0/bool · returned str · level recorded 2026-09-25
generate_random_string in 10 papers evaluate.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 707dde13249b8653 · report fixture: signature length:int/0/int · returned str · level recorded 2026-09-25
get_final_answer evals/common.py ran no licence file found · pointer only · bb0b145ae09c560c · report fixture: signature sampler:callable/0/?, equality_checker:callable/0/?, question:str/0/str, auto_extract_answer:bool/0/bool · returned tuple · level recorded 2026-09-25
get_function_from_code evals/scicode_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 75198a88e6bc8bc6 · report fixture: signature code_string:str/0/str, function_name:str/0/str · returned str · level recorded 2026-09-25
get_generic_question_template_answer evals/livecodebench_eval.py ran · our draft was wrong no licence file found · pointer only · a56c4308177361e9 · report fixture: signature row:dict/0/? · returned str · level recorded 2026-09-25
get_question_template_answer evals/livecodebench_eval.py ran · our draft was wrong no licence file found · pointer only · 3708234c4dc55955 · report fixture: signature row:dict/0/?, model_name:str/0/str · returned list · level recorded 2026-09-25
last_boxed_only_string in 46 papers evals/math_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 0b14c648516c38a7 · report fixture: signature string:str/0/str · returned str · level recorded 2026-09-22
normalize_answer in 304 papers evals/grading/math_normalize.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 101b1e54fcdadf90 · report fixture: signature answer:str/0/str · returned str · level recorded 2026-09-24
preprocess in 284 papers
census: 11 implementations from 13 papers, 10 distinct outputs across 5 buckets, one shared input per bucket
evals/mmlu_pro_eval.py ran · our draft was wrong no licence file found · pointer only · 6096219faae6b01a · report fixture: signature test_df:list/1/dict, group:bool/0/bool · returned list · level recorded 2026-09-25
remove_boxed in 48 papers evals/math_eval.py ran · our draft was wrong fingerprinted no licence file found · pointer only · f3bbe264b05aadd3 · report fixture: signature s:str/0/str · returned str · level recorded, date not recorded
should_allow_eval in 14 papers evals/grading/grader.py ran · violated contract no licence file found · pointer only · 95f02454eddf082a · report fixture: signature expr:str/0/str · returned bool · level recorded 2026-09-22

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.04356, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections