DFEN: Dual Feature Equalization Network for Medical Image Segmentation
Jianjian Yin, Yi Chen, Chengyu Li, Zhichao Zheng, Yanhui Gu, Junsheng Zhou
TL;DR
DFEN addresses the problem of misclassification caused by unequal contextual information near boundaries and for small-class regions in medical image segmentation. It introduces image-level feature equalization (ILFEM) and class-level feature equalization (CLFEM) within a Swin Transformer–CNN framework, augmented by additive and concatenative upsampling to enhance pixel representations. The model is trained with a combined Dice and cross-entropy loss $L_{loss} = \alpha L_{CE}(p,y) + \beta L_{Dice}(p,y)$, with empirically tuned weights (e.g., $\alpha=0.3$, $\beta=0.7$), and demonstrates state-of-the-art performance across four datasets (ACDC, ISIC2017, PH$^2$, BUSI), along with comprehensive ablations showing the gains from ILFEM and CLFEM. These contributions advance accurate boundary delineation and small-region segmentation, with potential to improve clinical decision support while maintaining relatively lightweight parameters.
Abstract
Current methods for medical image segmentation primarily focus on extracting contextual feature information from the perspective of the whole image. While these methods have shown effective performance, none of them take into account the fact that pixels at the boundary and regions with a low number of class pixels capture more contextual feature information from other classes, leading to misclassification of pixels by unequal contextual feature information. In this paper, we propose a dual feature equalization network based on the hybrid architecture of Swin Transformer and Convolutional Neural Network, aiming to augment the pixel feature representations by image-level equalization feature information and class-level equalization feature information. Firstly, the image-level feature equalization module is designed to equalize the contextual information of pixels within the image. Secondly, we aggregate regions of the same class to equalize the pixel feature representations of the corresponding class by class-level feature equalization module. Finally, the pixel feature representations are enhanced by learning weights for image-level equalization feature information and class-level equalization feature information. In addition, Swin Transformer is utilized as both the encoder and decoder, thereby bolstering the ability of the model to capture long-range dependencies and spatial correlations. We conducted extensive experiments on Breast Ultrasound Images (BUSI), International Skin Imaging Collaboration (ISIC2017), Automated Cardiac Diagnosis Challenge (ACDC) and PH$^2$ datasets. The experimental results demonstrate that our method have achieved state-of-the-art performance. Our code is publicly available at https://github.com/JianJianYin/DFEN.
