All families

ResNeSt

10 models, image classification. Fewest parameters first.

ResNeSt, the Split-Attention Network, is a ResNet variant built by stacking Split-Attention blocks in ResNet style. The idea is to combine two things the authors call well known to matter for visual recognition: featuremap attention and multi-path representation. The block applies channel-wise attention on different network branches to capture cross-feature interactions while learning diverse representations.

Read more

As in ResNeXt, the features are divided into cardinal groups set by a cardinality K, and a new radix hyperparameter R sets the number of splits within each cardinal group, for G = KR groups in total. With radix 1 the block applies a squeeze-and-attention operation to each cardinal group, where SE-Net operates on top of the entire block. A Split-Attention block has roughly the same parameters and FLOPS as a standard residual block with the same cardinality and number of channels. The real implementation uses a radix-major layout that can be modularized and accelerated with group convolution and standard CNN layers.

ResNeSt also adopts the ResNet-D tweaks: the first 7 × 7 convolution is replaced with three consecutive 3 × 3 convolutions. A 2 × 2 average pooling layer is added to the shortcut before the 1 × 1 convolution in the stride-two transition blocks. The suffixes on the captured timm members follow the paper's shorthand, where s is the radix, x the cardinality and d the width, so resnest50d_4s2x40d has radix 4, cardinality 2 and width 40. Increasing the radix from 0 to 4 continuously improved top-1 accuracy while also increasing latency and memory usage. The paper settled on the 2s1x64d setting for its deeper networks as a trade-off between speed, accuracy and memory.

ResNeSt-50 reaches 81.13% top-1 accuracy on ImageNet. Deeper models train at larger crops: 256 × 256 for ResNeSt-200 and 320 × 320 for ResNeSt-269. ResNeSt-269 beats EfficientNet-B7 in accuracy with 32% less latency on GPU. As a backbone, a Cascade-RCNN with ResNeSt-101 reaches 48.3% box mAP and 41.56% mask mAP on MS-COCO instance segmentation. ResNeSt was adopted by the winning entries of the 2020 COCO-LVIS challenge. ImageNet training used GluonCV with MXNet.

AI-written summary; not reviewed by a person. Corrections welcome.

Paper: ResNeSt: Split-Attention Networks

Filter and sort these in the model list