# RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentation

RefineNet refines coarse CNN features using earlier high-resolution features

Guosheng Lin, Anton Milan, Chunhua Shen, Ian Reid · arXiv · 2016-11-20

- **Problem** Deep CNNs downsample so much that segmentation maps become coarse and lose low-level detail. Dilated convolutions keep resolution but need a great deal of memory.
- **Method** RefineNet stacks refinement blocks, one per ResNet stage, that refine coarse high-level maps with earlier higher-resolution features. It uses long-range residual connections instead of keeping large intermediate maps.
- **Results** RefineNet-Res152 reaches an IoU of 83.4 on the PASCAL VOC 2012 test set. The authors call this the best reported result on that dataset to date.

## Why deep features lose spatial detail

A ResNet-style classifier downsamples repeatedly, so its final feature map ends up 32 times smaller in each spatial dimension than the input image, while the channel count grows into the thousands. The depth that makes these features semantic also discards the early filters that captured edges and corners, which leaves the segmentation map coarse.

Learned upsampling with deconvolution can enlarge the map, but it cannot restore the low-level visual detail removed during downsampling. Dilated convolution avoids this loss by removing the stride, which keeps feature maps large and therefore costs a great deal of memory. The authors estimate that with typical filter counts of 1024 and channels kept at 1/4 of the input resolution, even high-end GPUs run out of memory quickly, so dilated methods usually predict at no more than 1/8 of the input size.

The question is whether features from several depths can be fused so that coarse semantic maps are refined into high-resolution predictions. The proposed answer is to refine coarse high-level features with fine-grained low-level features recursively, which avoids holding large intermediate feature maps throughout the network.

## Routing ResNet stages into a refinement chain

The backbone is a ResNet pre-trained on ImageNet and split into four blocks according to the resolution of their output maps. Each stride-2 step halves the resolution from one block to the next, giving feature maps at 1/4, 1/8, 1/16 and 1/32 of the input. Each block has a matching ReﬁneNet unit, and each ResNet output first passes through one convolution layer to adapt its dimensionality.

ReﬁneNet-4 has a single input, so it acts as extra convolutions that adapt the pre-trained weights to segmentation. ReﬁneNet-3 takes the output of ReﬁneNet-4 together with ResNet block-3, so the high-resolution block refines the coarse map from the level above, and ReﬁneNet-2 and ReﬁneNet-1 repeat this step. The refinement blocks do not share parameters, which lets each level adapt to its own detail.

ReﬁneNet-1 has one input path while all other blocks have two, and the final features go to a dense soft-max layer. The resulting score map is bilinearly upsampled to the size of the input image. Long-range residual connections carry low-level features from ResNet into the refinement blocks, and they carry gradients back to the early convolution layers during training.

## Inside one refinement block

Each input path first passes through two residual convolution units, a version of the ResNet unit with batch normalization removed, which tune the pre-trained features for the task. The filter count is 512 for ReﬁneNet-4 and 256 for the remaining blocks in the experiments.

Multi-resolution fusion first convolves each path to a common feature dimension, the smallest among the inputs. It then upsamples the smaller maps to the largest input resolution and sums all paths, and the convolutions also rescale the values so the sum is balanced across paths. A block with a single input passes that input through unchanged.

Chained residual pooling is a chain of pooling blocks, each a max-pooling layer followed by a convolution, and each block pools the output of the block before it. This lets later blocks cover a large region without a large pooling window, with two stride-1 blocks as the default and four blocks for Person-Part. The outputs of the pooling blocks are added to the block input through residual connections, and the convolutions after each pooling act as learnable weights for that summation.

A final residual convolution unit closes each block, so each block contributes three units in total. ReﬁneNet-1 receives two extra units before the soft-max prediction, which adds non-linear processing on the fused features.

## Keeping gradient paths clear

The components follow the identity mapping rule: shortcut paths carry no non-linear layer, and non-linear operations sit on the residual branches. The intent is that gradients can travel across several blocks without being blocked by non-linearities on the shortcut.

The chained residual pooling block includes one ReLU, which the authors report makes the later pooling steps more effective and the model less sensitive to the learning rate. The authors also observed that one ReLU per refinement block does not noticeably reduce gradient flow.

Short-range residual connections sit inside a residual convolution unit or the pooling component, while long-range ones join ResNet blocks to refinement blocks and let gradients reach early ResNet layers. Where a shortcut crosses blocks, a convolution adapts its dimension, and because only linear operations sit on these paths, gradients still pass through them.

The text reports no direct gradient measurement, so the benefit for end-to-end training is inferred from the accuracy results.

