图像分类中的专家混合:最佳平衡点在哪里?
Mixture of Experts in Image Classification: What's the Sweet Spot?
AI总结:
本文系统分析MoE层在图像分类中的集成,发现适度参数激活最优,且MoE对中小模型最有效,Last-2放置和线性路由器为最佳设计选择。
摘要:
专家混合(Mixture-of-Experts, MoE)模型在跨领域的参数高效扩展方面显示出巨大潜力。然而,它们在图像分类中的应用仍然有限,通常需要十亿级规模的数据集才能具备竞争力。在这项工作中,我们探索了使用开放数据集将MoE层集成到图像分类架构中的方法。我们针对不同的MoE配置和模型规模进行了系统分析。我们发现,每个样本适度的参数激活在性能和效率之间提供了最佳权衡。然而,随着激活参数数量的增加,MoE的优势会减弱。我们的分析为视觉MoE设计提供了若干实用见解。首先,MoE层最有效地增强了小型和中型模型,而对于大容量网络,其增益逐渐减少,并未重新定义ImageNet的最先进性能。其次,Last-2放置启发式方法提供了最稳健的跨架构选择,而Every-2方法在视觉变换器(Vision Transformer, ViT)上略优,并且随着数据和模型规模的增加,这两种方法仍然有效。第三,更大的数据集(例如ImageNet-21k)允许ConvNeXt有效利用多达16个专家,而无需改变放置方式,因为增加的数据减少了过拟合并促进了更广泛的专家专业化。最后,简单的线性路由器表现最佳,这表明额外的路由复杂性并未带来一致的收益。
英文摘要:
Mixture-of-Experts (MoE) models have shown promising potential for parameter-efficient scaling across domains. However, their application to image classification remains limited, often requiring billion-scale datasets to be competitive. In this work, we explore the integration of MoE layers into image classification architectures using open datasets. We conduct a systematic analysis across different MoE configurations and model scales. We find that moderate parameter activation per sample provides the best trade-off between performance and efficiency. However, as the number of activated parameters increases, the benefits of MoE diminish. Our analysis yields several practical insights for vision MoE design. First, MoE layers most effectively strengthen tiny and mid-sized models, while gains taper off for large-capacity networks and do not redefine state-of-the-art ImageNet performance. Second, a Last-2 placement heuristic offers the most robust cross-architecture choice, with Every-2 slightly better for Vision Transform (ViT), and both remaining effective as data and model scale increase. Third, larger datasets (e.g., ImageNet-21k) allow more experts, up to 16, for ConvNeXt to be utilized effectively without changing placement, as increased data reduces overfitting and promotes broader expert specialization. Finally, a simple linear router performs best, suggesting that additional routing complexity yields no consistent benefit.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。