Robust Sampling for Active Statistical Inference

Puheng Li, Tijana Zrnic, Emmanuel Candes

Abstract

Active statistical inference (ASI) uses AI models to prioritize labeling uncertain data points, but miscalibrated uncertainty estimates can lead to higher variance than simple random sampling. This paper introduces a robust sampling framework that optimally hedges between active and uniform sampling using budget-preserving paths and minimax optimization. This approach ensures that AI-guided data collection is asymptotically no worse than uniform sampling while maximizing efficiency gains when AI models are reliable.

Introduction

In data-driven research, high-quality labels are often expensive and time-consuming to collect. Active Statistical Inference (ASI) aims to mitigate this by using cheap predictive models to identify the most "uncertain" data points for human labeling. However, AI models—particularly Large Language Models (LLMs)—are frequently miscalibrated or overconfident, especially under distribution shifts. If an ASI strategy relies on poor uncertainty scores, it can produce extreme sampling probabilities that increase the variance of the final estimate, making it less precise than simple random (uniform) sampling. This "reliability gap" poses a significant challenge for the safe adoption of AI in scientific workflows.

Methods: Robust Active Inference

To address these challenges, we propose a Robust Active Inference framework. The core of the method involves three key components:

  1. Budget-Preserving Paths: The framework defines a continuous mathematical interpolation between purely active and purely uniform sampling. The authors recommend the Geometric path as it effectively manages the "tails" of sampling probabilities, preventing variance explosions.
  2. Optimal Tuning ($\rho$): A parameter $\rho$ determines the balance between active and uniform sampling. The algorithm uses a small initial "burn-in" set of labels to estimate the quality of the AI’s uncertainty scores and selects the $\rho$ that minimizes the expected variance.
  3. Robust Optimization (Minimax): To protect against errors in the variance estimates themselves, the framework solves a minimax problem, identifying the sampling rule that performs best under the worst-case scenario within a defined uncertainty set.
Algorithm 1: The Robust Active Inference algorithm, which solves a minimax problem to determine the optimal sampling rule.

Results and Discussion

The framework was evaluated across several domains, including presidential candidate approval (Pew Survey), US Census data (ACS PUMS), and text annotation tasks using GPT-4o.

Efficiency and Safety

The primary metric for success is the Effective Sample Size (ESS), which measures the number of uniform samples required to achieve the same precision as the proposed method.

Effective Sample Size (ESS) vs. labeling budget ($n_b$). The robust active method consistently achieves higher ESS than uniform sampling and avoids the performance degradation seen in standard active sampling.

Key insights from the experiments include:

  • The "Never Worse" Guarantee: Formal proofs and empirical evidence confirm that the robust estimator is asymptotically at least as accurate as uniform sampling, removing the downside risk of AI-in-the-loop data collection.
  • Resilience to Poor Models: In scenarios where predictive models were intentionally trained on minimal data, standard active sampling performed worse than uniform sampling. The robust method correctly identified the low model quality and stayed near the uniform baseline.
  • LLM Success: In text annotation tasks with GPT-4o, the robust approach consistently outperformed both uniform and standard active sampling, demonstrating its ability to handle the brittle uncertainty of modern foundation models.

Conclusion

Robust Active Inference provides a critical safety net for AI-guided data collection. By mathematically hedging against model unreliability, it ensures that researchers can leverage AI to increase efficiency without risking the integrity of their statistical estimates. Future research will focus on automated methods for selecting robustness constraint sets and discovering even more efficient sampling paths.

Summary updated

BibTeX
@inproceedings{li2025robust,
  author = {Puheng Li and Tijana Zrnic and Emmanuel Candes},
  title = {{Robust Sampling for Active Statistical Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=duVF6odtBO},
}
Figure