Bulk RNA sequencing grinds thousands of cells into a single average expression profile. This hides which cell types are present and how abundant each one is, which matters for immune infiltration in tumors. Deconvolution methods recover those proportions by writing the bulk profile as a weighted mix of reference expression profiles taken from single-cell RNA sequencing (scRNA-seq), which measures genes one cell at a time. When several such references exist, from different labs and different sequencing chemistries, a standard move is to prefer whichever reference best reconstructs the bulk data. That criterion has a blind spot. A reference that shares a technical artifact with the bulk cohort, such as the same library chemistry or the same gene-length and GC-content bias, will reconstruct the bulk well because it reproduces the artifact. It wins for that reason, not because its cell-type biology is right.
We propose replacing "which reference fits best" with "which reference gives the same answer no matter which kind of genes you ask." Technical artifacts act on specific, predictable gene classes: long or short genes, GC-rich or GC-poor genes, genes a given chemistry detects poorly, genes induced by tissue dissociation. True cell-type proportions do not depend on which of these classes you estimate them from. So we split genes into strata by technical covariates, estimate proportions separately in each stratum, and score each reference by how much its estimates disagree across strata. A reference that is biologically right but technically mismatched should be stable. A reference that is technically matched but biologically wrong should fit well yet be unstable. This is a selection and weighting layer that sits on top of any existing deconvolution method.
Core Claim
The closest existing work is SCDC. SCDC deconvolves a bulk sample against each scRNA-seq reference separately, then combines the resulting proportion estimates with weights chosen to minimize bulk reconstruction error. It reports a Pearson correlation of 0.991 with ground truth on a 6:3:1 cell-line mixture, and it was the only method to recover the HbA1c–beta-cell association in 77 pancreatic islet samples (p = 0.0019). SCDC is our starting point and our main competitor.
The weakness we target follows from combining two findings. SCDC's reconstruction-error objective rewards any reference that shares variance with the bulk data. Warnat et al. showed that samples from different labs still cluster by lab after normalization, so technical variance can dominate biological variance. Put together, shared technical variance can drive SCDC's reference weights.
We claim that agreement of proportion estimates across gene groups that are affected differently by technical processes is a better proxy for accuracy than reconstruction error. Concretely, let $k$ index references and $s = 1, \dots, M$ index gene strata. Let $\hat{W}_k^{(s)}$ be the proportions estimated from stratum $s$ alone, and let $\bar{W}_k$ be their mean. The instability score is
$$U_k = \frac{1}{M}\sum_{s=1}^{M} \big\| \hat{W}_k^{(s)} - \bar{W}_k \big\|_1 ,$$
and the ensemble weight is $\omega_k \propto \exp(-U_k/\tau)$, where $\tau$ is a temperature set on simulated data only.
The conceptual debt is to invariant representation learning. inVAE separates biological latent factors from technical ones by requiring biology to stay invariant across environments, where the environments are cell batches. We apply the same principle with gene strata as the environments and proportions as the invariant quantity, without training a generative model. That choice also avoids inVAE's assumption of a bijective decoder, which sits poorly with sparse count data.
Research Program
The first component defines the strata. Each gene gets four technical covariates: transcript length, GC content, a platform-detection ratio (how often the gene is detected in full-length Smart-seq2 data versus 3'-tag 10x Chromium data), and membership in a dissociation-stress gene set. Genes are binned into $M$ strata by quantiles of these covariates. Every stratum is required to contain enough markers for each cell type. Where it does not, strata are merged hierarchically, following the cell-type tree already used in SCDC.
The second component is estimator-agnostic. Each stratum-level estimate uses the same deconvolver the practitioner would otherwise use, whether SCDC's weighted regression, DWLS, or BayesPrism. The layer therefore competes with SCDC's weighting rule and not with the underlying regression.
The third component is a controlled stress test. The target failure is that a reference which is technically matched but biologically wrong beats one which is biologically right but technically mismatched. We build pseudo-bulk mixtures in which we control both factors separately. Biology comes from the Wu breast cancer atlas as used in the purity benchmark. Technical distortions are gene-wise multiplicative factors taken from the observed Smart-seq2-versus-10x ratios in the mouse mammary cross-protocol data used by SCDC, applied as a structured template rather than as Gaussian noise. This fixes a limitation DECONbench acknowledges: its mixtures add Gaussian technical noise, which does not look like real batch effects.
The fourth component uses tumor purity as the application regime. The purity benchmark found that at high tumor purity every tool it tested mislabels normal epithelium as cancer, because tumor cells keep a transcriptional memory of their cell of origin. We test whether stratum instability flags the references and purity ranges where this confusion happens. If it does, $U_k$ also becomes a per-sample warning signal that practitioners can use.
Baselines
The naive reference point is a single reference chosen without looking at the bulk data: the largest atlas, deconvolved with DWLS. The purity benchmark ranked DWLS among its best methods for fine-grained immune lineages. A second naive point is concatenating all references into one pooled atlas. SCDC reports that pooling is worse than using individual references.
The strongest existing competitor is SCDC's reconstruction-error ensemble. Its best reported result in the file is Pearson 0.991 on the cell-line mixture. The file gives no RMSE for SCDC on the Wu breast cancer pseudo-bulk data, so SCDC will be rerun there. It gets the same references, the same gene universe, the same underlying regression, and the same tuning budget. Our temperature $\tau$ and SCDC's weights are both tuned only on a held-out simulation split.
We also run BayesPrism with its default single-reference setup. The purity benchmark reports that BayesPrism and DWLS had the lowest combined false positives and false negatives, but the file gives no global RMSE, so no reported result was found on Lacuna for BayesPrism on this benchmark. For the DECONbench PDAC suite, the reported top RNA method, r_WNM, reaches a mean MAE of 0.024. After we inject structured artifacts, the question is whether our layer keeps error near that level while SCDC-style weighting degrades.
Two ablations isolate the key ingredient. The first replaces technical strata with random gene splits of equal size. If random splits work as well, the technical stratification is doing nothing. The second is cross-validated reconstruction error on held-out genes. This checks whether "held out" alone is enough or whether the held-out genes must be technically distinct.
To beat SCDC, our method must reduce proportion RMSE and high-purity false-positive rate in the technically-matched-but-biologically-wrong condition. It must also stay within noise of SCDC when references differ only in biology. Losing in that second condition would mean we traded one bias for another.
Why not just…?
Why not just batch-correct the references (ComBat-style) and pool them? Global corrections shift entire distributions and assume balanced cell compositions. BERMUDA shows that global alignment across batches with unbalanced compositions forces distinct populations to overlap. Warnat et al. show that lab signatures persist after normalization. Harmonization also does not decide which reference is biologically right. We include "harmonize then pool" as an arm of the stress test. If it matches our method in the mismatched condition, the weighting layer is unnecessary, and we would report that.
Why not just pick the reference sequenced on the same platform as the bulk? This is the heuristic our failure case targets. Same-platform matching is exactly how the technically-matched-but-biologically-wrong reference would win. It is still a real threat whenever same-platform references are also biologically adequate. The stress test crosses platform match with biological match in all four combinations, which shows when matching is enough.
Why not just cross-validate reconstruction error on held-out genes? Randomly held-out genes carry the same artifacts as the training genes, so the shared-artifact reference still fits them well. This is our second ablation. If random held-out-gene cross-validation matches technical stratification, the core claim fails.
Why not skip references and use NMF or rank-based scores? DECONbench's r_WNM does well on simulated pancreatic cancer data. But the spatial benchmark found that reference-free methods fail to separate closely related subtypes. Rank-based scores do not give proportions that sum to one, and the purity benchmark shows marker-based approaches are the ones confused by lineage memory. These methods are included as external reference points, not as replacements.
Proposed Experiments
The decisive experiment is the four-way design on Wu atlas pseudo-bulk data, crossing whether a reference matches the bulk platform with whether it matches the bulk biology. Biological mismatch comes from a reference drawn from a different breast cancer subtype or missing one immune lineage. Mixtures span 5% to 95% tumor purity, following the purity benchmark. Metrics are per-cell-type RMSE, Pearson correlation, and the false-positive rate for normal epithelium at purity above 80%. The prediction is that SCDC assigns most of its weight to the platform-matched, biology-mismatched reference, while instability-based weights favor the biology-matched reference. The prediction fails if they do not.
A second check tests whether $U_k$ tracks true error. Across all simulated references and samples, we measure the rank correlation of $U_k$ with true error and compare it with the rank correlation of reconstruction error with true error.
Real-data checks reuse the SCDC settings with known answers. On the 6:3:1 cell-line mixture, we must not fall meaningfully below 0.991. On the 77 islet samples, we must retain the HbA1c–beta-cell association. On the HEK/Jurkat dilution series from CSsingle, we test whether cell-size bias shows up as instability across strata. A size bias acts on all genes alike, so it may not, and we expect to report it as a limitation that stratification does not address. Finally, on DECONbench PDAC with structured rather than Gaussian artifacts injected, we compare MAE against the reported 0.024.
Beyond breast cancer pseudo-bulk data, the first thing that would sink the idea is strata too small to carry markers for fine immune subsets. We will report the smallest stratum size at which instability still separates good references from bad ones.
References
- SCDC: Bulk Gene Expression Deconvolution by Multiple Single-Cell RNA Sequencing References
- Cross-platform analysis of cancer microarray data improves gene expression based classification of phenotypes
- Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneity
- Performance of tumour microenvironment deconvolution methods in breast cancer using single-cell simulated bulk mixtures
- DECONbench: a benchmarking platform dedicated to deconvolution methods for tumor heterogeneity quantification
- BERMUDA: a novel deep transfer learning method for single-cell RNA sequencing batch correction reveals hidden high-resolution cellular subtypes
- A comprehensive benchmarking with practical guidelines for cellular deconvolution of spatial transcriptomics
- CSsingle: A Unified Tool for Robust Decomposition of Bulk and Spatial Transcriptomic Data Across Diverse Single-Cell References