paper-with-me

홈 › Papers

Dilated Neighborhood Attention Transformer

2022-09-29 · Ali Hassani, Humphrey Shi

Transformers are quickly becoming one of the most heavily applied deep learning architectures across modalities, domains, and tasks. In vision, on top of ongoing efforts into plain transformers, hierarchical transformers have also gained significant attention, thanks to their performance and easy integration into existing frameworks. These models typically employ localized attention mechanisms, such as the sliding-window Neighborhood Attention (NA) or Swin Transformer's Shifted Window Self Attention. While effective at reducing self attention's quadratic complexity, local attention weakens two of the most desirable properties of self attention: long range inter-dependency modeling, and global receptive field. In this paper, we introduce Dilated Neighborhood Attention (DiNA), a natural, flexible and efficient extension to NA that can capture more global context and expand receptive fields exponentially at no additional cost. NA's local attention and DiNA's sparse global attention complement each other, and therefore we introduce Dilated Neighborhood Attention Transformer (DiNAT), a new hierarchical vision transformer built upon both. DiNAT variants enjoy significant improvements over strong baselines such as NAT, Swin, and ConvNeXt. Our large model is faster and ahead of its Swin counterpart by 1.6% box AP in COCO object detection, 1.4% mask AP in COCO instance segmentation, and 1.4% mIoU in ADE20K semantic segmentation. Paired with new frameworks, our large variant is the new state of the art panoptic segmentation model on COCO (58.5 PQ) and ADE20K (49.4 PQ), and instance segmentation model on Cityscapes (45.1 AP) and ADE20K (35.4 AP) (no extra data). It also matches the state of the art specialized semantic segmentation models on ADE20K (58.1 mIoU), and ranks second on Cityscapes (84.5 mIoU) (no extra data).

📄 PDF Abstract BibTeX arXiv:2209.15001

Code (7)

SHI-Labs/Neighborhood-Attention-Transformer 공식 구현 pytorch
shi-labs/natten 공식 구현 pytorch
MindSpore-scientific/code-10/tree/main/MicAugment mindspore
MindSpore-scientific/code-8/tree/main/MicAugment mindspore
alexmehta/nac-tcn-tcns-with-causal-na pytorch
huggingface/transformers pytorch
leondgarse/keras_cv_attention_models/tree/main/keras_cv_attention_models/nat tf

Tasks

Image ClassificationInstance SegmentationObject DetectionPanoptic SegmentationSegmentationSemantic Segmentation

Methods 이 논문이 사용한 방법론

ConvNeXt 설명 없음
Transformer A Transformer is a model architecture that eschews recurrence and instead relies entirely on an [attention…
Neighborhood Attention Neighborhood Attention is a restricted self attention pattern in which each token's receptive field is limited to its nearest neighboring pixels. It was proposed in [Neighborhood…

Similar Papers 제목 키워드 기반

Dilated-UNet: A Fast and Accurate Medical Image Segmentation Approach using a Dilated Transformer and U-Net Architecture

2023-04-22 · Davoud Saadati, Omid Nejati Manzari, Sattar Mirzakuchaki

Medical image segmentation is crucial for the development of computer-aided diagnostic and therapeutic systems, but still faces numerous difficulties. In recent years, the commonly used encoder-decoder architecture based…

DecoderDiagnosticImage SegmentationMedical Image Segmentation+2

NAC-TCN: Temporal Convolutional Networks with Causal Dilated Neighborhood Attention for Emotion Understanding

2023-12-12 · Alexander Mehta, William Yang

In the task of emotion recognition from videos, a key improvement has been to focus on emotions over time rather than a single frame. There are many architectures to address this task such as GRUs, LSTMs, Self-Attention,…

Emotion Recognition

DiNAT-IR: Exploring Dilated Neighborhood Attention for High-Quality Image Restoration

2025-07-23 · Hanzhou Liu, Binghan Li, Chengkai Liu, Mi Lu arxiv

Transformers, with their self-attention mechanisms for modeling long-range dependencies, have become a dominant paradigm in image restoration tasks. However, the high computational cost of self-attention limits scalabili…

Image Restoration

SDLFormer: A Sparse and Dense Locality-enhanced Transformer for Accelerated MR Image Reconstruction

2023-08-08 · Rahul G. S., Sriprabha Ramnarayanan, Mohammad Al Fahim, Keerthi Ram 외

Transformers have emerged as viable alternatives to convolutional neural networks owing to their ability to learn non-local region relationships in the spatial domain. The self-attention mechanism of the transformer enab…

Computational EfficiencyImage ReconstructionSelf-Supervised LearningSSIM

DilateFormer: Multi-Scale Dilated Transformer for Visual Recognition

2023-02-03 · Jiayu Jiao, Yu-Ming Tang, Kun-Yu Lin, Yipeng Gao 외

As a de facto solution, the vanilla Vision Transformers (ViTs) are encouraged to model long-range dependencies between arbitrary image patches while the global attended receptive field leads to quadratic computational co…

Instance Segmentationobject-detectionObject DetectionSemantic Segmentation