Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs

Deep nets with fully connected CRFs sharpen segmentation

  • Problem Final-layer scores of deep convolutional networks are too coarse to pin down object outlines. The invariance that helps classification also erodes the spatial precision that segmentation needs.
  • Method DeepLab converts VGG-16 into a dense predictor with the atrous algorithm, which keeps filters intact and skips subsampling. It then refines the upsampled scores with a fully connected CRF, solved by mean field inference.
  • Results DeepLab-MSc-CRF-LargeFOV reaches 71.6% mean IOU on the PASCAL VOC 2012 test set. This is the best result in the paper, with models trained on the trainval set.

Why final-layer scores blur boundaries

Deep convolutional networks gained strong results on image classification and detection, and their learned invariance to local transformations is what makes them good at those tasks. The same invariance works against segmentation, where the goal is to keep precise positions rather than abstract them away. The authors show that the responses of the final layer are not localized enough to give accurate object segmentation.

Two technical hurdles are named. The first is signal downsampling caused by repeated max-pooling and striding; the second is the spatial invariance that limits how precisely a classifier can say where an object is. The authors address the first with the atrous algorithm and the second with a fully connected CRF.

The score maps are smooth and reliably indicate where objects roughly are, but they are a poor guide to the exact outline of those objects. Refining these maps therefore has to recover detail that the network output no longer carries.

Turning VGG-16 into a dense scorer

The VGG-16 network, pretrained on ImageNet, is re-purposed by converting its fully connected layers into convolutional layers, so it can run over the whole image at its original resolution. Run this way, the network produces scores only every 32 pixels, which is too sparse for dense labeling.

To reach a target stride of 8 pixels, subsampling is skipped after the last two max-pooling layers. The convolutional filters that follow them are then applied to sparsely sampled feature maps, with an input stride of 2 for the last three convolutional layers and 4 for the first fully connected layer. Keeping the filters intact and changing only the sampling is what the authors call the hole or atrous algorithm; it is implemented inside Caffe by changing how the im2col function gathers patches.

Because the filters are not altered, the authors state that dense feature maps can be computed at any target subsampling rate without approximation.

For fine-tuning, the 1000-way ImageNet classifier is replaced by a 21-way classifier, and the loss is the sum of cross-entropy terms at every spatial position of the output map, which is subsampled by 8. All positions and labels carry equal weight, and the ground-truth labels are subsampled by 8 to match.

At test time the class score maps are enlarged to the original resolution by a factor of 8 with bilinear interpolation. The authors state that the maps are smooth enough for this to cost almost nothing.

Receptive field size and first-layer cost

The receptive field of VGG-16 is 224 by 224 pixels with zero-padding and 404 by 404 pixels when the network runs convolutionally. After conversion, the first fully connected layer, with 4,096 filters of size 7 by 7, is the computational bottleneck of dense scoring.

The authors spatially subsample that layer by simple decimation to 4 by 4, or 3 by 3, which cuts the receptive field to 128 by 128 pixels with zero-padding, or 308 by 308 in convolutional mode. This reduces the computation time of that layer by a factor of 2 to 3.

With a Titan GPU, a 306 by 306 input yields a 39 by 39 grid of raw scores at about 8 frames per second at test time, and about 3 frames per second during training. Reducing the channels of the fully connected layers from 4,096 to 1,024 further lowers computation and memory without a loss in performance, according to the authors.

Fully connected CRF refinement

Conventional short-range CRFs were built to clean up noisy predictions from weak classifiers on hand-engineered features. DCNN scores are already smooth and homogeneous, so the authors argue that short-range smoothing can work against the goal, which is to recover fine local structure. Contrast-sensitive short-range potentials can help localization, but they still miss thin structures and need an expensive discrete optimization.

The authors therefore adopt the fully connected pairwise CRF of Krähenbühl and Koltun (2011), whose energy sums unary terms over pixels and pairwise terms over all pixel pairs. \[E(x)=\sum_i \theta_i(x_i)+\sum_{ij}\theta_{ij}(x_i,x_j)\] Here \(x\) is the label assignment of the pixels. Each unary term is the negative log of the label probability \(P(x_i)\) that the DCNN assigns to pixel \(i\).

Every pair of pixels gets such a term, however far apart they are, so the factor graph is fully connected and long-range dependencies are included.

The authors use two kernels. The first depends on both position and color, with weight \(w_1\) and scales \(\sigma_\alpha\) and \(\sigma_\beta\); the second depends only on position, with weight \(w_2\) and scale \(\sigma_\gamma\). \[w_1 \exp\left(-\frac{\lVert p_i-p_j\rVert^2}{2\sigma_\alpha^2}-\frac{\lVert I_i-I_j\rVert^2}{2\sigma_\beta^2}\right)+w_2 \exp\left(-\frac{\lVert p_i-p_j\rVert^2}{2\sigma_\gamma^2}\right)\]

Mean field inference approximates the joint distribution with a product of per-pixel marginals, and its message passing reduces to Gaussian filtering in feature space. High-dimensional filtering makes this fast; the authors report less than 0.5 second on average for Pascal VOC images with the public implementation. The number of mean field iterations is fixed at 10 for all reported experiments.

