Fig. 5: Representative attention heatmaps generated from the hierarchical GNN model.

Warmer colors indicate regions with higher attention scores, reflecting greater contribution to the model’s final prediction. The highlighted areas frequently correspond to invasive tumor fronts, tumor budding foci, and lymphovascular invasion, which align with established pathological risk features. The marked boxes denote regions independently confirmed by expert gastrointestinal pathologists.