Efficient Large Multi-modal Models via Visual Context Compression

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Jieneng, Ye, Luoxin, He, Ju, Wang, Zhao-Yang, Khashabi, Daniel, Yuille, Alan
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916484554424320
author Chen, Jieneng
Ye, Luoxin
He, Ju
Wang, Zhao-Yang
Khashabi, Daniel
Yuille, Alan
author_facet Chen, Jieneng
Ye, Luoxin
He, Ju
Wang, Zhao-Yang
Khashabi, Daniel
Yuille, Alan
contents While significant advancements have been made in compressed representations for text embeddings in large language models (LLMs), the compression of visual tokens in multi-modal LLMs (MLLMs) has remained a largely overlooked area. In this work, we present the study on the analysis of redundancy concerning visual tokens and efficient training within these models. Our initial experiments show that eliminating up to 70% of visual tokens at the testing stage by simply average pooling only leads to a minimal 3% reduction in visual question answering accuracy on the GQA benchmark, indicating significant redundancy in visual context. Addressing this, we introduce Visual Context Compressor, which reduces the number of visual tokens to enhance training and inference efficiency without sacrificing performance. To minimize information loss caused by the compression on visual tokens while maintaining training efficiency, we develop LLaVolta as a light and staged training scheme that incorporates stage-wise visual context compression to progressively compress the visual tokens from heavily to lightly compression during training, yielding no loss of information when testing. Extensive experiments demonstrate that our approach enhances the performance of MLLMs in both image-language and video-language understanding, while also significantly cutting training costs and improving inference efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2406_20092
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient Large Multi-modal Models via Visual Context Compression
Chen, Jieneng
Ye, Luoxin
He, Ju
Wang, Zhao-Yang
Khashabi, Daniel
Yuille, Alan
Computer Vision and Pattern Recognition
While significant advancements have been made in compressed representations for text embeddings in large language models (LLMs), the compression of visual tokens in multi-modal LLMs (MLLMs) has remained a largely overlooked area. In this work, we present the study on the analysis of redundancy concerning visual tokens and efficient training within these models. Our initial experiments show that eliminating up to 70% of visual tokens at the testing stage by simply average pooling only leads to a minimal 3% reduction in visual question answering accuracy on the GQA benchmark, indicating significant redundancy in visual context. Addressing this, we introduce Visual Context Compressor, which reduces the number of visual tokens to enhance training and inference efficiency without sacrificing performance. To minimize information loss caused by the compression on visual tokens while maintaining training efficiency, we develop LLaVolta as a light and staged training scheme that incorporates stage-wise visual context compression to progressively compress the visual tokens from heavily to lightly compression during training, yielding no loss of information when testing. Extensive experiments demonstrate that our approach enhances the performance of MLLMs in both image-language and video-language understanding, while also significantly cutting training costs and improving inference efficiency.
title Efficient Large Multi-modal Models via Visual Context Compression
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.20092