TL;DR
This paper tackles the computational bottleneck of large multimodal language models (MLLMs) in visual segmentation tasks by proposing EVTP-IVS, a novel visual token pruning method. By strategically selecting a compact subset of visual tokens that balance coverage and spatial representation, EVTP-IVS achieves significant speedups (up to 5x for videos) with minimal accuracy loss, making MLLM-based segmentation more practical for real-world applications.
What Problem Does This Paper Address?
Modern MLLMs have shown remarkable capabilities in Instruction Visual Segmentation (IVS), a task that requires segmenting objects in images or videos based on natural language instructions. However, a major hurdle for their deployment, especially in video processing, is the immense computational cost associated with processing a large number of visual tokens. This paper highlights that MLLMs often contain redundant visual tokens, leading to inefficiencies. Existing token pruning methods, primarily developed for high-level vision tasks, often overlook the fine-grained spatial alignment crucial for segmentation, leading to degraded performance. Therefore, there's a need for a pruning strategy specifically tailored for IVS that can effectively reduce computational load while preserving segmentation accuracy.
Methods
The core of EVTP-IVS lies in its novel approach to visual token pruning. The authors first empirically demonstrate that visual token redundancy exists in MLLMs for IVS, with performance saturating when retaining only 60-70% of tokens. This observation motivates their method, which extends the classic k-center algorithm.
The key innovations are:
- Spatial Augmentation: Tokens are augmented with their normalized 2D coordinates. This helps the algorithm consider the spatial distribution of tokens, preventing it from selecting spatially clustered tokens that might miss important regions.
- Adaptive Weighting: A scaling factor ($\lambda$) is introduced, which adaptively balances the contribution of visual features and spatial information. This factor is determined by the variance of the token features, making the method more robust to varying feature distributions. Regions with similar features (e.g., homogeneous areas) will rely more on spatial information.
- Greedy Joint Space Selection: The algorithm then applies a greedy k-center approach in this augmented joint space. It iteratively selects tokens that maximize the minimum distance to already selected tokens, ensuring both coverage and spatial representation.
This approach is designed to be simple, effective, and requires no additional supervision or fine-tuning.
Datasets
The paper evaluates EVTP-IVS on several standard benchmarks for visual segmentation tasks:
- Image-based IVS:
- Ref-COCO
- Ref-COCO+
- Ref-COCOg
- ReasonSeg (specifically for reasoning-based segmentation)
- Video-based IVS:
- ReVOS (Reasoning Video Object Segmentation)
- Ref-YouTube-VOS
- Ref-DAVIS17
Key Insights and Ideas
- Coverage is Key for Segmentation: Unlike high-level vision tasks that might benefit from diverse but potentially less spatially representative tokens, segmentation demands a balanced set of tokens that are both semantically diverse and spatially uniform to accurately capture boundaries and context. The paper's analysis shows that better coverage (quantified by a smaller coverage radius) directly correlates with improved segmentation performance.
- Spatial Information is Crucial for Pruning in IVS: Simply pruning based on feature similarity or diversity is insufficient for IVS. Incorporating spatial information is essential to ensure that important fine-grained regions are not missed, leading to better segmentation quality.
- MLLMs for IVS are Computationally Expensive: The paper strongly emphasizes the significant inference cost of current MLLMs for IVS, particularly for videos, hindering their real-world applicability. Their work directly addresses this by demonstrating substantial speedups.
- Token Redundancy is Pervasive: The empirical studies confirm that MLLMs used for IVS contain a substantial amount of redundant visual token information, presenting a clear opportunity for efficient pruning.
Key Results
EVTP-IVS demonstrates impressive results across various benchmarks:
- Speedup: Achieves up to 5x speed-up on video tasks and 3.5x on image tasks while retaining comparable accuracy.
- Token Efficiency: Maintains high performance using only 20% of the original visual tokens.
- Performance: Consistently outperforms state-of-the-art pruning baselines across different token retention ratios. For instance, on Ref-COCOg (test) with 20% token retention, it achieves 74.3%, setting a new state-of-the-art under compression. On ReasonSeg, it achieves 56.1% cIoU at 20% pruning.
- Video Segmentation: On ReVOS, EVTP-IVS achieves the best performance in both reasoning and referring segments, with an overall I&F score of 49.3 at 10% token retention. For Ref-YouTube-VOS and Ref-DAVIS17, it achieves strong results, outperforming the SOTA method (DivPrune) by a margin at 20% pruning.
- Efficiency: Reduces computation by up to 5.3x compared to the original model, offering a practical solution for resource-constrained environments.
Limitations and Future Work
- Limitations: The paper acknowledges that while their method performs well, at very low token retention ratios (e.g., 5%), it might slightly underperform the best methods on some specific benchmarks (e.g., Ref-COCO). However, it consistently outperforms baselines on more challenging datasets like Ref-COCOg and ReasonSeg.
- Future Work: The authors suggest that their work lays the foundation for future research on token pruning in MLLMs for IVS. They highlight the importance of reconsidering the role of visual tokens in multi-modal models, moving beyond just maximizing diversity to also focusing on coverage. This insight could generalize to other multi-modal tasks. EVTP-IVS offers a practical solution for resource-constrained deployment, paving the way for more scalable and real-time applications.
Summary updated