hSNMF: Hybrid Spatially Regularized NMF for Image-Derived Spatial Transcriptomics

Md Ishtyaq Mahmud, Veena Kochat, Suresh Satpati, Jagan Mohan Reddy Dwarampudi, Humaira Anzum +2 more
2/2/2026
cs.LGq-bio.QM

Official code: ishtyaqmahmud/hSNMF (0 stars, MIT, last commit 2026-03-21).

Abstract

High-resolution spatial transcriptomics platforms, such as Xenium, generate single-cell images that capture both molecular and spatial context, but their extremely high dimensionality poses major challenges for representation learning and clustering. In this study, we analyze data from the Xenium platform, which captures high-resolution images of tumor microarray (TMA) tissues and converts them into cell-by-gene matrices suitable for computational analysis. We benchmark and extend nonnegative matrix factorization (NMF) for spatial transcriptomics by introducing two spatially regularized variants. First, we propose Spatial NMF (SNMF), a lightweight baseline that enforces local spatial smoothness by diffusing each cell's NMF factor vector over its spatial neighborhood. Second, we introduce Hybrid Spatial NMF (hSNMF), which performs spatially regularized NMF followed by Leiden clustering on a hybrid adjacency that integrates spatial proximity (via a contact-radius graph) and transcriptomic similarity through a tunable mixing parameter alpha. Evaluated on a cholangiocarcinoma dataset, SNMF and hSNMF achieve markedly improved spatial compactness (CHAOS < 0.004, Moran's I > 0.96), greater cluster separability (Silhouette > 0.12, DBI < 1.8), and higher biological coherence (CMC and enrichment) compared to other spatial baselines. Availability and implementation: https://github.com/ishtyaqmahmud/hSNMF

View on arXivView PDF

Code Implementations(1)

MIT
00R, PythonJan 21, 20267 months agoMIT

Similar Papers

Cite this paper

@article{mahmud2026hsnmf,
  title  = {hSNMF: Hybrid Spatially Regularized NMF for Image-Derived Spatial Transcriptomics},
  author = {Md Ishtyaq Mahmud and Veena Kochat and Suresh Satpati and Jagan Mohan Reddy Dwarampudi and Humaira Anzum and Kunal Rai and Tania Banerjee},
  year   = {2026},
  eprint = {2602.02638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.02638v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.02638.svg)](https://codeofpaper.com/paper/2602.02638)

Discussion