NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Borrowing Signal for Rare Dendritic Cells: Two-Layer Gene-Program Factorization for Bulk Tumor Deconvolution

Dendritic cells (DCs) are the immune cells that show tumor antigens to killer T cells, and their abundance in a tumor predicts survival and response to immunotherapy. In pleural mesothelioma, adding stromal CD11c+ DC density to a clinical model raised survival-prediction AUROC from 0.67 to 0.84 (Prognostic Role of Tumor Immune Microenvironment in Pleural Epithelioid Mesothelioma). Most large patient cohorts, however, exist only as bulk RNA sequencing: one expression profile per tumor, averaged over every cell in it. Recovering cell-type fractions from such data is called deconvolution. It fails precisely on DCs. The subsets that matter clinically (cDC1, cDC2, the monocyte-like DC3, and the LAMP3+ mature state) usually make up under 1–2% of cells, and they share most of their genes with each other and with macrophages (Deciphering tumor-infiltrating dendritic cells in the single-cell era). The strongest recent deep deconvolution model, TAPE, says outright that it struggles with "extremely rare cell types and highly similar subtypes" (Deep autoencoder for interpretable tissue-adaptive deconvolution and cell-type-specific gene analysis).

Our proposal is to stop giving each rare cell type its own free-standing reference profile. Instead, every cell type's profile is written as a sparse, non-negative mix of shared gene programs, such as a core myeloid program, an antigen cross-presentation program, and a migration and maturation program. The programs are learned mostly from abundant cells like macrophages and monocytes. A rare DC subset then only needs to learn a handful of mixing weights, not thousands of gene levels estimated from a few hundred noisy single cells. The same mixing weights also represent the fact that LAMP3+ maturation is a state that both cDC1 and cDC2 can enter. This gives a two-layer matrix factorization, genes to programs to cell types to samples, and it is fit jointly on single-cell reference and bulk data.

Core Claim

Flat deconvolution has a specific problem with rare, similar subtypes. Their reference profiles are both noisy and nearly collinear, meaning they point in almost the same direction in gene space. Any regression that treats those profiles as fixed columns will then assign fractions unstably between them. A factorized signature matrix $S = BM$ addresses both problems at once. Here $B$ (genes × programs) holds non-negative gene programs and $M$ (programs × cell types) holds sparse non-negative weights. Sharing $B$ across types lowers the noise in each rare type's signature, because each program is estimated from many cells. Sparsity in $M$ forces subtypes to differ only in which programs they use, and that is a better-conditioned way to tell them apart.

The testable prediction is concrete. The gain over flat methods should grow as two quantities shrink: the number of reference cells available for the rare subtype, and its true fraction in the bulk sample. The gain should also persist at high tumor purity, where flat methods are known to collapse. This is a claim about deconvolution of rare subtypes. It is not a claim that "deeper is better" in general, and it can fail cleanly.

Relation to Prior Work

Three lines of work motivate or constrain this design.

The first shows that stacked non-negative factorizations recover part-to-whole structure that a single factorization misses. Multi-layer non-smooth NMF groups low-level parts into abstract concepts; on MNIST it separates classes better, with a Fisher discriminant of 0.61 versus 0.51 for shallow NMF (Hierarchical Data Representation Model - Multi-layer NMF, Learning the Hierarchical Parts of Objects by Deep Non-Smooth Nonnegative Matrix Factorization). Stacking two SVDs yields more independent latent dimensions (Two SVDs produce more focal deep learning representations), but it gives up non-negativity, so its factors cannot be read as cell fractions. These papers work on images and text with balanced classes. None faces a target component at 1% abundance.

The second line supplies our optimization and warns about specific failure modes.

  • Greedy layer-by-layer fitting compounds errors. Backpropagating through the non-negative least-squares step fixes this: on a synthetic three-layer topic benchmark, reconstruction error fell to 0.310, versus 0.399 for greedy hierarchical NMF and 0.414 for Deep NMF (Neural Nonnegative Matrix Factorization for Hierarchical Multilayer Topic Modeling).
  • Many deep factorization objectives are inconsistent across layers and can diverge. Globally consistent losses solved with a restarted fast projected gradient method, plus minimum-volume constraints, avoid this (A consistent and flexible framework for deep matrix factorizations).
  • That same paper stresses that deep factorizations are not identifiable without extra constraints, since $BM = (BQ)(Q^{-1}M)$ for any invertible $Q$.

