Paper commentary
DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs
Atrous convolution and a fully connected CRF keep segmentation maps dense and sharp
- Problem Repeated pooling and striding shrink DCNN feature maps about 32 times, and the invariance that helps classification blurs object borders. Segmentation needs a label for every pixel, so this loss of resolution hurts.
- Method DeepLab uses atrous convolution to keep feature maps dense and enlarge the field of view without more parameters. It adds atrous spatial pyramid pooling for multiple scales, then refines the output with a fully connected CRF.
- Results DeepLab-CRF (ResNet-101) scored 79.7% mean IOU on the PASCAL VOC 2012 test set. The comparison is with DeepLab-CRF-LargeFOV, which scored 70.3%.
Why DCNN outputs blur at object borders
A DCNN trained for classification can say what an image contains, but segmentation needs a label for every pixel. In recent DCNNs, pooling and striding can shrink feature maps about 32 times in each direction. The invariance that makes these networks robust also blurs where an object starts and stops.
The authors frame three obstacles: reduced feature resolution, objects at many scales, and weaker localization caused by invariance. Each obstacle gets its own mechanism in the method, so the design can be read one obstacle at a time.
Atrous convolution keeps feature maps dense
The key idea is to keep a filter's weights but spread its taps apart, so the layer evaluates responses on a denser grid. For a one-dimensional input, the output is \( y[i]=\sum_{k=1}^{K} x[i+r\cdot k]\,w[k] \), where the rate r sets the spacing between sampled inputs. A rate of 1 gives ordinary convolution, so larger rates are a direct generalization of the standard operation.
A k×k kernel with rate r is enlarged to an effective size \( k_e = k + (k-1)(r-1) \) without more parameters or computation. Because of this, the authors use a 3×3 kernel with rate 12 in the VGG-16 fc6 layer to get a large field of view at low cost.
To densify the network, the last pooling layer's stride is set to 1 and the later convolutions become atrous with rate 2. The final design is a hybrid: atrous convolution raises density by a factor of 4, and bilinear interpolation by a factor of 8 restores full resolution. This is enough because the class score maps are smooth, and the dense DCNN runs at 8 FPS on an NVidia Titan X GPU.
There are two ways to implement it: sparsely sampling the input inside im2col, or subsampling the input into r×r reduced maps and running ordinary convolution. The second route lets the authors use off-the-shelf convolution routines, and they added it to TensorFlow.
Parallel atrous branches for objects at several scales
One standard fix runs the network on rescaled copies of the image, which handles scale but multiplies the cost at every layer. The authors instead take the idea of spatial pyramid pooling and apply it inside one feature layer.
ASPP applies several parallel atrous branches with different rates to the same feature layer, so each branch sees a different effective field of view. The rates used are {2, 4, 8, 12} in the smaller variant ASPP-S and {6, 12, 18, 24} in ASPP-L. The branch outputs are fused by summation, and each branch uses 3×3 kernels in its own fc6, fc7 and fc8 stack.
A fully connected CRF refines the boundaries
Short-range CRFs mainly clean up spurious predictions, which is less useful when the DCNN's scores are already smooth. The authors therefore connect every pair of pixels in a fully connected CRF, so the model can reshape edges that a local model misses.
The energy is \( E(x)=\sum_i \theta_i(x_i)+\sum_{ij} \theta_{ij}(x_i,x_j) \), where the unary term is \( \theta_i(x_i)=-\log P(x_i) \) and P comes from the DCNN. The pairwise term is nonzero only when the two labels differ, and it is a weighted sum of two Gaussian kernels. The first, bilateral kernel uses both pixel position and RGB color, while the second kernel uses position alone.
Mean field updates under a fully factored approximation can be written as Gaussian convolutions in bilateral space. High-dimensional filtering makes this fast, at under 0.5 sec on average per Pascal VOC image.
How the DCNN and the CRF are fitted
The ImageNet classifier's last layer is replaced by one with as many outputs as segmentation classes, and the whole network is fine-tuned with SGD. The loss sums cross-entropy over every spatial position of the output map, which is subsampled by 8, and unlabeled pixels are ignored.
The DCNN and CRF stages are decoupled, so the CRF parameters are set while the DCNN unary terms stay fixed. For the VGG-16 model, the authors searched w1 in [3:6], σα in [30:10:100] and σβ in [3:6], with w2 = 3 and σγ = 3 fixed, using 10 mean field iterations and 100 validation images.
The learning rate follows a poly policy, multiplied by \( (1-\text{iter}/\text{max\_iter})^{\text{power}} \) with power 0.9. The authors found it more effective than a step schedule under the same batch size and iterations.
What the PASCAL VOC 2012 experiments show
So the larger field of view came at a much smaller cost, and CRF added 3-5% absolute mean IOU across the variants.
With the poly policy, batch size 30 and 6K iterations gave 63.42, against 62.25 for the step policy. Batch size 10 with 20K iterations gave 65.88 before CRF, a 3.63% improvement over step, while keeping training time similar.
On VGG-16, ASPP-L rose from 65.76 to 68.96 before CRF and from 69.84 to 71.57 after CRF, compared to LargeFOV. ASPP-S gained 1.22% before CRF but after CRF performed about the same as LargeFOV, so the larger rates appear to matter. The ASPP-L model with CRF scored 72.6% on the test set.
Switching to ResNet-101 alone gave 68.72% before CRF, compared to 65.76% for the VGG-16 LargeFOV model. The authors attribute the better boundaries of ResNet-101 to an effect similar to hyper-column features, which is a hypothesis rather than a measured mechanism.
On the official test server, DeepLab-CRF (ResNet-101) scored 79.7%, which the table places above earlier entries. The table also lists some arXiv results beside the official leaderboard, so the ranking mixes sources.
Results beyond VOC: Context, Person-Part and Cityscapes
On PASCAL-Context, VGG-16 LargeFOV scored 37.6% before CRF and 39.6% after. The final ResNet-101 model with CRF scored 45.7%, which the authors report as 2.4% above the Adelaide Context method.
On PASCAL-Person-Part, ResNet-101 alone scored 58.90, compared to 56.39 for Attention in the same table. The authors observed no gain from LargeFOV or ASPP on this dataset, so their benefit is data-dependent.
On Cityscapes validation, the ResNet-101 model with all components scored 71.4 mean IOU. Training on full-resolution images, rather than the halved images used in the pre-release benchmark, added 1.9% before CRF and 1.8% after. The test-server score was 70.4%, from a model trained only on the train set.
Limitations
In failure cases, delicate object boundaries such as those of bicycles and chairs are missed. The CRF can't recover them because the unary term isn't confident enough, and the authors hypothesize that an encoder-decoder structure could help.
The Cityscapes test submission used a model trained only on the train set. Incorporating the encoder-decoder idea efficiently is left for future work.
Paper info
- Authors
- Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, Alan L. Yuille
- Venue
- arXiv · Preprint
- First published
- 2016-6-2
- Added
- 2026-11-11
- Updated
- 2017-5-12
- Version
- v2
- arXiv
- 1606.00915
- 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, Iasonas Kokkinos, Kevin Murphy, Alan L. Yuille (2016). DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs. arXiv:1606.00915v2. https://arxiv.org/abs/1606.00915v2
BibTeX
@misc{chen2016deeplab,
title = {{DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs}},
author = {Liang-Chieh Chen and George Papandreou and Iasonas Kokkinos and Kevin Murphy and Alan L. Yuille},
year = {2016},
eprint = {1606.00915},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1606.00915v2}
}