paper-with-me

홈 › Papers

Demystifying the Compression of Mixture-of-Experts Through a Unified Framework

2024-06-04 · Shwai He, Daize Dong, Liang Ding, Ang Li

Scaling large language models has revolutionized the performance across diverse domains, yet the continual growth in model size poses significant challenges for real-world deployment. The Mixture of Experts (MoE) approach addresses this by dynamically selecting and activating only a subset of experts, significantly reducing computational costs while maintaining high performance. However, MoE introduces potential redundancy (e.g., parameters) and extra costs (e.g., communication overhead). Despite numerous compression techniques developed for mitigating the redundancy in dense models, the compression of MoE remains under-explored. We first bridge this gap with a cutting-edge unified framework that not only seamlessly integrates mainstream compression methods but also helps systematically understand MoE compression. This framework approaches compression from two perspectives: Expert Slimming which compresses individual experts and Expert Trimming which removes structured modules. Within this framework, we explore the optimization space unexplored by existing methods,and further introduce aggressive Expert Trimming techniques, i.e., Layer Drop and Block Drop, to eliminate redundancy at larger scales. Based on these insights,we present a comprehensive recipe to guide practitioners in compressing MoE effectively. Extensive experimental results demonstrate the effectiveness of the compression methods under our framework and the proposed recipe, achieving a 6.05x speedup and only 20.0GB memory usage while maintaining over 92% of performance on Mixtral-8x7B. Code is released at \url{https://github.com/DaizeDong/Unified-MoE-Compression}.

📄 PDF Abstract BibTeX arXiv:2406.02500

Code (1)

daizedong/unified-moe-compression 공식 구현 pytorch

Tasks

Mixture-of-Experts

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Demystifying Softmax Gating Function in Gaussian Mixture of Experts

2023-05-05 · NeurIPS 2023 11

Understanding the parameter estimation of softmax gating Gaussian mixture of experts has remained a long-standing open problem in the literature. It is mainly due to three fundamental theoretical challenges associated wi…

Mixture-of-Expertsparameter estimation

Cluster-Driven Expert Pruning for Mixture-of-Experts Large Language Models

2025-04-10 · Hongcheng Guo, Juntao Yao, Boyang Wang, Junjia Du 외

Mixture-of-Experts (MoE) architectures have emerged as a promising paradigm for scaling large language models (LLMs) with sparse activation of task-specific experts. Despite their computational efficiency during inferenc…

Computational EfficiencyMixture-of-Experts

Sparse Video Representation Using Steered Mixture-of-Experts With Global Motion Compensation

2022-09-13 · Rolf Jongebloed, Erik Bochinski, Thomas Sikora

Steered-Mixtures-of Experts (SMoE) present a unified framework for sparse representation and compression of image data with arbitrary dimensionality. Recent work has shown great improvements in the performance of such mo…

Mixture-of-ExpertsMotion Compensation

MoECodec: Image Compression for joint human and machine perception via Mixture-of-Experts

2026-06-19 · Jiancheng Zhao, Xiang Ji, Yifan Zhan, Zunian Wan 외 arxiv

Image compression for machines calls for a unified codec that serves multiple downstream vision tasks. Existing approaches either adopt task-specific end-to-end designs, raising parameter and deployment overhead, or rely…

Image ReconstructionImage Compression

Unified Multimodal Visual Tracking with Dual Mixture-of-Experts

2026-05-05 · Lingyi Hong, Jinglun Li, Xinyu Zhou, Kaixun Jiang 외 arxiv

Multimodal visual object tracking can be divided into to several kinds of tasks (e.g. RGB and RGB+X tracking), based on the input modality. Existing methods often train separate models for each modality or rely on pretra…

Visual Object TrackingModel CompressionVisual Tracking