Notably, in the five-class classification task, the attention heatmaps of TNBC and HER2+/HR− subtypes—exhibiting superior interclass discriminability—predominantly highlighted peritumoral stromal regions rather than the tumor parenchyma itself. Here, ERBB2 is linked to neoplasm.