GPSNet: Locality-Aware Gene Queries for Scalable Subcellular Gene Spatial Pattern Classification
Imaging-based spatial transcriptomics measures millions of subcellular RNA coordinates. Predicting gene-level localization requires aggregating dense point sets. We introduce \textit{GPSNet}, an encoder--decoder transformer that combines KNN-restricted attention for dense molecular point sets with learnable gene queries for gene-level prediction. We evaluate it using \textit{GPSBench}, a standardized suite spanning three public seqFISH+, MERFISH, and CosMx datasets, fixed field-of-view splits, common classification metrics, and runtime measurement. GPSNet reaches mean macro-F1 of 71.03, 72.87, and 68.28\% against computational references across three seeds. It outperforms spatial shuffling on all three tasks and performs similarly to PTv3 on U-2 OS and Lung. We assess agreement with human labels, prediction on held-out Lung genes, and sparse-attention runtime. The study provides a reference model and standardized comparison protocol while identifying independently validated annotations as a priority for future evaluation. Data and code are available at \url{https://huggingface.co/datasets/king159/GPSBench} and \url{https://github.com/king159/GPSNet}, respectively.
Authors
- Chang‐Yu Hsieh (ORCID: https://orcid.org/0000-0002-6242-4218)
- Pheng‐Ann Heng (ORCID: https://orcid.org/0000-0003-3055-5034)
- Xilin Dang (ORCID: https://orcid.org/0000-0001-7501-9636)
- Jinghao Wang (ORCID: https://orcid.org/0009-0005-0681-2514)
- Chunbin Gu (ORCID: https://orcid.org/0009-0006-3403-9968)
Institutions
- Chinese University of Hong Kong (HK)
- Zhejiang University (CN)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.64898/2026.11.29.769714
- Primary Topic
- Single-cell and spatial transcriptomics
- Type
- preprint