IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1013954.html

SpaLSTF: Diffusion-based generative model with BiLSTM and XCA-Transformer for spatial transcriptomics imputation

Author

Listed:
  • Lin Yuan
  • Yufeng Jiang
  • Boyuan Meng
  • Qingxiang Wang
  • Cuihong Wang
  • De-Shuang Huang

Abstract

Spatial transcriptomics (ST) technologies provide powerful tools for analyzing spatial distribution patterns of gene expression in tissue samples. However, they are limited by sparse gene detection and incomplete expression coverage. Several computational approaches based on reference scRNA-seq have been proposed to impute ST data and have achieved impressive results. However, these methods fail to fully explore latent temporal dependencies among cells and cannot accurately capture hidden gene-level regulatory mechanisms. To overcome those limitations, we propose SpaLSTF, a novel method for enhancing ST gene expression using a conditional diffusion model guided by scRNA-seq data. SpaLSTF captures gene expression relationships through a dual Markov process: one progressively perturbs scRNA-seq data with noise, while the other denoises it to reconstruct the original distribution. To effectively model contextual dependencies among cell states, we adopt a bidirectional long short-term memory (BiLSTM) network. Furthermore, we design a cross-covariance attention mechanism within a Transformer (XCA-Transformer) to efficiently compute attention coefficients between gene expression and accurately predict the noise added at each step. In addition, we introduce a variational lower bound (VLB) objective and introduce Kullback-Leibler (KL) divergence as a regularization term, along with mean squared error loss, to ensure that the generated noise follows the target distribution. We compared the performance of SpaLSTF with seven state-of-the-art methods on twelve cross-platform datasets covering a variety of tissues and organs using nine evaluation metrics. Experimental results demonstrated that SpaLSTF outperforms competing methods in gene expression imputation, cell population identification, and spatial structure preservation.Author summary: Computational approaches based on reference scRNA-seq have been proposed to impute ST data and have some limitations. We propose SpaLSTF, a novel method for enhancing ST gene expression using a conditional diffusion model guided by scRNA-seq data. SpaLSTF captures gene expression relationships through a dual Markov process. We adopt a bidirectional long short-term memory (BiLSTM) network to effectively model contextual dependencies among cell states. Furthermore, we design a cross-covariance attention mechanism within a Transformer (XCA-Transformer) to efficiently compute attention coefficients between gene expression and accurately predict the noise added at each step. In addition, we adopt a variational lower bound (VLB) objective and introduce Kullback-Leibler (KL) divergence as a regularization term, along with mean squared error loss, to ensure that the generated noise follows the target distribution. Experimental results demonstrated that SpaLSTF outperforms competing methods in gene expression imputation, cell population identification, and spatial structure preservation.

Suggested Citation

  • Lin Yuan & Yufeng Jiang & Boyuan Meng & Qingxiang Wang & Cuihong Wang & De-Shuang Huang, 2026. "SpaLSTF: Diffusion-based generative model with BiLSTM and XCA-Transformer for spatial transcriptomics imputation," PLOS Computational Biology, Public Library of Science, vol. 22(2), pages 1-20, February.
  • Handle: RePEc:plo:pcbi00:1013954
    DOI: 10.1371/journal.pcbi.1013954
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1013954
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1013954&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1013954?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1013954. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.