Paper commentary
Rethinking Atrous Convolution for Semantic Image Segmentation
DeepLabv3 adds image-level pooling to atrous spatial pyramid pooling
- Problem Pooling and striding shrink feature maps too far, so the coarse grid blurs the boundaries that per-pixel labels must respect. Objects at many sizes also need wide context as well as fine detail.
- Method DeepLabv3 adds image-level pooling to ASPP, so the parallel atrous branches also gain global context. Atrous convolution keeps pretrained filters and spaces their taps further apart, instead of adding weights.
- Results DeepLabv3 reached 85.7% mIOU on the PASCAL VOC 2012 test set without DenseCRF post-processing.
Why dense segmentation loses detail
Deep convolutional networks gain abstraction from repeated pooling and striding, and the same steps shrink their feature maps. In recent networks the final map is typically 32 times smaller than the input along each direction. That coarse grid suits classification, but it blurs the boundaries a per-pixel label has to respect.
Objects also appear at many sizes, so a segmenter needs wide context as well as fine detail. Earlier work handles this with image pyramids, encoder-decoders, extra context modules and spatial pyramid pooling. This paper stays with two routes, cascaded modules and spatial pyramid pooling, and builds both on atrous convolution.
Atrous convolution keeps the map dense
The key idea is to keep the pretrained filters and space their taps further apart. Atrous convolution is also called dilated convolution, and it lets an ImageNet-pretrained network produce denser maps. For output position \(i\), the filter \(w\) is applied as \( y[i]=\sum_k x[i+r\cdot k]\,w[k] \), with the input \(x\). The rate \(r\) sets the sampling stride over the input, so rate 1 is ordinary convolution.
Equivalently, the filter sees holes, because \(r-1\) zeros are inserted between consecutive filter taps. Output stride is the ratio of input resolution to output resolution, so a classification backbone has output stride 32. Setting the stride of the last pooling or strided layer to 1 halves that ratio to 16, and the later layers then use rate 2.
The denser map therefore comes from changing the sampling pattern, not from adding weights.
Cascaded ResNet blocks and multi-grid rates
The first design appends replicas of the last ResNet block, block4, as block5 through block7, so the network can see a wider context. Each block has three 3×3 convolutions, and the last one normally carries a stride of 2. The authors found that this consecutive striding hurts segmentation, because detail is thrown away before it can be used.
Instead, atrous rates are chosen from the target output stride, so the blocks keep resolution while still widening the field of view. Multi-grid then varies the rate inside each block, which is the next design step. Multi-grid assigns unit rates (r1, r2, r3) to the three convolutions in block4 through block7, and each final rate is the unit rate times the block's rate.
With output stride 16 and (1, 2, 4), the three convolutions get rates 2, 4 and 8.
Why ASPP needs an image-level branch
ASPP runs several atrous convolutions with different rates in parallel on one feature map, so each branch sees a different field of view. The branch outputs are concatenated and then projected by 1×1 convolutions to give the logits.
Large rates have a hidden cost, because more of each 3×3 filter's taps fall on padded zeros instead of valid pixels. A check with a 3×3 filter on a 65×65 map shows the valid weights shrinking as the rate grows. At the extreme the filter reduces to a 1×1 filter, because only its center weight is effective. So a branch with a very large rate stops capturing global context.
To add global context, the image-level branch applies global average pooling to the last feature map.
Training choices the new modules depend on
The added modules include batch normalization, and the authors found it important to train those parameters rather than keep them fixed. Batch normalization statistics need large batches, so training used output stride 16 with a batch size of 16. A batch size of 4 gave 64.43 mIOU on validation, compared to 77.21 at batch size 16.
Training ran 30K iterations on trainaug at initial learning rate 0.007, then froze batch normalization. The model then switched to output stride 8 and trained 30K more iterations on trainval at the smaller base rate of 0.001. Rather than downsampling the groundtruth by 8, the authors upsample the final logits, so the fine annotations still drive back-propagation.
Data augmentation randomly scales the input from 0.5 to 2.0 and flips it left-right.
The crop size is 513, because large atrous rates need room to be effective.
Depth and multi-grid results for the cascade
For ResNet-50 with block7, moving from output stride 256 to output stride 8 raised mIOU from 20.29% to 75.18%. Output stride 16 gave 73.88 in the same table, so atrous convolution is needed once the blocks are stacked. On ResNet-101, block7 reached 75.76, compared to 73.88 for ResNet-50 at the same depth.
Multi-grid (1, 2, 1) raised block7 to 76.66, compared to 75.76 for the vanilla setting (1, 1, 1). Adding more blocks helped less each time, and block7 slightly lowered ResNet-50 while it still helped ResNet-101. Simply doubling the unit rates to (2, 2, 2) gave 74.62 at block7, below the vanilla 75.76. So the arrangement of rates matters as much as the extra depth.
ASPP and inference strategy on validation
At inference, switching the best ASPP model to output stride 8 gave a 1.3% improvement over output stride 16. Multi-scale inputs added 0.94% and flipped inputs added 0.32%. The best ASPP model reached 79.77 mIOU, compared to 79.35 for the best cascaded model. So the ASPP route won on validation, and it became the final model for the test set.
Comparison with DeepLabv2 and MS-COCO pretraining
Both the best cascaded model and the best ASPP model, without DenseCRF or MS-COCO pretraining, beat DeepLabv2's 77.69%. That DeepLabv2 figure used DenseCRF and MS-COCO pretraining, so the conditions differ. The authors attribute the gain mainly to fine-tuning batch normalization and to a better way of encoding multi-scale context.
Pretraining the best ASPP model on MS-COCO lifted validation to 82.7% at output stride 8 with multi-scale and flipped inference. The MS-COCO images were kept only when their annotated regions exceeded 1000 pixels and they contained PASCAL VOC classes, leaving about 60K images. The authors then fine-tuned on PASCAL VOC 2012 from an initial learning rate of 0.0001.
Test set and bootstrapping on hard images
The authors noticed that the official trainval annotations are of higher quality than the augmented set, especially for bicycles. They fine-tuned on trainval with output stride 8 and frozen batch normalization, then duplicated images that contain bicycle, chair, table, potted-plant and sofa. Instead of pixel-level hard example mining, they bootstrapped on hard images.
DeepLabv3 reached 85.7% on the test set without DenseCRF post-processing. In the table that accompanies this result, PSPNet is listed at 85.4, and IDW-CNN at 86.3. Fine-tuning ResNet-101 on ImageNet and JFT-300M gave 86.9% on the test set. The other entries in that table are reported scores from other papers, not controlled reruns.
Cityscapes results
Training on the 2975-image train fine set used 90K iterations and crop size 769. At output stride 16 the validation mIOU was 77.23, and it rose to 77.82 at output stride 8. Adding multi-scale inputs at 0.75, 1 and 1.25 and flipped inputs gave 79.30.
The test-set model was trained on trainval coarse, which adds the 3475 finely annotated images and about 20000 coarse ones. Six scales and output stride 4 at inference added 0.8% and 0.1% on validation, compared to three scales at output stride 8.
Limits of the evidence
The model still confuses sofa with chair and dining table with chair, and it struggles with rare views of objects. Most ablations use the PASCAL VOC 2012 validation set, and the test score comes from one fine-tuning recipe with bootstrapping. Batch normalization needs large batches, and output stride 8 costs more memory.
On Cityscapes the authors fitted only three scales on a K40 GPU for the train-fine model. The 82.7% and 86.9% results depend on MS-COCO or JFT-300M pretraining, so they are not the ImageNet-only condition. Only PASCAL VOC 2012 and Cityscapes were evaluated.
Paper info
- Authors
- Liang-Chieh Chen, George Papandreou, Florian Schroff, Hartwig Adam
- Venue
- arXiv · Preprint
- First published
- 2017-6-17
- Added
- 2026-11-11
- Updated
- 2017-12-5
- Version
- v3
- arXiv
- 1706.05587
- 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
Liang-Chieh Chen, George Papandreou, Florian Schroff, Hartwig Adam (2017). Rethinking Atrous Convolution for Semantic Image Segmentation. arXiv:1706.05587v3. https://arxiv.org/abs/1706.05587v3
BibTeX
@misc{chen2017rethinking,
title = {{Rethinking Atrous Convolution for Semantic Image Segmentation}},
author = {Liang-Chieh Chen and George Papandreou and Florian Schroff and Hartwig Adam},
year = {2017},
eprint = {1706.05587},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1706.05587v3}
}