Retrospective cohort studies estimate whether a treatment helps by mining historical health records. Their recurring failure is confounding by indication: doctors give aggressive treatment to patients who were healthier to begin with. A telltale symptom shows up in the Henry Ford prostate cancer cohort of Tewari et al., which compared surgery, radiation and conservative care for high-grade prostate cancer. After propensity-score adjustment, the authors report that surgery lowered the risk of death from any cause by the same 68% as it lowered the risk of prostate-cancer death. Removing a prostate should not make a man much less likely to die of unrelated causes. An equally large drop in "should-be-unaffected" deaths is the signature of patient selection that the adjustment failed to remove. Epidemiologists call such outcomes negative controls, meaning outcomes the treatment is believed not to affect. They currently use them only after the fact, as a warning light.
We propose to make negative controls part of training. Multi-task learning means training one network on several objectives through a shared internal representation. We build on the multi-task causal design of Dragonnet, one network that predicts both who gets treated and what happens to them. We extend it to time-to-event outcomes with competing causes of failure. We then add heads for pre-specified negative-control events, plus a loss term that penalizes any nonzero estimated treatment effect on them. The claim is this: if the shared representation must yield a null effect on outcomes that share the confounders but not the treatment pathway, it is pushed to encode the confounding structure it would otherwise miss. That structure includes signal buried in sparse record codes and proxies of unrecorded frailty. The result should be less biased effect estimates on the outcome we care about. A held-out set of negative controls also gives a falsification test that works on real data, where true treatment effects are never observed.
Core Claim and Why It Is New
Dragonnet adds a treatment-prediction head to the outcome heads. This forces the shared representation to keep the information that drives treatment assignment. Dragonnet also shows that joint training beats a frozen two-stage variant. It handles only binary, static, uncensored outcomes, and its only defense against confounding is the propensity head. Two multi-task survival methods, DMGP and SMTBoost, treat each competing cause of death in SEER breast cancer cohorts as a separate task and handle right-censoring. They are purely predictive and estimate no treatment effects.
Joining Dragonnet's propensity head to competing-risk survival heads is the obvious combination (Gap 1 in our notes), and on its own it is incremental. What we add is a third kind of task with a different role. The negative-control head is not trained to predict well. Its contrast across treatment arms is constrained to equal a known value, zero. Those three works supply the machinery; none uses a known-null outcome as a training signal. The M3E2 multi-treatment mixture-of-experts model shares the same "no unmeasured confounding" assumption, and none of these works offers any check on whether that assumption holds in a real cohort.
The model is a shared encoder of baseline covariates, or of a patient's coded history when working with MIMIC-IV. On top of the encoder sit four kinds of head. The first is a propensity head for treatment $T$. The second is a set of discrete-time cause-specific hazard heads for the target event and its competing events, under each treatment arm, trained with the censoring-aware likelihood. The third is a set of hazard heads for negative-control events $n \in \mathcal{N}_{train}$, also per arm. The training objective is
$$\mathcal{L} = \mathcal{L}_{prop} + \sum_{k} \mathcal{L}_{haz,k} + \lambda \sum_{n \in \mathcal{N}_{train}} \hat{\tau}_n^{\,2},$$
where $\mathcal{L}_{prop}$ is the cross-entropy of the propensity head and $\mathcal{L}_{haz,k}$ is the censored hazard likelihood for event type $k$, which includes the negative-control events so that their heads are fitted. The term $\hat{\tau}_n$ is the within-batch augmented inverse-propensity estimate of the treatment's effect on the cumulative incidence of negative-control event $n$ at a fixed horizon. The weight $\lambda$ sets how strongly that estimate is pushed to zero. The estimator for $\hat{\tau}_n$ combines the two arms' predicted cumulative incidences with propensity-weighted residuals, so it depends on both the outcome and the propensity heads.
The mechanism is limited by an assumption we state up front. It helps only if the negative-control events share confounders with the target event; epidemiologists call this "comparability". It can only use information that exists somewhere in the recorded covariates. It cannot conjure a confounder that leaves no trace in the data.
Research Program
The first component is the model and its estimator: the architecture above, a targeted-regularization term adapted from Dragonnet for the target cumulative incidence, and bootstrap confidence intervals.
The second component is a protocol for choosing negative controls before analysis. In SEER prostate cancer, the controls are deaths from causes with no plausible link to the treatment, counted after a peri-treatment exclusion window so that surgical or radiation toxicity does not contaminate them. In MIMIC-IV, the controls are incident diagnoses during follow-up that are clinically unrelated to the exposure. Each candidate is reviewed and recorded before any outcome model is fit. We split the controls into a training set and a held-out set. The held-out set is used only for evaluation.
The third component is a semi-synthetic simulator built on real covariates from SEER and from the MIMIC-IV coded histories used by EHRMamba and the multi-center foundation model study. The simulator generates treatment and event times from a confounder spread thinly across many sparse codes. It can vary three things: how strongly the negative controls share that confounder, how much the confounder is hidden, and whether a "negative" control secretly carries a small true effect.
The third case is the most important stress test. If negative controls are misspecified, penalizing their effect toward zero should add bias. We will measure how much bias, and say so.
Baselines
The do-nothing reference is an unadjusted comparison: arm-wise cause-specific Cox models, and the Aalen–Johansen estimator (the standard nonparametric estimate of cumulative incidence when there are competing events), with no confounder adjustment. It shows how much confounding exists in each cohort.
The clinical standard is the pipeline used by Tewari et al. and Chen et al.. It fits logistic-regression propensity scores, performs caliper matching, and then fits cause-specific Cox or Fine-Gray models (the standard regression for cumulative incidence under competing risks). We give it a fair chance by using the same covariates and also a gradient-boosted propensity model. It is transparent and well understood, so the proposed model must beat it on bias in the simulator, not merely match it.
The strongest existing method is a direct survival extension of Dragonnet: the same encoder, propensity head, competing-risk heads and targeted regularization, but no negative-control heads. No reported result found on Lacuna for any causal survival method on these cohorts. Our implementation check is the static case, where removing the survival and negative-control parts must reproduce Dragonnet's reported ACIC 2018 treatment-effect mean absolute error of 0.35 with targeted regularization, as reported in Dragonnet. The predictive check comes from SMTBoost, which reports a cause-specific C-index of 0.766 for rare cardiovascular death on SEER breast cancer (C-index measures how well predicted risks rank patients by event time). Our hazard heads should come within noise of that figure on the same cohort definition, so that any causal gain is not bought by degrading prediction.
Two ablations isolate the key ingredient. The first, "more tasks only", keeps the negative-control heads but sets $\lambda=0$. It tests whether any gain comes from simply having extra auxiliary targets, the regularization effect familiar from multi-task learning. The second, "post-hoc calibration", fits the no-negative-control model and then shifts and widens its target estimate using the bias observed on the training negative controls. This is how epidemiologists currently use negative controls.
All methods share the same data splits and covariate sets. Every neural variant gets the same backbone, the same number of hyperparameter trials, and the same GPU budget. Hyperparameters, including $\lambda$, are chosen on validation predictive loss plus training-negative-control bias. They are never chosen on target-effect error, which would be unavailable in practice.
The proposal counts as winning on two conditions. First, in the simulator it must show lower target-effect bias than both Dragonnet-survival and post-hoc calibration at comparable confidence-interval coverage, whenever the controls share confounders with the target event. Second, on real cohorts its held-out negative-control effects must lie closer to null than those of every baseline.
Why not just…?
Why not just use propensity matching plus Cox, as clinical studies already do? That pipeline adjusts only for the covariates the analyst writes down. The Tewari result, with equal 68% reductions in cancer-specific and all-cause death, suggests it leaves selection unresolved in exactly the setting we target. Dragonnet also found that decoupled two-stage training underperforms joint training. That finding comes from static semi-synthetic data, though, so we treat it as motivation rather than proof. The simulator comparison and the held-out negative-control test decide the question directly.
Why not just calibrate estimates after the fact using negative controls? This is the most serious competitor. It is simple and already accepted practice. Post-hoc calibration assumes the bias on negative controls transfers additively to the target event, and it fixes nothing in the representation. Usually it just widens the intervals. Our approach bets that a representation forced to explain the negative controls will also adjust the target event better, giving tighter intervals with similar coverage. If post-hoc calibration matches us in the simulator across the comparability sweep, the training-time penalty is not worth its complexity, and we will report that.
Why not just add more auxiliary prediction tasks, or use foundation-model features? Richer representations, such as the pre-trained record encoders of the multi-center study, improve prediction. Nothing forces them to retain the confounding structure rather than outcome-predictive signal. The $\lambda=0$ ablation answers this cleanly. We will also run every variant on top of a pre-trained encoder, to check whether the negative-control penalty still adds value once the representation is strong.
Why not just resolve conflicts between the propensity and outcome gradients with gradient surgery? PCGrad projects away gradient components that conflict between tasks, and it helps in vision and robot-control benchmarks. Dragonnet itself reports that the propensity head lowers raw outcome accuracy while improving effect estimates. In causal models, then, the "conflict" between heads may be the confounding signal itself, and removing it could undo the adjustment. We include PCGrad applied to the propensity and outcome heads as an extra arm. We predict it improves C-index while increasing effect bias, which would be a useful negative result for the multi-task learning literature.
Proposed Experiments
The decisive semi-synthetic experiment sweeps negative-control comparability from full to none and confounder visibility from fully recorded to fully hidden. It records bias, RMSE and 95% interval coverage for the target five-year cumulative-incidence difference.
We expect three patterns. Gains over Dragonnet-survival should be largest when the confounder is recorded but diffuse. They should shrink to zero as comparability vanishes. They should turn into harm when a "negative" control carries a true effect. Seeing all three would confirm the mechanism. Gains that persist when comparability is absent would indicate a bug or leakage.
On real data, we emulate the Tewari et al. comparison in SEER prostate cancer and run an analogous MIMIC-IV exposure study. Because true effects are unknown on real data, the primary metric is the distribution of held-out negative-control effect estimates around null, measured as mean absolute log hazard ratio and the fraction of intervals covering 1. Secondary metrics are covariate balance, target-event C-index, and integrated Brier score. A method that lowers the target effect while leaving held-out negative controls far from null has not removed confounding, whatever its predictive scores.
References
- Long-Term Survival in Men With High Grade Prostate Cancer: A Comparison Between Conservative Treatment, Radiation Therapy and Radical Prostatectomy—A Propensity Scoring Approach
- Adapting Neural Networks for the Estimation of Treatment Effects
- Deep Multi-task Gaussian Processes for Survival Analysis with Competing Risks
- Multitask Boosting for Survival Analysis with Competing Risks
- Multi-treatment Effect Estimation from Biomedical Data
- EHRMamba: Towards Generalizable and Scalable Foundation Models for Electronic Health Records
- A multi-center study on the adaptability of a shared foundation model for electronic health records
- Practice patterns and outcomes for patients with node-negative hormone receptor-positive breast cancer and intermediate 21-gene Recurrence Scores
- Gradient Surgery for Multi-Task Learning