Skip to main content
QUICK REVIEW

[Paper Review] TEC-Net: Vision Transformer Embrace Convolutional Neural Networks for Medical Image Segmentation

Rui Sun, Tao Lei|arXiv (Cornell University)|Jun 7, 2023
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

TEC-Net proposes a hybrid medical image segmentation network that integrates dynamic deformable convolution (DDConv) in a CNN branch for adaptive local feature extraction and a novel (shifted)-window adaptive complementary attention module ((S)W-ACAM) in a Transformer branch to model cross-dimensional long-range dependencies. The method achieves state-of-the-art performance with fewer parameters and inference costs, without requiring pre-training.

ABSTRACT

The hybrid architecture of convolution neural networks (CNN) and Transformer has been the most popular method for medical image segmentation. However, the existing networks based on the hybrid architecture suffer from two problems. First, although the CNN branch can capture image local features by using convolution operation, the vanilla convolution is unable to achieve adaptive extraction of image features. Second, although the Transformer branch can model the global information of images, the conventional self-attention only focuses on the spatial self-attention of images and ignores the channel and cross-dimensional self-attention leading to low segmentation accuracy for medical images with complex backgrounds. To solve these problems, we propose vision Transformer embrace convolutional neural networks for medical image segmentation (TEC-Net). Our network has two advantages. First, dynamic deformable convolution (DDConv) is designed in the CNN branch, which not only overcomes the difficulty of adaptive feature extraction using fixed-size convolution kernels, but also solves the defect that different inputs share the same convolution kernel parameters, effectively improving the feature expression ability of CNN branch. Second, in the Transformer branch, a (shifted)-window adaptive complementary attention module ((S)W-ACAM) and compact convolutional projection are designed to enable the network to fully learn the cross-dimensional long-range dependency of medical images with few parameters and calculations. Experimental results show that the proposed TEC-Net provides better medical image segmentation results than SOTA methods including CNN and Transformer networks. In addition, our TEC-Net requires fewer parameters and computational costs and does not rely on pre-training. The code is publicly available at https://github.com/SR0920/TEC-Net.

Motivation & Objective

  • To address the limitations of fixed receptive fields and parameter sharing in standard convolutional networks for medical image segmentation.
  • To overcome the neglect of channel and cross-dimensional attention in conventional self-attention mechanisms used in Transformers for medical images.
  • To reduce model complexity and eliminate dependency on pre-training while maintaining high segmentation accuracy on small medical datasets.
  • To integrate CNN and Transformer branches effectively for complementary local and global feature learning in medical image segmentation.

Proposed method

  • Introduces dynamic deformable convolution (DDConv) in the CNN branch to enable task-adaptive feature extraction by learning spatially varying kernel weights and offsets.
  • Proposes the (S)W-ACAM module in the Transformer branch to model spatial, channel, and cross-dimensional attention jointly, improving long-range dependency modeling.
  • Employs compact convolutional projection layers to reduce computational cost and parameter count in the Transformer encoder.
  • Uses a learnable parameter module (LPM) in place of the standard MLP in the Transformer feed-forward network to reduce model size and eliminate pre-training dependency.
  • Designs a dual-branch U-shaped encoder-decoder architecture with skip connections to fuse features from CNN and Transformer branches for improved localization and segmentation.
  • Applies multi-scale feature fusion and progressive refinement through deep network layers to enhance contour and object boundary accuracy.

Experimental results

Research questions

  • RQ1Can dynamic deformable convolution improve local feature representation in medical image segmentation compared to standard convolution?
  • RQ2Does modeling cross-dimensional (spatial-channel) attention in Transformers lead to better segmentation of complex medical images with low contrast and noise?
  • RQ3Can a hybrid CNN-Transformer architecture achieve SOTA performance with fewer parameters and reduced computational cost?
  • RQ4To what extent does replacing the standard MLP with a learnable parameter module (LPM) eliminate the need for pre-training in medical image segmentation?
  • RQ5How does the integration of CNN and Transformer branches enhance both local detail preservation and global context modeling in medical image segmentation?

Key findings

  • TEC-Net achieves a Dice score of 90.72% on the ISIC2018 dataset, outperforming existing SOTA methods including Swin-Unet and U-Net variants.
  • The ablation study confirms that combining DDConv, (S)W-ACAM, and LPM yields the best performance, with a Dice score of 90.88% when all components are used.
  • TEC-Net reduces model parameters to 11.58M, significantly lower than the 46.92M of a U-Net+Swin-Unet baseline, demonstrating high parameter efficiency.
  • The network achieves high accuracy without pre-training, as shown by the 88.43% Dice score with LPM alone and 89.46% with (S)W-ACAM and LPM, indicating robustness on small datasets.
  • Visualization results confirm that the network progressively refines segmentation by focusing on target regions through feature fusion in the decoder, especially in boundary and contour details.
  • The (S)W-ACAM module effectively captures cross-dimensional dependencies, as evidenced by improved attention maps focusing on lesion boundaries and organ structures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.