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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lan, Zhibin, Niu, Liqiang, Meng, Fandong, Li, Wenbo, Zhou, Jie, Su, Jinsong
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913976751751168
author Lan, Zhibin
Niu, Liqiang
Meng, Fandong
Li, Wenbo
Zhou, Jie
Su, Jinsong
author_facet Lan, Zhibin
Niu, Liqiang
Meng, Fandong
Li, Wenbo
Zhou, Jie
Su, Jinsong
contents 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).
format Preprint
id arxiv_https___arxiv_org_abs_2410_02745
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AVG-LLaVA: An Efficient Large Multimodal Model with Adaptive Visual Granularity
Lan, Zhibin
Niu, Liqiang
Meng, Fandong
Li, Wenbo
Zhou, Jie
Su, Jinsong
Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
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).
title AVG-LLaVA: An Efficient Large Multimodal Model with Adaptive Visual Granularity
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2410.02745