Fig. 4

Visualization of the top 4 representative cases with the highest risk scores based on the UNI-ACMIL model. In each case, images with black borders display the images of the manually annotated tumor regions (upper left), and the attention weight score heatmaps (lower left). The colors of the heatmaps correspond to the attention scores of tiles within the WSI, with red indicating tiles that have a significant impact on the model’s prediction and blue indicating tiles with a smaller impact. The images with red borders display six representative tiles from the top 20 tiles. WSI, whole slide image