VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation

Hanning Chen, Yang Ni, Wenjun Huang, Yezi Liu, SungHeon Jeong +4 more
9/13/2024
cs.CV

No official code found. Best implementation: HanningChen/VLTP (7 stars, Apache-2.0, last commit 2025-02-11).

Abstract

Vision Transformers (ViTs) have emerged as the backbone of many segmentation models, consistently achieving state-of-the-art (SOTA) performance. However, their success comes at a significant computational cost. Image token pruning is one of the most effective strategies to address this complexity. However, previous approaches fall short when applied to more complex task-oriented segmentation (TOS), where the class of each image patch is not predefined but dependent on the specific input task. This work introduces the Vision Language Guided Token Pruning (VLTP), a novel token pruning mechanism that can accelerate ViT-based segmentation models, particularly for TOS guided by multi-modal large language model (MLLM). We argue that ViT does not need to process every image token through all of its layers -- only the tokens related to reasoning tasks are necessary. We design a new pruning decoder to take both image tokens and vision-language guidance as input to predict the relevance of each image token to the task. Only image tokens with high relevance are passed to deeper layers of the ViT. Experiments show that the VLTP framework reduces the computational costs of ViT by approximately 25% without performance degradation and by around 40% with only a 1% performance drop. The code associated with this study can be found at this URL.

View on arXivView PDF

Code Implementations(1)

HanningChen/VLTPCommunity100%
Apache-2.0

VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation

70Shell, PythonNov 26, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2024vltp,
  title  = {VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation},
  author = {Hanning Chen and Yang Ni and Wenjun Huang and Yezi Liu and SungHeon Jeong and Fei Wen and Nathaniel Bastian and Hugo Latapie and Mohsen Imani},
  year   = {2024},
  eprint = {2409.08464},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08464v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.08464.svg)](https://codeofpaper.com/paper/2409.08464)

Discussion