TOGAR: Token-gated generative refinement for high-fidelity spatial transcriptomics and robust spatial domain clustering
Spatial transcriptomics maps gene expression across tissues, yet data sparsity and noise challenge long-range dependency modeling, limiting accurate spatial domain delineation. In this study, we present TOGAR, a token-gated generative refinement model that unifies denoising, spatial enhancement, and clustering for spatial transcriptomics. Firstly, the model combines a graph convolutional network loss with a loss based on the zero-inflated negative binomial distribution to reduce noise and enhance signal clarity in sparse count data. It then employs a UGate-based diffusion backbone, which integrates token gating, gated linear attention, and rotary positional embedding for generative spatial refinement. Finally, similarity-guided averaging along diffusion trajectories provides stable spot-level estimates, and clustering of the refined representations produces spatial domains with sharp boundaries suitable for downstream analyses. We evaluate TOGAR across three spatial transcriptomics platforms. In benchmarks on twelve slices against seven popular methods, TOGAR consistently achieves or exceeds clustering accuracy, demonstrating superior stability. TOGAR effectively recovers coherent cortical layer organization, delineates fine-grained tumor subdomains associated with immune activity and extracellular matrix remodeling, and generates clearer, biologically interpretable domain boundaries. Notably, TOGAR excels in detecting extremely small and rare spatial structures, successfully identifying biologically important regions that other methods completely miss, while maintaining boundary integrity in complex multi-cluster structures and avoiding issues of over-connectivity or incomplete detection.
Authors
- Quan Zou (ORCID: https://orcid.org/0000-0001-6406-1142)
- Dezheng Liu
- Yihang Lin
- Hua Wang Shi (ORCID: https://orcid.org/0000-0001-8812-5737)
- Zhen Chen
Institutions
- Chongqing University of Posts and Telecommunications (CN)
- University of Electronic Science and Technology of China (CN)
- Xiamen University of Technology (CN)
Publication Details
- Journal
- Genomics
- Published
- 2025-12-19
- DOI
- https://doi.org/10.1016/j.ygeno.2025.111179
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- article
- Field-Weighted Citation Impact
- 0.00