Paper commentary
Dilated Residual Networks
Dilated residual networks keep feature maps sharp for detailed scene tasks
- Problem Classification networks shrink feature maps layer by layer until fine spatial detail is lost. This limits accuracy and hurts transfer to tasks that need detailed scene understanding.
- Method DRNs remove striding from the last two groups of a ResNet and replace later convolutions with dilated ones. Instead of adding decoders, the output stays high resolution inside the network.
- Results DRN-C-26 reached a 10-crop top-1 error of 22.93 on the ImageNet 2012 validation set. DRN-C-42 reached a mean IoU of 70.9 on the Cityscapes validation set.
Why classifiers lose spatial detail
Classification networks shrink their feature maps layer by layer, so a 224×224 input ends up as a 7×7 map in the final group. A coarse grid of that size can hide small or thin objects, and once the signal of an object is discarded by downsampling, training has little chance to recover it.
Classification is often only a pretraining step, and downstream tasks that need detailed scene understanding are the ones most affected by this loss of spatial acuity. The authors keep the output resolution high inside a residual network by replacing some interior subsampling with dilation, rather than adding post-hoc decoders to recover resolution.
Converting a ResNet into a DRN
The starting point is a ResNet with five groups of convolutional layers, where the first layer of each group uses striding and so evaluates its filter only at even rows and columns. The conversion focuses on G4 and G5, the last two groups, and removes the stride of their first layers, G41 and G51.
Removing that stride doubles the output resolution of the layer itself without changing its receptive field, but every later layer sees a receptive field that is half as large in each dimension. Later layers in G4 therefore switch to 2-dilated convolutions, in which the output at p sums G4i(a) f4i(b) over pairs with a+2b=p, so the filter taps are spread two positions apart.
G5 follows two removed strides, so its later layers use 4-dilated convolutions with the sum taken over a+4b=p.
The reduction of the input from 32 to 8 changes what the final group produces: for a 224×224 input, G5 yields a 28×28 map instead of 7×7, so global average pooling averages over 24 times more values.
The authors chose not to apply the same conversion to earlier groups, because a downsampling factor of 8 is known to keep most of the information needed for pixel-level parsing.
Dense activation maps without retraining
For dense outputs, global average pooling is removed and the final 1×1 convolution is applied directly to G5. A softmax over the classes at each pixel turns the scores into probabilities, so each class gets its own activation map at the 28×28 resolution of G5.
The activation maps serve the same purpose as those of Zhou et al., but the procedures differ, because Zhou et al. worked with drastically downsampled output. Their output was only 14×14, so they removed layers, added parameters and fine-tuned the modified models, which also impaired classification. A DRN is trained in this configuration from the start, so the classifier trained for ImageNet can be used for localization directly.
Gridding artifacts and degridding
In a didactic example, a single active pixel passed through a 2-dilated convolution produces a regular grid in the output.
Degridding makes three changes to DRN-A: it replaces the max pooling after the initial 7×7 convolution with convolutional filters, adds two levels with dilation 2 and then 1 after the last 4-dilated layer, and removes residual connections from those added levels.
The max pooling produced high-amplitude, high-frequency activations that later layers propagate and that worsen the grid pattern. The added levels with decreasing dilation are likened by the authors to aliasing removal with filters of suitable frequency. Residual connections in those levels can carry artifacts forward from level 6, so their removal yields DRN-C.
DRN-C has higher depth and capacity than DRN-A and the original ResNet, and the authors expect the accuracy gain from degridding to offset that added cost.
ImageNet classification results
Models are trained on the ImageNet 2012 training set with SGD, momentum 0.9 and weight decay 10−4. The initial learning rate is 10−1, divided by 10 every 30 epochs, for 120 epochs in total. Evaluation uses the validation set with a 1-crop protocol, which takes the central 224×224 crop, and a 10-crop protocol that averages the center crop, four corners and their flips.
Under the 1-crop protocol, DRN-A-18 has a top-1 error of 28.00, against 30.43 for ResNet-18, and DRN-A-34 has 24.81, against 27.73 for ResNet-34.
The 10-crop top-1 error of DRN-C-26 is 22.93, and DRN-C-42 reaches 21.20 against 21.08 for ResNet-101. At 1-crop, DRN-C-42 has a top-1 error of 22.94, close to the 22.44 of ResNet-101, which is 2.4 times deeper.
Weakly-supervised localization
Predicted categories come from 10-crop testing, and bounding boxes are fitted to the activation maps. Each class has a set of candidate boxes that cover pixels whose dominant response is that class and whose activation exceeds the threshold t, and the smallest-area candidate is kept. The classification networks are used for this without any fine-tuning.
Top-1 localization error is 55.7 for ResNet-50, 54.0 for DRN-A-50, 54.6 for ResNet-101, 52.3 for DRN-C-26 and 50.7 for DRN-C-42. DRN-C-26 has lower error than DRN-A-50 despite its lower depth, and also lower error than ResNet-101. The authors describe the result as state-of-the-art top-1 accuracy in weakly-supervised localization on ImageNet.
Cityscapes segmentation
A classification-trained DRN is turned into a segmentation model by removing global pooling, running the network fully convolutionally, and upsampling predictions to full resolution with bilinear interpolation. Training uses only cropping and mirroring on the standard Cityscapes training set, with no further augmentation or added modules.
The baseline is a ResNet-101 setup with a mean IoU of 66.6, a value the authors take from prior work rather than from their own run. On the Cityscapes validation set, DRN-C-26 reaches a mean IoU of 68.0, DRN-A-50 reaches 67.3 and DRN-C-42 reaches 70.9.
Both DRN-C models have a higher mean IoU than DRN-A-50, which the authors read as a sign that degridding helps dense prediction. The authors report that DRN-A-50 predictions show gridding artifacts, while DRN-C-26 predictions are cleaner.
Costs and untested scope
DRN-C carries more depth and capacity than DRN-A and the ResNet it starts from, so its benefit depends on the accuracy gain from degridding.
Doubling a feature map's resolution in each dimension quadruples its memory, so applying the conversion to earlier groups, or running at full resolution, is beyond current hardware in the authors' view.
The segmentation experiments use the Cityscapes splits with cropping and mirroring only, and the localization results use classifiers without fine-tuning.
Paper info
- Authors
- Fisher Yu, Vladlen Koltun, Thomas Funkhouser
- Venue
- arXiv · Preprint
- First published
- 2017-5-28
- Added
- 2026-11-12
- Updated
- 2017-5-28
- Version
- v1
- arXiv
- 1705.09914
- 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
Fisher Yu, Vladlen Koltun, Thomas Funkhouser (2017). Dilated Residual Networks. arXiv:1705.09914v1. https://arxiv.org/abs/1705.09914v1
BibTeX
@misc{yu2017dilated,
title = {{Dilated Residual Networks}},
author = {Fisher Yu and Vladlen Koltun and Thomas Funkhouser},
year = {2017},
eprint = {1705.09914},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1705.09914v1}
}