面向基于MoE的多模态大语言模型的模态感知专家剪枝
研究论文 · 2026/11/11
混合专家(MoE)使多模态大语言模型(MLLMs)能够高效扩展容量,但专家参数主导内存,尽管每个token仅激活少量专家:在现代MoE-MLLMs中,专家参数占模型大小的90%以上(例如,InternVL3.5-30B-A3B和Qwen3-VL-30B-A3B在BF16下约58GB中的54GB)。专家剪枝已成为一种有效的压缩策略,但现有方法统一聚合token的重要性,忽略了同一专家在视觉与语言处理中可能扮演不同角色。为此,我们提出MAEP(模态感知专家剪枝),一种无需训练的框架,在单次前向传播中按模态分解专家重要性。MAEP引入(1)Delta-H输出(ΔH),一种重分布感知的度量,衡量移除专家时MoE输出的变化;(2)低注意力视觉token作为视觉侧剪枝信号,该信号数据集稳定:其专家重要性排名在不同数据集间保持稳定。文本侧重要性作为保留信号,视觉侧重要性作为剪枝信号,专家跨层全局排名。在三个基于MoE的MLLMs上跨多模态和文本基准的实验表明,MAEP在多数多模态基准上优于模态无关基线,同时在纯文本任务上保持竞争力,将BF16专家权重占用减少约27GB(约占总内存的47%),使得约58GB模型的全部权重占用可容纳于单个40GB GPU中。代码见https://github.com/nota-github/MAEP。
该论文针对MoE多模态大模型内存瓶颈,提出无需训练的模态感知专家剪枝方法,显著降低内存占用(减少约47%),使大模型能在单卡40GB GPU上部署,且在多模态任务上性能优于现有基线,具有较高的实用价值和创新性。
Mixture-of-Experts (MoE) enables multimodal large language models (MLLMs) to scale capacity efficiently, but expert parameters dominate memory even though only a few experts are activated per token: they account for over 90% of model size in modern MoE-MLLMs (e.g., 54 GB out of about 58 GB in BF16 for InternVL3.5-30B-A3B and Qwen3-VL-30B-A3B). Expert pruning has emerged as an effective compression strategy, but existing methods aggregate importance uniformly across tokens, ignoring that the same expert may serve different roles for vision versus language processing. To address this, we propose MAEP (Modality-Aware Expert Pruning), a training-free framework that decomposes expert importance by modality in a single forward pass. MAEP introduces (1) Delta-H Output (ΔH), a redistribution-aware metric measuring the MoE output change when an expert is removed, and (2) low-attention vision tokens as a vision-side pruning signal that is dataset-stable: its expert-importance ranking remains stable across different datasets. Text-side importance serves as a preservation signal while vision-side importance serves as a pruning signal, and experts are ranked globally across layers. Experiments on three MoE-based MLLMs across multimodal and text benchmarks show that MAEP outperforms modality-agnostic baselines on the majority of multimodal benchmarks while remaining competitive on text-only tasks, reducing the BF16 expert weight footprint by about 27 GB (about 47% of total memory) so that the full weight footprint of an approximately 58 GB model fits within a single 40 GB GPU. Code is available at https://github.com/nota-github/MAEP.