Abstract
Average Treatment Effect (ATE) estimation is a well-studied problem in causal inference. However, it does not necessarily capture the heterogeneity in the data, and several approaches have been proposed to tackle the issue, including estimating the Quantile Treatment Effects. In the finite population setting containing $n$ individuals, with treatment and control values denoted by the potential outcome vectors $\mathbf{a}, \mathbf{b}$, much of the prior work focused on estimating $\text{median}(\mathbf{a}) - \text{median}(\mathbf{b})$. It is known that estimating the difference of medians is easier than the desired estimand of $\text{median}(\mathbf{a-b})$, called the Median Treatment Effect (MTE). The fundamental problem of causal inference—that for every individual $i$, we can only observe one of the potential outcome values—makes estimating MTE particularly challenging. In this work, we argue that MTE is not estimable and detail a novel notion of approximation that relies on the sorted order of the values in $\mathbf{a-b}$. We identify a quantity called variability that exactly captures the complexity of MTE estimation. By drawing connections to instance-optimality, we show that every algorithm for estimating the MTE obtains an approximation error that is no better than the error of an algorithm that computes variability. Finally, we provide a simple linear time algorithm for computing the variability exactly.
Introduction
In causal inference, the "gold standard" for measuring the impact of an intervention is the Average Treatment Effect (ATE). Because the average is a linear operator, researchers can calculate the ATE by simply subtracting the mean of the control group from the mean of the treatment group. However, the ATE is a blunt instrument; it often masks how a treatment affects different individuals. A drug might have a positive ATE because it helps a small number of people significantly, even if it has no effect or a negative effect on the majority.
The Median Treatment Effect (MTE)—defined as the median of the individual differences—is a more robust measure of typical individual impact. Unfortunately, the median is non-linear, meaning $\text{median}(\mathbf{a-b}) \neq \text{median}(\mathbf{a}) - \text{median}(\mathbf{b})$. This paper explores the fundamental mathematical limits of estimating the MTE when we make almost no assumptions about the underlying data distributions.
The Challenge of Inestimability
The core difficulty stems from the "Fundamental Problem of Causal Inference": for any single individual, we can observe the outcome under treatment ($a_i$) or under control ($b_i$), but never both. This makes the vector of individual differences ($\mathbf{a-b}$) inherently latent.
The authors prove that the MTE is fundamentally "inestimable" in a distribution-free setting. They demonstrate that two different scenarios can appear identical to an experimenter (sharing the same marginal distributions for treatment and control) yet possess wildly different true median effects. Without strong, often unverifiable assumptions about the correlation between potential outcomes, an unbiased estimator for MTE is a mathematical impossibility.
A New Framework: Quantile-Based Approximation
Since exact estimation is impossible, the authors propose a new goal: quantile-based approximation. Instead of trying to find the exact value of the median, the goal is to find an estimate that is guaranteed to fall within a specific "quantile band" of the true effects. For example, an algorithm might aim to produce an estimate that is between the 40th and 60th percentile of the actual individual treatment effects.
To analyze this, the authors introduce several key concepts:
- Randomized Feasible Decision Trees (RFDTs): They model causal inference algorithms as decision trees to prove what any possible algorithm can or cannot achieve, regardless of its specific architecture.
- Variability: This is a novel metric that measures how much the rank of a potential median estimate can fluctuate across all possible joint distributions consistent with the observed data. Variability captures the inherent complexity of the MTE estimation task.
- Instance Optimality: The authors show that their approach is instance-optimal, meaning that for any specific dataset, their algorithm performs as well as the best possible algorithm could perform on that specific data.
Algorithmic Contributions
The paper provides a highly efficient $O(n + k^2)$ algorithm to find the best possible median estimate, where $n$ is the number of individuals and $k$ is the number of possible discrete outcome values. A key component is a linear-time $O(k)$ algorithm for computing the variability exactly.
Unlike prior work that relies on "ignorability" assumptions or specific parametric distributions, this framework only assumes that outcomes are $k$-ary (taking one of $k$ discrete values) and that the experimental design is independent of potential outcomes. This makes the results applicable to a wide range of real-world scenarios, such as A/B testing with discrete metrics (e.g., star ratings or click counts).
Key Results and Theoretical Limits
The research establishes the absolute mathematical floor for approximation error:
- Binary Outcomes ($k=2$): For the simplest case, the authors prove that any algorithm must have a quantile approximation error of at least $1/6$. It is impossible to get closer to the true median without further assumptions.
- General $k$-ary Outcomes: The minimum possible error width is bounded by $\frac{1}{2} \cdot \frac{2k-3}{2k-1}$.
- Practical Efficiency: The proposed
MEDIAN-ESTIMATORruns in linear time relative to the population size, making it practical for large-scale industrial applications.
Conclusion and Future Work
This work defines the theoretical boundaries of what can be known about individual treatment effects from aggregate data. By shifting the focus from exact estimation to quantile-based approximation, the authors provide a rigorous way to handle the inherent uncertainty of the MTE.
Future research directions include extending this framework to continuous outcomes, as the current work focuses on discrete $k$-ary values. Additionally, while this study intentionally ignored covariates to find the "pure" limits of the problem, integrating features like age or location could potentially shrink the approximation error and provide even more precise insights into treatment heterogeneity.
Summary updated