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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Hanning, Ni, Yang, Huang, Wenjun, Liu, Yezi, Jeong, SungHeon, Wen, Fei, Bastian, Nathaniel, Latapie, Hugo, Imani, Mohsen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912135879065600
author Chen, Hanning
Ni, Yang
Huang, Wenjun
Liu, Yezi
Jeong, SungHeon
Wen, Fei
Bastian, Nathaniel
Latapie, Hugo
Imani, Mohsen
author_facet Chen, Hanning
Ni, Yang
Huang, Wenjun
Liu, Yezi
Jeong, SungHeon
Wen, Fei
Bastian, Nathaniel
Latapie, Hugo
Imani, Mohsen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_08464
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation
Chen, Hanning
Ni, Yang
Huang, Wenjun
Liu, Yezi
Jeong, SungHeon
Wen, Fei
Bastian, Nathaniel
Latapie, Hugo
Imani, Mohsen
Computer Vision and Pattern Recognition
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.
title VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.08464