Pith. sign in

REVIEW 3 cited by

Neighborhood Attention Transformer

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 2204.07143 v5 pith:E5L4LLIN submitted 2022-04-14 cs.CV cs.AIcs.LG

classification cs.CVcs.AIcs.LG
keywords attentionneighborhoodtransformersliding-windowswinaccuracyade20kallows
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

We present Neighborhood Attention (NA), the first efficient and scalable sliding-window attention mechanism for vision. NA is a pixel-wise operation, localizing self attention (SA) to the nearest neighboring pixels, and therefore enjoys a linear time and space complexity compared to the quadratic complexity of SA. The sliding-window pattern allows NA's receptive field to grow without needing extra pixel shifts, and preserves translational equivariance, unlike Swin Transformer's Window Self Attention (WSA). We develop NATTEN (Neighborhood Attention Extension), a Python package with efficient C++ and CUDA kernels, which allows NA to run up to 40% faster than Swin's WSA while using up to 25% less memory. We further present Neighborhood Attention Transformer (NAT), a new hierarchical transformer design based on NA that boosts image classification and downstream vision performance. Experimental results on NAT are competitive; NAT-Tiny reaches 83.2% top-1 accuracy on ImageNet, 51.4% mAP on MS-COCO and 48.4% mIoU on ADE20K, which is 1.9% ImageNet accuracy, 1.0% COCO mAP, and 2.6% ADE20K mIoU improvement over a Swin model with similar size. To support more research based on sliding-window attention, we open source our project and release our checkpoints at: https://github.com/SHI-Labs/Neighborhood-Attention-Transformer .

Discussion (0). Continue with ORCID 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. Attention on the Sphere

    cs.LG 2025-05 conditional novelty 6.0 of 10

    Quadrature-weighted attention on the sphere gives Transformers approximate rotation equivariance and improves accuracy on spherical physics and vision tasks, with the biggest gains on shallow-water simulations.

  2. Jekyll-and-Hyde Tipping Point in an AI's Behavior

    cs.AI 2025-04 reject novelty 4.0 of 10

    The authors derive an exact tipping-point formula for a single attention head but do not validate it on any real language model.

  3. LM-Net: A Light-weight and Multi-scale Network for Medical Image Segmentation

    cs.CV 2025-01 conditional novelty 4.0 of 10

    LM-Net reports state-of-the-art medical segmentation results on Kvasir-SEG, LGG, and breast ultrasound datasets with 5.4M parameters, using combined multi-branch convolutions, local window attention, and global featur...

Pith tools