## Object parsing on Person-Part

Person-Part provides pixel labels for six person parts, including head, torso, arms and legs, and the rest of each image counts as background. The training set has 1717 images and the test set 1818 images.

ReﬁneNet-Res101 reaches an IoU of 68.6, above DeepLab-v2 (Res101) at 64.9, which uses the same ResNet initialization. Table 1 also lists DeepLab at 62.8 and Graph-LSTM at 60.2, among other methods.

With ResNet-50 the score rises from 64.1 to 65.7 to 67.1 as chained residual pooling and then multi-scale evaluation are switched on. Moving to ResNet-101 gives 67.6 with chained residual pooling but without multi-scale evaluation, and 68.6 with both. Within this table, each of depth, chained pooling and multi-scale evaluation adds to the score.

## PASCAL VOC 2012 and NYUDv2

PASCAL VOC 2012 has 20 object categories and one background class, split into 1464 training, 1449 validation and 1456 test images. The test labels are withheld, so the test results come from the VOC evaluation server, and the training set is augmented with extra annotated VOC images and MS COCO training data.

ReﬁneNet-Res152 reaches an IoU of 83.4 and ReﬁneNet-Res101 reaches 82.4 on the test set, against 79.7 for DeepLab2-Res101 and 80.2 for CSupelec-Res101. The authors describe 83.4 as the best reported result on this dataset to date, and the gains are largest in the per-category rows they compare.

Dense CRF refinement is used for this dataset, and the authors state that it adds 0.1% on the validation set, a marginal effect.

NYUDv2 contains 1449 RGB-D images of indoor scenes, with labels mapped to 40 classes and a standard split of 795 training and 654 test images. Only the RGB images are used, and the depth channel is ignored. ReﬁneNet-Res152 reaches 46.5 IoU with a pixel accuracy of 73.6 under this setting, against 40.6 IoU for Context. On NYUDv2 in Table 2, the ResNet-50 rows rise from 40.4 to 42.5 and 43.8 as the chained pooling and multi-scale options are turned on, and ResNet-152 reaches 46.5.

## Cityscapes, PASCAL-Context, SUN-RGBD and ADE20K

Its test ground truth is withheld, so the scores come from the evaluation server, where ReﬁneNet-Res101 reaches 73.6 IoU against 70.4 for DeepLab-v2 (Res101).

PASCAL-Context labels the whole scene with 60 classes, made of 59 object categories plus background, with 4998 training and 5105 test images. Only the VOC training images are used, and ReﬁneNet-Res101 reaches 47.1 and ReﬁneNet-Res152 47.3, against 45.7 for DeepLab-v2 (Res101) trained with extra COCO data.

SUN-RGBD contains around 10,000 RGB-D indoor images labelled for 37 classes, and the models here take RGB input only. ReﬁneNet-Res152 reaches 45.9 IoU and ReﬁneNet-Res101 reaches 45.7, against 42.3 for Context under the same RGB setting.

ADE20K MIT has dense labels for 150 classes on more than 20K scene images, and the 2000-image validation set is used for evaluation. ReﬁneNet-Res152 reaches 40.7 IoU and ReﬁneNet-Res101 reaches 40.2, against 34.9 for Cascaded-DilatedNet.

## Cascade variants on NYUDv2

With ResNet-50 and no multi-scale evaluation, a single ReﬁneNet block reaches 40.3, the 2-cascaded version 40.9 and the 4-cascaded version 42.5. The 4-cascaded 2-scale version reaches 43.1 under the same initialization.

The single block takes all four ResNet inputs and fuses them in one step, while the 2-cascaded version uses ReﬁneNet-2 with two inputs and a top block with three. The 2-scale version feeds the image at factors of 1.2 and 0.6 into two independent ResNets.

The 4-cascaded version beats the 2-cascaded and single versions, and two scales beat one scale, which the authors expect from the larger capacity of the network. The 2-scale model lengthens training, so the single-scale 4-cascaded version became the standard architecture for the other experiments.

## Limits of the evidence

The component ablations are reported on NYUDv2 and Person-Part, and the cascade variants only on NYUDv2 with ResNet-50. The 2-scale variant reaches 43.1 but increases training time, so it is not the standard model.

Dense CRF is applied only to PASCAL VOC 2012, and the depth channel is not used on NYUDv2 or SUN-RGBD, so those scores come from RGB-only models. The claim that dilated methods are memory-bound at 1/8 output is the authors' estimate for a stated filter count of 1024.

## Paper info

