Rethinking Attention Gated with Hybrid Dual Pyramid Transformer-CNN for Generalized Segmentation in Medical Imaging
Fares Bougourzi, Fadi Dornaika, Abdelmalik Taleb-Ahmed, Vinh Truong Hoang
TL;DR
The paper tackles generalization in medical image segmentation under data variability by proposing PAG-TransYnet, a hybrid CNN-Transformer encoder. It combines a Pyramid Encoder, a CNN-focused main path, and a Transformer stream, fused via Dual-Attention Gates to capture both local and global context. Key contributions include the Pyramid path, integration of PVT-v2 and ViT stages, and a novel fusion mechanism that yields state-of-the-art results across abdominal organ, infection, and microscopic segmentation tasks. The approach offers a robust, scalable framework for efficient CNN-Transformer fusion in medical imaging, with publicly available code to facilitate adoption and further research.
Abstract
Inspired by the success of Transformers in Computer vision, Transformers have been widely investigated for medical imaging segmentation. However, most of Transformer architecture are using the recent transformer architectures as encoder or as parallel encoder with the CNN encoder. In this paper, we introduce a novel hybrid CNN-Transformer segmentation architecture (PAG-TransYnet) designed for efficiently building a strong CNN-Transformer encoder. Our approach exploits attention gates within a Dual Pyramid hybrid encoder. The contributions of this methodology can be summarized into three key aspects: (i) the utilization of Pyramid input for highlighting the prominent features at different scales, (ii) the incorporation of a PVT transformer to capture long-range dependencies across various resolutions, and (iii) the implementation of a Dual-Attention Gate mechanism for effectively fusing prominent features from both CNN and Transformer branches. Through comprehensive evaluation across different segmentation tasks including: abdominal multi-organs segmentation, infection segmentation (Covid-19 and Bone Metastasis), microscopic tissues segmentation (Gland and Nucleus). The proposed approach demonstrates state-of-the-art performance and exhibits remarkable generalization capabilities. This research represents a significant advancement towards addressing the pressing need for efficient and adaptable segmentation solutions in medical imaging applications.
