A Unified Loss for Handling Inter-Class and Intra-Class Imbalance in Medical Image Segmentation
Feilong Xu, Feiyang Yang, Xiongfei Li, Xiaoli Zhang
Abstract
In utilizing deep learning techniques for medical image segmentation, two types of imbalance issues are observed: inter-class imbalance between majority and minority classes and intra-class imbalance between easy and hard samples. However, existing loss functions typically confuse these issues, leading to enhancements that cater to only one aspect. Moreover, loss functions optimized for specific tasks often exhibit limited generalizability. To address these issues, we propose Inter-class and Intra-class Balance loss, as well as a unified loss termed Balance loss. The Inter-class Balance loss controls the extent of hard sample mining for majority class samples by considering the frequency of minority classes present in each input image. This approach requires no manual adjustment weights and adapts automatically to different datasets. The Intra-class Balance loss enhances the network's ability to learn from hard samples by performing mining on hard samples within each class. We evaluate our loss functions on five segmentation tasks with varying degrees of class imbalance. The experimental results show that our proposed Balance loss enhances segmentation performance compared with the current loss functions and exhibits superior robustness.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 09f10e13-83cf-4b88-afcf-141e82a94935Builds on1
Related papers
- Addressing Imbalance for Class Incremental Learning in Medical Image ClassificationXuze Hao, Wenqian Ni, Xuhao Jiang, Weimin Tan et al.ACM MM 2024 · 7 citations
- Large-Scale Land Cover Mapping with Fine-Grained Classes via Class-Aware Semi-Supervised Semantic SegmentationRunmin Dong, Lichao Mou, Mengxuan Chen, Weijia Li et al.ICCV 2023 · 16 citations
- Cross-Domain Grouping and Alignment for Domain Adaptive Semantic SegmentationMinsu Kim, Sunghun Joung, Seungryong Kim, Jungin Park et al.AAAI 2021 · 17 citations
- Difficulty-aware Balancing Margin Loss for Long-tailed RecognitionMinseok Son, Inyong Koo, Jinyoung Park, Changick KimAAAI 2025 · 9 citations
- RSG: A Simple but Effective Module for Learning Imbalanced DatasetsJianfeng Wang, Thomas Lukasiewicz, Xiaolin Hu, Jianfei Cai et al.CVPR 2021
