Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

AVG-LLaVA: An Efficient Large Multimodal Model with Adaptive Visual Granularity

About

Recently, large multimodal models (LMMs) have achieved significant advancements. When dealing with high-resolution images, dominant LMMs typically divide them into multiple local images and a global image, leading to a large number of visual tokens. In this work, we introduce AVG-LLaVA, an LMM that can adaptively select the appropriate visual granularity based on the input image and instruction. Specifically, we first apply the multiple pooling layers to obtain visual tokens at different granularities. Then we propose a visual granularity router, which includes a Transformer layer, an MLP layer, and a voter layer, used to select the appropriate visual granularity based on the image and instruction. Furthermore, we put forward RGLF, a novel training paradigm that aims at aligning the granularity predicted by the router with the preferences of the LMM, without the need for additional manually annotated data. Extensive experiments and analysis show that AVG-LLaVA achieves superior performance across 11 benchmarks, as well as significantly reduces the number of visual tokens and speeds up inference (e.g., an 85.3% reduction in visual tokens and a 2.53$\times$ increase in inference speed on the AI2D benchmark).

Zhibin Lan, Liqiang Niu, Fandong Meng, Wenbo Li, Jie Zhou, Jinsong Su• 2024

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringTextVQA
Accuracy67.1
1117
Visual Question AnsweringVizWiz
Accuracy59.8
1043
Visual Question AnsweringGQA
Accuracy63
963
Multimodal EvaluationMME--
557
Multimodal UnderstandingMMMU
Accuracy37.4
275
Visual Question AnsweringChartQA
Accuracy66.3
239
Visual Question AnsweringScienceQA
Accuracy71.1
210
Visual Question AnsweringAI2D
Accuracy67.3
174
Hallucination EvaluationPOPE
Accuracy87.4
132
Multimodal EvaluationMMBench
MMB Score69.9
118
Showing 10 of 11 rows

Other info

Code

Follow for update