AnyExperts: 多模态语言模型中基于需求的专家分配方法
AnyExperts: On-Demand Expert Allocation for Multimodal Language Models with Mixture of Expert
AI总结:
AnyExperts通过按需分配专家资源,提高多模态MoE模型的效率和性能。
摘要:
多模态混合专家(MoE)模型为构建可扩展且高效的大型视觉-语言系统提供了一条有前途的路径。然而,现有方法依赖于刚性的路由策略(通常每个token激活固定数量的专家),忽略了模态间语义重要性的内在异质性。这导致了计算资源分配不优,冗余token消耗的资源与关键token一样多。为了解决这一问题,我们提出了AnyExperts,一种新的按需、预算感知的动态路由框架,根据token的语义重要性分配可变数量的专家槽位。关键的是,为了防止计算资源无限制增长,每个token的总槽位被限制在固定范围内,并且每个槽位由真正的专家或虚拟专家填充,其中虚拟专家的份额被限制在很小的上限(例如20%)。模型随后会动态平衡每个token的真专家与虚拟专家的比例,将更多的真专家分配给语义丰富的区域,并在冗余内容上更多依赖虚拟专家。在视觉理解、音频理解和NLP理解等多样任务上评估,AnyExperts在相同计算预算下提高了性能。值得注意的是,在通用图像/视频任务中,它在40%的真专家激活减少的情况下实现了相当的准确性;在文本密集型任务(OCR和NLP)中,它在保持性能的同时减少了10%的真专家使用量。这些结果表明,细粒度、基于重要性的专家分配显著提高了多模态MoE模型的效率和有效性。
英文摘要:
Multimodal Mixture-of-Experts (MoE) models offer a promising path toward scalable and efficient large vision-language systems. However, existing approaches rely on rigid routing strategies (typically activating a fixed number of experts per token) ignoring the inherent heterogeneity in semantic importance across modalities. This leads to suboptimal compute allocation, where redundant tokens consume as many resources as critical ones. To address this, we propose AnyExperts, a novel on-demand, budget-aware dynamic routing framework that allocates a variable total number of expert slots per token based on its semantic importance. Crucially, to prevent uncontrolled compute growth, the total slots per token are constrained within a fixed range, and each slot is filled by either a real expert or a virtual expert, with the virtual share capped at a small maximum (e.g., 20%). The model then adaptively balances the real-to-virtual ratio per token, assigning more real experts to semantically rich regions and relying more on virtual experts for redundant content. Evaluated across diverse tasks in visual understanding, audio understanding, and NLP understanding, AnyExperts improves performance under the same compute budget. Notably, on general image/video tasks, it achieves comparable accuracy with 40% fewer real expert activations; on text-dense tasks (OCR and NLP), it maintains performance while reducing real expert usage by 10%. These results demonstrate that fine-grained, importance-driven expert allocation significantly enhances both the efficiency and effectiveness of multimodal MoE models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。