LMU Munich's AU-learner Reveals Who Gets Harmed by Treatments, Not Just Averages
A new orthogonal learner called AU-learner estimates sharp bounds on the entire distribution of treatment effects, not just the average, using conditional normalizing flows.
ProTakeaways
- New AU-learner estimates sharp Makarov bounds on the full distribution of individual treatment effects.
- Derives the first efficient influence function for Makarov bounds, yielding Neyman-orthogonality and quasi-oracle efficiency.
- Neural instantiation AU-CNFs uses conditional normalizing flows for density, CDF, and quantile estimation in one model.
- Beats plug-in, IPTW, and covariate-adjusted baselines on synthetic benchmarks and the 785-dimensional HC-MNIST dataset.
- COVID-19 case study shows tighter individualized bounds on lockdown benefit than population-level Makarov bounds.
- Full PyTorch implementation and configs released open-source alongside the NeurIPS paper.
Most machine learning tools for treatment effects tell you the average. A drug helps by 2.3 units on the outcome scale, on average, for patients like this one. That number is useful, but it hides a critical question: for any given patient, what is the probability that the treatment actually makes things worse? Researchers at LMU Munich and Cambridge have built a new learner that answers exactly this, with formal statistical guarantees.
The paper introduces the AU-learner, an orthogonal meta-learner that estimates sharp bounds on the conditional distribution of the treatment effect (CDTE), and pairs it with a neural instantiation called AU-CNFs built on conditional normalizing flows. The work appeared at NeurIPS and comes with open-source code.
Why averages are not enough
In causal machine learning, most attention has gone to the conditional average treatment effect (CATE), which is the expected outcome under treatment minus the expected outcome under control, given covariates. To make reliable inferences, medical practitioners require not only estimating averaged causal quantities, such as the conditional average treatment effect, but also understanding the randomness of the treatment effect as a random variable. This randomness is referred to as aleatoric uncertainty and is necessary for understanding the probability of benefit from treatment or quantiles of the treatment effect.
Two flavors of uncertainty matter here. Epistemic uncertainty comes from having limited data and shrinks as the dataset grows. Aleatoric uncertainty is the inherent randomness of the outcome itself and does not shrink. The aleatoric uncertainty of the treatment effect has received surprisingly little attention in the causal machine learning community. The clinical consequence is real: a positive CATE can still coexist with a substantial fraction of patients who are harmed.
The identification wall
There is a fundamental obstacle. For any single patient you can only observe one potential outcome, either treated or untreated, never both. That means the joint distribution of the two potential outcomes, and therefore the distribution of their difference, cannot be pinned down from data alone, even in a perfect randomized trial. Unlike average causal quantities, the CDTE is not point identifiable without strong additional assumptions. As a remedy, we employ partial identification to obtain sharp bounds on the CDTE and thereby quantify the aleatoric uncertainty of the treatment effect.
The authors use Makarov bounds, which give the tightest possible upper and lower envelopes for the CDF and quantiles of the treatment effect distribution, given only the marginals of the two potential outcomes. Concretely, the bounds are built from sup and inf convolutions of the conditional outcome CDFs, then clipped to the [0, 1] interval. If your CATE says a patient benefits by 2 units on average, Makarov bounds can additionally tell you something like: the probability of any harm is between 0 and 24%.
Three challenges the learner has to solve
The paper lays out why you cannot just repurpose an existing CATE learner:
- Non-identifiability. The target itself is a bound, not a point, so the standard estimation machinery does not apply directly.
- No closed form. There is no clean analytical expression for Makarov bounds in terms of nuisance functions, and no efficient influence function had been derived. Previous work used naive plug-in estimators that are sensitive to how well you fit the nuisance models.
- Shape constraints. Unlike CATE, the target is a CDF: monotonic in the threshold and bounded in [0, 1]. Bias-correction terms can easily push estimates outside that range.
How the AU-learner works
The AU-learner is a two-stage orthogonal meta-learner. Step by step:
- Fit nuisance functions. Estimate the propensity score and the conditional outcome CDFs for treated and untreated groups.
- Build pseudo-outcomes. Plug the nuisance estimates into the Makarov formulas to get pseudo-CDFs, then add a bias-correction term derived from a newly proven efficient influence function.
- Fit a working model. Minimize either a continuous ranked probability score (CRPS) loss for CDF bounds or a squared Wasserstein-2 loss for quantile bounds, using the pseudo-outcomes as targets.
- Cross-fit. Split the data so the same points are not used for fitting nuisances and the working model, keeping the theory honest.
The key theoretical contribution is deriving the efficient influence function for Makarov bounds, which had not existed before. From it, the authors construct a Neyman-orthogonal loss, meaning the loss is first-order insensitive to errors in the nuisance estimates. That gives quasi-oracle efficiency, roughly: with enough data, the learner performs as well as if you knew the ground-truth nuisance functions.
To handle the shape constraint problem, the authors introduce a scaling hyperparameter gamma in (0, 1] that interpolates between the full orthogonal correction and a plain covariate-adjusted plug-in. In experiments they use gamma = 0.25 for the CRPS loss and gamma = 0.01 for the Wasserstein loss.
Conditional normalizing flows as the neural backbone
The deep learning instantiation, AU-CNFs, uses neural spline flows as the density estimator at both stages. Normalizing flows are neural networks that build a flexible probability distribution by learning an invertible transformation from a simple base distribution (a standard normal) to the target. Spline flows in particular give tractable densities, CDFs, and quantiles from the same model, which is exactly what a Makarov-bound pipeline needs.
The architecture consists of one nuisance flow that fits propensity and conditional outcomes, and two target flows for the upper and lower Makarov bounds. A hypernetwork produces the flow parameters conditioned on covariates and treatment. The team also uses noise regularization on inputs and outputs and an exponential moving average on the target-flow weights to stabilize training.
What the experiments show
The paper compares plug-in, IPTW, covariate-adjusted, and AU variants across synthetic, semi-synthetic, and real datasets. Highlights:
- Synthetic (normal, multi-modal, exponential outcomes). AU-CNFs with the CRPS loss achieve the lowest root-CRPS in most settings across training sizes from 100 to 1000 samples.
- HC-MNIST, a high-dimensional benchmark with 785 covariates built on MNIST images. AU-CNFs (CRPS) hit the best upper-bound rCRPS of 0.347 and the best lower-bound rCRPS of 0.357, edging out plug-in and covariate-adjusted baselines.
- IHDP100. Here the covariate-adjusted variants win, because IHDP has severe overlap violations that hurt any method relying on propensity reweighting. The authors are candid about this.
- COVID-19 case study. Applied to lockdown effectiveness data from 20 countries, AU-CNFs estimate a high probability that case growth drops after a strict lockdown, with individualized bounds that are substantially tighter than the population-level equivalents (average width 0.66 vs 0.88).
What it is good for, and where it breaks
The main use case is any high-stakes decision where you need to reason about the tail, not the mean, of individual treatment effects. Medicine is the obvious one: a new treatment can drastically help many patients, but there is a moderate chance of severe side effects that lead to worse outcomes. Policymakers or clinicians might want to see the fraction of people who will likely benefit versus the fraction who could be harmed. Traditional methods focusing only on averages might overlook that substantial minority who experience harm. By learning bounds on the entire distribution of gains and losses, we can inform safer, data-driven decisions.
Limitations worth flagging:
- The method assumes the standard potential-outcomes setup: consistency, overlap, and no hidden confounders. If overlap fails, as in IHDP, propensity reweighting hurts more than it helps.
- The bounds are pointwise sharp, not uniformly sharp. Expectations taken against the bound CDFs do not recover the CATE, so combining Makarov bounds with quantities that need uniform sharpness needs care.
- In low-sample regimes the simpler covariate-adjusted or plug-in variants can match or beat the full AU-learner. The asymptotic guarantees are what set AU-learner apart, not necessarily n = 100 behavior.
- Assumption 1 in the paper requires the outcome space to be compact and conditional CDFs to have finitely many concave or convex regions, which rules out some pathological distributions.
The code repository provides the full implementation in PyTorch and Pyro, along with configs for reproducing the synthetic, HC-MNIST, IHDP, and COVID experiments.