Skip to main content
QUICK REVIEW

[Paper Review] Efficient Folded Attention for 3D Medical Image Reconstruction and Segmentation

Hang Zhang, Jinwei Zhang|arXiv (Cornell University)|Sep 13, 2020
Medical Image Segmentation TechniquesComputer Science34 references8 citations
TL;DR

This paper proposes a novel folded attention (FA) mechanism for 3D medical image reconstruction and segmentation that significantly reduces computational cost and GPU memory usage while maintaining or improving accuracy. By applying tensor folding and unfolding with four permutations to approximate the full affinity matrix, FA enables efficient joint modeling of spatial and channel dependencies, achieving state-of-the-art performance on quantitative susceptibility mapping and multiple sclerosis lesion segmentation with up to 97.9% memory reduction and 88.9% FLOPs reduction compared to standard attention.

ABSTRACT

Recently, 3D medical image reconstruction (MIR) and segmentation (MIS) based on deep neural networks have been developed with promising results, and attention mechanism has been further designed to capture global contextual information for performance enhancement. However, the large size of 3D volume images poses a great computational challenge to traditional attention methods. In this paper, we propose a folded attention (FA) approach to improve the computational efficiency of traditional attention methods on 3D medical images. The main idea is that we apply tensor folding and unfolding operations with four permutations to build four small sub-affinity matrices to approximate the original affinity matrix. Through four consecutive sub-attention modules of FA, each element in the feature tensor can aggregate spatial-channel information from all other elements. Compared to traditional attention methods, with moderate improvement of accuracy, FA can substantially reduce the computational complexity and GPU memory consumption. We demonstrate the superiority of our method on two challenging tasks for 3D MIR and MIS, which are quantitative susceptibility mapping and multiple sclerosis lesion segmentation.

Motivation & Objective

  • To address the high computational cost and memory usage of traditional self-attention mechanisms in 3D medical image processing.
  • To develop an efficient attention mechanism that models both spatial and channel-wise dependencies without increasing computational complexity.
  • To reduce the memory and FLOPs overhead of attention modules in 3D U-Net-based networks for medical imaging tasks.
  • To enable practical deployment of attention mechanisms in large 3D medical image tasks such as QSM reconstruction and MS lesion segmentation.

Proposed method

  • The method introduces tensor folding and unfolding operations to transform the 3D feature tensor into smaller sub-tensors, enabling computation of four sub-affinity matrices instead of one large one.
  • Four permutations of the feature tensor are used to generate sub-affinity matrices that approximate the full global attention matrix with reduced complexity.
  • Each sub-affinity matrix is computed via query-key dot product followed by softmax, and the results are aggregated through a learnable projection.
  • The folded attention module integrates spatial and channel dependencies by treating each feature element as a vector across all channels, enabling joint modeling of spatial and channel context.
  • The method applies a rank-one constraint to regularize the affinity matrix, improving generalization and reducing overfitting.
  • The FA module is plug-and-play, insertable into existing 3D CNN architectures like U-Net with minimal architectural changes.

Experimental results

Research questions

  • RQ1Can a computationally efficient attention mechanism be designed to model both spatial and channel dependencies in 3D medical images?
  • RQ2To what extent can tensor folding and unfolding reduce the FLOPs and GPU memory usage of self-attention in 3D medical image tasks?
  • RQ3Does the proposed folded attention mechanism maintain or improve performance on challenging 3D medical image reconstruction and segmentation benchmarks?
  • RQ4How does the folded attention module generalize to unseen data, especially in the absence of ground-truth in clinical scenarios?

Key findings

  • The FA-Net achieved the lowest RMSE of 31.18 on quantitative susceptibility mapping (QSM), outperforming QSMnet, DA-Net, and RSA-Net.
  • FA-Net achieved the highest PSNR of 49.06 on QSM, indicating superior reconstruction fidelity and reduced general error.
  • On QSM, FA-Net achieved the lowest HFEN of 32.49, indicating better preservation of high-frequency details and structural similarity.
  • On QSM, FA-Net achieved the highest SSIM of 0.9833, demonstrating superior structural and contrast similarity to the ground truth.
  • The FA module reduced GPU memory usage by 97.9% and FLOPs by 88.9% compared to standard self-attention (SA), with comparable or better accuracy.
  • Qualitative results showed that FA-Net produced clearer lesion boundaries and more hyperintense lesions in MS patient scans, even without ground-truth COSMOS data.

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.