Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Jan;11(1):017501.
doi: 10.1117/1.JMI.11.1.017501. Epub 2024 Jan 16.

Benefits of spatial uncertainty aggregation for segmentation in digital pathology

Affiliations

Benefits of spatial uncertainty aggregation for segmentation in digital pathology

Milda Pocevičiūtė et al. J Med Imaging (Bellingham). 2024 Jan.

Abstract

Purpose: Uncertainty estimation has gained significant attention in recent years for its potential to enhance the performance of deep learning (DL) algorithms in medical applications and even potentially address domain shift challenges. However, it is not straightforward to incorporate uncertainty estimation with a DL system to achieve a tangible positive effect. The objective of our work is to evaluate if the proposed spatial uncertainty aggregation (SUA) framework may improve the effectiveness of uncertainty estimation in segmentation tasks. We evaluate if SUA boosts the observed correlation between the uncertainty estimates and false negative (FN) predictions. We also investigate if the observed benefits can translate to tangible improvements in segmentation performance.

Approach: Our SUA framework processes negative prediction regions from a segmentation algorithm and detects FNs based on an aggregated uncertainty score. It can be utilized with many existing uncertainty estimation methods to boost their performance. We compare the SUA framework with a baseline of processing individual pixel's uncertainty independently.

Results: The results demonstrate that SUA is able to detect FN regions. It achieved Fβ=0.5 of 0.92 on the in-domain and 0.85 on the domain-shift test data compared with 0.81 and 0.48 achieved by the baseline uncertainty, respectively. We also demonstrate that SUA yields improved general segmentation performance compared with utilizing the baseline uncertainty.

Conclusions: We propose the SUA framework for incorporating and utilizing uncertainty estimates for FN detection in DL segmentation algorithms for histopathology. The evaluation confirms the benefits of our approach compared with assessing pixel uncertainty independently.

Keywords: computational pathology; deep learning; false negative detection; tumor metastases segmentation; uncertainty estimation.

PubMed Disclaimer

Figures

Fig. 1
Fig. 1
Visualization of NPRs. The leftmost image shows a part of the original WSI, and the middle one shows the segmentation heatmap produced by a DL model. In the rightmost image, NPRs are visualized in different colors. They are determined by finding adjacent pixels that are assigned a segmentation softmax score in a predetermined range (0.55 to 0.95 in this example).
Fig. 2
Fig. 2
Outline of the SUA framework that utilizes spatially aggregated uncertainty to identify FNs.
Fig. 3
Fig. 3
Histogram of the 90th percentile entropy of the NPRs built using varying softmax ranges. FNs are the islands that have at least 90% overlap with the ground truth tumor annotation. Camelyon validation data.
Fig. 4
Fig. 4
Histogram of the average entropy of the NPRs built using varying softmax ranges. FNs are the islands that have at least 90% overlap with the ground truth tumor annotation. Camelyon validation data.
Fig. 5
Fig. 5
Histogram of the baseline pixel entropy divided between TN and FN predictions. Pixels analyzed with softmax values in the ranges of 0.55 to 0.95, 0.65 to 0.95, 0.75 to 0.95, and 0.85 to 0.95. Camelyon validation data.
Fig. 6
Fig. 6
FNCR achieved by SUA and the baseline on the Camelyon and Sentinel datasets with 1000 bootstrap iterations. The red horizontal line in each box indicates the median value. The results are reported per considered softmax ranges, i.e., 0.55 to 0.95, 0.65 to 0.95, 0.75 to 0.95, and 0.85 to 0.95.
Fig. 7
Fig. 7
Example of a refined WSI from the Camelyon data via the SUA framework based on NPRs with the 0.55 to 0.95 softmax range. “Tumor mask” is the ground truth tumor annotation.

References

    1. Comes M. C., et al. , “A deep learning model based on whole slide images to predict disease-free survival in cutaneous melanoma patients,” Sci. Rep. 12(1), 20366 (2022).10.1038/s41598-022-24315-1 - DOI - PMC - PubMed
    1. Bejonordi E. B., et al. , “Diagnostic assessment of deep learning algorithms for detection of lymph node metastases in women with breast cancer,” JAMA 318(22), 2199–2210 (2017).JAMAAP10.1001/jama.2017.14585 - DOI - PMC - PubMed
    1. Campanella G., et al. , “Clinical-grade computational pathology using weakly supervised deep learning on whole slide images,” Nat. Med. 25(8), 1301–1309 (2019).10.1038/s41591-019-0508-1 - DOI - PMC - PubMed
    1. Liu Y., et al. , “Artificial intelligence–based breast cancer nodal metastasis detection: insights into the black box for pathologists,” Arch. Pathol. Lab. Med. 143(7), 859–868 (2019).10.5858/arpa.2018-0147-OA - DOI - PubMed
    1. Ström P., et al. , “Artificial intelligence for diagnosis and grading of prostate cancer in biopsies: a population-based, diagnostic study,” Lancet Oncol. 21(2), 222–232 (2020).LOANBN10.1016/S1470-2045(19)30738-7 - DOI - PubMed