Abstract
Modern Multimodal Large Language Models (MLLMs) achieve high performance at the cost of extreme computational overhead, often requiring thousands of visual tokens per image. We introduce G-Prune, a training-free, graph-based pruning method that preserves essential visual context from both foreground and background. By modeling tokens as graph nodes and employing information propagation, G-Prune achieves over 60% reduction in FLOPs and nearly 3x throughput speedup while maintaining superior accuracy on complex benchmarks compared to existing state-of-the-art methods.
Introduction
Modern MLLMs, such as LLaVA-NeXT, achieve state-of-the-art performance by processing images at high resolutions. However, this comes at a steep price: a single image can be decomposed into nearly 3,000 visual tokens, leading to massive computational overhead (e.g., ~18.5 TFLOPs per inference).
Existing token pruning methods often focus exclusively on "important" foreground objects. This research argues that such an approach is insufficient. Empirical analysis reveals that while random pruning may not significantly impact general benchmarks, it severely degrades performance on fine-grained tasks like TextVQA. The key insight is that MLLMs require a mixture of both foreground and background tokens to maintain spatial context and handle varying task difficulties. G-Prune addresses this by identifying the most representative tokens across the entire image without requiring expensive re-training.
Methodology: The G-Prune Framework
G-Prune is a "plug-and-play" method that treats visual tokens as nodes in a graph to identify redundancy and importance through semantic relationships.
- Graph Construction: The method calculates the cosine similarity between all visual tokens. Tokens with high semantic similarity are connected by edges, naturally clustering tokens that represent the same object or texture.
- Information Propagation: Each token is assigned an initial importance score based on its $l_2$-norm. G-Prune then iteratively propagates these scores across the graph.
- Degree Normalization: To prevent large, redundant areas (like expansive backgrounds) from dominating the selection, scores are normalized by the node's degree. This ensures the algorithm selects the most representative token for each cluster rather than just the most frequent ones.
- Pruning: The top-$k$ tokens with the highest normalized scores are retained, and the remainder are discarded before being processed by the LLM.
Experimental Results
The researchers evaluated G-Prune using LLaVA-NeXT-8B across eight diverse benchmarks, including General VQA (GQA, VQA2.0), MLLM Benchmarks (MME, POPE, MMBench-EN), and Text-oriented VQA (ChartQA, DocVQA, TextVQA).
Efficiency and Performance
- Computational Savings: G-Prune reduced FLOPs by 63.57% on VQA2.0 and TextVQA.
- Throughput: Inference throughput increased from 2.49 samples/sec to 6.91 samples/sec (a 2.77x speedup) at a 90% pruning ratio.
- Accuracy Retention: Unlike competing methods like ToMe or FastV, which experience performance "cliffs" at high pruning ratios, G-Prune remains robust. At 90% pruning on TextVQA, G-Prune achieved 59.31% accuracy, significantly outperforming ToMe (38.36%) and FastV (53.53%).
Discussion and Key Insights
- The Background Matters: Unlike traditional CV tasks, MLLMs utilize background tokens for spatial reasoning and context. G-Prune is specifically designed to preserve these "contextual delegates."
- Redundancy as a Graph Problem: By using graph propagation, G-Prune effectively summarizes complex objects into their most informative tokens, eliminating the need for dozens of redundant tokens for a single object.
- Robustness: G-Prune demonstrates superior stability at extreme pruning ratios, particularly in text-heavy tasks where fine-grained detail is critical.
Conclusion
G-Prune offers a highly efficient, training-free solution for scaling MLLMs to high-resolution inputs. By leveraging graph-based information propagation, it maintains high accuracy while drastically reducing computational costs. Future work may extend this approach to video-based MLLMs, where temporal redundancy offers even greater opportunities for pruning.
Summary updated