Online Active Testing: Adaptive Importance Sampling for Unbiased Risk Estimation in Data Streams
Abstract
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 empirically demonstrate the effectiveness of OAT on synthetic benchmarks, deep learning tasks, and a real-world application involving the evaluation of machine learning models for molecular simulations, where data are generated sequentially and labels require expensive quantum chemistry computations, showing improved efficiency and reliable performance estimation under limited labelling budgets. In particular, on the real-world task, OAT requires only 35% of labels to match the accuracy of a na{ï}ve uniform baseline, compared to 20% for an oracle method that has access to the labels.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, stat.ML
Related papers
SLED-LoRA: Streaming LoRA Expert Discovery for Metadata-Free Continual Adaptation of Large Language Models
Shared title terminologycs.AIShuquan Man, Kai Tong, Xiang Tan et al.
MARPA: A Multi-Agent Large Language Model Framework Grounding Personalised Physical Activity Recommendations in Temporal Wearable Data
Shared title terminologycs.AIXiaotong Yu, Joshua Y. Kim, HaeJin Lee et al.
EVA-Reason: Learning Adaptive Evidence Acquisition for Neuroimaging Reasoning
Shared title terminologycs.AIMohammad H. Abbasi, Gustavo Chau Loo Kung, Ehsan Adeli
Multi-Hop Attention Graph Sampling for Masked Diffusion LLMs
Shared title terminologycs.AIHarel Mendelman, Shaked Brody, Roi Ronen et al.
From Static Portfolios to Online Switching: Robust MaxSAT Stochastic Local Search with Trajectory-Aware Selection
Shared title terminologycs.AIFurong Ye, Jianqiang Wang, Chuan Luo et al.
Using Decision Trees and Neural Networks to assess risk factors towards mediation of IP-related disputes
Shared title terminologycs.AISpyridon Spyratos, Anton Petrov, Tamar Aanen et al.