- Rating
- 5
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a self-supervised method named TxFM within a masked autoencoder framework for representation learning of genes and cells/samples directly from raw RNA sequencing count data. To enable generalization toward universal representations, the paper introduces a training dataset, DiverseRNA-1.4M, built from publicly available bulk and single-cell RNA sequencing data. Experiments are conducted to validate the generalizability of the learned gene and cell representations.
Strengths and weaknesses
Strengths:
Learning universal representations of genes and cells is critical for the downstream biological analysis tasks such as cell perturbation prediction, batch correction, and cell type discovery. This paper addresses the problem by introducing a masked-autoencoder-based method TxFM that employs a Poisson-based reconstruction loss. It also constructs a diverse dataset DiverseRNA-1.4M to ensure the quality and generalizability of the learned representations. The proposed model is simple but seems to be effective in the experiments, and the curated dataset DiverseRNA-1.4M may be a useful benchmark once publicly released.
Weaknesses:
(1) The wording of some sentences is somewhat awkward and hard to follow, e.g. the sentence between Line 147-150.
(2) Averaging metrics measured on different scales may obscure the distinctions among them and lead to misleading conclusions in Table 2.
(3) Detailed descriptions of the held-out datasets for evaluation are missing.
(4) The rationale behind the design of the rectified tanh function is not fully explained.
Questions
(1) Is Equation (2) applied only to the observed genes in ? Is it possible that minimizing the loss function biases the model toward the unmasked genes, since they are fed into the encoder? Specifically, how does TxFM perform if only masked genes are used in the Poisson-based reconstruction loss?
(2) Why is the constant 4e included in Equation (1)? In addition, could the authors explain the reason why the ReLU function is not applied directly after the MLP encoder, but instead appears to be applied after the tanh function? Could the authors clearly state the implementation details of the MLP?
(3) Given that bulk sequencing and single-cell sequencing measure gene expression at different levels of resolution, could the authors explain why including bulk RNA-sequencing data in the training set helps improve cell perturbation prediction?
(4) Could the authors provide a comparison of the total number of trainable parameters between TxFM and other transcriptomic foundation models?
Limitations
Yes.
Paper formatting concerns
NA
Final justification
The authors have addressed my main questions and further strengthened my confidence in the paper. My overall assessment therefore remains positive, and I maintain my original score.
Thank you for your review and for the helpful comments.
For W1, we will improve the wording in the manuscript.
For W2, kindly refer to our reply to reviewer JYKH where we point out the unaggregated results in the Appendix, walking through the performance results around linear probing, KNN retrieval, and invertibility to counts.
For W3, we will include a more complete description of perturbation evaluation datasets in the final draft. Each Perturb-seq dataset contains several hundred thousand cells spanning ~2,400 CRIPSRi perturbations. The Jurkat and HEPG2 datasets correspond to Nadig et al. 2025, and the RPE1 dataset corresponds to Replogle et al. 2022 (see end of reply for full references).
For W4, kindly see our response to Q2, which is directly related.
Q1: Equation 2 and where is loss applied
The loss is applied on both masked and unmasked genes during training. This is to encourage the model to perform well at encoding both what it sees (as a standard autoencoder) and what it needs to predict (the masked genes). There may be a partial bias to reconstructing the unmasked inputs, but they only comprise a small portion of the loss given our high masking ratio. For example, for a ~20,000 gene sample from TCGA, reconstructing the 2048 unmasked genes will only carry about 10% of the loss signal, with 90% being on the masked genes. In our earlier experiments, we found minimal differences when applying the loss on all genes versus only on masked genes.
Q2: Activation function and MLP
The constant
4ein Equation 2 was initially tuned to balance out the natural log of the library size constant whenL=100,000. We give visual intuitions for this activation function on page 28, Figure 10 in the Appendix. We later realized that this activation could be generalized to simply be:This simplified exposition of the activation, as described in lines 851-853 of the Appendix, clarifies its contribution. The order of ReLU and tanh here does not make a difference mathematically: aReLU(tanh(az))==atanh(ReLU(az)) . We can move this figure and the general form of the activation into the main text to improve clarity in the final draft, and can swap tanh and ReLU in Equation 2 to be more customary.
We use a simple 4-layer MLP to process the transformer’s CLS token embedding of the sample, with skip connections between each layer. Specifically, the MLP’s hidden dimensions match the CLS token’s dimensionality (for TxFM-B, this is d=768), and has the following structure:
With the last block having an additional linear head mapping from 768 → G dimensions (G=44,349), constituting the decoder gene matrix (which is benchmarked in Section 4.2 and in the ablation study). Then, the rectified tanh activation function is applied on that final 44,349-dimensional vector of logits coming from the model. We also kindly point to Table 5 (e, f) on page 9 in the submission, where we ablate the impact of the MLP decoder depth as well as the different activation functions.
Q3: Why does including bulk improve single-cell performance?
This is an important question, and we are happy to offer a hypothesis for our empirical finding. Single-cell data is often zero-inflated, which could make it difficult to learn fundamental relationships between certain genes when most of the observations of that gene have an expression value of 0. Meanwhile, bulk data, while aggregated across many cells, may capture much richer signal for such genes, given its higher read-depth. Therefore, when those genes do rarely get observed in the single-cell evaluation data, it is possible that the bulk training data helps to better characterize the local biology of those genes. This result is consistent with broader trends in ML, where diverse training data of different resolutions and modalities can improve unimodal performance (e.g., training with diverse imaging data from different-quality cameras, or LLM training on multiple different languages simultaneously).
Q4: Comparison of the total number of trainable parameters
We are happy to include a plot comparing each model based on the number of parameters versus overall performance. The general trend is that TxFM-B trained on our curated DiverseRNA-1.4M dataset, with only 160M parameters, outperforms considerably larger models trained on much more data. For example, Cell2Sentence has the largest parameter count of 2B, followed by UCE with 675M parameters, and then STATE-SE with 600M.
Zooming into one of our metrics, the linear probing accuracy for perturbation classification (taken from the the Appendix Tables 10, 11, 12) across the 3 evaluation datasets, we see the following results:
Thus, scaling parameters may not be as impactful as the specific choices surrounding model architecture, SSL loss function, and training data curation, which we have shown can have large impact on downstream results.
References