Offline decision systems learn treatment policies from historical records, without trying anything new. They protect themselves by being pessimistic: they score each option by a lower bound on its estimated benefit, and the width of that bound is set by a scalar knob. That knob is notoriously fragile. Set it too low and the policy chases spurious benefits in poorly sampled regions. Set it too high and the policy refuses to recommend anything. This note asks what happens to that fragility when the patient's description is itself an estimate.
The case we study is immune deconvolution. Deconvolution is the computational unmixing of a bulk tumor RNA sample into estimated fractions of T cells, macrophages, malignant cells and so on. How precise these fractions are varies greatly from patient to patient, depending on tumor purity, rare cell types, and mismatch with the reference cell atlas. Our claim is that much of the pessimism knob's sensitivity in this setting comes from one scalar absorbing two different uncertainties. The first is uncertainty about the patient's state, which varies by patient. The second is uncertainty from sparse treatment data, which is closer to uniform. If calibrated per-patient deconvolution intervals handle the first, the remaining scalar should have a wide good range and should carry over across reference atlases.
Core Claim
Pessimism is provably the right principle when data coverage is incomplete, as shown in Is Pessimism Provably Efficient for Offline RL?. That analysis treats the state as observed. When the state is a deconvolved composition, a single penalty coefficient has to compensate for measurement error that differs by a large factor across patients. No single value can fit both a clean, high-purity sample and a noisy one dominated by a rare cell type.
We propose a decision rule with two uncertainty controls instead of one. Let $x$ be a patient's bulk expression profile, and let $\mathcal{C}_\delta(x)$ be a calibrated set of plausible cell-fraction vectors for that patient. This set is a per-cell-type conformal interval, intersected with the simplex of fractions that are non-negative and sum to one, and it contains the true composition with probability $1-\delta$. Let $\hat Q(w,a)$ be the estimated outcome of treatment $a$ at composition $w$, and $u(w,a)$ an ensemble-disagreement measure of how sparsely treatment $a$ was observed near $w$. The policy chooses
$$\pi(x) = \arg\max_a \; \min_{w \in \mathcal{C}_\delta(x)} \Big[\hat Q(w,a) - \beta\, u(w,a)\Big].$$
Here $\delta$ is a miscoverage rate with a direct statistical meaning, and $\beta$ is the only freely tuned penalty. The testable prediction has three parts:
- The range of $\beta$ within a fixed tolerance of the best achievable regret is substantially wider under this rule than under a plug-in rule that uses point-estimate fractions.
- A $\beta$ tuned with one reference atlas stays near-optimal under another atlas.
- The gain disappears when the per-patient intervals are replaced by a single average interval width. This shows the benefit comes from heterogeneity in measurement error, not from extra conservatism.
Relation to Prior Work
Two lines of work motivate the problem from opposite sides.
On the decision side, several papers attack scalar sensitivity directly. ACL-QL learns transition-level conservatism weights. Pareto Policy Pool maps the whole return-versus-uncertainty frontier and selects a policy afterwards. Pessimism-based Bayesian Learning (PBL) replaces the scalar with Bayesian credible sets for dynamic treatment regimes on ICU data. All three assume the state is measured cleanly. None of them uses an external, calibrated description of state error, and that is exactly what deconvolution tools can supply.
On the deconvolution side, MEAD shows that treating estimated fractions as known constants inflates false positives in downstream tests, and it builds valid confidence intervals. DeepDeconUQ produces conformal prediction intervals for malignant-cell fractions. Both stop at inference. We reuse their intervals as the measurement-uncertainty component of the rule above; that is where the method comes from.
Three further papers constrain the design:
- SCDC shows that estimates swing with the choice of single-cell reference.
- CSsingle shows that ignoring cell size systematically biases fractions.
Both effects are systematic biases, not random noise, and a conformal interval calibrated on one reference may lose coverage on another. This is the main way the proposal could fail, and it gets its own decisive check below.
- Of Mice and Machines is cited for the over-conservatism failure mode, in which excessive penalties shrink the usable operating window until the agent stops acting. That is the "paralysis" outcome we measure explicitly.
Research Program
We deliberately restrict to single-decision treatment choice (an offline contextual bandit) rather than multi-step reinforcement learning. The file contains no sequential transcriptomic treatment data, and inventing multi-step dynamics would bury the question under modeling choices.
Testbed. The testbed is semi-synthetic, because only simulation gives ground-truth compositions and counterfactual outcomes together. We construct pseudo-bulk samples by mixing single-cell profiles at known fractions, following the pseudo-bulk construction used by DeepDeconUQ. We also build a spatial variant from SpatialCTD, whose CosMx-derived pseudo-spots carry known compositions across lung, kidney and liver samples.
Outcomes and logged treatments. Outcomes are generated from the true fractions through response functions shaped like plausible biology, for example an immunotherapy benefit that rises with the CD8 T-cell fraction and falls with the suppressive macrophage fraction. Logged treatments come from a confounded historical policy that leaves some composition–treatment regions nearly empty.
Measurement conditions. The policy sees only deconvolved estimates, produced under controlled error regimes:
- a reference matched to the mixing atlas;
- a mismatched reference from another lab;
- a multi-reference SCDC ensemble;
- a cell-size-distorted setting, with and without CSsingle correction.
Computing the inner minimum. For linear or basis-function $\hat Q$, the minimum over a box intersected with the simplex is a small linear program. For neural $\hat Q$, we approximate it by sampling compositions inside the set.
Real-data check. We add a descriptive analysis on TCGA bulk profiles, as organized in The TCGA Meta-Dataset Clinical Benchmark. It has no outcome ground truth. We ask only whether recommendations stay stable when the reference atlas is swapped.
Baselines
Naive reference points. There are two:
- the logging policy, and a fixed "treat everyone with the default" policy;
- a greedy plug-in policy that feeds point-estimate fractions into $\hat Q$ with no pessimism.
Beating these is a minimum requirement, not evidence for the claim.
Strongest direct competitor: plug-in pessimism with a tuned scalar. Point-estimate fractions go into the same $\hat Q$ and $u$, and the rule is $\hat Q - \beta u$. This is what a practitioner would build from CQL-style conservatism (Conservative Q-Learning). It gets the same grid of $\beta$ values and the same doubly robust offline value estimate for choosing $\beta$ that our method uses. We also report its oracle-tuned version, with $\beta$ chosen on true regret, as an upper bound.
There is no published number for this setting. We found no result on Lacuna for pessimistic policy learning on deconvolved compositions. The nearest reported figures are on D4RL and serve only as context for how much tuning-free methods can gain there: a total mean score of 76.3 for P3 against 53.3 for MOPO, and 33.5 on Hopper-random for ACL-QL, both reported in their respective papers.
Method-level competitors. Each is adapted to the same value model class and given the same number of evaluated configurations:
- ACL-QL-style learned per-sample conservatism weights;
- PBL-style Bayesian credible lower bounds, run both with point-estimate states and with states drawn from the deconvolution interval.
Ablation isolating the key ingredient. Our rule is run with every patient's interval replaced by the cohort-average width. This keeps the total conservatism but removes the per-patient heterogeneity.
What counts as beating the strongest competitor. Our method beats plug-in pessimism if all three hold:
- its $\beta$-robustness window is wider by a clear margin across seeds;
- its regret at the offline-selected $\beta$ is no worse than the plug-in policy's oracle-tuned regret;
- its cross-reference transfer regret is lower.
Why not just…?
Why not just tune $\beta$ harder on the plug-in estimates? Tuning can find a good scalar for one cohort. But offline selection has no online feedback, and Pareto Policy Pool argues that a single universal trade-off weight does not exist. If measurement error varies by patient, no scalar is right for everyone, and the one that is right shifts whenever the reference changes. The oracle-tuned plug-in baseline and the cross-reference transfer test settle this directly. If oracle-tuned plug-in matches us on transfer, the claim is wrong.
Why not just feed the interval width in as an extra input feature? This is a real threat, because a flexible $\hat Q$ could learn to discount uncertain patients on its own. It only learns that where outcomes are observed, though, and by construction the risky regions are the sparsely logged ones. We include an "uncertainty-as-feature" plug-in variant under the same $\beta$ grid. If it closes the gap, the contribution shrinks to "report deconvolution uncertainty downstream," and we will say so.
Why not just use a fully Bayesian errors-in-variables model, as in PBL? This is the principled alternative and could match us. We run PBL with sampled states for exactly that reason. Our expected advantage is practical. We reuse calibrated intervals from existing deconvolution tools instead of building a joint posterior over compositions and outcomes, and PBL's variational inference is known to be demanding in high dimensions. If PBL-with-samples matches our regret and robustness, the right conclusion is that the Bayesian route should be preferred.
Why not skip decision-making and predict response with a supervised model? A response predictor ranks patients, but it does not correct for confounded historical treatment assignment or for sparse coverage of treatment–composition pairs. That is precisely where pessimism matters. Supervised baselines on TCGA tasks are also noisy: the meta-dataset reports 71.19% average accuracy for an MLP against 66.18% for a majority classifier, with standard deviations near 15%. The greedy plug-in baseline is effectively this supervised approach, so the experiments measure its shortfall.
Decisive Checks
The first check is interval coverage under reference shift. Before any policy results, we measure whether DeepDeconUQ-style conformal intervals keep their nominal coverage when the reference atlas or cell-size assumptions change. If coverage collapses, the measurement component is miscalibrated and the method needs recalibration on a shifted calibration set. That outcome would be reported as a finding in its own right.
The second check is the robustness curve: regret plotted against $\beta$ for our rule, the plug-in rule, and the averaged-width ablation, under each measurement condition. The width of the near-optimal window is the headline metric. We also report the paralysis rate, meaning the fraction of patients assigned the default action, as $\beta$ grows.
The third check is transfer. We tune on the matched reference and evaluate on the mismatched, ensemble and size-distorted conditions.
The claim holds only if our rule widens the window, transfers better, and the averaged-width ablation loses most of the gain. If the ablation performs as well, heterogeneity in measurement error is not the source of the sensitivity, and the idea should be dropped.
References
- Is Pessimism Provably Efficient for Offline RL?
- ACL-QL: Adaptive Conservative Level in Q-Learning for Offline Reinforcement Learning
- Pareto Policy Pool for Model-based Offline Reinforcement Learning
- Optimizing Pessimism in Dynamic Treatment Regimes: A Bayesian Learning Approach
- Statistical inference for cell type deconvolution
- DeepDeconUQ estimates malignant cell fraction prediction intervals in bulk RNA-seq tissue
- SCDC: Bulk Gene Expression Deconvolution by Multiple Single-Cell RNA Sequencing References
- CSsingle: A Unified Tool for Robust Decomposition of Bulk and Spatial Transcriptomic Data Across Diverse Single-Cell References
- Of Mice and Machines: A Comparison of Learning Between Real World Mice and RL Agents
- SpatialCTD: a large-scale TME spatial transcriptomic dataset to evaluate cell type deconvolution for immuno-oncology
- The TCGA Meta-Dataset Clinical Benchmark
- Conservative Q-Learning for Offline Reinforcement Learning