- **Authors**: Guosheng Lin, Anton Milan, Chunhua Shen, Ian Reid
- **Venue**: arXiv · Preprint
- **First published**: 2016-11-20
- **Added**: 2026-11-12
- **Updated**: 2016-11-25
- **Version**: v3
- **arXiv**: 1611.06612
- **Category**: cs.CV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1611.06612v3) · [PDF ↗](https://arxiv.org/pdf/1611.06612v3)

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

Guosheng Lin, Anton Milan, Chunhua Shen, Ian Reid (2016). RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentation. arXiv:1611.06612v3. https://arxiv.org/abs/1611.06612v3

**BibTeX**

```
@misc{lin2016refinenet,
  title = {{RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentation}},
  author = {Guosheng Lin and Anton Milan and Chunhua Shen and Ian Reid},
  year = {2016},
  eprint = {1611.06612},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.06612v3}
}
```

## Other paper commentary

- [An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition](https://refivu.com/en/papers/0af396fe-f182-4e15-a1b1-45885c0e214b-an-end-to-end-trainable-neural-network-for.md)
- [Class-Balanced Loss Based on Effective Number of Samples](https://refivu.com/en/papers/aed1f701-fb3f-4393-883f-c9d024be3559-class-balanced-loss-based-on-effective-number-of.md)
- [A Neural Algorithm of Artistic Style](https://refivu.com/en/papers/7a83cd1c-7f82-4bea-8cb3-b9282fec51d7-a-neural-algorithm-of-artistic-style.md)
- [YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications](https://refivu.com/en/papers/bc6c3631-b9ce-46cf-ba36-5bfffaf011ac-yolov6-a-single-stage-object-detection-framework-for.md)
- [Empirical Evaluation of Rectified Activations in Convolutional Network](https://refivu.com/en/papers/05562fa8-4d7f-4a6f-abed-8f1989035781-empirical-evaluation-of-rectified-activations-in.md)
- [Recurrent Models of Visual Attention](https://refivu.com/en/papers/e3081a53-9c07-4905-a2ea-84f5e0eae03f-recurrent-models-of-visual-attention.md)
- [Popular Ensemble Methods: An Empirical Study](https://refivu.com/en/papers/5090a4a5-58f8-4919-88f2-f93e9b4007cb-popular-ensemble-methods-an-empirical-study.md)
- [Boosting Adversarial Attacks with Momentum](https://refivu.com/en/papers/b89dce42-c994-4509-9776-b934fb9a9d13-boosting-adversarial-attacks-with-momentum.md)
- [A Survey on Large Language Model based Autonomous Agents](https://refivu.com/en/papers/9d1600e9-9099-49ab-b9f8-7e2c2083c79f-a-survey-on-large-language-model-based-autonomous.md)
- [A Survey on Multi-Task Learning](https://refivu.com/en/papers/98bc12a0-4d8a-482c-a7f3-4cb8b097be35-a-survey-on-multi-task-learning.md)
- [A Survey on Deep Transfer Learning](https://refivu.com/en/papers/70d5585b-a29e-478d-99ba-9a1b29ac99c1-a-survey-on-deep-transfer-learning.md)

## Terms in this paper

- [Semantic segmentation](https://refivu.com/en/terms/00dfce7ec404-semantic-segmentation)
- [ResNet](https://refivu.com/en/terms/ca7e0121c7a8-resnet)
- [dilated convolution](https://refivu.com/en/terms/7c0300102517-dilated-convolution)
- [FCN](https://refivu.com/en/terms/a92993ff7ed6-fcn)
- [pixel accuracy](https://refivu.com/en/terms/623755cb8953-pixel-accuracy)
- [residual connections](https://refivu.com/en/terms/bd7b8af195ce-residual-connections)
- [intersection-over-union](https://refivu.com/en/terms/d78f1500d593-intersection-over-union)
- [DeepLab](https://refivu.com/en/terms/1d51bd71db10-deeplab)
- [identity mapping](https://refivu.com/en/terms/409cd2106e76-identity-mapping)
- [intersection-over-union (IoU)](https://refivu.com/en/terms/4457e340d1eb-intersection-over-union-iou)
- [PASCAL-Context](https://refivu.com/en/terms/75d7981eb878-pascal-context)
- [ReﬁneNet](https://refivu.com/en/terms/14a4beee3ad8-refinenet)
- [SUN-RGBD](https://refivu.com/en/terms/1cf6d3aac50f-sun-rgbd)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/ab95d2b5-2254-4fd6-9e48-b56d4580e670-refinenet-multi-path-refinement-networks-for-high-resolution)
