On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustness

09/13/2022
by   Adrian Galdran, et al.
0

We study the impact of different loss functions on lesion segmentation from medical images. Although the Cross-Entropy (CE) loss is the most popular option when dealing with natural images, for biomedical image segmentation the soft Dice loss is often preferred due to its ability to handle imbalanced scenarios. On the other hand, the combination of both functions has also been successfully applied in this kind of tasks. A much less studied problem is the generalization ability of all these losses in the presence of Out-of-Distribution (OoD) data. This refers to samples appearing in test time that are drawn from a different distribution than training images. In our case, we train our models on images that always contain lesions, but in test time we also have lesion-free samples. We analyze the impact of the minimization of different loss functions on in-distribution performance, but also its ability to generalize to OoD data, via comprehensive experiments on polyp segmentation from endoscopic images and ulcer segmentation from diabetic feet images. Our findings are surprising: CE-Dice loss combinations that excel in segmenting in-distribution images have a poor performance when dealing with OoD data, which leads us to recommend the adoption of the CE loss for this kind of problems, due to its robustness and ability to generalize to OoD samples. Code associated to our experiments can be found at https://github.com/agaldran/lesion_losses_ood .

READ FULL TEXT
research
10/26/2020

Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Index

In many medical imaging and classical computer vision tasks, the Dice sc...
research
07/20/2020

Universal Loss Reweighting to Balance Lesion Size Inequality in 3D Medical Image Segmentation

Target imbalance affects the performance of recent deep learning methods...
research
05/29/2017

The Principle of Logit Separation

We consider neural network training, in applications in which there are ...
research
03/08/2019

Joint Learning of Brain Lesion and Anatomy Segmentation from Heterogeneous Datasets

Brain lesion and anatomy segmentation in magnetic resonance images are f...
research
07/20/2022

Test-Time Adaptation via Conjugate Pseudo-labels

Test-time adaptation (TTA) refers to adapting neural networks to distrib...
research
10/15/2021

Robustness of different loss functions and their impact on networks learning capability

Recent developments in AI have made it ubiquitous, every industry is try...
research
01/18/2021

Comparing Deep Learning strategies for paired but unregistered multimodal segmentation of the liver in T1 and T2-weighted MRI

We address the problem of multimodal liver segmentation in paired but un...

Please sign up or login with your details

Forgot password? Click here to reset