Graph Contrastive Learning for Deciphering Spatial Heterogeneity in Breast Cancer
Abstract
Breast cancer exhibits significant spatial and molecular heterogeneity. Traditional bulk and single-cell transcriptomic analyses struggle to fully reveal the molecular states and microenvironmental differences across distinct tumor regions due to their inability to preserve spatial tissue information. This study proposes and applies stCL, a spatial transcriptomics domain identification framework based on graph attention networks and contrastive learning, to dissect spatial transcriptomic heterogeneity in breast cancer. It integrates gene expression and local spatial topology through a graph attention-based multi-view encoder, jointly optimizing contrastive learning loss, spatial regularization loss, and zero-inflated negative binomial reconstruction loss to learn biologically meaningful low-dimensional embeddings. Results show that stCL effectively identifies spatially coherent domains such as Tumor, Invasive, Surrounding Tumor, and Healthy regions, which largely align with pathological annotations. Quantitative evaluation indicates that stCL achieves an adjusted Rand index (ARI) of 0.6008 and normalized mutual information (NMI) of 0.7095, outperforming several existing spatial clustering methods. Further differential expression and functional enrichment analyses reveal distinct molecular signatures and functional differences among spatial domains: the Invasive region is enriched for epithelial tumor and cell proliferation-related pathways, the Surrounding Tumor region shows enrichment in immune response and extracellular matrix-related signals, while the Tumor region displays specific metabolic and epithelial characteristics.
References
- Sung, H., et al. (2026). Global cancer statistics 2024: GLOBOCAN estimates of incidence and mortality worldwide for 34 cancers in 186 countries.CA: A Cancer Journal for Clinicians, 76(4), e70090. https://doi.org/10.3322/caac.70090.
- Ståhl, P. L., et al. (2016). Visualization and analysis of gene expression in tissue sections by spatial transcriptomics.Science, 353(6294), 78-82. https://doi.org/10.1126/science.aaf2403.
- Long, Y., et al. (2023). Spatially informed clustering, integration, and deconvolution of spatial transcriptomics with GraphST.Nature Communications, 14, article 1155. https://doi.org/10.1038/s41467-023-36796-3.
- Traag, V. A., et al. (2019). From Louvain to Leiden: Guaranteeing well-connected communities.Scientific Reports, 9, article 5233. https://doi.org/10.1038/s41598-019-41695-z.
- 10x Genomics. (2026, August 16). Human breast cancer (Block A Section 1).10x Genomics. https://www.10xgenomics.com/datasets/human-breast-cancer-block-a-section-1-1-standard-1-0-0.
- 10x Genomics. (n.d.). Understanding Space Ranger outputs: Official 10x Genomics support.10x Genomics. https://www.10xgenomics.com/support/software/space-ranger/3.0/analysis/outputs/output-overview
- Kipf, T. N., & Welling, M. (2017). Semi-supervised classification with graph convolutional networks.International Conference on Learning Representations. https://doi.org/10.48550/arXiv.1609.02907
- Hu, J., et al. (2021). SpaGCN: Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network.Nature Methods, 18, 1342–1351. https://doi.org/10.1038/s41592-021-01255-8
- Wolf, F. A., et al. (2018). SCANPY: Large-scale single-cell gene expression data analysis.Genome Biology, 19, Article 15. https://doi.org/10.1186/s13059-017-1382-0
- Pham, D., et al. (2023). Robust mapping of spatiotemporal trajectories and cell-cell interactions in healthy and diseased tissues.Nature Communications, 14, Article 7739. https://doi.org/10.1038/s41467-023-43120-6
- Ren, H., et al. (2022). Identifying multicellular spatiotemporal organization of cells with SpaceFlow.Nature Communications, 13, Article 4076. https://doi.org/10.1038/s41467-022-31739-w.
- Xu, H., et al. (2024). Unsupervised spatially embedded deep representation of spatial transcriptomics.Genome Medicine, 16, Article 12. https://doi.org/10.1186/s13073-024-01283-x.
- Yu, N., et al. (2026). stGCL: A versatile cross-modality fusion method based on multi-modal graph contrastive learning for spatial transcriptomics.Genome Biology, 27, Article 51. https://doi.org/10.1186/s13059-025-03896-w.
- Yuan, Z. (2024). MENDER: Fast and scalable tissue structure identification in spatial omics data.Nature Communications, 15, Article 207. https://doi.org/10.1038/s41467-023-44367-9.