paper-with-me

Papers

SkipViT: Speeding Up Vision Transformers with a Token-Level Skip Connection

2024-01-27 · Foozhan Ataiefard, Walid Ahmed, Habib Hajimolahoseini, Saina Asani, Farnoosh Javadi, Mohammad Hassanpour, Omar Mohamed Awad, Austin Wen, Kangling Liu, Yang Liu

Vision transformers are known to be more computationally and data-intensive than CNN models. These transformer models such as ViT, require all the input image tokens to learn the relationship among them. However, many of these tokens are not informative and may contain irrelevant information such as unrelated background or unimportant scenery. These tokens are overlooked by the multi-head self-attention (MHSA), resulting in many redundant and unnecessary computations in MHSA and the feed-forward network (FFN). In this work, we propose a method to optimize the amount of unnecessary interactions between unimportant tokens by separating and sending them through a different low-cost computational path. Our method does not add any parameters to the ViT model and aims to find the best trade-off between training throughput and achieving a 0% loss in the Top-1 accuracy of the final model. Our experimental results on training ViT-small from scratch show that SkipViT is capable of effectively dropping 55% of the tokens while gaining more than 13% training throughput and maintaining classification accuracy at the level of the baseline model on Huawei Ascend910A.

📄 PDF Abstract BibTeX arXiv:2401.15293

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

KVT: k-NN Attention for Boosting Vision Transformers

2021-05-28 · Pichao Wang, Xue Wang, Fan Wang, Ming Lin 외

Convolutional Neural Networks (CNNs) have dominated computer vision for years, due to its ability in capturing locality and translation invariance. Recently, many vision transformer architectures have been proposed and t…

BATR-FST: Bi-Level Adaptive Token Refinement for Few-Shot Transformers

2025-09-16 · Mohammed Al-Habib, Zuping Zhang, Abdulrahman Noman arxiv

Vision Transformers (ViTs) have shown significant promise in computer vision applications. However, their performance in few-shot learning is limited by challenges in refining token-level interactions, struggling with li…

Few-Shot Learning

Adaptive Layer Selection for Efficient Vision Transformer Fine-Tuning

2024-08-16 · Alessio Devoto, Federico Alvetreti, Jary Pomponi, Paolo Di Lorenzo 외

Recently, foundation models based on Vision Transformers (ViTs) have become widely available. However, their fine-tuning process is highly resource-intensive, and it hinders their adoption in several edge or low-energy a…

parameter-efficient fine-tuning

PatchGame: Learning to Signal Mid-level Patches in Referential Games

2021-11-02 · NeurIPS 2021 12 · Kamal Gupta, Gowthami Somepalli, Anubhav Gupta, Vinoj Jayasundara 외

We study a referential game (a type of signaling game) where two agents communicate with each other via a discrete bottleneck to achieve a common goal. In our referential game, the goal of the speaker is to compose a mes…

Zero-shot Sequence Labeling for Transformer-based Sentence Classifiers

2021-03-26 · ACL (RepL4NLP) 2021 8 · Kamil Bujel, Helen Yannakoudakis, Marek Rei

We investigate how sentence-level transformers can be modified into effective sequence labelers at the token level without any direct supervision. Existing approaches to zero-shot sequence labeling do not perform well wh…

Sentence