We reuse the consistent-loss projected gradient solver. We handle the identifiability problem by anchoring $M$ to known single-cell labels and by making $M$ sparse, and we check that it is handled by measuring stability across random restarts.

The third line defines the target and the competition. A benchmark of nine tools on 38,000 breast-cancer pseudo-bulk mixtures has two main findings (Performance of tumour microenvironment deconvolution methods in breast cancer using single-cell simulated bulk mixtures). Performance collapses as tumor purity rises, which the benchmark calls the "purity trap". BayesPrism and DWLS are best on granular immune lineages. None of the nine tools shares structure across cell types. TAPE's decoder is a single flat signature matrix. CIBERSORT with its LM22 reference only distinguishes resting from activated DCs (An Immune-Related Prognostic Signature Predicts Overall Survival in Stomach Adenocarcinomas).

Model

Let $Y$ (genes × bulk samples) be the bulk matrix and $\bar R$ (genes × cell types) the per-type average expression from a labeled single-cell reference. Let $H$ (cell types × samples) hold the unknown fractions, with each column non-negative and summing to one. We solve

$$ \min_{B, M, H \ge 0} \; \|Y - BMH\|_F^2 + \alpha \|\bar R - BM\|_F^2 + \beta \|B - B_0\|_F^2 + \gamma \|M\|_1 . $$

The terms are as follows:

  • $B_0$ is the program matrix fit on the reference alone.
  • $\alpha$ ties the model to the single-cell profiles.
  • $\beta$ limits how far the programs may shift to match the bulk platform and tissue.
  • $\gamma$ makes each cell type use only a few programs.

The number of programs $r$ must be at least the number of cell types, so that $BM$ has full column rank and $H$ stays identifiable. The saving comes from sharing and sparsity, not from a low rank. Letting $B$ adapt to the bulk data is the analogue of TAPE's tissue-adaptive fine-tuning. The difference is that the adaptation moves shared programs, not rare-type columns that each have their own free parameters.

A third output layer that sums subtype fractions into coarse lineages is optional and is tested as an ablation. Its purpose would be to let tumor purity be absorbed at the top of the hierarchy.

Research Program

We will build three things:

  1. A DC-resolved reference, made by re-annotating the myeloid compartment of the breast-cancer single-cell atlas used in the benchmark. The labels are cDC1, cDC2, DC3, LAMP3+ mature DC, plasmacytoid DC, monocytes, and macrophage states, assigned with the markers summarized in the DC single-cell review.
  2. The joint solver, adapted from the consistent deep factorization framework.
  3. A pseudo-bulk generator extended beyond the benchmark's design. It varies purity from 5% to 95% as the benchmark does, and additionally spikes each DC subset at controlled fractions from 0% to 3%.

The analysis asks three questions. Where does each method's detection limit sit? How does that limit move with purity? How does it move as the reference's cDC1 cell count is subsampled? The last question is where program sharing should matter most.

Baselines

Naive reference. The do-nothing point predicts each DC subset's average training-set fraction for every sample, plus a flat non-negative least-squares fit using the fine-grained signature matrix. Every method must beat this, especially on false positives at zero spike-in.

BayesPrism. The strongest existing competitor is BayesPrism, with DWLS as co-leader. Both are the top performers on granular immune lineages in the breast-cancer benchmark. They will be given exactly our DC-resolved reference, the same gene universe, and the same pseudo-bulks, with their default settings plus an equal tuning budget over marker-gene selection. The benchmark reports no RMSE or correlation values for them, so there is no reported result on Lacuna for BayesPrism or DWLS on this task. Their numbers will come from our own runs.

