Pith. sign in

REVIEW 3 cited by

SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalization

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 2405.11582 v2 pith:GRG2R6ZD submitted 2024-05-19 cs.CV cs.CL

classification cs.CVcs.CL
keywords attentioncomputationalefficientlayernormmethodperformanceslabtransformer
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Transformers have become foundational architectures for both natural language and computer vision tasks. However, the high computational cost makes it quite challenging to deploy on resource-constraint devices. This paper investigates the computational bottleneck modules of efficient transformer, i.e., normalization layers and attention modules. LayerNorm is commonly used in transformer architectures but is not computational friendly due to statistic calculation during inference. However, replacing LayerNorm with more efficient BatchNorm in transformer often leads to inferior performance and collapse in training. To address this problem, we propose a novel method named PRepBN to progressively replace LayerNorm with re-parameterized BatchNorm in training. Moreover, we propose a simplified linear attention (SLA) module that is simple yet effective to achieve strong performance. Extensive experiments on image classification as well as object detection demonstrate the effectiveness of our proposed method. For example, our SLAB-Swin obtains $83.6\%$ top-1 accuracy on ImageNet-1K with $16.2$ms latency, which is $2.4$ms less than that of Flatten-Swin with $0.1\%$ higher accuracy. We also evaluated our method for language modeling task and obtain comparable performance and lower latency.Codes are publicly available at https://github.com/xinghaochen/SLAB and https://github.com/mindspore-lab/models/tree/master/research/huawei-noah/SLAB.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

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

  1. Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms

    cs.CV 2025-08 conditional novelty 5.0 of 10

    LOLViT, a GhostNet-based lightweight backbone using adaptive window attention, reports CNN-like CPU speed with MobileViT-level accuracy.

  2. DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUs

    cs.LG 2025-07 conditional novelty 5.0 of 10

    DistrAttention approximates self-attention by LSH-based grouping of embedding-dimension columns of Q and K, reducing compute along d while keeping all tokens in context.

  3. Developing a Responsible AI Framework for Healthcare in Low Resource Countries: A Case Study in Nepal and Ghana

    cs.CY 2025-08 reject novelty 3.0 of 10

    The submission is internally incoherent: the abstract and the full text describe two different papers, so no stated result is supported.

Pith tools