Abstract
Medical image segmentation has traditionally relied on convolutional neural networks (CNNs) for local feature extraction and, more recently, Vision Transformers (ViTs) for global context. However, ViTs suffer from quadratic computational complexity, while standard CNNs are limited by rigid sampling grids that struggle with irregular anatomical structures. This paper introduces Deformable Large Kernel Attention (D-LKA Attention), a novel mechanism that combines the global receptive field of Transformers with the efficiency and adaptive sampling of deformable convolutions. By decomposing large kernels into efficient components and learning spatial offsets, the proposed D-LKA Net achieves state-of-the-art performance on 2D and 3D medical segmentation benchmarks, including Synapse, NIH Pancreas, and skin lesion datasets, while maintaining a significantly lower parameter count than competing volumetric models.
Introduction
Accurate segmentation of organs and lesions is critical for computer-assisted diagnosis and treatment planning. While Vision Transformers have set new benchmarks by capturing long-range dependencies, their high computational cost ($O(N^2)$) often limits their use in high-resolution or deep volumetric (3D) imaging. Furthermore, most existing models operate on fixed grids, which are suboptimal for the highly irregular and deformable shapes characteristic of human anatomy.
To address these challenges, we propose the D-LKA Net. This architecture leverages a hierarchical design and a novel attention mechanism that mimics the global reach of self-attention through large, decomposed convolution kernels. Crucially, it incorporates deformability to allow the network to dynamically warp its receptive field, focusing on relevant anatomical boundaries rather than rigid square patches.
Methodology
Deformable Large Kernel Attention (D-LKA)
The core innovation is the D-LKA module, which builds upon the concept of Large Kernel Attention (LKA). Standard LKA decomposes a large $K \times K$ convolution into a spatial long-range convolution (dilated), a spatial local convolution, and a channel convolution. This decomposition provides a global receptive field with linear complexity.
As shown in the figure above, we integrate Deformable Convolutions into this framework. The network learns an "offset field" that shifts the sampling points of the kernel. This allows the D-LKA module to "warp" its attention to match the actual contours of a target structure, such as the snaking path of the pancreas or the irregular edges of a skin lesion.
Network Architectures
We propose two variants of the architecture:
- 2D D-LKA Net: A hybrid model utilizing a MaxViT encoder to capture multi-scale features and a D-LKA-based decoder for precise boundary reconstruction.
- 3D D-LKA Net: A purely hierarchical encoder-decoder structure designed for volumetric data. Unlike "pseudo-3D" models that process slices independently, the 3D D-LKA Net employs volumetric kernels to capture critical inter-slice spatial relationships.
Experimental Results
Quantitative Performance
The D-LKA Net was evaluated against several state-of-the-art (SOTA) models, including TransUNet, Swin-UNet, and UNETR++.
- Synapse Multi-Organ Segmentation: The 3D D-LKA Net achieved a Dice Similarity Coefficient (DSC) of 87.49%, surpassing UNETR++ (87.22%) and nnFormer (86.57%).
- NIH Pancreas: The model reached 81.22% DSC, a significant leap over the standard UNETR (77.42%).
- Efficiency: Despite its performance, the 3D D-LKA Net is remarkably lean, utilizing only 42.35M parameters compared to nnFormer's 150.5M.
Qualitative Analysis
Visual comparisons highlight the model's ability to handle complex geometries. While rigid-grid models often produce "boxy" or over-smoothed segmentations, the D-LKA Net accurately follows the irregular boundaries of abdominal organs.
As illustrated in the Synapse results, the D-LKA Net significantly reduces misclassification at the edges of organs like the stomach and liver, where traditional models often struggle with overlapping intensities and irregular shapes.
Conclusion
The D-LKA Net represents a significant step forward in medical image segmentation by bridging the gap between the global awareness of Transformers and the adaptive nature of deformable convolutions. By providing a global receptive field without the quadratic cost of self-attention, and by allowing kernels to adapt to anatomical shapes, the model achieves superior accuracy and efficiency. Future work will explore the application of D-LKA to other modalities, such as MRI and ultrasound, where noise and artifacts further complicate boundary detection.
Summary updated