TAPE. TAPE is retrained with fine DC labels on the same simulated mixtures and fine-tuned on the same bulk samples. It is the strongest deep, adaptive model. Its reported MAE values are shown only graphically in its paper, so there is no reported numerical result on Lacuna for TAPE on DC subsets.

Marker score. A marker score, meaning a single-sample enrichment score over canonical subset markers, tests whether a correlation-level answer needs deconvolution at all.

Ablations. Three ablations isolate the key ingredient:

  • Flat denoising: PCA-truncating the reference before regression gives low-rank shrinkage without non-negative program sharing.
  • Greedy fitting: fitting $B$ and $M$ on the reference and then freezing them removes the joint bulk adaptation.
  • Tree-structured two-stage regression: coarse fractions are estimated first, then subsets are resolved within the myeloid compartment using fixed signatures. This supplies hierarchy without shared programs.

What counts as winning. Our method wins if it shows a lower detection limit and lower per-subtype RMSE than BayesPrism for cDC1 and LAMP3+ DCs at fractions of 1% or below and purity of 70% or above. It must also have no more false positives at zero spike-in. The win must hold across held-out patients.

Why not just…?

Why not just use BayesPrism or DWLS with a finer signature matrix? These are the benchmark's best tools on granular lineages, and a finer reference is the cheapest possible fix. They still treat each subtype's profile as a fixed, independent column. The benchmark shows that such methods produce errors and mis-assignments on granular types as purity shifts. The reference-subsampling experiment tests this directly: if flat methods stop degrading when cDC1 reference cells are cut from hundreds to tens, our argument from signature noise fails.

Why not just deconvolve hierarchically in two stages, first coarse lineages and then subsets within the myeloid compartment? This is the most serious threat, because it captures "hierarchy" with no new model. It still uses fixed, noisy subtype signatures, and it propagates stage-one errors into stage two. The Neural NMF results show that exactly this kind of greedy error compounding occurs, though in a different domain. We run it as a named ablation. If it matches our method, the contribution reduces to showing that lineage-restricted regression is enough, and we will report that.

Why not just fine-tune TAPE with DC labels? TAPE's own authors report failure on rare, similar subtypes. Its flat decoder gives each subtype its own free column during adaptation, which is exactly the parameterization we argue is too loose at 1% abundance. Running TAPE on identical data settles the question empirically.

Why not just score DC marker genes? A marker score may rank tumors by cDC1 content well enough for survival analysis. It produces no fractions, however, and markers like the LAMP3+ maturation genes are shared across lineages, so the score cannot separate lineage from state. We include it, and we report rank correlation separately from fraction error so that a win on ranking alone is visible.

Proposed Experiments and Decisive Checks

Simulation. On breast-cancer pseudo-bulks, we report per-subtype RMSE, Pearson correlation, false-positive rate at 0% spike-in, and a detection limit, defined as the smallest spike fraction at which correlation with ground truth exceeds 0.5. Each is reported as a function of purity.

Generalization. The reference is built from the Wu atlas, and mixtures are drawn from the held-out Bassez and Pal single-cell datasets used by the same benchmark. This tests transfer across patients and platforms.

Identifiability. We run twenty random restarts and measure how stable $B$ and $M$ are, using spectral angle as in the consistent deep factorization work. If sparsity and anchoring leave the factors unstable, we will report that.

Biology on TCGA breast cancer. The benchmark's 1,038 TCGA breast samples have no ground truth, so we use a biological consistency check with the recruitment gene removed from the model. The single-cell study of hepatocellular carcinoma found that XCL1-expressing CD8 T cells recruit cDC1s (Global immune characterization of HBV/HCV-related hepatocellular carcinoma identifies macrophage and T-cell subsets associated with disease progression). If the model's cDC1 estimates are real, they should track bulk XCL1 expression more closely than the baselines' estimates do. This is a check, not proof.

Decisive results. The program-sharing hypothesis stands if three things hold together: we beat BayesPrism and the two-stage ablation at low DC fractions and high purity, the advantage widens as the reference is subsampled, and the flat PCA-denoising ablation does not reproduce the gain. If any of the three fails, the hypothesis is refuted.