Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1812.01243

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computer Vision and Pattern Recognition

arXiv:1812.01243 (cs)
[Submitted on 4 Dec 2018 (v1), last revised 19 Jan 2024 (this version, v10)]

Title:Efficient Attention: Attention with Linear Complexities

Authors:Zhuoran Shen, Mingyuan Zhang, Haiyu Zhao, Shuai Yi, Hongsheng Li
View a PDF of the paper titled Efficient Attention: Attention with Linear Complexities, by Zhuoran Shen and 4 other authors
View PDF HTML (experimental)
Abstract:Dot-product attention has wide applications in computer vision and natural language processing. However, its memory and computational costs grow quadratically with the input size. Such growth prohibits its application on high-resolution inputs. To remedy this drawback, this paper proposes a novel efficient attention mechanism equivalent to dot-product attention but with substantially less memory and computational costs. Its resource efficiency allows more widespread and flexible integration of attention modules into a network, which leads to better accuracies. Empirical evaluations demonstrated the effectiveness of its advantages. Efficient attention modules brought significant performance boosts to object detectors and instance segmenters on MS-COCO 2017. Further, the resource efficiency democratizes attention to complex models, where high costs prohibit the use of dot-product attention. As an exemplar, a model with efficient attention achieved state-of-the-art accuracies for stereo depth estimation on the Scene Flow dataset. Code is available at this https URL.
Comments: To appear at WACV 2021
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
ACM classes: I.2.6; I.2.10; I.4.8; I.4.6
Cite as: arXiv:1812.01243 [cs.CV]
  (or arXiv:1812.01243v10 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.1812.01243
arXiv-issued DOI via DataCite

Submission history

From: Zhuoran Shen [view email]
[v1] Tue, 4 Dec 2018 06:41:46 UTC (6,068 KB)
[v2] Wed, 23 Jan 2019 11:07:37 UTC (3,034 KB)
[v3] Sat, 23 Mar 2019 14:12:01 UTC (5,523 KB)
[v4] Sun, 31 Mar 2019 04:45:33 UTC (3,534 KB)
[v5] Sat, 16 Nov 2019 09:58:55 UTC (5,630 KB)
[v6] Fri, 22 Nov 2019 15:57:06 UTC (5,630 KB)
[v7] Sat, 7 Dec 2019 01:49:31 UTC (2,814 KB)
[v8] Mon, 13 Jan 2020 02:16:11 UTC (3,707 KB)
[v9] Wed, 11 Nov 2020 03:40:08 UTC (3,908 KB)
[v10] Fri, 19 Jan 2024 05:44:28 UTC (3,907 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Efficient Attention: Attention with Linear Complexities, by Zhuoran Shen and 4 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.CV
< prev   |   next >
new | recent | 2018-12
Change to browse by:
cs
cs.AI
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Zhuoran Shen
Mingyuan Zhang
Shuai Yi
Junjie Yan
Haiyu Zhao
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack