ConcatPlexer : Additional Dim1 Batching for Faster ViTs

Abstract

Transformers have demonstrated tremendous success not only in the natural language processing (NLP) domain but also the field of computer vision, igniting various creative approaches and applications. Yet, the superior performance and modeling flexibility of transformers came with a severe increase in computation costs, and hence several works have proposed methods to reduce this burden. Inspired by a cost-cutting method originally proposed for language models, DataMultiplexing (DataMUX), we propose a novel approach for efficient visual recognition that employs additional dim1 batching (i.e., concatenation) that greatly improves the throughput with little compromise in the accuracy. We first introduce a naive adaptation of DataMux for vision models, Image Multiplexer, and devise novel components to overcome its weaknesses, rendering our final model, ConcatPlexer, at the sweet spot between inference speed and accuracy. The ConcatPlexer was trained on ImageNet1K and CIFAR100 dataset and it achieved 23.5% less GFLOPs than ViT-B/16 with 69.5% and 83.4% validation accuracy, respectively.

Cite

Text

Han et al. "ConcatPlexer : Additional Dim1 Batching for Faster ViTs." NeurIPS 2023 Workshops: WANT, 2023.

Markdown

[Han et al. "ConcatPlexer : Additional Dim1 Batching for Faster ViTs." NeurIPS 2023 Workshops: WANT, 2023.](https://mlanthology.org/neuripsw/2023/han2023neuripsw-concatplexer/)

BibTeX

@inproceedings{han2023neuripsw-concatplexer,
  title     = {{ConcatPlexer : Additional Dim1 Batching for Faster ViTs}},
  author    = {Han, Donghoon and Seo, Seunghyeon and Jeon, Donghyeon and Jang, Jiho and Kong, Chaerin and Kwak, Nojun},
  booktitle = {NeurIPS 2023 Workshops: WANT},
  year      = {2023},
  url       = {https://mlanthology.org/neuripsw/2023/han2023neuripsw-concatplexer/}
}