atlas

Research map / Architectures and efficiency / Mixture of experts

Retraining-free Merging of Sparse MoE via Hierarchical Clustering

ICML 2025 · Architectures and efficiency › Mixture of experts · approach: Efficient MoE language model systems · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes HC-SMoE, a retraining-free, task-agnostic expert merging method that clusters SMoE experts by average-linkage hierarchical clustering on their mean outputs over a C4 calibration set and merges them by frequency-weighted averaging.

Problem

Reducing the memory footprint of sparse mixture-of-experts LLMs without retraining and in a task-agnostic way, since existing expert pruning and merging methods are either costly, task-specific, or rely on router statistics.

Approach

Use average expert outputs over a calibration dataset as the similarity metric for expert clustering, group experts with deterministic average-linkage hierarchical clustering instead of one-shot or K-means grouping, then merge each cluster by frequency-weighted averaging of expert weights while keeping the router unchanged.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Merge Qwen 60 experts to 45 using HC-SMoE instead of the strongest pruning baselineQwen1.5-MoE-A2.7B-Chat · Qwen 45x2.7B, zero-shotAverage accuracy: 0.5502 -> 0.5716Helped
Merge Qwen 60 experts to 30 using HC-SMoE instead of the strongest pruning baselineQwen1.5-MoE-A2.7B-Chat · Qwen 30x2.7B, zero-shotAverage accuracy: 0.4528 -> 0.5223Helped
Merge Mixtral 8 experts to 6 using HC-SMoE instead of the strongest pruning baselineMixtral 8x7B · Mixtral 6x7B, zero-shotAverage accuracy: 0.6363 -> 0.6425Helped
Merge Mixtral 8 experts to 4 using HC-SMoE instead of O-pruneMixtral 8x7B · Mixtral 4x7B, zero-shotAverage accuracy: 0.5728 -> 0.5877Helped
Use expert outputs rather than router-logits for hierarchical clustering (ablation)HC-SMoE · Qwen 45x2.7B, zero-shotAverage accuracy: 0.3153 -> 0.5459Helped
Use expert outputs rather than weights for hierarchical clustering (ablation)HC-SMoE · Qwen 45x2.7B, zero-shotAverage accuracy: 0.5234 -> 0.5459Helped
Replace hierarchical clustering with K-means using expert-output metric and random initialization (ablation)Qwen 30x2.7B · Zero-shotAverage accuracy: 0.4518 -> 0.4988Hurt
Replace hierarchical clustering with K-means using expert-output metric and fixed initialization (ablation)Qwen 30x2.7B · Zero-shotAverage accuracy: 0.3198 -> 0.4988Hurt
Replace frequency-weighted merging with average merging (ablation)HC-SMoE · Qwen 30x2.7B, zero-shotAverage accuracy: 0.5223 -> 0.5240Helped
Replace hard hierarchical clustering with soft Fuzzy-Cmeans clustering (ablation)HC-SMoE · Qwen 45x2.7B, zero-shotAverage accuracy: 0.5716 -> 0.3240Hurt
Replace hard hierarchical clustering with soft Fuzzy-Cmeans clustering (ablation)HC-SMoE · Qwen 30x2.7B, zero-shotAverage accuracy: 0.5223 -> 0.3239Hurt
Use MATH rather than C4 for calibration (ablation)HC-SMoE · Qwen 45x2.7B, zero-shotAverage accuracy: 0.5716 -> 0.5725No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: C4 MATH CodeQA MedMCQA

Benchmarks: ARC-c ARC-e BoolQ HellaSwag MMLU OpenBookQA RTE Winogrande MedMCQA

Metrics: zero-shot accuracy average accuracy precision recall F1

Baselines: O-prune S-prune F-prune M-SMoE K-means Fuzzy C-Means ZipIt

Builds on: ZipIt O-prune S-prune M-SMoE K-means

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy