Dilated Balanced Cross Entropy Loss for Medical Image Segmentation

Seyed Mohsen Hosseini, Mahdieh Soleymani Baghshah
12/8/2024
eess.IVcs.CVcs.LG

No confident code implementation found for this paper. 8 possible matches can be shown below.

Abstract

A novel method for tackling the problem of imbalanced data in medical image segmentation is proposed in this work. In balanced cross entropy (CE) loss, which is a type of weighted CE loss, the weight assigned to each class is the in-verse of the class frequency. These balancing weights are expected to equalize the effect of each class on the overall loss and prevent the model from being biased towards the majority class. But, as it has been shown in previous studies, this method degrades the performance by a large margin. Therefore, balanced CE is not a popular loss in medical segmentation tasks, and usually a region-based loss, like the Dice loss, is used to address the class imbalance problem. In the pro-posed method, the weighting of cross entropy loss for each class is based on a dilated area of each class mask, and balancing weights are assigned to each class together with its surrounding pixels. The goal of this study is to show that the performance of balanced CE loss can be greatly improved my modifying its weighting strategy. Experiments on different datasets show that the proposed dilated balanced CE (DBCE) loss outperforms the balanced CE loss by a large margin and produces superior results compared to CE loss, and its performance is similar to the performance of the combination of Dice and CE loss. This means that a weighted cross entropy loss with the right weighing strategy can be as effective as a region-based loss in handling the problem of class imbalance in medical segmentation tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 8 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hosseini2024dilated,
  title  = {Dilated Balanced Cross Entropy Loss for Medical Image Segmentation},
  author = {Seyed Mohsen Hosseini and Mahdieh Soleymani Baghshah},
  year   = {2024},
  eprint = {2412.06045},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.06045v1}
}

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/2412.06045.svg)](https://codeofpaper.com/paper/2412.06045)

Discussion