Batch-Adaptive Annotations for Causal Inference with Complex-Embedded Outcomes

Ezinne Nwankwo, Lauri Goldkind, Angela Zhou

TL;DR

When measuring outcomes for causal inference is expensive—such as having human experts read through unstructured text or case notes—standard random sampling or conventional active learning wastes precious budget. This paper introduces a two-stage, batch-adaptive sampling strategy paired with a doubly robust estimator to strategically query expert labels where they reduce the causal estimator’s variance the most. The result is significantly tighter confidence intervals and up to 40–90% budget savings compared to uniform sampling.

What Problem Does This Paper Address?

In many real-world causal inference settings (e.g., evaluating social welfare programs or medical treatments), the true outcome of interest is not neatly recorded in tabular form. Instead, it is missing or hidden inside complex, unstructured data—such as caseworkers’ qualitative notes or clinical records.

While Large Language Models (LLMs) can extract or impute outcomes at scale, their predictions are noisy and biased, making naive downstream causal estimation invalid. Obtaining ground-truth labels from expert human annotators provides clean data, but strict budgets mean only a tiny fraction of instances can be labeled. The central question is: Which data points should we choose for expert outcome annotation to minimize the variance of the Average Treatment Effect (ATE) estimator?

Methods

The authors propose a two-stage batch-adaptive framework coupled with Augmented Inverse Probability Weighting (AIPW):

  1. Optimal Annotation Probabilities: The authors derive the closed-form sampling probability $\pi^*(z, x)$ that minimizes the asymptotic variance lower bound of the ATE under a global annotation budget $B$: $$\pi^*(z, X) \propto \frac{\sqrt{\sigma^2_z(X)}}{e_z(X)}$$ Sampling prioritizes units where outcome variance $\sigma^2_z(X)$ is large and propensity scores $e_z(X)$ are small (areas of poor overlap).

  2. Two-Stage Batch Protocol with Cross-Fitting:

  3. Batch 1: Randomly samples a small subset of data for expert annotation. Using cross-fitting, it trains models to estimate propensity scores $e_z(X)$, outcome models $\mu_z(X)$, and residual outcome variance $\sigma^2_z(X)$.
  4. Batch 2: Computes the empirical optimal annotation probabilities $\hat{\pi}^*$ to query the remaining budget, ensuring independence via cross-batch folding.
  5. Complex-Embedded Outcomes: When contextual text $\tilde{Y}$ is available, weak predictions from LLMs or zero-shot classifiers are integrated into $\mu_z(X, \tilde{Y})$ to reduce residual variance $\sigma^2$, further improving efficiency without introducing bias.
  6. Extensions: The authors also derive optimal sampling probabilities for treatment-specific budgets and continuous treatments using kernel smoothing.

Datasets

  • Synthetic Benchmark: A dataset ($n = 1,000$) with heteroscedastic noise and non-linear outcome functions.
  • RetailHero (Semi-Synthetic): A promotional campaign dataset augmented with LLM-generated social media posts acting as contextual text proxy outcomes ($\tilde{Y}$) to estimate the effect of SMS promotions on purchases.
  • Street Outreach Dataset (Real-World): Proprietary, IRB-approved data from a homelessness services nonprofit in New York City ($n = 471$). The intervention was the intensity of caseworker outreach engagements; covariates included demographic attributes and baseline case note summaries; the ground-truth outcome was the client's ultimate housing placement.

Key Insights and Ideas

  • Why Standard Active Learning Fails for Causal Inference: Classical active learning queries samples that minimize model prediction error or maximize label uncertainty. In contrast, the causal variance depends on both prediction uncertainty $\sigma^2_z(X)$ and treatment assignment probability $e_z(X)$. In regions with poor treatment overlap (e.g., $e(X) = 0.01$), causal variance blows up, requiring dense sampling there—even if the prediction model is relatively certain. Active learning completely misses this and yields wildly unstable weights.
  • Self-Balancing Inverse Weights: At the theoretical optimum $\pi^*$, the term $(e_z(X)\pi^*(z, X))^{-1}$ becomes proportional to $1/\sqrt{\sigma^2_z(X)}$, causing the propensity score to drop out. Directly estimating balancing weights or joint probabilities $P(Z=z, R=1 \mid X)$ avoids extreme propensity weight inflation.

Key Results

  • Substantial Budget Reductions: To achieve the same confidence interval width as uniform random sampling, the adaptive method achieved 10% to 45% budget savings on RetailHero tabular data, and 43% to 91% budget savings on the Street Outreach data (using balancing weights).
  • Lower Estimation Error: In the street outreach data, uniform random sampling suffered 2× to 3× higher Mean Squared Error (MSE) than the batch-adaptive estimators.
  • Active Learning Disaster: Traditional pool-based active learning baselines (e.g., margin sampling, expected variance reduction) caused near-deterministic probabilities in AIPW denominators, leading to MSE explosions (often orders of magnitude worse than random sampling; see Tables 3–5).

Limitations and Future Work

  • Perfect Label Assumption: The framework assumes expert annotations yield ground truth with zero measurement error, ignoring potential caseworker disagreement or subjectivity.
  • LLM Theoretical Guarantees: Double machine learning guarantees rely on product error rate conditions; verifying these rates for complex generative LLM representations remains an open challenge.
  • Multi-Batch / Online Allocation: The procedure currently uses a two-stage batch protocol. While practical for coordinating human worker batches, fully sequential or multi-batch adaptive protocols could yield further statistical gains.

Summary updated

BibTeX
@inproceedings{nwankwo2025batch,
  author = {Ezinne Nwankwo and Lauri Goldkind and Angela Zhou},
  title = {{Batch-Adaptive Annotations for Causal Inference with Complex-Embedded Outcomes}},
  booktitle = {Reliable ML @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=OE4a6qLTU1},
}
Figure