Abstract
Segmentation of pathological images is essential for accurate disease diagnosis. The quality of manual labels plays a critical role in segmentation accuracy; yet, in practice, the labels between pathologists could be inconsistent, thus confusing the training process. In this work, we propose a novel label re-weighting framework to account for the reliability of different experts' labels on each pixel according to its surrounding features. We further devise a new attention heatmap, which takes roughness as prior knowledge to guide the model to focus on important regions. Our approach is evaluated on the public Gleason 2019 datasets. The results show that our approach effectively improves the model's robustness against noisy labels and outperforms state-of-the-art approaches.
Introduction
In digital pathology, the "ground truth" for tissue segmentation is often subjective. To determine the grade of a cancer, such as the Gleason score for prostate cancer, pathologists must meticulously examine tissue distributions and cell morphologies. However, inter-observer variability remains a significant hurdle. For instance, studies have shown that Japanese and Western scholars agreed on gastric cancer diagnoses less than 40% of the time. This inconsistency translates into "noisy labels" when training deep learning models.
Standard segmentation models typically treat all expert annotations as equally valid, which can lead to a confused training process when experts disagree. Furthermore, most loss functions treat every pixel with uniform importance. In reality, the most critical diagnostic information often resides in "rough" or highly textured regions—areas that are inherently more difficult for both human experts and AI systems to classify accurately. This paper addresses these issues by introducing a framework that learns which experts to trust at a pixel level and prioritizes complex tissue textures.
Methodology
The proposed framework introduces two primary innovations designed to improve robustness and accuracy in the presence of inconsistent labels.
Label Re-weighting Framework
Instead of relying on a simple majority vote or averaging expert opinions, the authors implement a pixel-level label re-weighting system. A secondary "Weighting CNN," based on a ResNet-18 architecture, analyzes local image features to predict a reliability weight for each expert's label at every pixel. If an expert's annotation is likely to be noisy in a specific region, its contribution to the overall loss is down-weighted.
To ensure stable training, the system employs a dynamic balancing strategy. Using a $tanh$-based scheduling function for loss weights ($\lambda_1$ and $\lambda_2$), the model initially focuses on the majority-voted consensus. As training progresses, it gradually allows the weighting network to refine the loss based on learned individual expert reliability, effectively moving from "easy" consensus to nuanced expert disagreement.
Gaussian Attention Focal Loss (GAFL)
The authors observed that "hard" samples—those the model struggles most to classify—typically fall within highly textured or "rough" regions of the tissue. To leverage this, they developed the Gaussian Attention Focal Loss (GAFL). This module uses a Gaussian filter to create a "roughness" heatmap by calculating the absolute difference between the original image and its blurred counterpart. This heatmap acts as a high-pass filter, identifying complex textures that are indicative of higher cancer grades. This prior knowledge is used to scale the Focal Loss, forcing the model to pay closer attention to these diagnostically critical regions.
Results and Discussion
The model was rigorously evaluated on the Gleason 2019 dataset, consisting of 244 tissue microarray (TMA) images of prostate cancer. The dataset presents a significant challenge due to its inherent noise—images were annotated by up to six different pathologists—and extreme class imbalance. For example, Gleason grade 5, the most severe category, accounts for less than 1% of the total pixels. The data was split into a training/validation set of 195 images (labeled by three pathologists) and a high-reliability testing set of 40 images (labeled by all six pathologists).
The framework demonstrated state-of-the-art performance across several popular backbones, including U-Net, DeepLabV3+, and HRNet. The best configuration, combining HRNet18 with both GAFL and the re-weighting module, achieved a Mean Dice coefficient of 66.21, outperforming the 2019 Gleason Challenge winner (PSPNet).
The most dramatic improvement was observed in the detection of Gleason grade 5. On the HRNet18 backbone, the addition of the proposed modules boosted the Dice score for Grade 5 from a negligible 0.58% to 29.37%. Ablation studies indicated that while the GAFL (texture-aware loss) provided the largest single performance boost (approximately 4%), the re-weighting module was essential for providing further refinement and robustness against expert inconsistency.
Conclusion
This research presents a significant step forward in handling noisy labels for pathological image segmentation. By acknowledging that expert reliability varies at the pixel level and by using tissue "roughness" as a proxy for diagnostic importance, the proposed framework achieves superior robustness and accuracy. While Gleason grade 5 remains a challenge due to its extreme rarity, the substantial improvements demonstrated here suggest that these techniques are highly effective for real-world medical imaging tasks where perfect ground truth is unattainable.
Summary updated