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

ResUNet-a: a deep learning framework for semantic segmentation of remotely sensed data

ResUNet-a adds residual and multi-task outputs to UNet for aerial segmentation

  • Problem Pixel labelling of aerial images is hard because one class looks very different from building to building, while different classes can look alike.
  • Method ResUNet-a puts residual blocks with atrous branches inside a UNet. It predicts boundaries, a distance map and the mask in sequence, each conditioned on the last.
  • Results On the ISPRS Potsdam dataset, the best model reaches an average F1 score of 92.9% over the non-background classes.

Why pixel labels on aerial imagery are hard

Labelling every pixel of a very high resolution aerial image supports urban planning and infrastructure monitoring, yet the same class can look very different from one building to the next while different classes can look alike. Dense urban layouts add occlusions and cast shadows, so spectral values alone do not separate objects that interact in three dimensions.

Pixel-based classifiers produce salt-and-pepper noise and leave much of the information in very high resolution data unused.

Object-based analysis groups pixels into segments through parameters that have no agreed optimum, so the result depends on repeated trial and error. The authors argue that hand-selected features cap accuracy at a level that is not known in advance, and that learned convolutional features avoid this limit.

A UNet built from residual atrous blocks

ResUNet-a keeps the encoder–decoder shape of a UNet, so coarse features on the way down are merged with encoder features at matching resolution on the way up. The d6 model stacks six ResBlock-a encoder blocks followed by a PSP pooling layer, while the d7 model adds one more block to each side.

Each ResBlock-a runs a plain branch of two stacked convolutions together with up to three atrous branches, all sharing the same number of filters, and adds the sum of the branches to the block input. The dilation rates are {1, 3, 15, 31} in the first two stages, {1, 3, 15} in the next two and {1} in the last stages, which widens the receptive field at each scale.

The authors sum the branches rather than concatenate them, referring to the constant condition number of the Hessian of stacked residual blocks (Li et al., 2016) as the reason summation is easier to train.

Downsampling uses a 1x1 convolution with stride two, and the decoder upsamples with nearest-neighbour interpolation followed by a normed convolution, which the authors chose to avoid a chequerboard pattern in the mask. The PSP pooling operator splits the channels into four equal partitions and applies max pooling over 1, 4, 16 and 64 partitions, and it is placed in the middle of the network and at the end.

The d6 model has about 52M trainable parameters at initial filter size 32, and the d7 model has about 160M at the same filter size. The d7v1 variant replaces the middle PSP layer with a standard residual block, followed by max pooling, upsampling and concatenation with the input of the block. The d7v2 variant keeps a residual block in the middle but uses a smaller PSP layer with 1/1, 1/2 and 1/4 scales, because the middle filters are too small for the 1/8 branch at a 256x256 input.

Auxiliary tasks and the conditioned output

The multi-task output replaces the final layers with heads for four targets: the segmentation mask, the common boundary between classes, the distance transform of the mask and a reconstruction of the input in HSV colour space. The auxiliary labels are derived from the image and the mask with standard computer vision libraries, so no extra annotation is needed.

The colour target is a different colour space rather than the raw input, which is meant to stop the network from reaching a trivial identity mapping. The distance transform encodes topological connectivity, so a road partly covered by a car appears as a hole in the road mask.

In the simple multi-task layer the four tasks are produced independently, with no task feeding another. In the conditioned layer the distance map is predicted first and concatenated with the PSP output to compute the boundary logits, and the distance map and boundary are then passed with the PSP output to the segmentation logits. The PSP layer is left out of the distance and colour branches because it leaves large square regions of identical values in those outputs.

Tanimoto loss with complement

The starting point is the Dice coefficient for fuzzy multiclass labels, and the authors compare several forms that differ in whether the denominator uses summed probabilities, summed squares or summed squares with a subtraction term. The loss the authors introduce uses the third form, with the cross term subtracted, and it is applied per class with weights.

The weighted loss is written as follows, where p_{iJ} is the predicted probability of pixel i for class J and l_{iJ} is its label. \[ T(p_{iJ}, l_{iJ}) = \frac{\sum_{J=1}^{N_{class}} w_J \sum_{i=1}^{N_{pixels}} p_{iJ} l_{iJ}}{\sum_{J=1}^{N_{class}} w_J \sum_{i=1}^{N_{pixels}} \left(p_{iJ}^2 + l_{iJ}^2 - p_{iJ} l_{iJ}\right)} \] Both sums run over all classes and all pixels, so the numerator and the denominator share the same class weights w_J.

The complemented version averages the loss evaluated on the original pair with the loss evaluated on the inverted pair, so that the score is symmetric in probability and label. \[ \tilde{T}(p_{iJ}, l_{iJ}) = \frac{T(p_{iJ}, l_{iJ}) + T(1 - p_{iJ}, 1 - l_{iJ})}{2} \] The authors use this complemented, weighted form throughout and refer to it as the Tanimoto loss.

Gradient fields of the Dice-family losses

The authors plot gradient fields over a two-dimensional pair of probabilities (px, py) for the three Dice-family forms and their complements, with a fixed ground truth point. Without the complement, the gradient lines of the first form need not reach the ground truth from every starting point, while the complemented first form behaves better.

For the second and third forms the gradient lines pass through the ground truth, but they are curved, whereas their complemented versions have straight gradient lines that flow to the ground truth regardless of the starting point. The authors report that the extremum of the Laplacian lies closer to the ground truth only for the complemented forms, and that the Laplacian of the third form lies closer to the ground truth than that of the second.

