School of Intelligence Science and Technology, University of Science and Technology Beijing, Beijing, PR China, 100083; School of Information Science and Engineering, Yanshan University, Qinhuangdao, Hebei PR China, 066004.
School of Information Science and Engineering, Yanshan University, Qinhuangdao, Hebei PR China, 066004.
Med Image Anal. 2024 Dec;98:103295. doi: 10.1016/j.media.2024.103295. Epub 2024 Aug 24.
Vision Transformers recently achieved a competitive performance compared with CNNs due to their excellent capability of learning global representation. However, there are two major challenges when applying them to 3D image segmentation: i) Because of the large size of 3D medical images, comprehensive global information is hard to capture due to the enormous computational costs. ii) Insufficient local inductive bias in Transformers affects the ability to segment detailed features such as ambiguous and subtly defined boundaries. Hence, to apply the Vision Transformer mechanism in the medical image segmentation field, the above challenges need to be overcome adequately.
We propose a hybrid paradigm, called Variable-Shape Mixed Transformer (VSmTrans), that integrates self-attention and convolution and can enjoy the benefits of free learning of both complex relationships from the self-attention mechanism and the local prior knowledge from convolution. Specifically, we designed a Variable-Shape self-attention mechanism, which can rapidly expand the receptive field without extra computing cost and achieve a good trade-off between global awareness and local details. In addition, the parallel convolution paradigm introduces strong local inductive bias to facilitate the ability to excavate details. Meanwhile, a pair of learnable parameters can automatically adjust the importance of the above two paradigms. Extensive experiments were conducted on two public medical image datasets with different modalities: the AMOS CT dataset and the BraTS2021 MRI dataset.
Our method achieves the best average Dice scores of 88.3 % and 89.7 % on these datasets, which are superior to the previous state-of-the-art Swin Transformer-based and CNN-based architectures. A series of ablation experiments were also conducted to verify the efficiency of the proposed hybrid mechanism and the components and explore the effectiveness of those key parameters in VSmTrans.
The proposed hybrid Transformer-based backbone network for 3D medical image segmentation can tightly integrate self-attention and convolution to exploit the advantages of these two paradigms. The experimental results demonstrate our method's superiority compared to other state-of-the-art methods. The hybrid paradigm seems to be most appropriate to the medical image segmentation field. The ablation experiments also demonstrate that the proposed hybrid mechanism can effectively balance large receptive fields with local inductive biases, resulting in highly accurate segmentation results, especially in capturing details. Our code is available at https://github.com/qingze-bai/VSmTrans.
由于 Vision Transformer 具有出色的学习全局表示的能力,因此它在与 CNN 相比时,最近在医学图像分割领域取得了具有竞争力的性能。然而,将其应用于 3D 图像分割时存在两个主要挑战:i)由于 3D 医学图像的尺寸较大,由于计算成本巨大,因此很难捕获全面的全局信息。ii)Transformer 中的局部归纳偏差不足会影响分割诸如模糊和细微定义边界等详细特征的能力。因此,要将 Vision Transformer 机制应用于医学图像分割领域,需要充分克服上述挑战。
我们提出了一种混合范例,称为可变形状混合 Transformer(VSmTrans),它集成了自注意力和卷积,并且可以从自注意力机制的复杂关系和卷积的局部先验知识中受益。具体来说,我们设计了一种可变形状的自注意力机制,该机制可以在不增加计算成本的情况下快速扩展感受野,并在全局感知和局部细节之间实现良好的平衡。此外,并行卷积范例引入了强大的局部归纳偏差,有助于挖掘细节的能力。同时,一对可学习的参数可以自动调整上述两种范例的重要性。我们在两个具有不同模态的公共医学图像数据集上进行了广泛的实验:AMOS CT 数据集和 BraTS2021 MRI 数据集。
我们的方法在这些数据集上的平均 Dice 得分分别达到了 88.3%和 89.7%,优于先前基于 Swin Transformer 和 CNN 的最新技术。还进行了一系列消融实验,以验证所提出的混合机制和组件的效率,并探讨 VSmTrans 中那些关键参数的有效性。
我们提出的基于混合 Transformer 的 3D 医学图像分割骨干网络可以紧密地将自注意力和卷积集成在一起,以利用这两种范例的优势。实验结果表明,与其他最新技术相比,我们的方法具有优越性。混合范例似乎最适合医学图像分割领域。消融实验还表明,所提出的混合机制可以有效地平衡大感受野和局部归纳偏差,从而获得高度准确的分割结果,特别是在捕捉细节方面。我们的代码可在 https://github.com/qingze-bai/VSmTrans 上获得。