Path-MGCN: a pathway activity based multi-view graph convolutional network for determining spatial domains with attention mechanism

Qirui Zhou, Chaowen Li, Chao Chen, Mingyue Li, Jiabei Liu, Weijun Sun, Zongmeng Zhang, Songqing Gu, Yishan Cai, Yonghui Huang, Hongtao Liu, Chao Yang, Xin ChenResearch 2024

Abstract

Gene functional relationships are often ignored in spatial-domain recognition based on spatial transcriptomics (ST). We develop Path-MGCN, a multi-view graph convolutional network (MGCN) with an attention mechanism that embeds pathway information. We generate a pathway activity profile with spot-specific pathway enrichment. Unique and shared embeddings from pathway and spatial graphs are extracted by a MGCN encoder, dynamically optimized by an attention mechanism, followed by a decoder to retain the original pathway information. Path-MGCN outperforms state-of-the-art spatial clustering methods. Moreover, Path-MGCN can identify spatial domain-specific pathways for further mechanism study in the context of the microenvironment, enabling the precision medicine of complex diseases.

Introduction

Spatial transcriptomics (ST) has revolutionized our understanding of tissue architecture by mapping gene expression within its physical context. A fundamental challenge in analyzing this data is identifying "spatial domains"—regions of a tissue that share distinct biological functions or cell types. While existing methods rely on raw gene expression and spatial proximity, they often fail to account for the functional relationships between genes. Current computational approaches frequently struggle with the inherent sparsity and "dropout" noise of ST data. More importantly, they treat genes as independent variables, ignoring the well-established biological pathways through which genes interact. By neglecting this prior knowledge, researchers miss the opportunity to create more robust clusters that are inherently interpretable.

Methodology: Integrating Pathway Activity

To address these limitations, Path-MGCN introduces a pathway-aware deep learning architecture to cluster spatial domains. The framework shifts the focus from raw, sparse gene counts to biologically meaningful pathway activity scores.

Overview of the Path-MGCN workflow, integrating pathway activity and spatial graphs.

The Path-MGCN workflow consists of several key stages:

  1. Pathway Activity Profiling: The model uses Gene Set Variation Analysis (GSVA) to convert gene expression into a "pathway activity" score for each spot, utilizing known biological pathways from databases like KEGG.
  2. Multi-View Graph Construction: The model builds two distinct graphs: a spatial adjacency graph (connecting spots that are physically close) and a pathway feature graph (connecting spots with similar biological functions).
  3. Multi-View GCN Encoder: It uses Graph Convolutional Networks (GCNs) to extract features from the spatial graph, the pathway graph, and a co-convolution module that learns shared representations between both views.
  4. Attention Mechanism: An attention layer dynamically assigns weights to the spatial, pathway, and shared embeddings based on their relative importance for a given dataset.
  5. ZINB Decoder & Refinement: To handle the inherent zero-inflation and sparsity of ST data, the model uses a Zero-Inflated Negative Binomial (ZINB) decoder. A spatial refinement loss ensures that physical neighbors stay close in the latent embedding space before final K-means clustering is applied.

Benchmarking Performance

Path-MGCN was evaluated on three public spatial transcriptomics datasets: the Human Dorsolateral Prefrontal Cortex (DLPFC), Human Breast Cancer, and Mouse Olfactory Bulb.

In the DLPFC benchmark, a standard for identifying cortical layers, Path-MGCN achieved a mean Adjusted Rand Index (ARI) of 0.64. This significantly outperformed state-of-the-art methods such as Spatial-MGCN (0.57), STAGATE (0.50), and SEDR (0.49), marking an improvement of over 10%. In complex breast cancer tissues, the model achieved the highest ARI (0.65), producing the most cohesive boundaries for heterogeneous tumor regions.

Biological Insights and Interpretability

A primary advantage of Path-MGCN is that its results are inherently interpretable. By clustering based on pathway activity, the resulting spatial domains come with biological explanations rather than anonymous cluster labels.

  • Tumor Microenvironments: The model successfully identified Tertiary Lymphoid Structures (TLSs) in breast cancer tissue. These regions are crucial for anti-tumor immune responses, and Path-MGCN pinpointed them by detecting highly localized activity in B-cell and T-cell receptor signaling pathways.
  • Metabolic Shifts: The model identified specific metabolic shifts, such as the activation of glycolysis and carbon metabolism in carcinoma in situ (domain 18) versus AMPK signaling in invasive carcinoma (domain 5).

Conclusion

Path-MGCN represents a significant advancement in spatial transcriptomics analysis by bridging the gap between spatial data and functional biology. By utilizing pathway activity instead of raw expression, it provides a more accurate and interpretable map of tissue architecture. This capability is particularly promising for precision medicine, where monitoring differences in tumor metabolism and immune cell infiltration across physical regions can help guide synergistic, targeted anti-tumor therapies.

Summary updated

BibTeX
@inproceedings{zhou2024path,
  author = {Qirui Zhou and Chaowen Li and Chao Chen and Mingyue Li and Jiabei Liu and Weijun Sun and Zongmeng Zhang and Songqing Gu and Yishan Cai and Yonghui Huang and Hongtao Liu and Chao Yang and Xin Chen},
  title = {{Path-MGCN: a pathway activity based multi-view graph convolutional network for determining spatial domains with attention mechanism}},
  booktitle = {Research},
  year = {2024},
  doi = {10.21203/rs.3.rs-4481813/v1},
}
Figure