paper-with-me

홈 › Papers

UniForm: A Reuse Attention Mechanism Optimized for Efficient Vision Transformers on Edge Devices

2024-12-03 · Seul-Ki Yeom, Tae-Ho Kim

Transformer-based architectures have demonstrated remarkable success across various domains, but their deployment on edge devices remains challenging due to high memory and computational demands. In this paper, we introduce a novel Reuse Attention mechanism, tailored for efficient memory access and computational optimization, enabling seamless operation on resource-constrained platforms without compromising performance. Unlike traditional multi-head attention (MHA), which redundantly computes separate attention matrices for each head, Reuse Attention consolidates these computations into a shared attention matrix, significantly reducing memory overhead and computational complexity. Comprehensive experiments on ImageNet-1K and downstream tasks show that the proposed UniForm models leveraging Reuse Attention achieve state-of-the-art imagenet classification accuracy while outperforming existing attention mechanisms, such as Linear Attention and Flash Attention, in inference speed and memory scalability. Notably, UniForm-l achieves a 76.7% Top-1 accuracy on ImageNet-1K with 21.8ms inference time on edge devices like the Jetson AGX Orin, representing up to a 5x speedup over competing benchmark methods. These results demonstrate the versatility of Reuse Attention across high-performance GPUs and edge platforms, paving the way for broader real-time applications

📄 PDF Abstract BibTeX arXiv:2412.02344

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

PreDiff-LM: Pretrained Discrete Masked Diffusion Language Modeling with Hybrid Attention

2026-07-28 · Zhengtao Yao, Runhao Li, Xupeng Chen, Jiayi Cheng 외 arxiv

Discrete masked diffusion language models support bidirectional generation and infilling, but adapting pretrained autoregressive (AR) transformers requires reconciling causal pretraining with bidirectional denoising. We …

FLAT: An Optimized Dataflow for Mitigating Attention Bottlenecks

2021-07-13 · Sheng-Chun Kao, Suvinay Subramanian, Gaurav Agrawal, Amir Yazdanbakhsh 외

Attention mechanisms, primarily designed to capture pairwise correlations between words, have become the backbone of machine learning, expanding beyond natural language processing into other domains. This growth in adapt…

You Need Better Attention Priors

2026-01-21 · Elon Litman, Gabe Guo arxiv

We generalize the attention mechanism by viewing it through the lens of Entropic Optimal Transport, revealing that standard attention corresponds to a transport problem regularized by an implicit uniform prior. We introd…

Understanding Roles and Entities: Datasets and Models for Natural Language Inference

2019-04-22 · Arindam Mitra, Ishan Shrivastava, Chitta Baral

We present two new datasets and a novel attention mechanism for Natural Language Inference (NLI). Existing neural NLI models, even though when trained on existing large datasets, do not capture the notion of entity and r…

Natural Language Inference

Multi-layer Cross-attention is Provably Optimal for Multi-modal In-context Learning

2026-02-04 · Nicholas Barnfield, Subhabrata Sen, Pragya Sur arxiv

Recent progress has rapidly advanced our understanding of the mechanisms underlying in-context learning in modern attention-based neural networks. However, existing results focus exclusively on unimodal data; in contrast…