Pith. sign in

REVIEW 2 cited by

SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applications

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 2303.15446 v2 pith:K4KMMAA6 submitted 2023-03-27 cs.CV

classification cs.CV
keywords efficientself-attentionaccuracyadditiveapplicationsattentionmobileswiftformer
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Self-attention has become a defacto choice for capturing global context in various vision applications. However, its quadratic computational complexity with respect to image resolution limits its use in real-time applications, especially for deployment on resource-constrained mobile devices. Although hybrid approaches have been proposed to combine the advantages of convolutions and self-attention for a better speed-accuracy trade-off, the expensive matrix multiplication operations in self-attention remain a bottleneck. In this work, we introduce a novel efficient additive attention mechanism that effectively replaces the quadratic matrix multiplication operations with linear element-wise multiplications. Our design shows that the key-value interaction can be replaced with a linear layer without sacrificing any accuracy. Unlike previous state-of-the-art methods, our efficient formulation of self-attention enables its usage at all stages of the network. Using our proposed efficient additive attention, we build a series of models called "SwiftFormer" which achieves state-of-the-art performance in terms of both accuracy and mobile inference speed. Our small variant achieves 78.5% top-1 ImageNet-1K accuracy with only 0.8 ms latency on iPhone 14, which is more accurate and 2x faster compared to MobileViT-v2. Code: https://github.com/Amshaker/SwiftFormer

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 7 citations worldwide. Full citation record

  1. Partial Channel Network: Compute Fewer, Perform Better

    cs.CV 2025-02 conditional novelty 5.0 of 10

    A conv-attention hybrid block (PATConv) plus an adaptive channel-split scheme (DPConv) yields the PartialNet models, which report accuracy and throughput gains over FasterNet on ImageNet-1K and COCO.

  2. MECASA: Motor Execution Classification using Additive Self-Attention for Hybrid EEG-fNIRS Data

    cs.HC 2025-01 conditional novelty 4.0 of 10

    MECASA, an additive self-attention architecture built on CAS-ViT, reports peak accuracies of 75.07% (EEG), 86.52% (fNIRS), and 87.34% (fused) on the SMR Hybrid BCI dataset.

Pith tools