paper-with-me

홈 › Papers

$γ-$MoD: Exploring Mixture-of-Depth Adaptation for Multimodal Large Language Models

2024-10-17 · Yaxin Luo, Gen Luo, Jiayi Ji, Yiyi Zhou, Xiaoshuai Sun, Zhiqiang Shen, Rongrong Ji

Despite the significant progress in multimodal large language models (MLLMs), their high computational cost remains a barrier to real-world deployment. Inspired by the mixture of depths (MoDs) in natural language processing, we aim to address this limitation from the perspective of ``activated tokens''. Our key insight is that if most tokens are redundant for the layer computation, then can be skipped directly via the MoD layer. However, directly converting the dense layers of MLLMs to MoD layers leads to substantial performance degradation. To address this issue, we propose an innovative MoD adaptation strategy for existing MLLMs called $\gamma$-MoD. In $\gamma$-MoD, a novel metric is proposed to guide the deployment of MoDs in the MLLM, namely rank of attention maps (ARank). Through ARank, we can effectively identify which layer is redundant and should be replaced with the MoD layer. Based on ARank, we further propose two novel designs to maximize the computational sparsity of MLLM while maintaining its performance, namely shared vision-language router and masked routing learning. With these designs, more than 90% dense layers of the MLLM can be effectively converted to the MoD ones. To validate our method, we apply it to three popular MLLMs, and conduct extensive experiments on 9 benchmark datasets. Experimental results not only validate the significant efficiency benefit of $\gamma$-MoD to existing MLLMs but also confirm its generalization ability on various MLLMs. For example, with a minor performance drop, i.e., -1.5%, $\gamma$-MoD can reduce the training and inference time of LLaVA-HR by 31.0% and 53.2%, respectively.

📄 PDF Abstract BibTeX arXiv:2410.13859

Code (0)

등록된 구현이 없습니다.

Tasks

Visual Question Answering

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Source-Free Domain Adaptation for RGB-D Semantic Segmentation with Vision Transformers

2023-05-23 · Giulia Rizzoli, Donald Shenaj, Pietro Zanuttigh

With the increasing availability of depth sensors, multimodal frameworks that combine color information with depth data are gaining interest. However, ground truth data for semantic segmentation is burdensome to provide,…

Domain AdaptationSegmentationSemantic SegmentationSource-Free Domain Adaptation+1

Student's t Distribution based Estimation of Distribution Algorithms for Derivative-free Global Optimization

2016-08-12 · Bin Liu, Shi Cheng, Yuhui Shi

In this paper, we are concerned with a branch of evolutionary algorithms termed estimation of distribution (EDA), which has been successfully used to tackle derivative-free global optimization problems. For existent EDA …

Evolutionary Algorithmsglobal-optimization

Aria: An Open Multimodal Native Mixture-of-Experts Model

2024-10-08 · Dongxu Li, Yudong Liu, HaoNing Wu, Yue Wang 외

Information comes in diverse modalities. Multimodal native AI models are essential to integrate real-world information and deliver comprehensive understanding. While proprietary multimodal native models exist, their lack…

Instruction FollowingMixture-of-ExpertsVideo Question Answering

Advancing Multimodal Large Language Models in Chart Question Answering with Visualization-Referenced Instruction Tuning

2024-07-29 · Xingchen Zeng, Haichuan Lin, Yilin Ye, Wei Zeng

Emerging multimodal large language models (MLLMs) exhibit great potential for chart question answering (CQA). Recent efforts primarily focus on scaling up training datasets (i.e., charts, data tables, and question-answer…

Chart Question AnsweringQuestion Answering

Feast Your Eyes: Mixture-of-Resolution Adaptation for Multimodal Large Language Models

2024-03-05 · Gen Luo, Yiyi Zhou, Yuxin Zhang, Xiawu Zheng 외

Despite remarkable progress, existing multimodal large language models (MLLMs) are still inferior in granular visual recognition. Contrary to previous works, we study this problem from the perspective of image resolution…

TextVQAVisual Question Answering