scFusionTTT: Single-cell transcriptomics and proteomics fusion with Test-Time Training layers

Dian Meng, Bohao Xing, Xinlei Huang, Yanran Liu, Yijun Zhou, Yongjun xiao, Zitong Yu, Xubin ZhengarXiv 2024

Abstract

Single-cell multi-omics (scMulti-omics) refers to the paired multimodal data, such as Cellular Indexing of Transcriptomes and Epitopes by Sequencing (CITE-seq), where the regulation of each cell was measured from different modalities, i.e. genes and proteins. scMulti-omics can reveal heterogeneity inside tumors and understand the distinct genetic properties of diverse cell types, which is crucial to targeted therapy. Currently, deep learning methods based on attention structures in the bioinformatics area face two challenges. The first challenge is the vast number of genes in a single cell. Traditional attention-based modules struggled to effectively leverage all gene information due to their limited capacity for long-context learning and high-complexity computing. The second challenge is that genes in the human genome are ordered and influence each other's expression. Most of the methods ignored this sequential information. The recently introduced Test-Time Training (TTT) layer is a novel sequence modeling approach, particularly suitable for handling long contexts like genomics data because TTT layer is a linear complexity sequence modeling structure and is better suited to data with sequential relationships. In this paper, we propose scFusionTTT, a novel method for Single-Cell multimodal omics Fusion with TTT-based masked autoencoder. Of note, we combine the order information of genes and proteins in the human genome with the TTT layer, fuse multimodal omics, and enhance unimodal omics analysis. Finally, the model employs a three-stage training strategy, which yielded the best performance across most metrics in four multimodal omics datasets and four unimodal omics datasets, demonstrating the superior performance of our model.

Introduction

Single-cell multi-omics technologies like CITE-seq provide a dual view of cellular function by measuring both gene expression (transcriptomics) and protein abundance (proteomics) in individual cells. However, analyzing these datasets presents significant computational hurdles. First, the "Long Context" problem: processing tens of thousands of genes using standard Transformer models is computationally prohibitive due to the quadratic scaling ($O(N^2)$) of attention mechanisms. Second, traditional models often treat genes as independent features, ignoring their physical order on chromosomes—a critical biological factor that influences expression.

scFusionTTT addresses these challenges by employing the recently introduced Test-Time Training (TTT) layer. By treating genomic data as a sequence and leveraging TTT’s linear complexity, the model captures long-range dependencies and genomic order, establishing new benchmarks for cell clustering and multi-omics integration.

Methodology

The core of scFusionTTT is the integration of the TTT layer into a masked autoencoder architecture.

The TTT Layer and Computational Efficiency

Unlike traditional attention mechanisms that compare every element in a sequence to every other element, the TTT layer updates its hidden state through a self-supervised task during the forward pass. This allows the model to maintain a "memory" of the sequence with linear complexity ($O(N)$), making it feasible to process the entire genome of a single cell.

Comparison of computational complexity between traditional Attention and the TTT Layer.

Hidden State Update Mechanism

The TTT layer functions by performing mini-gradient descent on its own weights during inference. This dynamic adaptation allows the model to adjust to the specific characteristics of each cell, enhancing robustness against noise and batch effects. The architecture includes symbol embeddings that reflect the actual biological order of genes and proteins.

Architecture of the TTT Block and the Hidden State Update mechanism.

Three-Stage Training Strategy

  1. Pre-training: A masked autoencoder learns to reconstruct missing gene and protein values, capturing the underlying data distribution.
  2. Fine-tuning: The model is trained on labeled data to refine cell-type representations.
  3. Transfer Learning: Knowledge from multi-omics data is transferred to enhance the analysis of unimodal (RNA-only) datasets.

Experimental Results

The model was evaluated on four multi-omics datasets (SPL111, PBMC5K, PBMC10K, MALT10K) and four unimodal datasets (IFNB, PBMC3K, CBMC, BMCITE).

Performance Benchmarks

scFusionTTT consistently outperformed established baselines such as TotalVI, CiteFuse, and scMM. For instance, on the PBMC10K dataset, scFusionTTT achieved an Adjusted Rand Index (ARI) of 0.90, compared to 0.79 for CiteFuse and 0.71 for TotalVI. UMAP visualizations further demonstrated that scFusionTTT produces tighter and more distinct cell-type clusters.

Importance of Genomic Order

A key finding was the "shuffle" experiment: when the biological order of genes was randomized, the model's performance dropped significantly. This confirms that the TTT layer successfully captures the spatial-functional relationships of genes on the chromosome.

Conclusion

scFusionTTT demonstrates the power of linear-complexity sequence modeling for single-cell genomics. By respecting the sequential nature of the genome and utilizing efficient TTT layers, the model provides superior representations for both multi-omics and unimodal data. Future work will focus on explicitly modeling cross-modal biological pathways to improve the interpretability of gene-protein interactions in disease states.

Code and datasets are available at: https://github.com/DM0815/scFusionTTT

Summary updated

BibTeX
@misc{meng2024scfusionttt,
  author = {Dian Meng and Bohao Xing and Xinlei Huang and Yanran Liu and Yijun Zhou and Yongjun xiao and Zitong Yu and Xubin Zheng},
  title = {{scFusionTTT: Single-cell transcriptomics and proteomics fusion with Test-Time Training layers}},
  year = {2024},
  eprint = {2410.13257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.13257},
}
Figure