paper-with-me

홈 › Papers

Delta Keyword Transformer: Bringing Transformers to the Edge through Dynamically Pruned Multi-Head Self-Attention

2022-03-20 · Zuzana Jelčicová, Marian Verhelst

Multi-head self-attention forms the core of Transformer networks. However, their quadratically growing complexity with respect to the input sequence length impedes their deployment on resource-constrained edge devices. We address this challenge by proposing a dynamic pruning method, which exploits the temporal stability of data across tokens to reduce inference cost. The threshold-based method only retains significant differences between the subsequent tokens, effectively reducing the number of multiply-accumulates, as well as the internal tensor data sizes. The approach is evaluated on the Google Speech Commands Dataset for keyword spotting, and the performance is compared against the baseline Keyword Transformer. Our experiments show that we can reduce ~80% of operations while maintaining the original 98.4% accuracy. Moreover, a reduction of ~87-94% operations can be achieved when only degrading the accuracy by 1-4%, speeding up the multi-head self-attention inference by a factor of ~7.5-16.

📄 PDF Abstract BibTeX arXiv:2204.03479

Code (0)

등록된 구현이 없습니다.

Tasks

Keyword Spotting

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Pruning 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Parallelizing Linear Transformers with the Delta Rule over Sequence Length

2024-06-10 · Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen 외

Transformers with linear attention (i.e., linear transformers) and state-space models have recently been suggested as a viable linear-time alternative to transformers with softmax attention. However, these models still u…

Language ModelingLanguage ModellingMambaState Space Models

Exploring Sequence-to-Sequence Transformer-Transducer Models for Keyword Spotting

2022-11-11 · Beltrán Labrador, Guanlong Zhao, Ignacio López Moreno, Angelo Scorza Scarpati 외

In this paper, we present a novel approach to adapt a sequence-to-sequence Transformer-Transducer ASR system to the keyword spotting (KWS) task. We achieve this by replacing the keyword in the text transcription with a s…

Keyword Spotting

Sample Complexity and Representation Ability of Test-time Scaling Paradigms

2025-06-05 · Baihe Huang, Shanda Li, Tianhao Wu, Yiming Yang 외

Test-time scaling paradigms have significantly advanced the capabilities of large language models (LLMs) on complex tasks. Despite their empirical success, theoretical understanding of the sample efficiency of various te…

Gated Delta Networks: Improving Mamba2 with Delta Rule

2024-12-09 · Songlin Yang, Jan Kautz, Ali Hatamizadeh

Linear Transformers have gained attention as efficient alternatives to standard Transformers, but their performance in retrieval and long-context tasks has been limited. To address these limitations, recent work has expl…

Common Sense ReasoningLanguage ModelingLanguage ModellingLong-Context Understanding+1

LocalViT: Bringing Locality to Vision Transformers

2021-04-12 · Yawei Li, Kai Zhang, JieZhang Cao, Radu Timofte 외

We study how to introduce locality mechanisms into vision transformers. The transformer network originates from machine translation and is particularly good at modelling long-range dependencies within a long sequence. Al…

Image Classification