Online Active Testing: Adaptive Importance Sampling for Unbiased Risk Estimation in Data Streams
We address the problem of evaluating machine learning models under a limited labelling budget in streaming environments, where data arrive sequentially. This setting is particularly critical for embedded and continuously deployed systems, such as autonomous driving or computer-aided diagnosis, where models must reliably assess their own performance online. We focus on a constrained online setting, where labelling decisions must be made immediately, and data cannot be stored. We introduce an online active testing (OAT) framework based on an adaptive importance sampling estimator that provides unbiased risk estimation for both regression and classification tasks. While importance sampling has been extensively studied in pool-based settings, we establish novel theoretical ground for the fully online setting, including deviation bounds and consistency guarantees. We derive an optimal sampling strategy in order to minimise the estimator's variance, which is driven by the expected second moment of the loss. This strategy is expressed for common loss functions, including mean squared error, mean absolute error, 0-1 loss, and log-loss, and analysed from a statistical perspective. We…
- arXiv
- 2612.05567
- Authors
- Hugo Schmutz, Hachem Kadri, Thierry Arti{è}res
- Categories
- cs.AI · cs.LG · stat.ML