Papers
Topics
Authors
Recent
Search
2000 character limit reached

Through-Plane Attention Blocks (TAB)

Updated 3 July 2026
  • Through-Plane Attention Blocks (TAB) are specialized neural architecture components that use 1D self-attention to capture inter-slice dependencies in volumetric medical imaging.
  • TAB transforms 4D tensor features via global average pooling and multi-head linear projections to efficiently compute depth-wise self-attention without the full 3D computational burden.
  • Empirical results show that incorporating TAB significantly improves CT image denoising and deblurring metrics, providing sharper details and better restoration quality in low-dose settings.

Through-Plane Attention Blocks (TAB) constitute the through-plane branch of the efficient multi-head self-attention module (eMSM-T) in LIT-Former, a transformer-convolutional hybrid architecture for 3D low-dose CT image denoising and deblurring. TAB is specifically designed to model inter-slice (through-plane) dependencies along the depth dimension of volumetric medical data, enabling efficient and effective representation learning without the computational burden of full 3D self-attention. This approach allows LIT-Former to address the dual challenges of in-plane denoising and through-plane deblurring for high-quality CT reconstruction in low-dose or rapid-acquisition regimes (Chen et al., 2023).

1. Core Architecture and Computation

TAB processes a 4D tensor feature map Fl1RC×D×H×WF_{l-1} \in \mathbb{R}^{C \times D \times H \times W} from the previous block. The mechanism operates as follows:

  1. Global Average Pooling (GAP) over the in-plane dimensions (H,W)(H, W) collapses local spatial features into a depth-wise representation:

Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}

  1. Multi-head Structure: XthX_{\mathrm{th}} is split into hh heads, each of size dk=C/hd_k = C/h.
  2. Linear Projection: For each head ii,

Qthi=fthQ(Xthi),Kthi=fthK(Xthi),Vthi=fthV(Xthi)Q_{\mathrm{th}}^i = f_{\mathrm{th}}^Q(X_{\mathrm{th}}^i), \quad K_{\mathrm{th}}^i = f_{\mathrm{th}}^K(X_{\mathrm{th}}^i), \quad V_{\mathrm{th}}^i = f_{\mathrm{th}}^V(X_{\mathrm{th}}^i)

where fth()f_{\mathrm{th}}^{(\cdot)} are learned linear transformations.

  1. Self-Attention Along Depth: The attention matrix over the DD slices is computed as

(H,W)(H, W)0

  1. Aggregation: Each head output is calculated by applying the attention to the value projection:

(H,W)(H, W)1

  1. Concatenation and Output Projection: Heads are concatenated, projected by (H,W)(H, W)2, and the output tensor (H,W)(H, W)3 is reshaped back to (H,W)(H, W)4.

The overall eMSM combines TAB (through-plane branch), in-plane attention (eMSM-I), and a residual path via element-wise summation:

(H,W)(H, W)5

2. Mathematical Formulation and Processing Pipeline

The following table summarizes the major tensorial operations and flow in TAB:

Stage Operation Output Shape
GAP over (H,W)(H, W)6 (H,W)(H, W)7 (H,W)(H, W)8
Linear projections (H,W)(H, W)9 Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}0 (per head)
Self-attention Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}1 Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}2
Attention aggregation Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}3 Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}4 (per head)
Concatenation + output Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}5 Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}6

TAB converts spatial-extent features into a depth-sequence, enabling the transformer core to model long-range dependencies along the slice axis alone. This structure is pivotal for longitudinal context modeling without cubic scaling of token count.

3. Computational Efficiency and Design Rationale

Applying full 3D self-attention to a tensor of shape Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}7 entails Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}8 complexity due to global attention over all Xth=GAPth(Fl1)RC×DX_{\mathrm{th}} = \operatorname{GAP}_{\mathrm{th}}(F_{l-1}) \in \mathbb{R}^{C \times D}9 tokens. Decomposing the mechanism into decoupled in-plane (2D) and through-plane (1D) attention, with TAB responsible for the latter, reduces complexity to XthX_{\mathrm{th}}0. This is because TAB computes only a XthX_{\mathrm{th}}1 attention matrix, instead of the substantially larger XthX_{\mathrm{th}}2 matrix required for full 3D attention (Chen et al., 2023).

A comparison with 3D convolutional layers further illustrates efficiency: factorized (2+1)D convolution reduces FLOPs from XthX_{\mathrm{th}}3 for standard 3D convolution to XthX_{\mathrm{th}}4, and similarly cuts parameter count, paralleling the computational savings achieved by TAB for self-attention operations.

4. Parallel Fusion, Interaction with eCFN, and Network Flow

TAB (eMSM-T) operates in parallel with eMSM-I (in-plane attention), and their outputs are summed, along with the residual connection. This fusion strategy contrasts with serial or cascaded arrangements and is empirically found to yield better restoration metrics. The fused output XthX_{\mathrm{th}}5 is then passed to an efficient convolutional feed-forward network (eCFN), which includes a XthX_{\mathrm{th}}6 in-plane convolution, a XthX_{\mathrm{th}}7 through-plane convolution, and identity mapping (or XthX_{\mathrm{th}}8 conv if needed).

The processing sequence is thus: hh9

5. Empirical Contributions and Ablation Findings

Ablation studies demonstrate that eMSM-T, i.e., TAB, confers greater quantitative gains than in-plane attention alone for 3D CT reconstruction tasks. On a clinical dataset:

  • (2+1)DUnet baseline: PSNR 41.49, RMSE 0.80, SSIMXthX_{\mathrm{th}}9 97.49, SSIMhh0 97.06
  • (2+1)DUnet + eMSM-I: PSNR 42.48, RMSE 0.70, SSIMhh1 97.63, SSIMhh2 97.19
  • (2+1)DUnet + eMSM-T: PSNR 42.89, RMSE 0.67, SSIMhh3 97.72, SSIMhh4 97.28
  • LIT-Former: PSNR 43.10, RMSE 0.65, SSIMhh5 97.74, SSIMhh6 97.31

The isolated through-plane branch (eMSM-T) alone yields a hh71.40 dB improvement in PSNR, compared to hh80.99 dB for eMSM-I. Parallel fusion outperforms cascaded fusion by 0.12 dB in PSNR, substantiating the choice of the summing strategy for optimal accuracy.

Qualitative analysis links TAB to clearer details in coronal/sagittal slices, sharper edges, and improved intensity consistency across slices, especially critical for through-plane deblurring.

6. Context and Impact in 3D Medical Imaging

Prior approaches typically employ either 2D convolution/attention (neglecting inter-slice context) or full 3D architectures (with prohibitive computational and data requirements). TAB, as realized in LIT-Former, attains an effective tradeoff by modeling depth dependencies with 1D self-attention, while retaining computational tractability. This design is crucial for CT applications demanding high-quality volumetric reconstruction from low-dose or reduced-projection data. The architectural pattern demonstrated by TAB is likely extensible to other volumetric or sequential data domains where cross-slice or cross-frame dependencies are central and global 3D context is essential but full token-wise attention is infeasible (Chen et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Through-Plane Attention Blocks (TAB).