Focal Modulation and Bidirectional Feature Fusion Network for Medical Image Segmentation
Moin Safdar, Shahzaib Iqbal, Mehwish Mehmood, Mubeen Ghafoor, Tariq M. Khan, Imran Razzak
TL;DR
The paper tackles the challenge of capturing global context in medical image segmentation by proposing FM-BFF-Net, a hybrid CNN–transformer architecture. It integrates a Focal Modulation–based ConvFormer Attention Block (FMCAB) to refine encoder–decoder feature flows, a Bidirectional Feature Fusion Module (BiFFM) for multi-scale context enrichment, and a Vision Transformer Module (ViTM) at the bottleneck to model long-range dependencies. Powered by EfficientNetV2S1 as the backbone, the approach demonstrates improved boundary precision and robustness across polyp, skin lesion, and ultrasound segmentation tasks, validated on eight public datasets with superior Jaccard and Dice scores compared to several SOTA methods. The proposed framework offers a practical, scalable solution for diverse MIS scenarios and lays groundwork for multilingual, multimodal, and uncertainty-aware clinical deployments.
Abstract
Medical image segmentation is essential for clinical applications such as disease diagnosis, treatment planning, and disease development monitoring because it provides precise morphological and spatial information on anatomical structures that directly influence treatment decisions. Convolutional neural networks significantly impact image segmentation; however, since convolution operations are local, capturing global contextual information and long-range dependencies is still challenging. Their capacity to precisely segment structures with complicated borders and a variety of sizes is impacted by this restriction. Since transformers use self-attention methods to capture global context and long-range dependencies efficiently, integrating transformer-based architecture with CNNs is a feasible approach to overcoming these challenges. To address these challenges, we propose the Focal Modulation and Bidirectional Feature Fusion Network for Medical Image Segmentation, referred to as FM-BFF-Net in the remainder of this paper. The network combines convolutional and transformer components, employs a focal modulation attention mechanism to refine context awareness, and introduces a bidirectional feature fusion module that enables efficient interaction between encoder and decoder representations across scales. Through this design, FM-BFF-Net enhances boundary precision and robustness to variations in lesion size, shape, and contrast. Extensive experiments on eight publicly available datasets, including polyp detection, skin lesion segmentation, and ultrasound imaging, show that FM-BFF-Net consistently surpasses recent state-of-the-art methods in Jaccard index and Dice coefficient, confirming its effectiveness and adaptability for diverse medical imaging scenarios.
