Research
Robust Sampling for Active Statistical Inference
Overview Research area: statistical machine learning, active statistical inference, prediction-powered inference, semiparametric inference, robust optimization. Technical level: Advanced. Scope: The p
- arXiv
- 2511.08991
- Published
- 2025-11-12
- Authors
- Puheng Li, Tijana Zrnic, Emmanuel Candès
AI summary
Overview
- Research area: statistical machine learning, active statistical inference, prediction-powered inference, semiparametric inference, robust optimization.
- Technical level: Advanced.
- Scope: The paper proposes robust sampling strategies that interpolate between uniform and uncertainty-based active sampling so that active inference is never worse than uniform sampling in variance, and usually better when uncertainty scores are reliable.
What This Paper Is About
Active statistical inference improves estimation by labeling data points where an AI model is most uncertain, but poor uncertainty estimates can make it highly noisy and worse than naive uniform sampling. This paper introduces robust sampling rules that hedge between uniform and active sampling, using a budget-preserving path and a robust optimization step to protect against unreliable uncertainty or error estimates. The goal is valid inference with AI-assisted data collection that is safer than standard active inference and more efficient than uniform sampling when the model’s uncertainty is informative.
Key Contributions
- A robust active inference method that chooses an optimal interpolation parameter along a budget-preserving path connecting active sampling and uniform sampling, guaranteeing variance no worse than either endpoint.
- A minimax robust optimization formulation that accounts for misspecification of the estimated model error function, with a default constraint set ( \mathcal{C} = { \epsilon : |\epsilon|_2 \leq c } ) and ( c ) chosen by cross-validation.
- An extension from mean estimation to general convex M-estimation, including asymptotic normality and coordinate-wise variance guarantees.
- Empirical validation on real datasets from computational social science and survey research, with source code available at https://github.com/lphLeo/Robust-Active-Statistical-Inference.
Main Findings
- Poor uncertainty hurts active sampling: On Pew post-election survey data, when the predictive model ( f ) is trained on a small dataset, standard active sampling gives a smaller effective sample size and a much larger standard deviation than uniform sampling because some sampling probabilities become extreme.
- Robust method beats both baselines in the motivating example: The robust approach estimates the quality of uncertainty scores and optimally interpolates between uniform and active sampling, outperforming both baselines while achieving the target 90% coverage.
- Path tuning alone can help: On Pew data, tuning ( \rho ) along a geometric budget-preserving path without the robustness constraint can improve power over uniform and standard active sampling, though standard active inference remains sensitive to the quality of ( f ) and its uncertainties.
- Robust optimization resolves trivial tuning: When ( \pi(x) \propto \hat{e}(x) ), tuning without robustness trivially estimates ( \hat{\rho}=0 ); adding the robustness constraint resolves this. Across all burn-in data sizes, robust sampling is never worse than either baseline on Pew data.
- Improving error estimates shifts sampling toward active: In Pew and US Census experiments, the optimized ( \rho_{\mathrm{robust}} ) decreases as the burn-in data size grows and ( \hat{e} ) improves, meaning the method gradually moves from uniform toward standard active sampling.
- Geometric path performs best among tested paths: On Pew data, the geometric path gives the largest effective sample size among the linear, geometric, and Hellinger paths, with or without robust optimization, and is recommended as a practical default.
- Text annotation tasks need robustness: On three social science text annotation tasks, robust active inference is essentially never worse than uniform or active sampling, sometimes outperforming both by a large margin; standard active inference often produces large intervals because sampling directly by the model’s verbalized uncertainty causes instability through inverse probability weighting.
- Theoretical guarantees: Theorem 1 shows asymptotic normality for mean estimation and ( \sigma_{\rho^}^2 \leq \min{\sigma_0^2, \sigma_1^2} ). Theorem 2 gives the analogous coordinate-wise guarantee ( \Sigma_{\rho^,jj} \leq \min{\Sigma_{0,jj}, \Sigma_{1,jj}} ) for general M-estimation.
Methodology in Plain English
The paper starts from the active inference estimator: for each data point, use the model prediction ( f(X_i) ), then add an inverse-probability-weighted correction for the points whose labels are actually collected. Labels are collected using a sampling rule ( \pi(X) ), with the budget constraint ( \mathbb{E}[\pi(X)] \leq n_b/n ) satisfied on average.
To make the method robust, the researchers define a continuous budget-preserving path ( \pi^{(\rho)} ) that connects an initial active rule ( \pi ) at ( \rho=0 ) to uniform sampling ( \pi^{\mathrm{unif}} ) at ( \rho=1 ), while keeping the expected sampling budget constant. Examples include the linear path, the geometric path, and the Hellinger path, with more general geodesic paths discussed in the appendix.
They estimate the model error function ( e^2(X)=\mathbb{E}[(Y-f(X))^2 \mid X] ) using historical, held-out, or burn-in data. Then they choose ( \rho ) by grid search to minimize an empirical variance approximation: [ \hat{\rho} = \arg\min_{\rho} \frac{1}{n}\sum_{i=1}^{n} \frac{\hat{e}^2(X_i)}{\pi^{(\rho)}(X_i)}. ]
To guard against a badly misspecified ( \hat{e} ), they solve a minimax problem: [ \rho_{\mathrm{robust}} = \arg\min_{\rho} \max_{\epsilon \in \mathcal{C}} \frac{1}{n}\sum_{i=1}^{n} \frac{\hat{e}^2(X_i)+\epsilon_i}{\pi^{(\rho)}(X_i)}. ] The default admissible set is ( \mathcal{C} = { \epsilon : |\epsilon|_2 \leq c } ), with ( c>0 ) chosen by cross-validation. The paper also tried bounding ( |\epsilon|_1 < c ) and relative misspecification ( \epsilon_i = \hat{e}^2(X_i)(1+\eta_i) ), but found the ( \ell_2 ) norm on absolute misspecification worked best.
Algorithm 1 summarizes the general procedure: solve the minimax problem for ( \rho_{\mathrm{robust}} ), draw sampling indicators ( \xi_i \sim \mathrm{Bern}(\pi^{(\rho_{\mathrm{robust}})}(X_i)) ), collect labels ( {Y_i : \xi_i=1} ), and output the active inference estimator using the robust sampling rule. For general M-estimation, the estimator minimizes a loss-based objective ( L^\pi(\theta) ), and the relevant error function is tailored to the inference problem, such as ( e^2(X)=\mathbb{E}[(Y-f(X))^2 \mid X] \cdot (X^\top h^{(j)})^2 ) for generalized linear models.
The experiments compare uniform sampling, standard uncertainty-based active sampling, and robust active sampling. The main metric is effective sample size: a baseline uniform estimator has effective sample size equal to its budget ( n_b ); another estimator has effective sample size ( n_{\mathrm{eff}} ) if it achieves the same variance as the baseline with budget ( n_{\mathrm{eff}} ). For example, if ( n_b=100 ) and the estimator matches the baseline with double the budget, then ( n_{\mathrm{eff}}=200 ). Larger ( n_{\mathrm{eff}} ) is better; ( n_{\mathrm{eff}}<n_b ) means worse than baseline. Plots show one standard deviation over 500 trials. Coverage is estimated by resampling 500 times and checking whether confidence intervals contain the full-data estimate of ( \theta^* ). The target coverage is 0.9 throughout, and coverage should be exactly 0.9 for all baselines.
Why This Matters
- Research impact: The paper makes active statistical inference safer for practice by providing a principled hedge between uniform and active sampling. It connects prediction-powered inference, active learning, semiparametric inference, and robust optimization, and it gives asymptotic validity guarantees while showing finite-sample performance empirically.
- Real-world applications:
- Survey research: estimating presidential approval rates, as in the Pew post-election survey data.
- Computational social science: text annotation for political bias, politeness, and misinformation using LLM confidence scores such as GPT-4o annotations and confidences.
- Census and economics: analyzing age-income patterns in the American Community Survey Public Use Microdata Sample collected by the US Census Bureau for California in 2019.
- AI-assisted data collection more broadly: remote sensing and proteomics are mentioned as fields that use machine learning to predict unobserved labels.
- Industry relevance: Teams that use humans to label costly data can use this method to allocate labeling effort more efficiently while protecting against overconfident or miscalibrated model uncertainty. The method is practical because the robust optimization is computationally efficient for convex ( \mathcal{C} ), and the paper provides source code.
Future Directions
- Investigate alternative optimization objectives with robustness constraints, such as penalizing small values of ( \rho ) in the objective with regularization and choosing the penalty parameter by
Authors’ abstract
Active statistical inference is a new method for inference with AI-assisted data collection. Given a budget on the number of labeled data points that can be collected and assuming access to an AI predictive model, the basic idea is to improve estimation accuracy by prioritizing the collection of labels where the model is most uncertain. The drawback, however, is that inaccurate uncertainty estimates can make active sampling produce highly noisy results, potentially worse than those from naive uniform sampling. In this work, we present robust sampling strategies for active statistical inference. Robust sampling ensures that the resulting estimator is never worse than the estimator using uniform sampling. Furthermore, with reliable uncertainty estimates, the estimator usually outperforms standard active inference. This is achieved by optimally interpolating between uniform and active sampling, depending on the quality of the uncertainty scores, and by using ideas from robust optimization. We demonstrate the utility of the method on a series of real datasets from computational social science and survey research.