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 cost. Another branch of Vision Transformers exploits local attention inspired by CNNs, which only models the interactions between patches in small neighborhoods. Although such a solution reduces the computational cost, it naturally suffers from small attended receptive fields, which may limit the performance. In this work, we explore effective Vision Transformers to pursue a preferable trade-off between the computational complexity and size of the attended receptive field. By analyzing the patch interaction of global attention in ViTs, we observe two key properties in the shallow layers, namely locality and sparsity, indicating the redundancy of global dependency modeling in shallow layers of ViTs. Accordingly, we propose Multi-Scale Dilated Attention (MSDA) to model local and sparse patch interaction within the sliding window. With a pyramid architecture, we construct a Multi-Scale Dilated Transformer (DilateFormer) by stacking MSDA blocks at low-level stages and global multi-head self-attention blocks at high-level stages. Our experiment results show that our DilateFormer achieves state-of-the-art performance on various vision tasks. On ImageNet-1K classification task, DilateFormer achieves comparable performance with 70% fewer FLOPs compared with existing state-of-the-art models. Our DilateFormer-Base achieves 85.6% top-1 accuracy on ImageNet-1K classification task, 53.5% box mAP/46.1% mask mAP on COCO object detection/instance segmentation task and 51.1% MS mIoU on ADE20K semantic segmentation task.
Semantic Segmentation of Pathological Lung Tissue with Dilated Fully Convolutional Networks
ARTORG Center for Biomedical Engineering Research, University of Bern(伯尔尼大学ARTORG生物医学工程研究中心);Department of Emergency Medicine, Bern University Hospital “Inselspital”(伯尔尼大学医院“Inselspital”急诊医学系);University Clinic for Pneumonology, Bern University Hospital “Inselspital”(伯尔尼大学医院“Inselspital”肺科大学诊所);Department of Diagnostic, Interventional and Pediatric Radiology, Bern University Hospital “Inselspital”(伯尔尼大学医院“Inselspital”诊断、介入和儿科放射学系);Bern University Hospital “Inselspital”(伯尔尼大学医院“Inselspital”);University of Bern(伯尔尼大学)
Multi-Scale Fruit Capsules: Dilated Convolutions and Dynamic Routing for In-the-Wild Explainable Fruit Recognition
University of Maryland Baltimore County(马里兰大学巴尔的摩分校);Indian Institute of Technology Kharagpur(印度理工学院克勒格布尔分校);Indian Institute of Science Education and Research Bhopal(印度科学教育与研究学院博帕尔分校);UJM-Saint-Etienne(圣埃蒂安大学);CNRS(法国国家科学研究中心);Laboratoire Hubert Curien(于贝尔·居里安实验室)
Deep Fusion of Local and Non-Local Features for Precision Landslide Recognition
Southwest Jiaotong University(西南交通大学);China Railway First Survey and Design Institute Co. Ltd.(中铁第一勘察设计院集团有限公司);Wuhan University(武汉大学);Central South University(中南大学)