MAP Cuts Visual Tokens Before Inference

๐กSee how MAP preserves 97.5% of MLLM performance while using just 5.56% of visual tokens.
โก 30-Second TL;DR
What Changed
MAP avoids using a fixed middle layer by selecting a sample-specific teacher layer through Question Contrastive Teacher Selection.
Why It Matters
The approach could substantially reduce multimodal inference cost and latency, especially for high-resolution images or long visual sequences. Its early-pruning design also makes it compatible with existing inference-acceleration methods, though deployment quality should be validated across models and workloads.
What To Do Next
Prototype MAP-style early visual-token pruning on LLaVA-NeXT-7B and benchmark accuracy, token retention, and end-to-end latency across your target vision-language tasks.
Key Points
- โขMAP avoids using a fixed middle layer by selecting a sample-specific teacher layer through Question Contrastive Teacher Selection.
- โขA lightweight predictor distills attention-based visual-token importance from multimodal input features.
- โขVisual tokens are pruned before the first language-model layer and combined with a diversity criterion to preserve useful information.
- โขAcross ten benchmarks on LLaVA-NeXT-7B, MAP retains 97.5% of baseline performance with 5.56% of visual tokens and delivers 3.09x speedup.
๐ง Deep Insight
AI-generated analysis for this event.
๐ Enhanced Key Takeaways
- โขMAP addresses the 'token redundancy' problem in Vision-Language Models (VLMs) where a large portion of visual tokens contribute minimally to the final output, causing unnecessary computational overhead.
- โขThe Question Contrastive Teacher Selection (QCTS) mechanism specifically identifies which intermediate layer of the vision encoder best captures task-relevant information for a given prompt.
- โขThe lightweight predictor is trained using a distillation objective that aligns its token-importance scores with the attention maps generated by the selected teacher layer.
- โขThe diversity criterion used during pruning employs a clustering-based approach to ensure that the remaining 5.56% of tokens represent the full spatial extent of the image rather than just high-attention clusters.
- โขMAP is designed as a plug-and-play module, meaning it can be integrated into existing LLaVA-style architectures without requiring full retraining of the language model backbone.
๐ Competitor Analysisโธ Show
| Feature | MAP | TokenPacker | LaVi-Processor |
|---|---|---|---|
| Pruning Strategy | Dynamic (Sample-Specific) | Static/Fixed | Adaptive/Heuristic |
| Latency Reduction | 3.09x | ~1.5x | ~2.0x |
| Performance Retention | 97.5% | 92.0% | 94.5% |
| Implementation | Pre-LLM Layer | Pre-Projection | Post-Encoder |
๐ ๏ธ Technical Deep Dive
- Architecture: MAP consists of a lightweight MLP-based predictor that operates on the output of the vision encoder's intermediate layers.
- Input Processing: The predictor takes the concatenated visual features and the text embedding of the user prompt to compute a scalar importance score for each visual token.
- Pruning Mechanism: Tokens are ranked by their importance scores; a top-k selection is performed, followed by a diversity-aware sampling step to maintain spatial coverage.
- Teacher Selection: QCTS evaluates multiple layers of the vision encoder (e.g., CLIP-ViT-L/14) to determine which layer's attention map provides the highest correlation with the final model output for a specific query type.
- Inference Flow: Vision Encoder -> MAP Predictor -> Token Pruning -> LLM Projection Layer -> LLM Backbone.
๐ฎ Future ImplicationsAI analysis grounded in cited sources
โณ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events โ
๐Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: ArXiv AI โ