Abstract
Microscopic image segmentation is a challenging task, wherein the objective is to assign semantic labels to each pixel in a given microscopic image. While convolutional neural networks (CNNs) form the foundation of many existing frameworks, they often struggle to explicitly capture long-range dependencies. Although transformers were initially devised to address this issue using self-attention, it has been proven that both local and global features are crucial for addressing diverse challenges in microscopic images, including variations in shape, size, appearance, and target region density. In this paper, we introduce SA2-Net, an attention-guided method that leverages multi-scale feature learning to effectively handle diverse structures within microscopic images. Specifically, we propose scale-aware attention (SA2) module designed to capture inherent variations in scales and shapes of microscopic regions, such as cells, for accurate segmentation. This module incorporates local attention at each level of multi-stage features, as well as global attention across multiple resolutions. Furthermore, we address the issue of blurred region boundaries (e.g., cell boundaries) by introducing a novel upsampling strategy called the Adaptive Up-Attention (AuA) module. This module enhances the discriminative ability for improved localization of microscopic regions using an explicit attention mechanism. Extensive experiments on five challenging datasets demonstrate the benefits of our SA2-Net model.
Introduction
Microscopic image segmentation is a cornerstone of digital pathology and biological research. However, it is notoriously difficult due to the "messy reality" of microscopic slides: cluttered environments, overlapping cells, varying illumination, and objects that appear at vastly different scales—from tiny nuclei to large tissue structures.
Existing frameworks often face a "Goldilocks" problem. Convolutional Neural Networks (CNNs) are excellent at extracting local textures but lack the receptive field to capture global context or long-range dependencies. Conversely, Vision Transformers (ViTs) capture global context through self-attention but often overlook fine-grained local details, leading to poor performance on small objects or fuzzy boundaries. SA2-Net bridges this gap by introducing an attention-guided method that leverages multi-scale feature learning to handle diverse structures effectively.
Methodology
SA2-Net follows a standard encoder-decoder (U-Net style) structure but incorporates two novel modules designed to handle scale and localization: the Scale-aware Attention (SA2) module and the Adaptive Up-Attention (AuA) module.
Scale-aware Attention (SA2) Module
Located in the decoder, the SA2 module addresses scale variations through a dual-attention mechanism. First, Local Scale Attention (LSA) uses different kernel sizes to capture variations in cell shapes at specific resolutions. Second, the module computes Global Scale Weights, allowing the network to dynamically prioritize the most relevant resolution levels for the final prediction, effectively fusing multi-scale information.
Adaptive Up-Attention (AuA) Module
Standard models often use simple bilinear upsampling, which can smudge cell edges. The AuA module replaces this with an explicit attention mechanism during the upsampling phase. It uses features from the previous stage to "guide" the upsampling, helping the model better localize boundaries even when they are visually blurred or similar to the background.
Deep Supervision
The model applies loss functions at multiple stages of the decoder. This "deep supervision" forces the network to learn meaningful, salient features at every level of granularity, ensuring that both coarse and fine details are preserved.
Experimental Results
The researchers evaluated SA2-Net on five diverse and challenging datasets: MoNuSeg (multi-organ nuclei), SegPC-2021 (plasma cells), GlaS (colon glands), ISIC-2018 (skin lesions), and ACDC (cardiac MRI).
SA2-Net consistently outperformed established models like U-Net, TransUNet, and UCTransNet:
- Superior Accuracy: On the GlaS dataset, it achieved a 91.38% Dice score. On the crowded MoNuSeg dataset, it reached 81.34%, outperforming the next best model by over 2%.
- Robustness: Even on non-microscopic data like the ACDC (MRI) dataset, it achieved a mean Dice of 92.30%, proving the architecture's generalizability.
- Qualitative Performance: Visual analysis shows that SA2-Net focuses more tightly on objects of interest compared to baseline models, which are often distracted by background noise or blurred boundaries.
Conclusion and Future Work
SA2-Net demonstrates that scale-aware attention is key to solving the complexities of microscopic image segmentation. By treating scale as a dynamic feature to be attended to and refining upsampling through attention, the model achieves state-of-the-art results across multiple benchmarks. While the current architecture is 2D, future work could extend these scale-aware mechanisms to 3D volumetric data and further optimize the computational efficiency of the multi-module decoder.
Summary updated