When a tissue sample is sequenced in bulk, the reading is an average over many thousands of cells. "Deconvolution" methods try to undo that averaging. They estimate what fraction of the sample each cell type makes up, using a reference: a table of each cell type's typical expression, built once from single-cell data. That reference is a snapshot. It was usually collected at one time of day, in one season, from a few donors. Yet every cell type runs a roughly 24-hour molecular clock that shifts thousands of genes up and down, and different cell types can run on different phases. A sample taken at 4 a.m., deconvolved with a reference built at noon, will show rhythmic expression changes that the method misreads as changes in cell proportions. The data available over time is thin, since references cover only a few time points. That thinness turns directly into errors in what the bulk average appears to hide.
We propose a deconvolution model whose reference is a function of time rather than a fixed table. Each cell type's expression is fitted as a smooth curve over its own circadian phase, learned from a sparse single-cell time course. One bulk sample is then explained as a mixture of cell types, each read at its own phase. From that single sample the model jointly recovers the cell proportions, a per-cell-type phase with an uncertainty, and an answer to a question bulk studies cannot currently ask: did this tissue change because its cell composition shifted, or because the cells' internal state moved?
Core Claim
Our claim has two parts. First, a phase-resolved reference corrects the bias that a static reference introduces when bulk samples come from time points the reference never saw. Second, and more distinctly, the per-cell-type phases can be identified from mixed bulk data alone, without sorting cells. The second part is where the novelty lies. The simplest competitor, discarding rhythmic genes before deconvolution, might match us on proportions. If so, we will say so, and the contribution narrows to phase recovery and to attributing change to composition versus cell state.
The model is a negative binomial mixture. A negative binomial is a count distribution that allows more spread than a Poisson, and it suits sequencing counts. For gene $g$ in cell type $k$, the reference mean at phase $\phi$ is
$$\mu_{gk}(\phi) = \exp\big(a_{gk} + b_{gk}\cos\phi + c_{gk}\sin\phi\big).$$
Here $a_{gk}$ is the gene's baseline in that cell type, and $b_{gk}, c_{gk}$ set the amplitude and timing of its 24-hour rhythm. These are fitted on the single-cell time course, with shrinkage toward zero rhythm for genes that have few cells. A bulk count vector $Y$ with library size $s$ is then modeled as
$$Y_g \sim \mathrm{NegBin}\Big(s\sum_k \theta_k\,\mu_{gk}(\phi_k),\ r_g\Big).$$
In this model, $\theta$ is the vector of cell proportions on the simplex, $\phi_k$ is the circular phase of cell type $k$, and $r_g$ is a gene dispersion. Setting all $b, c$ to zero recovers ordinary static-reference deconvolution, and forcing all $\phi_k$ equal gives a tissue-synchronous model. Both serve as ablations. Inference uses the full posterior over $\phi_k$, with a von Mises prior (a bell curve on the circle) and a grid-plus-gradient scheme. For a cell type that is rare or weakly rhythmic, the posterior over its phase should be flat rather than falsely sharp. That flatness is itself a testable prediction.
Relation to Prior Work
The closest work is tauFisher. It predicts circadian time from a single bulk or pseudobulk sample, using pairwise differences between rhythmic genes, PCA, and circular regression. Applied to sorted mouse dermal cells, it found that immune cells' apparently dampened rhythm came from phase desynchronization across immune populations. This paper both motivates and constrains our design. It shows that cell-type phase heterogeneity is real, but it outputs one phase per sample and needs pre-sorted or pseudobulk input. We invert a mixed sample into proportions plus one phase per cell type, so the immune desynchronization result becomes a target we should be able to recover without sorting.
Reference-based deconvolution supplies the static baseline we generalize. SCDC weights several single-cell references by how well each reconstructs the bulk sample, which implicitly absorbs references taken at different times. However, it treats them as unstructured batches and cannot interpolate to an unseen phase. The whole-blood study in Cell-type deconvolution of bulk-blood RNA-seq pipes CIBERSORTx proportions from the static LM22 signature into bMIND and eQTL mapping. It shows how much downstream biology rides on proportion estimates whose reference never varies with time.
Generative and representation-learning approaches supply technique but leave time out. Count Bridges deconvolves bulk into single-cell integer counts with an exact-count generative process. We borrow its insistence on count likelihoods, but its "time" is an artificial diffusion coordinate, not biological time. inVAE splits single-cell variation into invariant and nuisance parts with categorical domain labels. We instead treat temporal variation as structured signal to be estimated, not removed. This follows inVAE's own warning that removing batch effects can discard biology.
Uncertainty work constrains how we validate. MEAD gives valid confidence intervals under stationary scaling assumptions, and DeepDeconUQ gives conformal intervals that assume test samples are exchangeable with calibration samples. A held-out phase breaks exchangeability, so we test both against our posterior intervals specifically on unseen time points.
From the temporal-scarcity side, Gong et al. found that smoothing alone does not handle seasonal non-stationarity and that models need comparison against matching calendar phases. Our harmonic reference is a minimal version of that idea. Crocetti shows single-year training fails across years, and we take this as a warning that a 72-hour reference cannot vouch for seasonal or inter-annual validity. We therefore scope our claims to the circadian scale.
Research Program
The work has three parts. First, we build the phase-resolved reference from the mouse dermal skin single-cell time course used by tauFisher, which was sampled every 4 hours over 72 hours. We fit the harmonic model per gene and cell type, and we check by held-out cells that the fitted curves predict unseen time points better than a per-time-point average.
Second, we construct a benchmark for deconvolution under temporal scarcity. The section 4 gap analysis notes that no multi-season paired bulk/single-cell atlas exists. The 72-hour course gives a usable proxy. We hold out entire time points from the reference and build pseudobulk test samples from the held-out cells, so every test sample comes from a phase the reference never observed. Ground-truth proportions are known because we choose which cells to pool.
We then add a controlled phase-heterogeneity arm. In this arm, cells of one type are drawn from a different time point than the rest, which simulates a desynchronized population with a known phase offset. We also add a composition-versus-state arm with three kinds of paired samples: one differs only in proportions, one only in a cell type's phase, and one in both.
Third, we move to real bulk data. We apply the method to the bulk datasets in tauFisher's 12-dataset circadian benchmark, where only collection time is known. A proportion-weighted summary of our cell-type phases should predict collection time at least as well as tauFisher. This tests that the joint model has not traded tissue-level timing for compositional detail.
Baselines
The naive reference point is static-reference deconvolution with the same negative binomial likelihood but no rhythm terms, fitted on all reference time points pooled. This is what current practice amounts to. Any method must beat it on held-out phases, or the temporal problem is not worth modeling. We also report a non-negative least-squares fit on the same pooled signature, the classical linear model, to separate gains from the count likelihood from gains from time.
The strongest existing method for proportions is SCDC. We will give it one reference per available reference time point, the most favorable use of its ensemble, since it can then up-weight the reference nearest in phase. Its reported result is a Pearson correlation of 0.991 with ground truth on a three-cell-line mixture. That setting has no temporal mismatch, so it is an upper reference, not a target. On deconvolution under held-out circadian phases, no reported result was found on Lacuna. We run SCDC on identical gene sets, cells, and pseudobulk samples. Our model beats it if proportion error on held-out phases is lower with non-overlapping bootstrap intervals across samples.
For phase, the strongest baseline is tauFisher. It reports outperforming ZeitZeiger and TimeSignatR in 11 of 12 benchmark datasets, typically within a 2-hour window, and about 78–83% accuracy on mouse SCN and skin pseudobulk. On the real bulk benchmarks we match its training data and target this number for tissue-level phase. On the heterogeneity arm, tauFisher can output only one phase per sample. We therefore also give it an oracle advantage: we run it on sorted per-cell-type pseudobulk. Our method beats the realistic version if it recovers the injected phase offset from mixed samples, and it matches the oracle if its per-type phase error approaches sorted-input tauFisher.
Two further baselines are real competitors. The first filters out every gene called rhythmic in the reference time course, then runs static deconvolution. The second is a two-stage pipeline: estimate tissue phase with tauFisher, then deconvolve with the reference time point nearest that phase.
Two ablations isolate the key ingredients. The shared-phase model forces all $\phi_k$ equal, which isolates per-cell-type phase. The pooled-static model drops the rhythm terms, which isolates the time-varying reference. All methods share the same genes, cells, held-out splits, and a fixed hyperparameter search budget, with tuning done only on reference time points.
Why not just…?
Why not just drop the rhythmic genes and deconvolve as usual? This is the most serious threat. If the remaining genes carry enough cell-type identity, it may remove most of the temporal bias in proportions at almost no cost. We expect it to fall short in two places. Some cell-type markers are themselves rhythmic, so filtering costs marker information, worst for rare types. More fundamentally, it produces no phase information at all, so it cannot answer the composition-versus-state question. The held-out-phase arm settles the first point directly. If filtering matches our proportion accuracy, we will report that and present the method as a phase-and-attribution tool, not a better proportion estimator.
Why not just treat time points as batches and use multi-reference ensembles? SCDC does exactly this, and it is our strongest proportion baseline. Its limit is structural: a weighted combination of references can only blend observed phases at the tissue level. It cannot assign different phases to different cell types in one sample, which is precisely the desynchronization tauFisher found in dermal immune cells. The heterogeneity arm tests whether this matters numerically. If SCDC is as accurate there, the per-type phase machinery is unnecessary for proportions.
Why not just estimate tissue phase first, then pick the matching reference? The two-stage pipeline is cheap and should do well when the tissue is synchronous. It fails by construction when cell types disagree on phase: a single tissue phase picks the wrong reference for the out-of-phase type. Errors in phase estimation also flow into proportions without any feedback. The shared-phase ablation is essentially a joint version of this pipeline. The gap between it and the full model, measured on the heterogeneity arm, is the evidence for or against per-type phases.
Why not just smooth the bulk time course? Most clinical bulk data have one sample per person, so there is no time course to smooth. Gong et al. also found that smoothing does not capture seasonal non-stationarity. We do not test this further.
Proposed Experiments
The first decisive check is proportion error on pseudobulk from held-out phases. It compares the full model, rhythmic-gene filtering, SCDC with per-time-point references, and the pooled-static ablation, and it reports how error grows with the circular distance between test phase and nearest reference time point. A static method's error should grow with that distance, while ours should stay flat. If ours grows too, the harmonic reference is not interpolating.
The second check is per-cell-type phase recovery on the injected-offset arm. We measure circular error in hours and the fraction within 2 hours, across offset sizes and across target cell types of varying abundance. We also check that posterior intervals for rare or weakly rhythmic types widen rather than stay narrow and wrong. Coverage of nominal 90% intervals on held-out phases will be compared against MEAD and DeepDeconUQ intervals on the same samples. Both of those assume stationarity, so we expect them to undercover there.
The third check is attribution. On the paired composition-only, state-only, and mixed samples, we measure how often the model assigns the change correctly, and whether static methods report spurious proportion shifts on state-only pairs. The final real-data checks have two parts. We test whether, applied to mixed dermal pseudobulk without sorting, the model reproduces tauFisher's finding that immune populations are mutually desynchronized relative to fibroblasts. We also test whether tissue-level timing on the bulk circadian benchmarks stays competitive with tauFisher's reported accuracy.
We deliberately leave seasonal and inter-annual periods out of the evaluated claims. The model extends to a 365-day period with the same harmonic form. However, no paired multi-season bulk and single-cell resource appears in the literature we surveyed, and the lesson of Crocetti is that a reference spanning one window cannot certify behavior outside it. Building that resource is the natural next step once the circadian version is shown to work.
References
- tauFisher predicts circadian time from a single sample of bulk and single-cell pseudobulk transcriptomic data
- SCDC: Bulk Gene Expression Deconvolution by Multiple Single-Cell RNA Sequencing References
- Cell-type deconvolution of bulk-blood RNA-seq reveals biological insights into neuropsychiatric disorders
- Count Bridges enable Modeling and Deconvolving Transcriptomic Data
- Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneity
- Statistical inference for cell type deconvolution
- DeepDeconUQ estimates malignant cell fraction prediction intervals in bulk RNA-seq tissue
- EWA-GBDT: A Novel Air Quality Prediction Model Combining Exponentially Weighted Averages and Gradient Boosting Decision Tree
- Global, spatially explicit modelling of zenith wet delay with XGBoost