Abstract
Large Vision-Language Models (LVLMs) face significant computational bottlenecks due to the quadratic scaling of Transformer architectures with high-resolution visual tokens. We present PyramidDrop, a novel strategy that progressively reduces visual redundancy across model layers. By maintaining full token density in shallow layers for global context and discarding less relevant tokens in deeper layers, PyramidDrop achieves a 40% reduction in training time and 55% fewer inference FLOPs with minimal performance impact across 16 diverse benchmarks.
Introduction
Large Vision-Language Models (LVLMs) like LLaVA are powerful but computationally heavy. A single high-resolution image can be decomposed into thousands of visual tokens, creating a massive bottleneck for both training and real-time deployment. Previous attempts to solve this usually involved compressing tokens before they entered the model or dropping them at the very first layers. However, early layers require a "global view" of the image to understand context; dropping tokens too early leads to permanent information loss, hurting the model's ability to answer complex or fine-grained questions.
Methodology
PyramidDrop is a "pyramid-shaped" reduction strategy based on the observation that LVLMs process images layer-by-layer, shifting from global perception to localized focus.
Multi-Stage Dropping
Instead of a one-time cut, PyramidDrop partitions the model into several stages (e.g., 4 stages). At the end of each stage, a predefined ratio ($\lambda$) of tokens is discarded. Empirical studies suggest that $S=4$ stages and a dropping ratio of $\lambda=0.5$ represent a "sweet spot" for balancing efficiency and accuracy.
Lightweight Ranking
To decide which tokens to keep, the model performs a simple similarity calculation between the image tokens and the last token of the user's instruction. This ensures the model retains the most important parts of the image needed to answer the specific question.
As illustrated in the figure above, shallow layers (e.g., Layer 2) are highly sensitive to token loss and maintain a uniform attention distribution. As the data moves deeper (e.g., Layer 16 and Layer 24), the model becomes remarkably robust to token reduction, and attention naturally narrows to regions relevant to the user's prompt (concentrated distribution).
Key Results
The authors evaluated PyramidDrop across 16 benchmarks, including general perception (MME, MMBench), VQA (TextVQA, GQA), and document understanding (DocVQA, ChartQA), primarily using LLaVA-1.5 and LLaVA-NeXT architectures.
- Efficiency: For the LLaVA-NeXT-7B model, PyramidDrop achieved a 40.4% reduction in training time (from 366 to 218 GPU hours) and a 55% reduction in inference FLOPs.
- Performance: The model maintained comparable scores across almost all benchmarks. For example, on the MME benchmark, PyramidDrop scored 1533.0 compared to the vanilla model's 1534.1—a negligible difference for a 2x speedup.
- High-Resolution Advantage: PyramidDrop allowed for training on higher resolutions while using fewer total resources, leading to improved performance on document-heavy tasks like DocVQA where fine-grained detail is critical.
Discussion and Insights
- Redundancy is Layer-Dependent: Visual redundancy grows as data moves deeper into the network, suggesting that fixed compression ratios used in prior work are suboptimal.
- Global to Local Shift: The model's internal logic moves from "What is in this image?" in shallow layers to "Where is the specific thing the user asked about?" in deep layers. PyramidDrop aligns the data flow with this cognitive shift.
- Training Synergy: Training with PyramidDrop encourages the model to learn more "compact" and "densely informative" representations, preventing the model from being confused by redundant noise in high-resolution tasks.
Limitations and Future Work
While effective for standard images, current video benchmarks are relatively simple with high temporal redundancy. Future work may require specialized designs to handle redundancy between frames in complex, long-form video tasks. Additionally, while the pyramid strategy is robust, hyperparameters may need adjustment for different model architectures like Mixture-of-Experts (MoE) or alternative vision encoders.
Summary updated