Skip to main content
QUICK REVIEW

[Paper Review] Soft labelling for semantic segmentation: Bringing coherence to label down-sampling

Roberto Alcover‐Couso, Marcos Escudero-Viñolo|arXiv (Cornell University)|Feb 27, 2023
Advanced Neural Network ApplicationsComputer Science3 citations
TL;DR

This paper proposes soft-labeling for semantic segmentation to align image and label down-sampling strategies, preserving class distribution and reducing misalignment artifacts. By using differentiable, probabilistic label encoding instead of nearest-neighbor down-sampling, the method achieves state-of-the-art performance at lower resolutions using only a single 24GB GPU—surpassing full-resolution models in mIoU while reducing computational costs by up to 10×.

ABSTRACT

In semantic segmentation, training data down-sampling is commonly performed due to limited resources, the need to adapt image size to the model input, or improve data augmentation. This down-sampling typically employs different strategies for the image data and the annotated labels. Such discrepancy leads to mismatches between the down-sampled color and label images. Hence, the training performance significantly decreases as the down-sampling factor increases. In this paper, we bring together the down-sampling strategies for the image data and the training labels. To that aim, we propose a novel framework for label down-sampling via soft-labeling that better conserves label information after down-sampling. Therefore, fully aligning soft-labels with image data to keep the distribution of the sampled pixels. This proposal also produces reliable annotations for under-represented semantic classes. Altogether, it allows training competitive models at lower resolutions. Experiments show that the proposal outperforms other down-sampling strategies. Moreover, state-of-the-art performance is achieved for reference benchmarks, but employing significantly less computational resources than foremost approaches. This proposal enables competitive research for semantic segmentation under resource constraints.

Motivation & Objective

  • Address the performance degradation in semantic segmentation caused by misaligned down-sampling of images and labels.
  • Enable high-performance training under budget constraints by reducing GPU memory and computational requirements.
  • Improve label fidelity during down-sampling, especially for under-represented semantic classes.
  • Develop a unified down-sampling strategy that applies the same interpolation method to both image and label data.
  • Demonstrate that soft-label encoding preserves more semantic information than standard nearest-neighbor labeling

Proposed method

  • Replace traditional nearest-neighbor down-sampling of categorical labels with a soft-label encoding that represents class probabilities within each down-sampled region.
  • Use bilinear interpolation for both image and label down-sampling, ensuring consistent spatial alignment between input and target.
  • Encode labels as probability distributions over classes using the relative frequency of original pixel classes in each down-sampling region.
  • Train segmentation models using cross-entropy loss on soft-label targets, enabling gradient flow during backpropagation.
  • Integrate the soft-labeling pipeline into standard data augmentation pipelines, including random cropping and resizing.
  • Enable up-sampling during training when crop size exceeds image resolution, maintaining consistency through soft-label propagation

Experimental results

Research questions

  • RQ1Can a common down-sampling strategy be applied to both image and label data to eliminate misalignment?
  • RQ2How does soft-labeling affect model performance across all semantic classes, especially under-represented ones?
  • RQ3What is the optimal down-sampling factor below which performance drops significantly?
  • RQ4Can soft-labeling enable state-of-the-art performance at lower resolutions with drastically reduced hardware requirements?
  • RQ5Does the soft-labeling strategy generalize across datasets with variable image resolutions?

Key findings

  • The proposed soft-labeling method achieves 54.4% mIoU on the Mapillary validation set using only one 24GB GPU, outperforming a reference model (53.1% mIoU) that uses 8×32GB GPUs.
  • On the ADE20K dataset, the method achieves 48.3% mIoU with a single 24GB GPU, surpassing the state-of-the-art model (46.5% mIoU) that uses 8×32GB GPUs.
  • The model trained on half-resolution Cityscapes images with soft-labeling achieves 48.3% mIoU, exceeding the performance of a full-resolution state-of-the-art model (47.7% mIoU) trained on 50×24GB GPUs.
  • Performance drops significantly below a 1/4 down-sampling factor, indicating a hard limit on resolution reduction without information loss.
  • The method improves performance on under-represented classes by preserving class distribution through probabilistic label encoding.
  • The framework enables training competitive models with up to 10× less GPU memory and 50× fewer GPUs than leading full-resolution baselines

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.