paper-with-me

Papers

Dynamic-LLaVA: Efficient Multimodal Large Language Models via Dynamic Vision-language Context Sparsification

2024-12-01 · Wenxuan Huang, Zijie Zhai, Yunhang Shen, Shaosheng Cao, Fei Zhao, Xiangfeng Xu, Zheyu Ye, Shaohui Lin

Multimodal Large Language Models (MLLMs) have achieved remarkable success in vision understanding, reasoning, and interaction. However, the inference computation and memory increase progressively with the generation of output tokens during decoding, directly affecting the efficacy of MLLMs. Existing methods attempt to reduce the vision context redundancy to achieve efficient MLLMs. Unfortunately, the efficiency benefits of the vision context reduction in the prefill stage gradually diminish during the decoding stage. To address this problem, we proposed a dynamic vision-language context sparsification framework Dynamic-LLaVA, which dynamically reduces the redundancy of vision context in the prefill stage and decreases the memory and computation overhead of the generated language context during decoding. Dynamic-LLaVA designs a tailored sparsification inference scheme for different inference modes, i.e., prefill, decoding with and without KV cache, to achieve efficient inference of MLLMs. In practice, Dynamic-LLaVA can reduce computation consumption by $\sim$75\% in the prefill stage. Meanwhile, throughout the entire generation process of MLLMs, Dynamic-LLaVA reduces the $\sim$50\% computation consumption under decoding without KV cache, while saving $\sim$50\% GPU memory overhead when decoding with KV cache, due to the vision-language context sparsification. Extensive experiments also demonstrate that Dynamic-LLaVA achieves efficient inference for MLLMs with negligible understanding and generation ability degradation or even performance gains compared to the full-context inference baselines. Code is available at https://github.com/Osilly/dynamic_llava .

📄 PDF Abstract BibTeX arXiv:2412.00876

Code (1)

osilly/dynamic_llava 공식 구현 pytorch

Tasks

GPUVisual Question Answering

Similar Papers 제목 키워드 기반

HyperLLaVA: Dynamic Visual and Language Expert Tuning for Multimodal Large Language Models

2024-03-20 · Wenqiao Zhang, Tianwei Lin, Jiang Liu, Fangxun Shu 외

Recent advancements indicate that scaling up Multimodal Large Language Models (MLLMs) effectively enhances performance on downstream multimodal tasks. The prevailing MLLM paradigm, \emph{e.g.}, LLaVA, transforms visual f…

MMEVisual Question Answering

Spec-LLaVA: Accelerating Vision-Language Models with Dynamic Tree-Based Speculative Decoding

2025-09-15 · Mingxiao Huo, Jiayi Zhang, Hewei Wang, Jinfeng Xu 외 arxiv

Vision-Language Models (VLMs) enable powerful multimodal reasoning but suffer from slow autoregressive inference, limiting their deployment in real-time applications. We introduce Spec-LLaVA, a system that applies specul…

Multimodal Reasoning

LLaVA-Octopus: Unlocking Instruction-Driven Adaptive Projector Fusion for Video Understanding

2025-01-09 · Jiaxing Zhao, Boyuan Sun, Xiang Chen, Xihan Wei 외

In this paper, we introduce LLaVA-Octopus, a novel video multimodal large language model. LLaVA-Octopus adaptively weights features from different visual projectors based on user instructions, enabling us to leverage the…

Language ModelingLanguage ModellingLarge Language ModelMultimodal Large Language Model+3

Dynamic Pyramid Network for Efficient Multimodal Large Language Model

2025-03-26 · Hao Ai, Kunyi Wang, Zezhou Wang, Hao Lu 외

Multimodal large language models (MLLMs) have demonstrated impressive performance in various vision-language (VL) tasks, but their expensive computations still limit the real-world application. To address this issue, rec…

Language ModelingLanguage ModellingLarge Language ModelMultimodal Large Language Model

Rec-GPT4V: Multimodal Recommendation with Large Vision-Language Models

2024-02-13 · Yuqing Liu, Yu Wang, Lichao Sun, Philip S. Yu

The development of large vision-language models (LVLMs) offers the potential to address challenges faced by traditional multimodal recommendations thanks to their proficient understanding of static images and textual dyn…

Image ComprehensionMultimodal Recommendation