CTFacTomo: Reconstructing 3D Spatial Structures of RNA Tomography Transcriptomes by Collapsed Tensor Factorization

Tianci Song, Quoc Viet Hung Nguyen, Rui KuangbioRxiv 2024

TL;DR

This paper introduces CTFacTomo, a novel computational method that reconstructs high-resolution 3D spatial gene expression maps from RNA tomography data. By leveraging collapsed tensor factorization and incorporating prior biological knowledge, CTFacTomo significantly improves upon existing methods for inferring complex spatial patterns in tissues.

What Problem Does This Paper Address?

Mapping the intricate 3D organization of tissues and understanding how gene expression drives cellular functions is a major challenge in biology. While technologies like RNA tomography can provide bulk gene expression data from sliced tissues along three orthogonal axes, reconstructing a coherent 3D spatial map from this fragmented information is computationally difficult. Existing methods often struggle with noise, sparsity, and capturing complex spatial patterns, limiting their biological interpretability. This paper aims to bridge this gap by developing a more robust and accurate method for 3D spatial gene expression reconstruction from RNA tomography data.

Methods

The core of CTFacTomo lies in its Collapsed Tensor Factorization approach. Unlike traditional tensor factorization methods that work with complete tensors, CTFacTomo is designed for "incomplete" data, where only projections (bulk RNA sequencing from slices) are available. It models the 3D spatial gene expression as a 4-way tensor and uses a Canonical Polyadic Decomposition (CPD) to represent it.

Key methodological innovations include:

  • Collapsed Tensor Entries: The method explicitly models the "collapsing" of the 3D tensor into 1D slices along each axis, ensuring that the reconstructed 3D expression is consistent with the observed bulk RNA sequencing data.
  • Product Graph Laplacian Regularization: CTFacTomo incorporates prior biological knowledge by combining spatial graphs (representing relationships between tissue slices) and a protein-protein interaction (PPI) network (representing gene functional relationships). This regularization helps to smooth the reconstructed expression and enforce biologically plausible patterns.
  • Iterative Multiplicative Updating: An optimization algorithm is used to iteratively update the factor matrices of the tensor decomposition, minimizing a total loss function that includes reconstruction error, spatial consistency, and biological prior information.

Datasets

The study utilizes a combination of simulated and real-world datasets:

  • Simulated Datasets (for validation): Three datasets were generated by projecting fully profiled 3D spatial transcriptomics data from:
  • Mouse adult brain (STIK platform)
    • Developing human heart (ST1K platform)
    • Drosophila embryo (Stereo-seq platform)
  • Real RNA Tomography Datasets (for reconstruction):
    • Zebrafish embryo (Tomo-seq)
    • Mouse olfactory mucosa (Tomo-seq)
  • External Dataset (for validation):
    • Zebrafish embryo (3D Stereo-seq) was used for qualitative and quantitative slice-wise comparison.

Key Insights and Ideas

  • The power of "collapsed" data: CTFacTomo's ability to handle data derived from collapsing a tensor is crucial for RNA tomography, where only projected views are available. This opens up possibilities for reconstructing 3D structures from other types of tomographic data.
  • Integrating biological priors is essential: The significant improvement in reconstruction accuracy when incorporating spatial and PPI network information highlights the importance of leveraging existing biological knowledge to guide computational models in complex biological data analysis.
  • 3D context matters: The paper demonstrates that a 3D reconstruction approach inherently captures more nuanced spatial patterns than methods that might rely on 2D projections or individual gene analysis, leading to better biological interpretability.

Key Results

  • Superior Reconstruction Accuracy: CTFacTomo consistently outperformed benchmark methods (IPF and Tomographer) in reconstructing 3D spatial gene expression from projected 1D data, achieving lower Mean Squared Error (MSE) and Mean Absolute Error (MAE), and higher R² scores across multiple datasets.
  • Accurate Marker Gene Expression: In real RNA tomography datasets (zebrafish embryo and mouse olfactory mucosa), CTFacTomo successfully identified 3D spatial expression patterns of marker genes that were consistent with known developmental or functional regions, often showing better alignment with ISH images than IPF.
  • Enhanced Biological Interpretation: Reconstructed 3D spatial expressions from CTFacTomo led to a greater number of significantly enriched gene clusters (identified via GO analysis) compared to IPF or original 1D data, suggesting improved biological interpretability.
  • Improved Spatial Coherence: Comparisons with external Stereo-seq data showed that CTFacTomo reconstructions exhibited more spatially coherent patterns than those from IPF, particularly for sparse gene expression data.

Limitations and Future Work

  • Computational Complexity: While CTFacTomo converges relatively quickly (within 10 minutes on tested datasets), the computational cost can still be significant, especially for very large datasets. The paper notes that the complexity is primarily driven by the number of genes and the rank of the decomposition.
  • Hyperparameter Sensitivity: The performance of CTFacTomo relies on careful tuning of hyperparameters (α, β, rank), which can be a non-trivial task.
  • Future Work: The authors suggest that the formulation of CTFacTomo, which learns from aggregated sums without knowing exact tensor entries, has potential for generalization to different kinds of tomography constructions. Further exploration of different graph structures and integration of other biological data types could also enhance its capabilities.

Summary updated

BibTeX
@misc{song2024ctfactomo,
  author = {Tianci Song and Quoc Viet Hung Nguyen and Rui Kuang and Rui Kuang},
  title = {{CTFacTomo: Reconstructing 3D Spatial Structures of RNA Tomography Transcriptomes by Collapsed Tensor Factorization}},
  year = {2024},
  doi = {10.1101/2024.11.11.623086},
  howpublished = {bioRxiv},
}
Figure