Adding intermediate-layer features

The multi-scale variant attaches a two-layer branch to the input image and to the output of each of the first four max-pooling layers. Each branch has 128 3 by 3 convolutional filters followed by 128 1 by 1 filters, and its output is concatenated to the last feature map of the main network. The softmax layer therefore receives 5 * 128 = 640 extra channels.

Only the newly added weights are adjusted; the other parameters keep the values learned in the DCNN training stage. The authors note that these direct connections from high-resolution layers improve localization, but the gain is smaller than the one from the fully connected CRF.

Training and CRF parameter search

Training is piecewise: the DCNN and the CRF are trained in separate stages, and the DCNN unary terms are treated as fixed while the CRF is trained. The VGG-16 network, pretrained on ImageNet, is fine-tuned with stochastic gradient descent on the cross-entropy loss. The authors use mini-batches of 20 images, an initial learning rate of 0.001 (0.01 for the final classifier layer), a factor of 0.1 decay every 2000 iterations, momentum of 0.9 and weight decay of 0.0005.

The search is coarse to fine: the initial ranges are \(w_1\in[5,10]\), \(\sigma_\alpha\in[50:10:100]\) and \(\sigma_\beta\in[3:1:10]\) in MATLAB notation, after which the step sizes are refined around the best values of the first round.

Validation results on the PASCAL val set

Models are trained on the augmented PASCAL train set and evaluated on the val set, with mean IOU as the metric. DeepLab reaches 59.80 and DeepLab-CRF reaches 63.74 in that table, so the fully connected CRF adds about 4% over DeepLab. The authors set this gain against Krähenbühl and Koltun (2011), who raised TextonBoost from 27.6 to 29.1, and describe the improvement from 59.8 to 63.7 as larger in relative terms.

Adding the multi-scale features improves DeepLab by about 1.5%, and adding the CRF on top of the multi-scale model gives about 4% more. The best val result in the table, 68.70, comes from DeepLab-MSc-CRF-LargeFOV, which combines the multi-scale features with the large field of view.

Field of view against training speed

DeepLab-CRF uses a 4 by 4 kernel with input stride 4 and a receptive field of 128, reaching 63.74 at 2.90 images per second, while DeepLab-CRF-4x4 with input stride 8 and receptive field 224 reaches 67.14 at the same training speed.

The authors report that this model runs 3.36 times faster than DeepLab-CRF-7x7.

Accuracy inside the boundary band

To measure boundary accuracy, the evaluation uses the void label of the val set, which lies around object outlines. Mean IOU is computed only for pixels in a narrow band, called a trimap, of width measured in pixels. The trimap examples show bands of 2 and 10 pixels around the ground-truth object outline.

Across trimap widths, the authors report that adding multi-scale features and refining with the fully connected CRF improve both pixelwise accuracy and mean IOU in the band. The comparison covers DeepLab, DeepLab-MSc, DeepLab-CRF and DeepLab-MSc-CRF, and the effect is largest for the CRF-refined variants near the boundary.

Test set results and comparison with prior work

Models are trained on the augmented trainval set and scored on the official test set, with mean IOU as the metric. DeepLab-CRF reaches 66.4% and DeepLab-MSc-CRF reaches 67.1% mean IOU. The authors state that both models exceed TTI-Zoomout-16, FCN-8s and MSRA-CFM on the same test set, which is the basis of the claim.

With the large field of view, DeepLab-CRF-LargeFOV reaches 70.3%, the same as DeepLab-CRF-7x7, while training faster. The best variant, DeepLab-MSc-CRF-LargeFOV, combines multi-scale features with the large field of view and reaches 71.6% mean IOU. Per-class IOU values on the test set are listed for every variant, with DeepLab-MSc-CRF-LargeFOV scoring highest in the overall mean.

Limitations

The DCNN and the CRF are trained separately, with the DCNN unary terms held fixed during CRF training. The authors plan to integrate the two components and train the whole system end to end, and to test more datasets and other data sources such as depth maps or videos.

Mean field inference takes less than 0.5 second per image on average, while the dense network pass runs at 8 frames per second, so the CRF step dominates the cost. The CRF parameters are chosen on 100 validation images, so their selection rests on a small subset.

The FCN-8s and TTI-Zoomout-16 scores in the val comparison are taken from their papers rather than measured under the same conditions. The multi-scale branch gives a smaller gain than the CRF, and its effect near boundaries is described by the authors as slight.

Paper info

Authors
Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, Alan L. Yuille
Venue
arXiv · Preprint
First published
2014-12-22
Added
2026-11-12
Updated
2016-6-7
Version
v4
arXiv
1412.7062
Category
cs.CV · cs.LG · cs.NE
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 (2014). Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs. arXiv:1412.7062v4. https://arxiv.org/abs/1412.7062v4

BibTeX
@misc{chen2014semantic,
  title = {{Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs}},
  author = {Liang-Chieh Chen and George Papandreou and Iasonas Kokkinos and Kevin Murphy and Alan L. Yuille},
  year = {2014},
  eprint = {1412.7062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1412.7062v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up