Skip to main content
QUICK REVIEW

[Paper Review] Correlation Maximized Structural Similarity Loss for Semantic Segmentation

Shuai Zhao, Boxi Wu|arXiv (Cornell University)|Oct 19, 2019
Advanced Neural Network ApplicationsComputer Science48 references15 citations
TL;DR

This paper proposes a novel Correlation Maximized Structural Similarity Loss (SSL) for semantic segmentation that enhances model performance by explicitly modeling pixel-wise structural dependencies. Inspired by the SSIM index, SSL quantifies structural similarity via linear correlation between ground truth and predicted segmentation maps, reweighting cross-entropy loss to focus on regions with low correlation—thereby improving boundary and small-object segmentation with minimal computational overhead. The method achieves consistent mIoU gains of up to 1.93% on PASCAL VOC 2012 and 1.39% on Cityscapes.

ABSTRACT

Most semantic segmentation models treat semantic segmentation as a pixel-wise classification task and use a pixel-wise classification error as their optimization criterions. However, the pixel-wise error ignores the strong dependencies among the pixels in an image, which limits the performance of the model. Several ways to incorporate the structure information of the objects have been investigated, \eg, conditional random fields (CRF), image structure priors based methods, and generative adversarial network (GAN). Nevertheless, these methods usually require extra model branches or additional memories, and some of them show limited improvements. In contrast, we propose a simple yet effective structural similarity loss (SSL) to encode the structure information of the objects, which only requires a few additional computational resources in the training phase. Inspired by the widely-used structural similarity (SSIM) index in image quality assessment, we use the linear correlation between two images to quantify their structural similarity. And the goal of the proposed SSL is to pay more attention to the positions, whose associated predictions lead to a low degree of linear correlation between two corresponding regions in the ground truth map and the predicted map. Thus the model can achieve a strong structural similarity between the two maps through minimizing the SSL over the whole map. The experimental results demonstrate that our method can achieve substantial and consistent improvements in performance on the PASCAL VOC 2012 and Cityscapes datasets. The code will be released soon.

Motivation & Objective

  • Address the limitation of standard pixel-wise cross-entropy loss in semantic segmentation, which ignores spatial dependencies among pixels.
  • Overcome the drawbacks of existing structure-aware methods such as CRF, affinity fields, and GANs, which are computationally expensive or yield marginal gains.
  • Develop a simple yet effective loss function that enhances structural consistency in predictions without requiring additional model branches or inference time overhead.
  • Enable consistent performance gains across diverse datasets and architectures with minimal computational cost during training.

Proposed method

  • Propose a structural similarity loss (SSL) that quantifies the linear correlation between corresponding regions in the ground truth and predicted segmentation maps.
  • Calculate the structural difference as the deviation between normalized ground truth and predicted regions, using this to measure their degree of linear correlation.
  • Re-weight the standard cross-entropy loss based on the magnitude of structural differences, giving higher attention to regions with low correlation.
  • Apply an online hard example mining strategy by discarding pixels with small structural differences to improve training efficiency.
  • Integrate SSL as a plug-in loss during training, requiring only minor modifications and negligible additional computational cost.
  • Use standard deep learning backbones (e.g., DeepLabv3) with SSL to optimize for both pixel-wise accuracy and structural consistency.

Experimental results

Research questions

  • RQ1Can a simple, differentiable loss function effectively model structural dependencies in semantic segmentation without adding model complexity?
  • RQ2How does incorporating linear correlation between ground truth and predicted maps improve segmentation performance on challenging object boundaries and small structures?
  • RQ3Does the proposed SSL outperform existing structure-aware methods like CRF, affinity fields, and GANs in terms of mIoU gain and computational efficiency?
  • RQ4Can SSL be universally applied across different architectures and datasets with consistent performance gains?
  • RQ5What is the optimal region size for computing structural similarity in the SSL, and how does it affect performance?

Key findings

  • The proposed SSL achieves a 1.93% mIoU improvement on the PASCAL VOC 2012 validation set compared to standard cross-entropy loss, outperforming CRF and affinity field losses.
  • On the Cityscapes dataset, SSL improves mIoU by 1.39% over the baseline cross-entropy loss when using DeepLabv3, with consistent gains across all classes.
  • The method achieves better performance than GAN-based approaches (e.g., Luc et al. [27]) with only 0.25% mIoU gain, while being significantly more efficient and stable.
  • The SSL with region size 3 achieves the highest mIoU of 76.76% on PASCAL VOC 2012, indicating optimal balance between local detail and structural coherence.
  • The method requires no additional inference time or memory overhead, making it suitable for real-time and resource-constrained applications.
  • Per-class results show significant improvements on small or low-contrast objects (e.g., horse legs, race number-covered regions), confirming enhanced structural awareness.

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.