Convolution-based Probability Gradient Loss for Semantic Segmentation

Guohang Shan, Shuangcheng Jia
4/10/2024
cs.CVcs.AI

No official code found. Best implementation: MoriartyShan/Convolution-based-Probability-Gradient-Loss (2 stars, last commit 2024-06-04).

Abstract

In this paper, we introduce a novel Convolution-based Probability Gradient (CPG) loss for semantic segmentation. It employs convolution kernels similar to the Sobel operator, capable of computing the gradient of pixel intensity in an image. This enables the computation of gradients for both ground-truth and predicted category-wise probabilities. It enhances network performance by maximizing the similarity between these two probability gradients. Moreover, to specifically enhance accuracy near the object's boundary, we extract the object boundary based on the ground-truth probability gradient and exclusively apply the CPG loss to pixels belonging to boundaries. CPG loss proves to be highly convenient and effective. It establishes pixel relationships through convolution, calculating errors from a distinct dimension compared to pixel-wise loss functions such as cross-entropy loss. We conduct qualitative and quantitative analyses to evaluate the impact of the CPG loss on three well-established networks (DeepLabv3-Resnet50, HRNetV2-OCR, and LRASPP_MobileNet_V3_Large) across three standard segmentation datasets (Cityscapes, COCO-Stuff, ADE20K). Our extensive experimental results consistently and significantly demonstrate that the CPG loss enhances the mean Intersection over Union.

View on arXivView PDF

Code Implementations(1)

pytorch implementation of CPG Loss

20PythonNov 3, 20222 years ago

Similar Papers

Cite this paper

@article{shan2024convolutionbased,
  title  = {Convolution-based Probability Gradient Loss for Semantic Segmentation},
  author = {Guohang Shan and Shuangcheng Jia},
  year   = {2024},
  eprint = {2404.06704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.06704v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.06704.svg)](https://codeofpaper.com/paper/2404.06704)

Discussion