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 Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2604.04356")

Code

Syntology Ran 6 of 20 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 20 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zai-org/glm-simple-evals found in paper text by Syntology 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; 6 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
2ran · our draft was wrong
1ran
14unverified

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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

are_equal_under_sympy zai-org/glm-simple-evals/evals/grading/grader.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · bc7ab5cea18531ef · report
count_unknown_letters_in_expr zai-org/glm-simple-evals/evals/grading/grader.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 368d3db6347269c3 · report
last_boxed_only_string zai-org/glm-simple-evals/evals/math_eval.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 0b14c648516c38a7 · report
normalize_answer zai-org/glm-simple-evals/evals/grading/math_normalize.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 101b1e54fcdadf90 · report
remove_boxed zai-org/glm-simple-evals/evals/math_eval.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · f3bbe264b05aadd3 · report
should_allow_eval zai-org/glm-simple-evals/evals/grading/grader.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 95f02454eddf082a · report
estimate_pass_at_k zai-org/glm-simple-evals/evals/livecodebench_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 9df10eb02582b09f · report
extract_boxed_answer zai-org/glm-simple-evals/evals/math_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 09b470ed75dcda56 · report
extract_function_name zai-org/glm-simple-evals/evals/scicode_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 235feea5d71e36b7 · report
extract_python_script zai-org/glm-simple-evals/evals/scicode_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 15619befbc78e624 · report
format_example zai-org/glm-simple-evals/evals/mmlu_pro_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 24ff49e5a1d92207 · report
format_judge zai-org/glm-simple-evals/evals/hle_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 6ec9d0ddf8275c25 · report
format_message zai-org/glm-simple-evals/evals/hle_eval.py found in paper text by Syntology unverified no licence file found · pointer only · ba6ce7a502b69fbe · report
format_question zai-org/glm-simple-evals/evals/gpqa_eval.py found in paper text by Syntology unverified no licence file found · pointer only · aaef2696f445a0a2 · report
generate_random_string zai-org/glm-simple-evals/evaluate.py found in paper text by Syntology unverified no licence file found · pointer only · 707dde13249b8653 · report
get_final_answer zai-org/glm-simple-evals/evals/common.py found in paper text by Syntology unverified no licence file found · pointer only · bb0b145ae09c560c · report
get_function_from_code zai-org/glm-simple-evals/evals/scicode_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 75198a88e6bc8bc6 · report
get_generic_question_template_answer zai-org/glm-simple-evals/evals/livecodebench_eval.py found in paper text by Syntology unverified no licence file found · pointer only · a56c4308177361e9 · report
get_question_template_answer zai-org/glm-simple-evals/evals/livecodebench_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 3708234c4dc55955 · report
preprocess zai-org/glm-simple-evals/evals/mmlu_pro_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 6096219faae6b01a · report

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