Saved in:
Bibliographic Details
Main Authors: Lei, Lei, Gu, Jie, Ma, Xiaokang, Tang, Chu, Chen, Jingmin, Xu, Tong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.01097
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913083963736064
author Lei, Lei
Gu, Jie
Ma, Xiaokang
Tang, Chu
Chen, Jingmin
Xu, Tong
author_facet Lei, Lei
Gu, Jie
Ma, Xiaokang
Tang, Chu
Chen, Jingmin
Xu, Tong
contents Existing Multimodal Large Language Models (MLLMs) process a large number of visual tokens, leading to significant computational costs and inefficiency. Instruction-related visual token compression demonstrates strong task relevance, which aligns well with MLLMs ultimate goal of instruction following. Previous works generally assume that visual tokens achieve better vision-language alignment in the shallow layers of LLMs, which have led to task-related token compression being primarily applied in intermediate LLM layers. In contrast, our study reveals that with proper selection, task-related token compression is feasible at the input stage of LLM with negligible performance loss. This new paradigm significantly reduces task-irrelevant visual tokens and its model-agnostic design enables application without modifying the LLM architecture. Specifically, we suggest that explainability methods for transformer-based architechtures can evaluate the global importance of each visual token with respect to the given instruction, which can effectively guide the task-related token compression for MLLMs. Furthermore, we propose to learn a mapping from the attention map of the first LLM layer to the explanation results, thereby avoiding the need for a full inference pass. Interestingly, this mapping can be learned using a simple and lightweight convolutional network, whose training is efficient and independent of MLLMs. Extensive experiments on 13 image and video benchmarks across three leading MLLMs (Qwen2-VL, LLaVA-OneVision, and VILA1.5) demonstrate the remarkable effectiveness and strong generalization of our approach. Additionally, our new compression paradigm achieves faster inference with reductions in both prefilling time and KV cache memory.
format Preprint
id arxiv_https___arxiv_org_abs_2506_01097
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Task-Related Token Compression in Multimodal Large Language Models from an Explainability Perspective
Lei, Lei
Gu, Jie
Ma, Xiaokang
Tang, Chu
Chen, Jingmin
Xu, Tong
Computer Vision and Pattern Recognition
Existing Multimodal Large Language Models (MLLMs) process a large number of visual tokens, leading to significant computational costs and inefficiency. Instruction-related visual token compression demonstrates strong task relevance, which aligns well with MLLMs ultimate goal of instruction following. Previous works generally assume that visual tokens achieve better vision-language alignment in the shallow layers of LLMs, which have led to task-related token compression being primarily applied in intermediate LLM layers. In contrast, our study reveals that with proper selection, task-related token compression is feasible at the input stage of LLM with negligible performance loss. This new paradigm significantly reduces task-irrelevant visual tokens and its model-agnostic design enables application without modifying the LLM architecture. Specifically, we suggest that explainability methods for transformer-based architechtures can evaluate the global importance of each visual token with respect to the given instruction, which can effectively guide the task-related token compression for MLLMs. Furthermore, we propose to learn a mapping from the attention map of the first LLM layer to the explanation results, thereby avoiding the need for a full inference pass. Interestingly, this mapping can be learned using a simple and lightweight convolutional network, whose training is efficient and independent of MLLMs. Extensive experiments on 13 image and video benchmarks across three leading MLLMs (Qwen2-VL, LLaVA-OneVision, and VILA1.5) demonstrate the remarkable effectiveness and strong generalization of our approach. Additionally, our new compression paradigm achieves faster inference with reductions in both prefilling time and KV cache memory.
title Task-Related Token Compression in Multimodal Large Language Models from an Explainability Perspective
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.01097