Pith. sign in

REVIEW 1 cited by

Exploring Attention Map Reuse for Efficient Transformer Neural Networks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2301.12444 v1 pith:OLZKVGIJ submitted 2023-01-29 cs.AI eess.SP

classification cs.AIeess.SP
keywords attentionreusesequencetransformerabilityachievedlong-rangenetworks
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Transformer-based deep neural networks have achieved great success in various sequence applications due to their powerful ability to model long-range dependency. The key module of Transformer is self-attention (SA) which extracts features from the entire sequence regardless of the distance between positions. Although SA helps Transformer performs particularly well on long-range tasks, SA requires quadratic computation and memory complexity with the input sequence length. Recently, attention map reuse, which groups multiple SA layers to share one attention map, has been proposed and achieved significant speedup for speech recognition models. In this paper, we provide a comprehensive study on attention map reuse focusing on its ability to accelerate inference. We compare the method with other SA compression techniques and conduct a breakdown analysis of its advantages for a long sequence. We demonstrate the effectiveness of attention map reuse by measuring the latency on both CPU and GPU platforms.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

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

    cs.CV 2024-12 reject novelty 3.0 of 10

    UniForm shares one attention matrix across all attention heads and adds multi-scale depthwise convolutions to value projections, claiming faster edge inference at comparable accuracy.

Pith tools