When the outputs are restricted to [0, 1], the same loss can recover continuous targets, and Figure 4 shows the case of a ground truth vector of (0.25, 0.85). For a target of (0.5, 0.5), the authors describe the gradients of the complemented form as symmetric around the ground truth, and they note that multi-task training with different loss forms would otherwise need an extra balancing weight a.

Training augmentation and tile inference

The Potsdam data set provides true orthophotos with red, green, blue and near-infrared bands and a digital surface model, at a ground sampling distance of 5 cm. Training patches are 256x256 pixels.

Each image and mask pair is rotated by a random angle around a random centre and rescaled by a random factor, and reflect padding fills the empty areas. Random reflections in the x and y directions are added as a further augmentation. The authors frame this as encoding the expectation that objects should be recognised under affine transformations, with the invariance built into the data rather than the network, as in a spatial transformer.

At inference, a 256x256 window is stepped across the tile in strides of 64 pixels, so that each pixel receives several predictions. The final probability vector for each pixel is the average over all windows that cover it. Each tile is also padded with reflect padding of 128 pixels, since edge pixels see less context and the authors want to limit the effect of missing context at tile borders.

Conditioned versus simple multi-task training

On the d7v1 feature extractor, the conditioned model (cmtsk) shows less variance in the loss and in the MCC during training than the standard multi-task model (mtsk). The authors report that the median MCC of the conditioned model is higher, which they link to more stable gradient updates, and they describe the gain as slight.

The authors also report that including the HSV reconstruction further reduces variance in the metric. They conclude that the main gain of the conditioned layer is faster and more consistent convergence, along with better boundary segmentation compared with single-output models.

Figure 9 compares d7v1, without a middle PSP layer, with d7v2, which has one, and the authors state that the middle PSP layer boosts convergence.

Loss comparison under a fixed training budget

Three identical models were trained with the same hyperparameters and the same class weighting, each with a different loss, on the FoV×4 dataset. The compared losses are the Dice loss, the Tanimoto loss without complement and the Tanimoto loss with complement.

After the same number of epochs, the Tanimoto loss with complement reaches an MCC of 85.99, while the Dice loss stagnates at an MCC of 80.72. The learning rate was not reduced to push the maximum, so the comparison is about relative progress over the same epochs with fixed hyperparameters.

The authors state that the loss cannot cause overfitting, so they expect the same behaviour on the larger FoV×1 dataset. No FoV×1 MCC values for this loss comparison are given, so this expectation is not backed by a reported number.

Without the complement the Tanimoto loss converges more slowly and shows greater variance, although its performance is close to the complemented form.

Potsdam results and published comparison

The d7v2 conditioned model reached an average F1 score of 92.9% over the non-background classes on the Potsdam test tiles. Its per-class F1 scores were 93.5 for ImSurface, 97.2 for Building, 88.2 for LowVeg, 89.2 for Tree and 96.4 for Car, with an overall accuracy of 91.5.

The d6 conditioned model reached an average F1 of 92.4 and an overall accuracy of 91.0 on the FoV×1 test tiles. The authors rank it third on average F1 among the compared models.

The authors state that d7v2 conditioned ranks first among the representative sample of compared models in every class. They also note that the differences for most results are marginal.

The compared entries are the published ISPRS website results for other frameworks, not reruns under the same conditions. The ground truth used for these scores has eroded boundaries, following the dataset curators.

On FoV×4, the conditioned d6 model reached an average F1 of 91.9 against 91.6 for the standard d6 model, and both d7v1 variants reached 92.1.

The authors note that CASIA2, which has the second highest overall score, started from a pre-trained ResNet101, while ResUNet-a was trained from random weights on the Potsdam data alone.

Limitations

Training from random initialisation on the Potsdam data alone takes a very long time, which the authors accept in exchange for not using pre-trained weights. The authors cite prior work that reaches similar performance without pre-trained weights, but the cost is long training.

The reported evaluation uses only the ISPRS 2D Potsdam data set. Several loss and multi-task comparisons run on FoV×4 only, and the FoV×1 results cover the d6 and d7v2 conditioned models.

Pooling at several scales can leave square blocks in the error maps, and the authors note this is why the PSP layer is not used in the distance and colour branches.

Paper info

Authors
Foivos I. Diakogiannis, François Waldner, Peter Caccetta, Chen Wu
Venue
arXiv · Preprint
First published
2019-4-1
Added
2026-11-12
Updated
2020-1-15
Version
v3
arXiv
1904.00592
DOI
10.1016/j.isprsjprs.2020.01.013
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

Foivos I. Diakogiannis, François Waldner, Peter Caccetta, Chen Wu (2019). ResUNet-a: a deep learning framework for semantic segmentation of remotely sensed data. arXiv:1904.00592v3. https://doi.org/10.1016/j.isprsjprs.2020.01.013

BibTeX
@article{diakogiannis2019resunet,
  title = {{ResUNet-a: a deep learning framework for semantic segmentation of remotely sensed data}},
  author = {Foivos I. Diakogiannis and François Waldner and Peter Caccetta and Chen Wu},
  year = {2019},
  eprint = {1904.00592},
  archivePrefix = {arXiv},
  doi = {10.1016/j.isprsjprs.2020.01.013},
  url = {https://arxiv.org/abs/1904.00592v3}
}

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