Back

BertST: BERT-based Spatial Domain Identification in Patient Data

Nnadi, G. O.

2026-07-09 bioinformatics
10.64898/2026.07.04.736527 bioRxiv
Show abstract

Spatial transcriptomics enables the study of gene expression within its native tissue context, providing critical insights into cellular organization and microenvironment-driven biological processes. A key challenge in this field is spatial domain identification, which aims to partition tissue into coherent regions by jointly leveraging gene expression and spatial information. Existing approaches are predominantly based on Graph Neural Networks (GNNs), and approach based on Transformers particularly, Bidirectional Encoder Reppresentation Transformer (BERT) model for modelling both local and long-range dependencies remains largely unexplored. In this work, we propose BERT for Spatial Transcriptomics (BertST), a transformer-based framework that reformulates spatial transcriptomics as a graph-to-text representation learning problem. Building upon the BERTwalk paradigm, we construct a task-specific multi-graph representation integrating spatial adjacency, pruned gene-expression similarity, and a fully connected gene-expression graph. This design enables the modelling of both local spatial structure and global molecular relationships. Random walks over these graphs are treated as sequences, allowing a BERT model to learn contextualised node embeddings. To further enhance representation quality, we introduce a hierarchical multi-graph propagation strategy, where embedding refinement is performed sequentially: first on the fully connected graph to capture global structure, followed by the pruned graph to refine molecular relationships, and finally on the spatial graph to enforce local smoothness. This ordering ensures that global information is effectively distributed and progressively constrained by biologically meaningful neighbourhoods. We also improve computational efficiency by leveraging \textit{PecanPy}, a fast and scalable implementation of node2vec, enabling efficient random walk generation on dense graphs. Experimental results on multiple 10x Visium datasets, including DLPFC and Human Breast Cancer, demonstrate that BertST consistently outperforms or matches GNN-based methods such as ConST, CCST, and SpaceFlow in terms of Adjusted Rand Index (ARI) and Adjusted Mutual Information (AMI). Overall, BertST highlights the potential of transformer-based architectures for spatial omics analysis by effectively capturing both local and long-range spatial-molecular dependencies, offering a promising alternative to traditional graph-based methods.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
Nature Communications
5641 papers in training set
Top 15%
11.9%
2
Briefings in Bioinformatics
354 papers in training set
Top 0.5%
11.0%
3
Bioinformatics
1204 papers in training set
Top 3%
9.8%
4
Nucleic Acids Research
1281 papers in training set
Top 2%
8.9%
5
Journal of Computational Biology
48 papers in training set
Top 0.1%
6.7%
6
Genome Biology
637 papers in training set
Top 3%
4.8%
50% of probability mass above
7
Genome Research
468 papers in training set
Top 2%
4.0%
8
Advanced Science
286 papers in training set
Top 2%
3.5%
9
Bioinformatics Advances
203 papers in training set
Top 2%
2.6%
10
Cell Systems
201 papers in training set
Top 2%
2.4%
11
IEEE Transactions on Computational Biology and Bioinformatics
20 papers in training set
Top 0.2%
2.4%
12
IEEE Journal of Biomedical and Health Informatics
37 papers in training set
Top 0.5%
2.1%
13
GigaScience
212 papers in training set
Top 2%
1.7%
14
PLOS Computational Biology
1863 papers in training set
Top 14%
1.7%
15
Scientific Reports
3612 papers in training set
Top 54%
1.7%
16
Patterns
78 papers in training set
Top 1%
1.7%
17
Nature Methods
385 papers in training set
Top 4%
1.5%
18
Computational and Structural Biotechnology Journal
242 papers in training set
Top 4%
1.3%
19
iScience
1154 papers in training set
Top 23%
1.3%
20
Communications Biology
993 papers in training set
Top 21%
1.1%
21
Frontiers in Genetics
230 papers in training set
Top 4%
1.1%
22
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 37%
1.1%
23
Cell Reports Methods
165 papers in training set
Top 3%
1.1%
24
PLOS ONE
5266 papers in training set
Top 57%
1.1%
25
Nature Biotechnology
172 papers in training set
Top 4%
1.0%
26
NAR Genomics and Bioinformatics
242 papers in training set
Top 4%
0.9%
27
BioData Mining
22 papers in training set
Top 0.8%
0.8%
28
Frontiers in Bioinformatics
49 papers in training set
Top 2%
0.6%
29
BMC Genomics
406 papers in training set
Top 9%
0.6%
30
npj Systems Biology and Applications
125 papers in training set
Top 2%
0.6%