Integrating gene regulatory priors into Transformer attention with scTransformer for interpretable scRNA-seq analysis

Mikele Milia, Louis Fabrice Tshimanga, Henning Mueller, Manfredo Atzori, Barbara Di Camillo
6/8/2026
q-bio.GNcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Motivation: Transformer-based models are increasingly applied to large-scale single-cell transcriptomics, showing strong performance through self-supervised learning on millions of cells. However, most existing approaches treat genes as independent features, and largely ignore prior biological knowledge, which limits interpretability and robustness. In this paper, we explore whether explicitly incorporating gene regulatory information can improve both model performance and biological insight. Results: We present scTransformer, the first Transformer-based approach that builds a priori knowledge of biological mechanisms into the model's attention patterns. By constraining information flow according to known regulatory structures, the model learns representations that are more biologically meaningful. We evaluate scTransformer on a disease-relevant single-nucleus RNA-seq dataset using supervised cell-type classification. Compared to standard Transformers, our approach improves classification accuracy, enhances separation of cell types in embedding space, and produces attention patterns consistent with known regulatory programs. Overall, our results demonstrate that embedding biological structure into Transformer models can enhance interpretability without sacrificing performance, offering a principled step toward biologically grounded foundation models for single-cell omics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{milia2026integrating,
  title  = {Integrating gene regulatory priors into Transformer attention with scTransformer for interpretable scRNA-seq analysis},
  author = {Mikele Milia and Louis Fabrice Tshimanga and Henning Mueller and Manfredo Atzori and Barbara Di Camillo},
  year   = {2026},
  eprint = {2606.09558},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09558v1}
}

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/2606.09558.svg)](https://codeofpaper.com/paper/2606.09558)

Discussion