Abstract
Multimodal Large Language Models (MLLMs) face significant computational challenges due to the high number of visual tokens generated from images. This paper introduces Question-Guided Visual Token Compression (QG-VTC), a framework that leverages the user's query to identify and retain only task-relevant visual information. By integrating question-aware compression modules directly into the vision encoder, QG-VTC achieves an 8x reduction in visual tokens and a 70% decrease in computational load while maintaining performance comparable to state-of-the-art baselines.
Introduction
State-of-the-art MLLMs like LLaVA-1.5 process images by decomposing them into hundreds of visual tokens. While effective, this approach introduces significant redundancy, as many parts of an image are often irrelevant to a specific user query. This redundancy leads to high GPU memory consumption and slow inference speeds. QG-VTC addresses this by treating the user's question as a filter, identifying task-relevant regions and compressing the rest, thereby optimizing the vision-language pipeline at its source.
Methodology
QG-VTC introduces a hierarchical, question-aware compression mechanism embedded within the Vision Transformer (ViT) layers.
The process consists of four primary stages:
- Question Embedding: A pretrained text encoder and a learnable MLP project the user's question into the visual feature space.
- Correlation Scoring: The model computes the relevance of each visual token to the question embedding.
- Selective Retention & Soft Recycling: Instead of simple pruning, QG-VTC retains high-scoring tokens and merges lower-scoring ones using attention-weighted averaging. This "soft recycling" ensures the global context is preserved without the heavy token count.
- Hierarchical Compression: Tokens are reduced progressively across deeper layers (specifically layers 12 through 22) of the vision encoder, preventing the sharp performance drops often seen in aggressive one-step pruning.
Experimental Evaluation
The model was trained on the LCS-558K dataset and fine-tuned on LLaVA-Instruct-665K. Evaluation was conducted across six diverse benchmarks to ensure robustness: VQAv2, GQA, VisWiz, ScienceQA (SQA-I), VQA-T (OCR-focused), and POPE (hallucination assessment).
Results and Discussion
QG-VTC demonstrates exceptional efficiency-performance trade-offs. It matches the performance of the uncompressed LLaVA-1.5 baseline while utilizing only 72 tokens—an 8x compression from the original 576.
Key findings include:
- Computational Efficiency: Average computational load (measured in TFlops) was reduced to approximately 30% of the original baseline.
- Superior Reasoning: On VQA-T and POPE benchmarks, QG-VTC outperformed several state-of-the-art compression methods like FastV and VisionZip, even when those methods used more tokens. This suggests that question-guided filtering helps the model focus on critical details, such as text-in-image recognition, while reducing object hallucinations.
- Graceful Degradation: The model maintains over 91% of its original accuracy even when pushed to extreme limits, such as compressing down to just 36 tokens.
Conclusion
QG-VTC demonstrates that visual "importance" in VQA is highly query-dependent. By recycling rather than simply discarding tokens, the model maintains spatial awareness while drastically reducing computational overhead. Future research will explore dynamic compression rates tailored to image complexity and optimization for specific edge-computing hardware.
Summary updated