HSViT: Horizontally Scalable Vision Transformer

Chenhao Xu, Chang-Tsun Li, Chee Peng Lim, Douglas Creighton
4/8/2024
cs.CV

Official code: xuchenhao001/HSViT (13 stars, last commit 2024-11-06).

Abstract

Due to its deficiency in prior knowledge (inductive bias), Vision Transformer (ViT) requires pre-training on large-scale datasets to perform well. Moreover, the growing layers and parameters in ViT models impede their applicability to devices with limited computing resources. To mitigate the aforementioned challenges, this paper introduces a novel horizontally scalable vision transformer (HSViT) scheme. Specifically, a novel image-level feature embedding is introduced to ViT, where the preserved inductive bias allows the model to eliminate the need for pre-training while outperforming on small datasets. Besides, a novel horizontally scalable architecture is designed, facilitating collaborative model training and inference across multiple computing devices. The experimental results depict that, without pre-training, HSViT achieves up to 10% higher top-1 accuracy than state-of-the-art schemes on small datasets, while providing existing CNN backbones up to 3.1% improvement in top-1 accuracy on ImageNet. The code is available at https://github.com/xuchenhao001/HSViT.

View on arXivView PDF

Code Implementations(1)

xuchenhao001/HSViTOfficial100%

HSViT: Horizontally Scalable Vision Transformer

132Shell, PythonJan 31, 20241 years ago

Similar Papers

Cite this paper

@article{xu2024hsvit,
  title  = {HSViT: Horizontally Scalable Vision Transformer},
  author = {Chenhao Xu and Chang-Tsun Li and Chee Peng Lim and Douglas Creighton},
  year   = {2024},
  eprint = {2404.05196},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.05196v2}
}

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/2404.05196.svg)](https://codeofpaper.com/paper/2404.05196)

Discussion