paper-with-me

Papers

Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy

2023-10-02 · Pingzhi Li, Zhenyu Zhang, Prateek Yadav, Yi-Lin Sung, Yu Cheng, Mohit Bansal, Tianlong Chen

Sparsely activated Mixture-of-Experts (SMoE) has shown promise to scale up the learning capacity of neural networks, however, they have issues like (a) High Memory Usage, due to duplication of the network layers into multiple copies as experts; and (b) Redundancy in Experts, as common learning-based routing policies suffer from representational collapse. Therefore, vanilla SMoE models are memory inefficient and non-scalable, especially for resource-constrained downstream scenarios. In this paper, we ask: Can we craft a compact SMoE model by consolidating expert information? What is the best recipe to merge multiple experts into fewer but more knowledgeable experts? Our pilot investigation reveals that conventional model merging methods fail to be effective in such expert merging for SMoE. The potential reasons are: (1) redundant information overshadows critical experts; (2) appropriate neuron permutation for each expert is missing to bring all of them in alignment. To address this, we propose M-SMoE, which leverages routing statistics to guide expert merging. Specifically, it starts with neuron permutation alignment for experts; then, dominant experts and their "group members" are formed; lastly, every expert group is merged into a single expert by utilizing each expert's activation frequency as their weight for merging, thus diminishing the impact of insignificant experts. Moreover, we observed that our proposed merging promotes a low dimensionality in the merged expert's weight space, naturally paving the way for additional compression. Hence, our final method, MC-SMoE (i.e., Merge, then Compress SMoE), further decomposes the merged experts into low-rank and structural sparse alternatives. Extensive experiments across 8 benchmarks validate the effectiveness of MC-SMoE. For instance, our MC-SMoE achieves up to 80% memory and a 20% FLOPs reduction, with virtually no loss in performance.

📄 PDF Abstract BibTeX arXiv:2310.01334

Code (1)

unites-lab/mc-smoe 공식 구현 pytorch

Tasks

Mixture-of-Experts

Similar Papers 제목 키워드 기반

Steered Mixture-of-Experts Autoencoder Design for Real-Time Image Modelling and Denoising

2023-05-05 · Elvira Fleig, Erik Bochinski, Thomas Sikora

Research in the past years introduced Steered Mixture-of-Experts (SMoE) as a framework to form sparse, edge-aware models for 2D- and higher dimensional pixel data, applicable to compression, denoising, and beyond, and ca…

DecoderDenoisingMixture-of-ExpertsSuper-Resolution

Edge-Aware Autoencoder Design for Real-Time Mixture-of-Experts Image Compression

2022-07-25 · Elvira Fleig, Jonas Geistert, Erik Bochinski, Rolf Jongebloed 외

Steered-Mixtures-of-Experts (SMoE) models provide sparse, edge-aware representations, applicable to many use-cases in image processing. This includes denoising, super-resolution and compression of 2D- and higher dimensio…

DenoisingImage CompressionImage ReconstructionMixture-of-Experts+1

Modeling Expert Interactions in Sparse Mixture of Experts via Graph Structures

2025-10-18 · Minh-Khoi Nguyen-Nhat, Rachel S. Y. Teo, Laziz Abdullaev, Maurice Mok 외 arxiv

Sparse Mixture of Experts (SMoE) has emerged as a promising solution to achieving unparalleled scalability in deep learning by decoupling model parameter count from computational cost. By activating only a small subset o…

SimSMoE: Solving Representational Collapse via Similarity Measure

2024-06-22 · Giang Do, Hung Le, Truyen Tran

Sparse mixture of experts (SMoE) have emerged as an effective approach for scaling large language models while keeping a constant computational cost. Regardless of several notable successes of SMoE, effective training su…

Mixture-of-Experts

ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restoration

2025-03-10 · Mengting Ai, Tianxin Wei, Yifan Chen, Zhichen Zeng 외

Mixture-of-Experts (MoE) Transformer, the backbone architecture of multiple phenomenal language models, leverages sparsity by activating only a fraction of model parameters for each input token. The sparse structure, whi…

Mixture-of-Experts