LVLM_CSP: Accelerating Large Vision Language Models via Clustering, Scattering, and Pruning for Reasoning Segmentation

Hanning Chen, Yang Ni, Wenjun Huang, Hyunwoo Oh, Yezi Liu, Tamoghno Das, Mohsen Imani · DOI

Introduction

Reasoning segmentation is an advanced computer vision task that requires a model to identify and mask objects based on complex, often implicit, textual descriptions. Unlike standard referring expression comprehension, reasoning segmentation demands a high-level understanding of scene context and intent. Modern architectures typically employ Large Vision Language Models (LVLMs), such as LLaVA, to interpret the query and guide a downstream segmentation model like SAM. However, these models suffer from significant computational overhead due to the quadratic scaling of self-attention mechanisms with respect to the number of image tokens.

Overview of the reasoning segmentation task and the underlying LVLM architecture.

Existing methods for accelerating LVLMs often rely on token pruning—discarding less informative visual tokens. While effective for high-level tasks like image captioning, aggressive pruning frequently removes the fine-grained spatial information necessary for precise mask generation. To address this, we introduce LVLM_CSP, a training-free framework that optimizes token density throughout the reasoning process.

The LVLM_CSP Framework

LVLM_CSP employs a three-stage "Clustering, Scattering, and Pruning" strategy designed to mimic human visual search patterns:

  1. Clustering Stage (Coarse Reasoning): The model begins by processing a representative subset of image tokens. To prevent the loss of small objects, a "Seg First" module utilizing a lightweight detector (e.g., YOLO-tiny) ensures that even minor potential targets are represented by at least one token in the initial cluster.
  2. Scattering Stage (Fine-grained Reasoning): Once a coarse understanding is established, the model "reactivates" the full set of original image tokens for several layers. This allows for detailed cross-modal alignment between the text query and high-resolution visual features, pinpointing the target instance.
  3. Pruning Stage (Aggressive Reduction): After the target is localized, the background tokens become redundant. The model uses the attention scores of the special [SEG] token to identify and retain only the most relevant tokens for the final reasoning layers.

This approach is entirely training-free, allowing it to be integrated into existing pre-trained LVLMs without additional optimization costs.

Evaluation and Results

LVLM_CSP was evaluated across five benchmark datasets, including RefCOCO, ReasonSeg, and the Reasoning Intention-oriented (RIO) benchmark. The framework demonstrates exceptional efficiency-performance trade-offs.

Visualization of token pruning (top) and the quantitative trade-off between FLOPs reduction and segmentation accuracy (bottom).

Key findings include:

  • Efficiency Gains: The framework achieves up to a 65% reduction in FLOPs with negligible impact on accuracy for the 7B LLaVA model.
  • Latency Improvement: Real-world testing on NVIDIA RTX A6000 GPUs showed a 2x to 4x speedup in inference latency.
  • Robustness: The method maintains performance across various model scales (7B and 13B) and input resolutions (224px to 336px).

Conclusion

LVLM_CSP provides a robust solution for the computational bottlenecks of reasoning segmentation. By dynamically adjusting token density—summarizing the scene, focusing on details, and then discarding irrelevant background—the framework enables high-speed inference without sacrificing the spatial precision required for accurate mask prediction. Future work will explore dynamic stage transitions to further optimize the balance between speed and accuracy.

Summary updated

BibTeX
@inproceedings{chen2025lvlm,
  author = {Hanning Chen and Yang Ni and Wenjun Huang and Hyunwoo Oh and Yezi Liu and Tamoghno Das and Mohsen Imani},
  title = {{LVLM\_CSP: Accelerating Large Vision Language Models via Clustering, Scattering, and Pruning for Reasoning Segmentation}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755243},
}
Figure