Light-Weight Vision Transformer with Parallel Local and Global Self-Attention

Nikolas Ebert, Laurenz Reichardt, Didier Stricker, Oliver Wasenmüller
7/18/2023
cs.CV

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

While transformer architectures have dominated computer vision in recent years, these models cannot easily be deployed on hardware with limited resources for autonomous driving tasks that require real-time-performance. Their computational complexity and memory requirements limits their use, especially for applications with high-resolution inputs. In our work, we redesign the powerful state-of-the-art Vision Transformer PLG-ViT to a much more compact and efficient architecture that is suitable for such tasks. We identify computationally expensive blocks in the original PLG-ViT architecture and propose several redesigns aimed at reducing the number of parameters and floating-point operations. As a result of our redesign, we are able to reduce PLG-ViT in size by a factor of 5, with a moderate drop in performance. We propose two variants, optimized for the best trade-off between parameter count to runtime as well as parameter count to accuracy. With only 5 million parameters, we achieve 79.5$\%$ top-1 accuracy on the ImageNet-1K classification benchmark. Our networks demonstrate great performance on general vision benchmarks like COCO instance segmentation. In addition, we conduct a series of experiments, demonstrating the potential of our approach in solving various tasks specifically tailored to the challenges of autonomous driving and transportation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ebert2023lightweight,
  title  = {Light-Weight Vision Transformer with Parallel Local and Global Self-Attention},
  author = {Nikolas Ebert and Laurenz Reichardt and Didier Stricker and Oliver Wasenmüller},
  year   = {2023},
  eprint = {2307.09120},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.09120v1}
}

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

Discussion