TL;DR
When AI systems make decisions in the real world—like choosing a medical treatment or setting a price—they only observe the outcome of the action they actually took. Standard uncertainty-quantification methods get fooled by this feedback loop, looking perfectly calibrated on paper while quietly failing on rarely chosen options. This paper fixes that blind spot by weaving causal inference directly into online conformal prediction, ensuring trustworthy uncertainty estimates for every possible action, even the roads not taken.
What Problem Does This Paper Address?
Conformal prediction (CP) is a popular, distribution-free way to wrap black-box predictions in rigorous "error bars" (prediction sets) guaranteed to contain the true outcome, say, 90% of the time. Online versions like Adaptive Conformal Inference (ACI) update these intervals on the fly as data streams in, adjusting thresholds up or down whenever the model misses or hits.
The catch? Standard online CP assumes the incoming data stream is exogenous—that your predictions don't influence what data you see next. In reality, decision systems use those very prediction sets to pick actions (an adaptive logging policy). If Treatment A looks risky in certain patient contexts, the policy avoids it, meaning you rarely observe Treatment A's outcomes in those contexts.
Because ACI only calibrates on observed outcomes, it maintains great average ("logged") coverage overall, while systematically miscovering the counterfactual outcomes—what would have happened if you had picked a different action in any given context. If a downstream decision rule needs to compare all options fairly, those miscalibrated alternatives become dangerous traps.
Methods
Standard ACI updates a miscoverage tracker at each step using a simple binary error indicator: did the true outcome fall outside our prediction set?
To break the selection-bias loop, the authors borrow a classic tool from causal inference: Inverse Propensity Weighting (IPW).
- PW-OCP (Propensity-Weighted Online CP): Instead of a raw 0/1 error, PW-OCP maintains a separate threshold per action and scales an observed miss by the inverse probability (propensity) that the logging policy chose that action: $1 / \pi_t(a \mid X_t)$. If an action only had a 5% chance of being picked and it missed, that error counts 20$\times$ more in the update recursion. Under standard causal assumptions (no unmeasured confounders and a minimum exploration floor $\pi_{\min} > 0$), this realigns the algorithm's fixed point with true counterfactual coverage.
- DR-OCP (Doubly Robust Online CP): Dividing by tiny probabilities can inject high variance, and sometimes you don't know the exact logging probabilities. DR-OCP augments the IPW update with a learned outcome model that predicts miscoverage directly. Like classical doubly robust estimators, its bias shrinks to the product of the propensity error and the outcome-model error—so if either model is accurate, calibration stays on track.
Datasets
The authors test their methods across seven settings spanning synthetic and real-world domains:
- Synthetic Decision Tasks: Controlled simulations testing mean shifts, variance shifts, multi-arm scaling (up to 50 actions), and corrupted propensity scores.
- ZOZOTOWN Open Bandit Dataset (OBD): Semi-synthetic benchmarks constructed from real fashion e-commerce recommendation logs (Women's and Men's campaigns).
- DJIA Financial Rebalancing: Portfolio allocation on Dow Jones Industrial Average returns, using a momentum-biased logging policy where past winners are picked more frequently.
Key Insights and Ideas
- Good logged metrics can mask catastrophic counterfactual failure: Standard ACI satisfies a mathematical telescoping identity that forces its observed error rate toward the target $\alpha$. Yet in a concrete example with rare exploration ($\pi_{\min} = 0.001$), a nominal 90% ACI prediction set only covered about 42% of an action's counterfactual outcomes.
- Context-dependent selection—not just rarity—drives the failure: Even if you track separate quantiles per action, standard updates converge to the quantile of the policy-filtered context distribution rather than the global population, leaving a permanent coverage gap proportional to how strongly actions shift outcomes ($\Omega(\rho)$) that never vanishes, even with infinite data.
- Minimax optimality without extra hacks: Both PW-OCP and DR-OCP achieve a counterfactual coverage error rate scaling as $O(\sqrt{\log K / (T \pi_{\min})})$, which the authors prove matches the information-theoretic minimax lower bound for nondegenerate calibration.
Key Results
Across selection-biased synthetic stress tests, standard online CP baselines fail dramatically while PW-OCP and DR-OCP hug the unattainable Oracle (which sees all counterfactuals):
- Closing the coverage gap: In the 2-action mean-shift test, baselines like ACI, AgACI, and NEx-CP suffer counterfactual coverage gaps around 0.25–0.37 (off by 25+ percentage points). PW-OCP and DR-OCP slash this gap to 0.017 and 0.018, respectively. At $K=20$ arms, ACI's gap hits 0.418, while DR-OCP holds it to 0.065.
- Robustness to bad propensities: When fed completely wrong (uniform) logging probabilities in the synthetic stress test, PW-OCP degrades back to ACI's error (0.252), whereas DR-OCP's outcome model cushions the blow, holding the gap to 0.030.
- Sharpness (no lazy infinite intervals): You can trivially get 100% coverage by predicting $(-\infty, +\infty)$. In sharpness evaluations, PW-OCP and DR-OCP generated intervals within 0.6% to 1.6% of the Oracle's width, whereas ACI produced overly narrow sets (71.9% of Oracle width) that severely under-covered.
- Real-world logs: On Open Bandit and DJIA data—where natural selection bias is milder—several baselines perform reasonably well, though PW-OCP and DR-OCP still achieve top-tier counterfactual gaps (e.g., 0.019 vs. ACI's 0.024 on DJIA).
Limitations and Future Work
- Bandits, not full RL: The framework models one-step contextual bandits; it does not handle full reinforcement learning where actions alter long-term state trajectories.
- The cost of positivity: Theoretical guarantees require every action to have at least a $\pi_{\min} > 0$ chance of being selected. Purely greedy policies or decaying-exploration algorithms (like unfloored UCB or Thompson Sampling) are excluded, and maintaining forced exploration can be expensive in high-stakes settings.
- Open theoretical questions: Explicit sharpness (interval width) rates currently require stationary logging and smooth score densities, and establishing general adaptive cross-fitting rates for DR-OCP's nuisance models on endogenous data streams remains an open problem.
Summary updated