TL;DR
This paper introduces stCluster, a novel deep learning framework that accurately identifies distinct cellular regions (spatial domains) within tissues using spatial transcriptomics data. By combining graph contrastive learning and multi-task learning, stCluster effectively integrates gene expression and spatial information, outperforming existing methods in identifying complex tissue structures across various biological scales and technologies.
What Problem Does This Paper Address?
Spatial transcriptomics (ST) is revolutionizing biology by allowing us to map gene expression directly to locations within tissues. This capability is crucial for understanding how cellular organization dictates biological processes and disease mechanisms. A key challenge in ST data analysis is spatial domain identification: grouping "spots" (regions containing cells) that exhibit similar gene expression patterns and are spatially coherent. While previous methods have used graph neural networks (GNNs) to integrate spatial and gene expression data, they often struggle to create truly informative representations, leading to suboptimal accuracy in identifying these complex spatial domains. This limits our ability to fully decipher the intricate cellular relationships and tissue structures.
Methods
stCluster tackles this problem with a novel deep learning framework that integrates two powerful optimization strategies:
- Graph Contrastive Learning: This technique helps the model learn robust representations by teaching it to distinguish between similar and dissimilar "views" of the data.
stClustercreates two "corrupted" versions of the spatial graph (by randomly pruning edges) and trains the model to maximize the similarity of representations from the same spot across these views, while minimizing similarity with representations from different spots. This encourages the model to capture underlying spatial relationships more effectively. - Multi-Task Learning:
stClusterjointly optimizes for three tasks: - Gene Expression Reconstruction (GER): Reconstructing the original gene expression data from the learned representations.
- Spatial Adjacency Graph (SAG) Reconstruction: Reconstructing the spatial relationships between spots.
- Spatial Domain Prediction (SDP): Directly predicting the spatial domains using a deep embedding clustering (DEC) algorithm.
By optimizing for these tasks simultaneously, stCluster refines its representations to better capture the complex interplay between gene expression and spatial organization. The core of the model uses a Graph Attention Network (GAT) layer for encoding spatial dependencies.
Datasets
The authors evaluated stCluster on a diverse range of ST datasets generated by different technologies and at various biological scales:
- Human Dorsolateral Prefrontal Cortex (DLPFC): 12 slices from 10x Visium technology, with manual annotations for cortical layers and white matter.
- Mouse Brain: Four slices from 10x Genomics.
- Mouse Organogenesis Spatiotemporal Transcriptomic Atlas (MOSTA): Acquired using Stereo-seq.
- Zebrafish Embryogenesis Spatiotemporal Transcriptomic Atlas (ZESTA): Acquired using Stereo-seq.
- Mouse Olfactory Bulb: Datasets from Stereo-seq, 10x Visium, and Spatial Transcriptomics.
- Mouse Somatosensory Cortex: Dataset from osmFISH.
These datasets cover tissue-level, organ-level, and embryo-level analyses, demonstrating the method's versatility.
Key Insights and Ideas
- Synergy of Contrastive and Multi-Task Learning: The paper strongly suggests that the combination of graph contrastive learning (for learning robust, generalizable representations from unlabeled data) and multi-task learning (for fine-tuning representations towards specific downstream tasks like domain identification) is key to
stCluster's superior performance. - Importance of Graph Attention: The use of GAT layers, which adaptively weigh the importance of neighboring spots, is crucial for capturing nuanced spatial relationships compared to standard GCNs.
- Denoising and Trajectory Enhancement: Beyond domain identification,
stCluster's learned representations can also be used to denoise spatial gene expression patterns and improve spatial trajectory inference, highlighting the richness of the learned embeddings. - Adaptability Across Platforms and Scales: The method demonstrates consistent performance across different ST technologies (e.g., 10x Visium, Stereo-seq, osmFISH) and biological scales (tissue, organ, embryo), indicating its broad applicability.
Key Results
- Superior Spatial Domain Identification:
stClusterconsistently outperformed six state-of-the-art methods (SEDR, SpaGCN, STAGATE, CCST, DeepST, and GraphST) across multiple datasets and metrics (ARI, NMI, IoU). For instance, on the human DLPFC dataset,stClusterachieved an average ARI of 0.58, with a best score of 0.75, significantly improving upon competitors. - Accurate Tissue Structure Delineation: The method accurately identified complex structures like cortical layers in the human brain, distinct regions in the mouse brain and olfactory bulb, and various organ tissues in mouse embryos and zebrafish embryos.
- Enhanced Representation Quality: UMAP visualizations of learned representations showed that
stClusterbetter preserved spot-level spatial organization and domain distinctions compared to other methods. - Improved Gene Expression Patterns:
stCluster's denoising capabilities were shown to enhance the clarity of spatial gene expression patterns, comparable to specialized denoising methods.
Limitations and Future Work
- Sensitivity to Initial Parameters: Like many deep learning models,
stClustercan be sensitive to initial parameter settings, although the authors attempt to mitigate this with random seeds. - Multi-Slice Data Handling: A significant limitation acknowledged is the current inability of
stCluster(and other ST clustering methods) to effectively integrate and analyze data from multiple tissue slices simultaneously. The authors plan to develop a "multi-slice joint learning model" to address this in future work. - Computational Resources: While
stClusterbalances performance with efficiency, its computational resource consumption was evaluated, with detailed results provided in supplementary figures.
Summary updated