TensorX
返回文献探索

Paper · arXiv 2409.19291

CLIP-MoE: Towards Building Mixture of Experts for CLIP with Diversified Multiplet Upcycling

Jihai Zhang, Xiaoye Qu, Tong Zhu, Yu Cheng

21 upvotesSeptember 28, 2024arXiv 预印本
AI 摘要

Diversified Multiplet Upcycling (DMU) enhances CLIP models by fine-tuning them to capture diverse feature spaces, transforming them into CLIP-MoEs, and demonstrating superior performance in various zero-shot tasks and MLLM benchmarks.

Contrastive Language-Image Pre-trainingCLIPDiversified Multiplet UpcyclingDMUFeature spacesFeed-Forward NetworkFFNCLIP-MoEzero-shot retrievalzero-shot image classificationMultimodal Large Language ModelMLLMvision encoder

Abstract

In recent years, Contrastive Language-Image Pre-training (CLIP) has become a cornerstone in multimodal intelligence. However, recent studies have identified that the information loss in the CLIP encoding process is substantial, and CLIP tends to capture only coarse-grained features from the input. This deficiency significantly limits the ability of a single CLIP model to handle images rich in visual detail. In this work, we propose a simple yet effective model-agnostic strategy, Diversified Multiplet Upcycling (DMU), for CLIP. DMU efficiently fine-tunes a series of CLIP models that capture different feature spaces, from a dense pre-trained CLIP checkpoint, sharing parameters except for the Feed-Forward Network (FFN). These models can then be transformed into a CLIP-MoE with a larger model capacity, leading to significantly enhanced performance with minimal computational overhead. To the best of our knowledge, Diversified Multiplet Upcycling is the first approach to introduce sparsely activated MoE into CLIP foundation models. Extensive experiments demonstrate the significant performance of CLIP-MoE across various zero-shot retrieval, zero-shot image classification tasks, and downstream Multimodal Large Language Model (MLLM) benchmarks by serving as a vision encoder. Furthermore, Diversified Multiplet Upcycling enables the conversion of any dense CLIP model into CLIP-MoEs, which can seamlessly replace CLIP in a plug-and-play manner without requiring further adaptation in downstream frameworks. Through Diversified Multiplet Upcycling, we aim to provide valuable insights for future research on developing more efficient and effective multimodal learning systems.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
CLIP-MoE: Towards Building Mixture of Experts for CLIP with Diversified Multiplet Upcycling | TensorX