Adaptive Attention Span in Computer Vision

Jerrod Parker, Shakti Kumar, Joe Roussy
4/18/2020
cs.CVcs.LG
transformer-attention

Official code: JoeRoussy/adaptive-attention-in-cv (35 stars, Python, MIT, last commit 2023-10-03).

Abstract

Recent developments in Transformers for language modeling have opened new areas of research in computer vision. Results from late 2019 showed vast performance increases in both object detection and recognition when convolutions are replaced by local self-attention kernels.

Show full abstract

Models using local self-attention kernels were also shown to have less parameters and FLOPS compared to equivalent architectures that only use convolutions. In this work we propose a novel method for learning the local self-attention kernel size. We then compare its performance to fixed-size local attention and convolution kernels. The code for all our experiments and models is available at https://github.com/JoeRoussy/adaptive-attention-in-cv

View on arXivView PDF

Code Implementations(1)

MIT

Implementation for our paper exploring a novel 2D adaptive attention span kernel in computer vision.

356PythonFeb 29, 20203 years agoMIT

Similar Papers

Cite this paper

@article{parker2020adaptive,
  title  = {Adaptive Attention Span in Computer Vision},
  author = {Jerrod Parker and Shakti Kumar and Joe Roussy},
  year   = {2020},
  eprint = {2004.08708},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.08708}
}

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

Discussion