Paper commentary
Aggregated Residual Transformations for Deep Neural Networks
ResNeXt repeats a block of many same-shape transformations to raise accuracy
- Problem Raising accuracy usually means adding depth or width, which also raises complexity. Each added layer multiplies design choices, so hand-tuned architectures are hard to build.
- Method ResNeXt builds each block from many same-shape transformations and sums them. Unlike Inception, it needs no hand-designed branches.
- Results On ImageNet-1K, ResNeXt-50 (32x4d) scored 22.2% top-1 error, compared to 23.9% for ResNet-50 (1x64d).
Why adding depth or width gets expensive
Accuracy can be raised by making networks deeper or wider. Each step adds parameters and FLOPs, and the paper notes that the returns diminish for existing models. Design choices multiply with every added layer, which makes hand-tuned architectures hard to build. VGG-nets sidestep this by repeating one block shape, and ResNets inherit that rule.
Inception models reach strong accuracy at lower theoretical cost by splitting the input, transforming the pieces with specialized filters, and merging them. Each branch is tailored by hand and the modules change stage by stage, so moving them to a new dataset is unclear. The authors therefore want the split-transform-merge idea without that custom design.
Cardinality as a third dimension
In short, the block splits its input into many small paths that share one shape, transforms each path, and sums the results. The number of such paths is called cardinality, and the authors treat it as its own dimension next to width and depth. The argument starts from the simple neuron, whose weighted sum already has the same three parts.
A simple neuron splits its input into single channels, scales each one by a weight, and sums the results. Replacing that scaling with a more general function T_i gives the aggregated transformation, \(F(x)=\sum_{i=1}^{C}T_i(x)\). The cardinality C sits where the channel count D sits in the neuron formula, but the two need not be equal.
With a residual shortcut, the block output becomes \(y = x + \sum_{i=1}^{C}T_i(x)\), where x is the block input. Each T_i is a bottleneck: a 1x1 layer reduces to a low-dimensional embedding, a 3x3 layer transforms it, and a 1x1 layer expands back to 256 channels. Because every path shares this shape, adding paths doesn't require new hand-designed branches.
Sizing the block so complexity stays fixed
Two stacking rules come first: blocks that keep the same spatial size share hyper-parameters, and each halving of spatial size doubles the width. These two rules leave a single template to design, so one block choice fixes the whole network. Table 1 applies this to ResNet-50 and ResNeXt-50 side by side.
Input and output widths stay at 256 channels, so the bottleneck width d is the knob that changes as C changes. One block then has \(C\cdot(256d+3\cdot3\cdot d\cdot d+d\cdot256)\) parameters and proportional FLOPs. With C equal to 32 and d equal to 4, that expression is about 70k, the same as a ResNet bottleneck block.
Table 2 lists the trade-off, pairing C of 1, 2, 4, 8 and 32 with d of 64, 40, 24, 14 and 4. In practice the paths run as one grouped convolution, where the first 1x1 layers merge into one wider layer and the 3x3 layer splits its channels into groups. With C equal to 32, each group has 4-dimensional input and output channels.
The authors trained the three equivalent forms and report the same results, so they chose the grouped form for its succinctness and speed. Batch normalization follows each convolution, and ReLU follows each normalization, except that the block output gets ReLU after the shortcut addition.
ImageNet-1K at fixed complexity
The authors train on ImageNet-1K with SGD and a mini-batch size of 256 on 8 GPUs, then evaluate single 224x224 crops. The authors read the lower training error of ResNeXt as a sign that the gain comes from stronger representations rather than regularization.
Shrinking the width further stops paying off, so the authors keep the bottleneck width at 4d or more.
Cardinality against depth and width at double compute
The authors double compute from ResNet-101, which runs at about 7.8 billion FLOPs, and compare three ways to spend the extra budget. Both changes help only a little, so depth and width give small returns here.
Doubling cardinality works better: ResNeXt-101 2x64d reaches 20.7% top-1 error, and 64x4d reaches 20.4%. At the same doubled cost, the extra compute buys more when spent on cardinality than on depth or width.
The authors read this as evidence that cardinality matters more than depth and width.
Whether shortcuts still matter
The authors read shortcuts as an aid to optimization, and the aggregated transformations as a source of stronger representations.
ImageNet results at a 320 crop
Beyond the 224 crop, the authors test a 320x320 crop, following ResNet-200. The authors describe these single-model, single-crop results as favorable comparisons.
The ILSVRC 2016 entry built on ResNeXt placed second. The authors note that many models, ResNeXt included, saturate on this dataset with multi-scale or multi-crop testing, and their ensemble reached 3.03% top-5 on the test set.
ImageNet-5K with 5000 classes
To test a larger label space, the authors built a 5000-category set from ImageNet-22K, containing the 1K categories and 4000 more with the most images. That set has 6.8 million images, about 5x the 1K set, and has no official split, so the models are evaluated on the 1K validation set. Predictions in the other 4K classes count as errors in the 5K-way setting, while the 1K-way setting applies softmax to the 1K classes only.
The 5K-trained ResNeXt-101 scored 22.2% 1K-way top-1 and 5.7% top-5, close to the 21.2% and 5.6% from training on 1K. The authors argue the 5K task is harder, so this result is promising, and it needed no added training time or fine-tuning. They also expect more training data to widen the gap, as the ImageNet-1K results suggest.
CIFAR results
The authors use CIFAR-10 and CIFAR-100 with a 29-layer network: a 3x3 conv, three stages of three residual blocks, then average pooling and a classifier. They compare raising cardinality at fixed widths with raising bottleneck width at cardinality 1.
ResNeXt-29 16x64d reaches 3.58% test error on CIFAR-10 and 17.31% on CIFAR-100, averaged over 10 runs. The authors say these are state-of-the-art results under similar augmentation, to their knowledge.
So the advantage holds at this smaller image scale, though Wide ResNet is the only baseline in that table.
COCO object detection
The authors plug ResNet and ResNeXt into Faster R-CNN, pre-train on ImageNet-1K, and fine-tune on COCO.
The authors say this comes without increasing complexity. The authors conjecture that more training data would widen the gap, as on ImageNet-5K.
Limitations
The authors call the difference minor and say it doesn't bias the results.
The concatenation and grouped reformulations hold only when every path has the same topology. Heterogeneous transformations aren't covered, and the reformulations give nontrivial topologies only at depth 3 or more.
The grouped-convolution implementation costs time: 0.95 s per mini-batch for ResNeXt-101 (32x4d), compared to 0.70 s for ResNet-101 on 8 NVIDIA M40 GPUs. The authors attribute this to a brute-force implementation and expect a lower-level version to reduce it, but the paper reports no such test.
The ImageNet-5K evaluation uses the 1K validation set, because the 5K label set has no official split. On the 101-layer baseline the COCO gain is small.
Paper info
- Authors
- Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, Kaiming He
- Venue
- arXiv · Preprint
- First published
- 2016-11-16
- Added
- 2026-11-11
- Updated
- 2017-4-11
- Version
- v2
- arXiv
- 1611.05431
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, Kaiming He (2016). Aggregated Residual Transformations for Deep Neural Networks. arXiv:1611.05431v2. https://arxiv.org/abs/1611.05431v2
BibTeX
@misc{xie2016aggregated,
title = {{Aggregated Residual Transformations for Deep Neural Networks}},
author = {Saining Xie and Ross Girshick and Piotr Dollár and Zhuowen Tu and Kaiming He},
year = {2016},
eprint = {1611.05431},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1611.05431v2}
}