Abstract
Vision Transformers (ViTs) have revolutionized computer vision by modeling long-range dependencies through global self-attention. However, the standard Softmax-based attention mechanism inherently acts as a low-pass filter, often smoothing over high-frequency local textures and sharp edges. This limitation is particularly critical in medical imaging, where precise boundary detection is paramount. We present the Laplacian-Former, a novel U-shaped Transformer architecture designed to capture both global context and fine-grained local details. By incorporating a Laplacian pyramid into an Efficient Frequency Attention (EF-ATT) mechanism, the model explicitly isolates and enhances high-frequency components. Experimental results on the Synapse multi-organ segmentation and ISIC 2018 skin lesion datasets demonstrate that the Laplacian-Former outperforms existing state-of-the-art models, providing superior boundary precision and spectral signal preservation while maintaining linear computational complexity.
Introduction
The advent of Vision Transformers (ViTs) has shifted the paradigm of image analysis from local convolutional operations to global relational modeling. While ViTs excel at understanding the broader context of an image, they frequently struggle with the "low-pass filter" problem. The Softmax operation in self-attention tends to prioritize low-frequency information—representing broad shapes and smooth regions—at the expense of high-frequency details like textures and sharp edges.
In medical imaging, this loss of detail can be detrimental. Accurate segmentation of small organs, such as the gallbladder or pancreas, or the identification of irregular boundaries in skin lesions, requires a high degree of local sensitivity. While Convolutional Neural Networks (CNNs) possess inherent local inductive biases, they often lack the global reasoning capabilities of Transformers. The Laplacian-Former addresses this gap by introducing a standalone Transformer architecture that restores high-frequency sensitivity without relying on a heavy CNN backbone.
Methodology
The Laplacian-Former utilizes a U-shaped encoder-decoder structure enhanced by three core innovations designed to maintain feature diversity and spatial detail.
Efficient Frequency Attention (EF-ATT)
The primary contribution of the Laplacian-Former is the Efficient Frequency Attention (EF-ATT) mechanism. Unlike standard attention, EF-ATT employs a dual-branch architecture. The first branch utilizes a linear attention mechanism to reduce computational complexity from quadratic to linear, making the model efficient for high-resolution medical images. The second branch integrates a Laplacian Pyramid to decompose feature maps into multiple frequency levels. By subtracting blurred versions of the features from the original signal, the model explicitly isolates high-frequency edges and textures. These details are then re-calibrated and integrated back into the attention maps, ensuring the model remains sensitive to fine-grained spatial information.
Efficient Enhancement Multi-scale Bridge
Traditional U-Net architectures rely on simple skip connections to transfer information from the encoder to the decoder. However, these connections can often pass redundant or noisy information. The Laplacian-Former replaces these with an "Efficient Enhancement Multi-scale Bridge." This active bridge uses attention mechanisms to selectively transfer and enhance spatial information across scales, preventing the loss of fine details during the upsampling process.
Diversity-Enhanced Shortcut (DES)
As Transformer models increase in depth, they often suffer from "feature collapse," where feature representations become increasingly redundant. To mitigate this, the authors introduced the Diversity-Enhanced Shortcut (DES). By utilizing a Kronecker decomposition-based projection within the shortcuts, the model maintains diverse and expressive feature representations throughout the network without significantly increasing the parameter count.
Experimental Evaluation
The Laplacian-Former was rigorously tested on two prominent medical imaging benchmarks: the Synapse Multi-organ Segmentation dataset and the ISIC 2018 skin lesion dataset.
Synapse Multi-organ Segmentation
The Synapse dataset consists of 30 abdominal CT scans where the goal is to segment eight different organs. The Laplacian-Former achieved a Dice score of 81.90%, representing a 1.87% improvement over previous state-of-the-art models. Qualitative analysis indicated that the model was particularly effective at segmenting small, low-contrast organs like the pancreas and aorta, where traditional ViTs often produce "blurry" or inaccurate boundaries.
ISIC 2018 Skin Lesion Segmentation
On the ISIC 2018 dataset, which contains 2,694 skin lesion images, the model reached a Dice score of 0.9128. This outperformed pure Transformer models like Swin-Unet by 1.82%. The model's ability to handle the irregular and textured boundaries of skin lesions highlights the effectiveness of the frequency-aware attention mechanism in capturing high-frequency details.
Discussion and Conclusion
Spectral response analysis confirms that the Laplacian-Former preserves high-frequency signals in deeper layers significantly better than standard Transformers, which typically see a sharp drop-off in detail as the network depth increases. By re-introducing the Laplacian Pyramid—a classic computer vision technique—into a modern Transformer framework, the authors have successfully addressed the low-pass filtering limitations of ViTs.
While the model demonstrates high precision, it is not without limitations. In cases where ground-truth annotations are coarse or visual contrast is extremely low, the model's high-frequency sensitivity may not fully compensate for the lack of clear signal. Future research will focus on the robustness of this architecture against image noise and its application to other high-stakes domains such as satellite imagery and industrial defect detection. The Laplacian-Former stands as a significant step toward creating Transformers that possess both a global perspective and a sharper eye for detail.
Summary updated