Online Active Testing: Adaptive Importance Sampling for Unbiased Risk Estimation in Data Streams
Hugo Schmutz, Hachem Kadri, Thierry Artières
NeurIPS 2026
TL;DR. We introduce OAT, a framework for unbiased performance estimation of machine learning models under labelling budgets in streaming settings using adaptive importance sampling. We provide theoretical guarantees and an optimal sampling strategy.
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 $\sim$35% of labels to match the accuracy of a naïve uniform baseline, compared to $\sim$20% for an oracle method that has access to the labels.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers agree that the problem is relevant and the theory is sound. There are concerns about whether the idea is fundamentally novel, given related literature on active testing/inference that similarly uses importance weighting, derives unbiasedness, and optimal sampling. There are also concerns about whether the empirical evidence is strong enough. The authors should address these concerns. I do want to flag here that the authors' intended contribution type is "Theory."
After the response period, many of the concerns have been addressed, and the reviewers agree that this submission makes valuable theoretical contributions.
Final justification
See above.
- Final justification
- See above.
Read meta-review
Meta-review
The reviewers agree that the problem is relevant and the theory is sound. There are concerns about whether the idea is fundamentally novel, given related literature on active testing/inference that similarly uses importance weighting, derives unbiasedness, and optimal sampling. There are also concerns about whether the empirical evidence is strong enough. The authors should address these concerns. I do want to flag here that the authors' intended contribution type is "Theory."
After the response period, many of the concerns have been addressed, and the reviewers agree that this submission makes valuable theoretical contributions.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies risk estimation under limited labeling budgets in a streaming setting, where unlabeled samples arrive sequentially and decisions to query labels must be made online. The authors framework based on adaptive importance sampling. They establish unbiasedness and consistency guarantees for the resulting estimator, derive variance expressions and optimal sampling policies under budget constraints, and propose a practical implementation using surrogate models to approximate the optimal acquisition strategy. Experimental results include synthetic data, image benchmarks, and a molecular simulation application demonstrate reduced estimation variance compared to uniform sampling.
Strengths and weaknesses
Str: 1.The paper addresses an interesting and practically relevant problem setting. While many active testing has been studied in pool-based scenarios, the paper considers a streaming setting where data arrive sequentially and previously discarded samples cannot be revisited. The problem formulation is well motivated, particularly for applications involving expensive labeling or scientific simulations.
- The theoretical analysis is technically sound. The paper establishes unbiasedness and consistency guarantees for adaptive importance sampling in the proposed online setting and derives an optimal sampling strategy by explicitly minimizing estimator variance. The variance decomposition and 2nd moment based acquisition criterion provide useful theoretical insights into the behavior of active testing under sequential sampling.
Weakness:
-
The novelty relative to existing active testing frameworks is somewhat unclear. Many components of the proposed framework, including importance weighted risk estimation, surrogate based acquisition, adaptive sampling, and sequential surrogate updates, appear closely related to existing active testing and importance sampling methods. It remains unclear to me which specific limitations of existing pool based active testing methods prevent them from being directly applied in a streaming setting (e.g., by operating sequentially with continuously updated surrogates). The distinction between the proposed framework and a sequential implementation of existing active testing approaches is not entirely convincing.
-
The practical strategy relies heavily on surrogate models, but the contribution beyond existing surrogate-based active testing methods appears limited. The optimal policy depends on the conditional second moment of the loss, which is approximated through a surrogate predictive distribution. In practice, the proposed method still follows the familiar surrogate -> loss estimation --> sampling pipeline. It will be helpful if the author clarify what additional advantages arise from the proposed formulation beyond the surrogate-based approaches already explored in prior active testing work.
-
The empirical evidence does not clearly isolate the contribution of the higher order moment analysis. One of the more distinctive aspects of the paper is the derivation of acquisition functions involving higher order moments (e.g., skewness and kurtosis for regression losses). However, the experiments mainly compare uniform sampling, first-moment sampling, and second-moment sampling. It remains unclear how much of the observed improvement is attributable to these higher-order terms, and whether they provide meaningful gains beyond simpler mean/variance-based approximations.
Questions
1.the main distinction between OAT and existing active testing methods is somewhat unclear to me. In particular, many active testing approaches can already be operated sequentially by maintaining a surrogate model, updating it whenever new labels are acquired, and making query decisions one sample at a time (or in very small batches). Such a procedure appears to satisfy most of the constraints considered in this paper, including adaptive sampling, sequential arrivals, and non-revisitable samples. My understanding is that the primary additional challenge introduced by the proposed online setting is that the optimal second-moment sampling policy requires normalization quantities that depend on future or unseen data and therefore must be estimated online. However, beyond this normalization issue, it is not obvious why existing active testing methods could not be adapted to operate in the same setting. Could the authors clarify whether there are more fundamental obstacles that prevent existing active testing methods from being applied sequentially? For example, would such methods fail to remain unbiased, fail to provide consistent risk estimates, or fail to support variance-optimal sampling?
- one interesting aspects of the paper is the derivation of the sec moment sampling policy, which for regression depends not only on predictive mean and variance, but also on higher order moments. However, I did not see an ablation isolating the contribution of these higher-order terms. Could the authors provide additional insight into how much of the observed improvement is actually attributable to the higher-order moments, compared to using only the mean and variance components?
Limitations
NA
Final justification
I am maintaining my rating of 4. The rebuttal clarified the paper's novelty relative to pool based active testing and adequately addressed my questions on surrogate design and the second moment sampling strategy.
Formatting concerns
NA
3 comments
Rebuttal
General comments for all reviewers and additional experiments
We thank the reviewers for their valuable feedback. The reviews acknowledge that our paper is well written (JnYe), well motivated (8XhV), and theoretically strong (JnYe). The reviewers also recognised the practical relevance of online active testing (8XhV) and agreed that our constrained streaming setting is "largely unexplored" (JnYe).
We also thank the Area Chair for pointing out that the contribution type is Theory. Below, we address the main concerns regarding novelty and empirical validation.
Novelty and contributions
To the best of our knowledge, this is the first work to formulate and theoretically study online active testing, in which sampling decisions are irrevocable, future data are unavailable, and discarded samples cannot be revisited. Unlike pool-based active testing, this setting requires addressing specific challenges such as unavailable normalisation constants, the impossibility of comparing samples, a random number of acquired labels, and online approximation of the optimal acquisition policy.
The paper addresses these challenges by establishing non-asymptotic deviation and consistency guarantees, deriving a variance decomposition, optimising the anticipated variance according to the square root of the conditional second moment of the loss, deriving practical acquisition rules for various losses, and validating the theoretical results on synthetic and real-world data, including image and quantum chemistry data. We will make this clearer at the end of the introduction.
Empirical evidence and comparison between first and second moment strategy
Our experiments have been conducted to validate our theoretical findings: unbiasedness, variance reduction, and approaching the label-aware oracle. The evaluation covers regression, classification, multiple loss functions, synthetic and image datasets, deep learning models, and a real-world molecular-simulation task. On MELTS, where labels require expensive quantum-chemistry simulations, OAT achieves the same estimation accuracy as uniform sampling using only ~30% of the labels, compared with ~23% for the oracle.
The experiments span the following scales:
| Dataset | Dimension | Stream | Budget | Repetition | Model | Surrogate |
|---|---|---|---|---|---|---|
| Synthetic regression | 1 | 90 | 25 | 20,000 | GP | GP |
| Two-moons | 2 | 200 | 50 | 2,500 | RF | RF |
| FashionMNIST | 28x28 | 5,000 | 1,000 | 500 | ResNet-18 | RF |
| CellCount | 64x64 | 2,000 | 200 | 100 | CNN | GP |
| Two-moons | 36 | 2,000 | 200 | 100 | ANI | GP |
For a Theory paper, we believe this combination of extensive controlled simulations, deep-learning benchmarks, and a real-world scientific application provides strong empirical support.
Regarding the second-moment strategy, our theory characterises the optimal acquisition objective assuming access to the true conditional second moment. In practice, this quantity is approximated by a surrogate, introducing estimation errors. Since first and second moments are often correlated, first-moment sampling can perform similarly in some settings. This does not contradict the theory but highlights the importance of surrogate quality (further discussed in the rebuttal Reviewer n712, JnYe & 8XhV). We additionally identify settings where first-moment sampling fails (see rebuttal Reviewer n712, Section Efficiency of the second-moment strategy).
Additional experiments
We performed four additional experiments to address the reviewers' concerns:
- Baseline comparison (See rebuttal Reviewer JnYe, Section Baseline comparison)
- Second-moment efficiency (See rebuttal Reviewer n712, Section Efficiency of the second-moment strategy)
- Normalising constant ablation (See rebuttal Reviewer JnYe, Section Estimation of the normalisation constant)
- Surrogate ablation (See rebuttal Reviewer VWYE, Section Surrogate model)
Rebuttal Reviewer 8XhV
Many thanks for your comments and assessment of our paper! We particularly appreciate your positive assessment of the motivation and theoretical soundness of the work. Your comments on clarifying the distinction between OAT and pool-based active testing are very helpful, and we will revise the introduction accordingly.
Online setting specifics
Could the authors clarify whether there are more fundamental obstacles that prevent existing active testing methods from being applied sequentially?
Our contribution is not a new importance sampling estimator, but the formulation and theoretical analysis of active testing under a more constrained online setting, where future samples are unavailable, and discarded samples cannot be revisited. Under streaming constraints, consistency, deviation bounds, and variance-optimal sampling must therefore be re-derived. Existing methods such as Kossen et al. (2021) preserve unbiasedness when adapted sequentially, but do not provide variance-optimality guarantees in this setting.
To the best of our knowledge, OAT is the first framework establishing these guarantees for online active testing. Our contributions are: (i) a formal online active-testing framework; (ii) an unbiased adaptive importance-sampling estimator for this setting with fixed stream horizon; (iii) deviation and consistency guarantees; (iv) a variance characterisation; (v) the second-moment optimal sampling strategy; (vi) derivations for standard regression and classification losses; and (vii) a practical online algorithm.
Surrogate model
Clarify what additional advantages arise from the proposed formulation beyond the surrogate-based approaches already explored in prior active testing work.
We agree that surrogate quality is an important component of active testing. This aspect has been extensively studied in pool-based active testing, notably by Kossen et al. (2021), who show that diversity (using a surrogate different from the evaluated model) and fidelity are key factors for sample efficiency. Building upon these observations, our goal was to design a lightweight surrogate suitable for online deployment. We achieve diversity by using a different model family (e.g., Random Forest or Gaussian Process) and fidelity by leveraging the latent representations of the evaluated model. This requires only a single forward pass through the model and avoids the cost of additional large models or expensive updates. We included additional experiments to further support this design choice (please see rebuttal Reviewer VWYE, Section Surrogate model).
More generally, OAT is independent of the surrogate architecture: any probabilistic surrogate, including larger neural networks or foundation models, could be used. Our objective was instead to demonstrate that a lightweight surrogate already achieves performance close to the oracle while remaining suitable for online deployment.
Efficiency of the second-moment sampling strategy
Could the authors provide additional insight into how much of the observed improvement is actually attributable to the higher-order moments, compared to using only the mean and variance components?
Theorem 4 establishes the variance-optimal sampling distribution among importance-sampling strategies under a budget, but this does not imply a large empirical gap over first-moment sampling in every setting. Indeed, . Therefore, the first and second moments are highly correlated. When the conditional loss uncertainty is small (if the uncertainty is small or the loss distribution is concentrated), the two acquisition strategies become similar. Our experiments suggest many practical problems lie in this regime.
This similarity is also theoretically expected for some losses: in Appendix E, we show that for MAE and 0–1 loss, the second-moment strategy differs from the first-moment strategy only by a square-root scaling. For losses such as MSE, the second moment additionally captures higher-order properties of the predictive distribution (namely, skewness and kurtosis), which become relevant for asymmetric or heavy-tailed uncertainty.
Therefore, second-moment sampling is expected to provide larger gains when the conditional loss variance is significant. Our sinusoidal experiment (Figure 2) isolates this regime by varying loss uncertainty while keeping expected loss fixed, and demonstrates a clear advantage of the second-moment strategy.
We propose an additional experiment identifying a setting where the second-moment sampling strategy improves over the uniform baseline while the first moment does not on the FashionMNIST dataset (see rebuttal Reviewer n712, Section Efficiency of the second-moment strategy).
We thank you again for the useful comments and remarks and look forward to any additional questions or suggestions.
Thank you for the detailed rebuttal. The clarification on how the online streaming setting differs from pool based active testing addresses my novelty concern. The surrogate design rationale and the new experiment on second moment sampling address my remaining questions. My choose "General' contribution type for the paper because I think the core techniques are already established. These are importance weighted risk estimation and surrogate based acquisition. The paper's main contribution is to re derive consistency and variance guarantees for these techniques under a new online constraint. This differs from introducing fundamentally new theoretical constructs. As a result, I did not review the submission as primarily a Theory contribution. But I still find the paper meets the bar for the score I originally assigned and I intend to maintain my original rating.
Thank you for the follow-up. We appreciate that our rebuttal has resolved your concerns.
We would, however, like to clarify one point regarding the contribution type. Under the NeurIPS guidelines, a "Theory" contribution is not restricted to work that introduces entirely new foundational theory. A paper may qualify as "Theory" when its main contributions are established through substantial theoretical analysis and formal guarantees. We believe this accurately describes our work.
Importance-weighted risk estimation and surrogate-based acquisition are established tools used throughout theoretical ML, but their use should not diminish the novelty of our contribution. Adapting these ideas to online active testing has not been studied before and is far from straightforward. The online constraint fundamentally changes the information structure and introduces technical challenges that do not arise in pool-based active testing. Establishing consistency and variance guarantees in this setting therefore requires new analysis tailored to these challenges, as detailed in the "Novelty and Contributions" section of our rebuttal.
We hope that these clarifications are helpful and can be considered in your final assessment. We would also be happy to clarify any remaining concerns.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, authors focus on data streaming sceanrio with limited evaluation labeling budget, i.e., evaluating a trained model on testing data stream with limited budget, and moves the attention from pool-based active testing into online active testing. They propose OAT which can be regarded as adaptive importance sampling evolved with timestep to construct an unbiased, consistent estimator of risk on testing distribution. Based on the decomposition of variance, authors propose an optimal sampling distribution to determine whether to accept the data in testing stream or not, and make several modifications for practical consideration. They also validate the effectiveness of OAT on several tasks including synthetic and real-world datasets.
Strengths and weaknesses
Strengths: A well written and easy-to-follow paper. Authors focus on a largely unexplored area where trained models are tested online while not all samples can be kept due to limited labeling budget. They also provide a simple yet strong theoretical foundation for their OAT framework. From the derivation of variance to the optimal sampling distribution, the theoretical motivation of OAT can be simply understood. They also explicitly show the expression of optimal sampling distribution under regression task with squared error loss and under classification task with cross entropy loss, complementing their discussion on OAT for practical consideration.
Weaknesses:
-
Authors are honest with the limitations. However, the key drawback of this work is that the optimal sampling distribution proportion to the second moment does not always perform the best in the most sceanrios. Although naturally the estimation of normalizing constant and surrogate model attribute to the gap between theory and practice, this inconsistency still largely undermines the practical significance of the paper's main theoretical novelty. Even OAT using the first moment, which is not studied theoretically, can achieve comparable performance compared with OAT using the second moment (uniform baseline sometime performs similarily with OAT using the second moment in Figure 2). These empirical results make OAT using the second moment less impactful.
-
Comparison baseline are quite limited. Authors only compare their method with random baseline and oracle baseline (knowing the true label). I remember that author mention several strong baseline in the main text including Chu et al., (2011), Kossen et al., (2021) and Zrnic & Candes (2024), they should be considered and compared in the experiments.
-
Evaluation is also limited. Except for experiments on synthetic datasets, only experiments on small scale dataset are presented, and surrogate models they used for online testing are only GP and random forest, restricting the scalability of their proposed methods. Beside, ablation studies on how surrogate models affect the performance of optimal OAT estimator and how the estimation of normalizing constant affects the performance of optimal OAT estimator are not well-studied.
Minor concern:
- It would be preferable if confidence intervals are presented in your figures to show the significance of your proposed methods.
- In the appendix, sections C and D, typos "Theorem 2" to "Theorem 3" and "Theorem 4" correspondingly.
Questions
-
When does the second-moment strategy reliably outperform? It would be more helpful if authors provide detailed discussions including additionally experiment results.
-
Why does the first-moment strategy works well under most circumstances? Can authors provide some insights on how first-moment connect with estimation efficiency?
-
In abstract authors claim that "30% vs. 23% labels".Which specific figure does this correspond to?
-
Computational complexity vs improved performance. How long does it take to derive the optimal sampling distribution? It is important on online testing sceanrios.
-
Have you ever tried selecting test samples in a batch manner? I wonder if this OAT framework can be extend to batch selection.
Limitations
yes
Final justification
The authors have answered most of the questions. I will raise the score.
Formatting concerns
None
4 comments
Rebuttal
Rebuttal Reviewer JnYe
Many thanks for your comments and assessment of our paper! We particularly appreciate your positive assessment of the clarity of the manuscript and the strength of the theoretical analysis.
Please refer to the 'General Comments' Section in other reviewers' rebuttals for further empirical evidence and information about novelty, which was not included here due to lack of space.
Efficiency of the second-moment sampling strategy
Why does the first-moment strategy works well under most circumstances?
Theorem 4 establishes the variance-optimal sampling distribution among importance-sampling strategies under a budget, but this does not imply a large empirical gap over first-moment sampling in every setting. Indeed, . Therefore, the first and second moments are highly correlated. When the conditional loss uncertainty is small (if the uncertainty is small or the loss distribution is concentrated), the two acquisition strategies become similar. Our experiments suggest many practical problems lie in this regime. In Appendix E, we derive the second moment for MAE and 0–1 loss and show that the second-moment strategy reduces to the first-moment strategy up to a square-root scaling.
Moreover, the practical method approximates the optimal second moment through an online surrogate, so surrogate errors and cold-start effects can reduce the empirical advantage. This does not contradict the theory, but highlights the importance of surrogate quality.
When does the second-moment strategy reliably outperform?
The advantage increases when the conditional variance of the loss is significant (under high predictive uncertainty or heavy-tailed loss distributions). Our sinusoidal experiment (Figure 2) was designed to isolate this effect by varying conditional loss variance while keeping expected loss fixed.
We propose an additional experiment identifying a setting where the second-moment sampling strategy improves over the uniform baseline while the first moment does not on the FashionMNIST dataset (see rebuttal Reviewer n712, Section Efficiency of the second-moment strategy).
OAT using the first moment [...] is not studied theoretically
We agree this comparison is interesting. We can derive the anticipated variance characterisation of Line 608 and compare this variance for both first- and second-moment strategies. Using Cauchy-Schwartz, the second-moment strategy is never worse, and the equality condition is given by . We will include the demonstration of this result in the revised version of the article.
Empirical evidence:
Baselines comparison
Comparison baseline are quite limited.
The baselines in the paper are selected for the same online risk-estimation objective: uniform sampling, label-aware oracle, and first-moment active testing. However, we agree that baseline comparisons can be made along different directions by comparing with other risk estimators. The suggested works address related but different problems: Chu et al. (2011) focus on active learning, Kossen et al. (2021) assume pool-based active testing, and Zrnić & Candès (2024) propose a complementary estimator using discarded samples (complementary rather than competing with OAT).
Following the idea of comparing to a baseline with another estimator, we chose to adapt Active Risk Estimation (ARE; Sawade et al., ICML 2010) as it may be easily adapted to the online setting and compared to OAT and our other baselines. We note that ARE relies on a self-normalised importance sampling estimator. Although ARE is biased for finite samples, it benefits from consistency guarantees and represents one of the strongest existing alternatives.
Additional experiment: ARE is designed in the pool-based setting; we have implemented the online version of ARE. In particular, we applied it to the sinusoïdal dataset of Section 6.1 in a stream of 1,000 points and a budget of 90 samples with 10,000 repetitions and compared ARE with the (non-adaptive) OAT with second moment. We report in the following table the mean squared estimation error at different steps of the stream. OAT significantly outperforms ARE at the end of the stream according to a Student t-test (p=6.3e-63).
| Stream steps | 250 | 500 | 750 | 1000 |
|---|---|---|---|---|
| OAT 2nd moment | 8.86 | 3.75 | 2.17 | 1.35 |
| ARE | 13.15 | 5.12 | 2.85 | 1.86 |
Experimental scalability
Evaluation is also limited.
While additional large-scale experiments would certainly strengthen the empirical validation, our primary objective was to validate the theoretical framework across both regression and classification settings. The experiments are not restricted to small-scale examples, as we included two deep-learning benchmarks (FashionMNIST and Cell Count) and one real-world setting (MELTS), demonstrating that OAT can be applied beyond synthetic problems. In particular, in the molecular application, dataset size must also be considered together with labelling cost, since each label requires an expensive quantum-chemistry computation. Combined with the extensive number of repetitions, these experiments are well aligned with the empirical validation expected from a Theory submission.
Because OAT is agnostic to both the predictive model and surrogate architecture, we expect it to scale similarly to recent pool-based active testing methods that have successfully leveraged large foundation models (Berrada et al., NeurIPS 2025).
Surrogate model
... and surrogate models [...] are only GP and random forest
OAT is a framework rather than a surrogate architecture. This aspect has been extensively studied in pool-based active testing, notably by Kossen et al. (2021), who show that diversity (using a surrogate different from the evaluated model) and fidelity are key factors for sample efficiency. Building upon these observations, our goal was to design a lightweight surrogate suitable for online deployment. We achieve diversity by using a different model family (e.g., Random Forest or Gaussian Process) and fidelity by leveraging the latent representations of the evaluated model. This requires only a single forward pass through the model and avoids the cost of additional large models or expensive updates.
We included additional experiments to further support this design choice (please see rebuttal Reviewer VWYE, Section Surrogate model).
Estimation of the normalisation constant
How the estimation of normalizing constant affects the performance of optimal OAT estimator?
At stream initialisation, future observations are unavailable, so OAT cannot compute the exact normalisation constant and behaves like uniform sampling. As more samples arrive, the estimate improves, and the sampling strategy gradually approaches the theoretical optimum. This is briefly discussed in Lines 277-282.
Additional experiment: We propose an additional experiment in which we intentionally “cheat” by computing the normalisation constant using the entire stream on the FashionMNIST dataset (Section F.2), allowing us to isolate its impact. We report the mean squared estimation error in the following table (all results are ). For all selected time steps in the table, a Student t-test shows no significant difference between the two estimators.
| Stream steps | 1000 | 2000 | 3000 | 4000 | 5000 |
|---|---|---|---|---|---|
| OAT 2nd moment | 4.91 | 2.38 | 1.53 | 1.08 | 0.82 |
| OAT 2nd moment "cheated" | 4.83 | 2.33 | 1.54 | 1.09 | 0.84 |
Computational complexity
Computational complexity vs improved performance.
Computational efficiency is critical in online testing. In fact, the acquisition probability is lightweight: Equation 5 only requires evaluating the surrogate on the current sample and updating the running estimate of the normalising constant. No optimisation problem is solved online. In our implementation, this corresponds to one forward pass through the predictive model for latent feature extraction (already required for prediction), one evaluation of the lightweight surrogate (Random Forest or GP), and negligible additional computation.
The main computational cost comes from surrogate updates after acquiring labels. With retraining after each acquisition, the total complexity is bounded by , where is the labelling budget and the stream length. Thus, OAT is lighter compared with existing active testing frameworks (Kossen et al., 2021, Appendix B.2).
In practice, the surrogate choice depends on the application throughput: lightweight surrogates are suitable for high-frequency streams, while more expressive models can be used for slower applications. In all cases, OAT provides unbiased and label-efficient risk estimation when labels are costly. For instance, the MELTS experiment illustrates this practical value directly: each label requires an expensive computation, and OAT reaches the accuracy of uniform sampling using only ~30% of the labels.
Minor concerns
- To further demonstrate statistical significance, we will additionally report hypothesis tests comparing estimator mean squared estimation error (Student’s t-test).
- Batch selection is a natural extension of OAT and would improve approximation of the normalisation constant while allowing sample comparison. Other extensions such as reservoir-based candidate selection are also possible and constitute interesting future work.
- Abstract (“30% vs 23%”): These numbers refer to the final point of Figure 3 (bottom right).
- Thanks for pointing out typos.
We thank you again for the useful comments and remarks and look forward to any additional questions or suggestions.
Proof that the second-moment strategy is never worse than first-moment in term of anticipated-variance
Let us consider the anticipated-variance caracterisation given between Lines 608 and 609 of the article:
The second term of this caracterisation being constant with respect to the sampling policy, we will compare only the first term between the first- and second-moment strategies.
Second-moment anticipated variance
The second-moment strategy leads to
The first term of the anticipated variance is:
First-moment anticipated variance
The first-moment strategy leads to
The first term of the anticipated variance is:
Cauchy-Schwartz
By applyin Cauchy-Schwartz to this quantity, we have:
Thus, the second-moment strategy is never worse in term of anticipated variance than the first-moment strategy, and the equality condition is given by .
Thanks for the detailed reply. The authors have answered some questions. I will raise the score.
Thank you for your careful consideration of our rebuttal. We are pleased that our responses addressed your questions, and we appreciate your decision to raise the score. We remain happy to clarify any further points that may arise.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the problem of evaluating machine learning models under a limited labelling budget in data streams. According to real-world scenarios, the authors define a constrained online setting, where labelling decisions must be made immediately, and data cannot be stored. Then, the authors propose an online active testing framework based on an adaptive importance sampling estimator that provides unbiased risk estimation for both regression and classification tasks. The framework is validated on synthetic benchmarks, deep learning tasks, and a real-world application involving the evaluation of machine learning models for molecular simulations.
Strengths and weaknesses
Strengths
-
The paper is well organized and easy to follow.
-
Comprehensive theoretical analysis.
-
The authors have clearly presented the limitations of the proposed framework.
Weaknesses
-
Since the surrogate model is important for the data selection decision during testing, it is necessary to compare and analyze the effect of different surrogate models. I encourage the authors to add a separate section after the main experiments to have a discussion.
-
What would be the efficiency of updating the surrogate model during testing? Since real-world scenarios, such as autonomous driving, are time-sensitive, this analysis needs to be presented. Moreover, what if a foundation model is used as the surrogate? Even though that will be more costly, is there a trade-off that should be pursued? Insights are highly desired.
-
The importance sampling itself is not novel. Although it is used for a new setting in this paper, I will not put more rewards of novelty on this part even though it offers unbiased estimation.
-
Large-scale datasets are needed in the experiments. I am particularly interested in the combination of a large surrogate (i.e., foundation model) and large datasets. This validation is key to show practical significance.
Overall, the paper is decent with comprehensive theoretical analysis, whereas the experimental analysis is very limited. Therefore, I don't think it is good enough for an 'accept'.
Questions
See the 'Weaknesses'.
Limitations
yes
Final justification
The authors' rebuttal has addressed most of concerns. Therefore, I raise my score. However, I do not think this is a pure theoretical paper and I encourage the authors to consider more experimental evaluations as described in my original comments, making the paper more comprehensive.
Formatting concerns
None.
3 comments
Rebuttal
General comments for all reviewers and additional experiments
We thank the reviewers for their valuable feedback. The reviews acknowledge that our paper is well written (JnYe), well motivated (8XhV), and theoretically strong (JnYe). The reviewers also recognised the practical relevance of online active testing (8XhV) and agreed that our constrained streaming setting is "largely unexplored" (JnYe).
We also thank the Area Chair for pointing out that the contribution type is Theory. Below, we address the main concerns regarding novelty and empirical validation.
Novelty and contributions
To the best of our knowledge, this is the first work to formulate and theoretically study online active testing, in which sampling decisions are irrevocable, future data are unavailable, and discarded samples cannot be revisited. Unlike pool-based active testing, this setting requires addressing specific challenges such as unavailable normalisation constants, the impossibility of comparing samples, a random number of acquired labels, and online approximation of the optimal acquisition policy.
The paper addresses these challenges by establishing non-asymptotic deviation and consistency guarantees, deriving a variance decomposition, optimising the anticipated variance according to the square root of the conditional second moment of the loss, deriving practical acquisition rules for various losses, and validating the theoretical results on synthetic and real-world data, including image and quantum chemistry data. We will make this clearer at the end of the introduction.
Empirical evidence and comparison between first and second moment strategy
Our experiments have been conducted to validate our theoretical findings: unbiasedness, variance reduction, and approaching the label-aware oracle. The evaluation covers regression, classification, multiple loss functions, synthetic and image datasets, deep learning models, and a real-world molecular-simulation task. On MELTS, where labels require expensive quantum-chemistry simulations, OAT achieves the same estimation accuracy as uniform sampling using only ~30% of the labels, compared with ~23% for the oracle.
The experiments span the following scales:
| Dataset | Dimension | Stream | Budget | Repetition | Model | Surrogate |
|---|---|---|---|---|---|---|
| Synthetic regression | 1 | 90 | 25 | 20,000 | GP | GP |
| Two-moons | 2 | 200 | 50 | 2,500 | RF | RF |
| FashionMNIST | 28x28 | 5,000 | 1,000 | 500 | ResNet-18 | RF |
| CellCount | 64x64 | 2,000 | 200 | 100 | CNN | GP |
| Two-moons | 36 | 2,000 | 200 | 100 | ANI | GP |
For a Theory paper, we believe this combination of extensive controlled simulations, deep-learning benchmarks, and a real-world scientific application provides strong empirical support.
Regarding the second-moment strategy, our theory characterises the optimal acquisition objective assuming access to the true conditional second moment. In practice, this quantity is approximated by a surrogate, introducing estimation errors. Since first and second moments are often correlated, first-moment sampling can perform similarly in some settings. This does not contradict the theory but highlights the importance of surrogate quality (further discussed in the rebuttal Reviewer n712, JnYe & 8XhV). We additionally identify settings where first-moment sampling fails (see rebuttal Reviewer n712, Section Efficiency of the second-moment strategy).
Additional experiments
We performed four additional experiments to address the reviewers' concerns:
- Baseline comparison (See rebuttal Reviewer JnYe, Section Baseline comparison)
- Second-moment efficiency (See rebuttal Reviewer n712, Section Efficiency of the second-moment strategy)
- Normalising constant ablation (See rebuttal Reviewer JnYe, Section Estimation of the normalisation constant)
- Surrogate ablation (See rebuttal Reviewer VWYE, Section Surrogate model)
Rebuttal Reviewer VWYE
Many thanks for your comments and assessment of our paper! We particularly appreciate your positive assessment of the clarity and organisation of the manuscript, as well as your recognition of the comprehensive theoretical analysis.
Surrogate model
It is necessary to compare and analyze the effect of different surrogate models.
We agree that surrogate quality is an important component of active testing. This aspect has been extensively studied in pool-based active testing, notably by Kossen et al. (2021), who show that diversity (using a surrogate different from the evaluated model) and fidelity are key factors for sample efficiency. Building upon these observations, our goal was to design a lightweight surrogate suitable for online deployment. We achieve diversity by using a different model family (e.g., Random Forest or Gaussian Process) and fidelity by leveraging the latent representations of the evaluated model. This requires only a single forward pass through the model and avoids the cost of additional large models or expensive updates.
Additional experiments: We compare our latent-representation surrogate with a surrogate trained directly on raw images on the CellCount dataset. The latent surrogate achieves lower estimation error while requiring approximately 6x less training time. We report the mean squared estimation error in the following table. Note that the surrogate trained on raw data is also 6-time longer to train. At the end of the stream, the raw-input surrogate is significantly worse than the one using latent representations (p=1.2e-3).
| Stream steps | 500 | 1000 | 1500 | 2000 |
|---|---|---|---|---|
| Latent representation | 1.90 | 0.95 | 0.62 | 0.47 |
| Raw input | 2.38 | 1.13 | 0.82 | 0.58 |
What would be the efficiency of updating the surrogate model during testing?
The surrogate is updated whenever new labelled samples are acquired, either after every sample (Section 6.1) or periodically after batches of samples (Appendix F). Since the surrogate models are lightweight, these updates represent only a small fraction of the overall inference cost.
What if a foundation model is used as the surrogate? Even though that will be more costly, is there a trade-off that should be pursued?
Our framework is independent of the surrogate architecture and could incorporate larger models, including foundation models. However, our objective is to keep the online evaluation overhead negligible. Given that OAT already achieves approximately 30% of the labelling budget required by uniform sampling, compared with 23% for the label-aware oracle, we expect substantially larger surrogates to provide diminishing returns at a significantly higher computational cost. We will clarify this trade-off in the revision.
Contributions clarification
The importance sampling itself is not novel.
We agree that importance sampling is classical, and our contribution is not a new importance sampling estimator. Instead, we introduce and theoretically analyse online active testing in a highly constrained streaming setting, where future data are unavailable, sampling decisions are irreversible, and discarded samples cannot be revisited. These constraints fundamentally change the estimator analysis and acquisition strategy. To the best of our knowledge, this is the first work establishing consistency guarantees and deriving a variance-optimal importance sampling strategy under these online constraints. We additionally provide practical acquisition rules for MSE, MAE, 0–1 loss, and log-loss. We will clarify this distinction from classical importance sampling and pool-based active testing (as asked by Reviewer 8XhV).
Empirical evidence
Experimental scalability
Large-scale datasets are needed in the experiments.
We considered both FashionMNIST (-pixel images) and the Cell Count dataset (-pixel images with 20,000 training images), which already provide realistic deep learning settings while remaining reproducible. Note that our experiments are designed to validate the theoretical claims: unbiased estimation, variance reduction, proximity to the oracle, and label efficiency. The evaluation covers regression and classification, multiple losses, synthetic and real-world datasets, CNN and ResNet models, Gaussian-process and Random Forest surrogates, and up to 20,000 training samples (see Empirical Evidence Subsection in the General Comment Section). For a Theory paper, we believe this combination provides strong empirical support.
Additionally, the framework itself is independent of model scale and can benefit from the same scaling strategies that enabled recent pool-based active testing approaches with large foundation models (Berrada et al., NeurIPS 2025).
We thank you again for the useful comments and remarks and look forward to any additional questions or suggestions.
Thanks for the authors' detailed comments. Most of my questions are addressed. Even though I still do not think this is a theoretical paper, I will raise my score because of the decent quality of the current version. I strongly encourage the authors to think of large datasets and surrogate models to make the paper have a general contribution type, otherwise, the theoretical contribution could be limited.
Thank you for your comment and for raising your score. To further substantiate our contributions, the rebuttal includes not only additional experiments (covering baseline comparisons, second-moment efficiency, normalization-constant ablation and surrogate ablation) but also a new theoretical result.
Specifically, we prove that the second-moment acquisition strategy is never worse than the first-moment strategy in terms of anticipated variance (see our response to Reviewer JnYe for the proof). This result provides an additional theoretical contribution that strengthens the novelty of our work. It gives a formal justification for our second-moment strategy compared to the first-moment strategies proposed in previous work. We will make this clearer in the paper.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses the problem of estimating the risk of a fixed model in the stream-based active testing regime. Their contributions show that by choosing the second order of the moment's loss, we could have an unbiased importance-sampling estimator with reduced anticipated variance.
Toy examples on regression and experiments on images show that there is an improvement with respect to a uniform-sampling approach, in our capability to estimate the evaluation risk under a limited labelling budget.
Strengths and weaknesses
Strengths:
- Problem well-grounded and solid related work
- Presence of sufficient experiments (regression, classification) and modalities as well as statistical relevance
- The variance minimization idea is sound and the Theorem 4 insights about the fact that the sampling strategy prioritizes points with large expected loss and high loss uncertainty are interesting.
Weaknesses:
- Results do not show significance over 1st Moment in practice (Fig. 3), and the authors concede that the gain is inconsistent (L364–366). On the real-world task, the abstract reports ~30% of labels for OAT vs. ~23% for the oracle.
- The link between the importance-weighted unbiased estimator and the surrogate-based variance minimization is not well emphasized. In particular, unbiasedness comes from using the actual sampling probabilities, while the surrogate is only used to reduce variance.
- The optimality is narrower than the "minimum-variance unbiased estimator" framing suggests. Theorem 4 is optimal with respect to the anticipated variance among importance-sampling strategies under a budget.
- Missing an evaluation of downstream model selection: real ranking / top-1 accuracy.
Questions
Related but opening questions:
- Have you thought about how we could select differently the Oracle in real-life applications ?
- Ranking stability: does having the OAT guarantee that we select the right AL method for a particular regime/dataset?
I am refering to the lack of robustness as specified in:
LÜTH, Carsten, BUNGERT, Till, KLEIN, Lukas, et al. Navigating the pitfalls of active learning evaluation: A systematic framework for meaningful performance assessment. Advances in Neural Information Processing Systems, 2023, vol. 36, p. 9789-9836.
Limitations
Second moment is estimated through a surrogate whose reliability is weakest during cold start, precisely at stream onset, where online evaluation matters most. The paper acknowledges this issue, but does not isolate it empirically.
Final justification
The authors provided a strong rebuttal and had answered my concerns. As I understood better, I will raise the confidence.
Formatting concerns
-
L121, sentence construction/punctuation is weird.
-
L128 - Minimum-variance unbiased estimator is a more known term, but here it may be too broad if the claim is not restricted to anticipated-variance optimality.
1 comment
Rebuttal
General comments for all reviewers and additional experiments
We thank the reviewers for their valuable feedback. The reviews acknowledge that our paper is well written (JnYe), well motivated (8XhV), and theoretically strong (JnYe). The reviewers also recognised the practical relevance of online active testing (8XhV) and agreed that our constrained streaming setting is "largely unexplored" (JnYe).
We also thank the Area Chair for pointing out that the contribution type is Theory. Below, we address the main concerns regarding novelty and empirical validation.
Novelty and contributions
To the best of our knowledge, this is the first work to formulate and theoretically study online active testing, in which sampling decisions are irrevocable, future data are unavailable, and discarded samples cannot be revisited. Unlike pool-based active testing, this setting requires addressing specific challenges such as unavailable normalisation constants, the impossibility of comparing samples, a random number of acquired labels, and online approximation of the optimal acquisition policy.
The paper addresses these challenges by establishing non-asymptotic deviation and consistency guarantees, deriving a variance decomposition, optimising the anticipated variance according to the square root of the conditional second moment of the loss, deriving practical acquisition rules for various losses, and validating the theoretical results on synthetic and real-world data, including image and quantum chemistry data. We will make this clearer at the end of the introduction.
Empirical evidence and comparison between first and second moment strategy
Our experiments have been conducted to validate our theoretical findings: unbiasedness, variance reduction, and approaching the label-aware oracle. The evaluation covers regression, classification, multiple loss functions, synthetic and image datasets, deep learning models, and a real-world molecular-simulation task. On MELTS, where labels require expensive quantum-chemistry simulations, OAT achieves the same estimation accuracy as uniform sampling using only ~30% of the labels, compared with ~23% for the oracle.
The experiments span the following scales:
| Dataset | Dimension | Stream | Budget | Repetition | Model | Surrogate |
|---|---|---|---|---|---|---|
| Synthetic regression | 1 | 90 | 25 | 20,000 | GP | GP |
| Two-moons | 2 | 200 | 50 | 2,500 | RF | RF |
| FashionMNIST | 28x28 | 5,000 | 1,000 | 500 | ResNet-18 | RF |
| CellCount | 64x64 | 2,000 | 200 | 100 | CNN | GP |
| Two-moons | 36 | 2,000 | 200 | 100 | ANI | GP |
For a Theory paper, we believe this combination of extensive controlled simulations, deep-learning benchmarks, and a real-world scientific application provides strong empirical support.
Regarding the second-moment strategy, our theory characterises the optimal acquisition objective assuming access to the true conditional second moment. In practice, this quantity is approximated by a surrogate, introducing estimation errors. Since first and second moments are often correlated, first-moment sampling can perform similarly in some settings. This does not contradict the theory but highlights the importance of surrogate quality (further discussed in the rebuttal Reviewer n712, JnYe & 8XhV). We additionally identify settings where first-moment sampling fails (see rebuttal Reviewer n712, Section Efficiency of the second-moment strategy).
Additional experiments
We performed four additional experiments to address the reviewers' concerns:
- Baseline comparison (See rebuttal Reviewer JnYe, Section Baseline comparison)
- Second-moment efficiency (See rebuttal Reviewer n712, Section Efficiency of the second-moment strategy)
- Normalising constant ablation (See rebuttal Reviewer JnYe, Section Estimation of the normalisation constant)
- Surrogate ablation (See rebuttal Reviewer VWYE, Section Surrogate model)
Rebuttal Reviewer n712
Many thanks for your comments and assessment of our paper! We appreciate that you correctly noted this contribution is intended to be in the Theory track.
Model selection: OAT is model-specific
Does having the OAT guarantee that we select the right AL method for a particular regime/dataset?
Our current framework is designed for online evaluation of a single deployed model, not for simultaneous ranking of multiple models. Indeed, the optimal sampling distribution depends explicitly on the evaluated model (see Theorem 4). Therefore, each model induces a different sampling distribution, and using samples from another model in OAT sampling selection may lead to large variance in the estimators.
Combining subsets selected independently for each model is possible, but increases the labelling budget and does not satisfy the same constrained-budget objective. Extending OAT to multi-model evaluation would require designing a shared sampling policy that jointly optimises estimation variance or ranking accuracy, which we consider an interesting future direction.
Lüth et al. highlight ranking instability as an important challenge in active learning evaluation. While OAT currently provides guarantees for risk estimation of a single model, reducing risk estimation variance should improve the reliability of comparisons under limited budgets. Extending the theory toward ranking stability is an interesting direction.
Efficiency of the second-moment sampling strategy
Results do not show significance over 1st Moment in practice
Theorem 4 establishes the variance-optimal sampling distribution among importance-sampling strategies under a budget, but this does not imply a large empirical gap over first-moment sampling in every setting. Indeed, . Therefore, the first and second moments are highly correlated. When the conditional loss uncertainty is small (if the uncertainty is small or the loss distribution is concentrated), the two acquisition strategies become similar. Our experiments suggest many practical problems lie in this regime.
We additionally show in Appendix E that for MAE and 0–1 loss, the second-moment strategy reduces to the first-moment strategy up to a square-root scaling.
Additional experiment: To isolate the benefit of the second moment, we sharpen the Random Forest surrogate predictions in the FashionMNIST experiment, which may correspond to an overconfident surrogate. Sharpening does not significantly reduce the estimation of tail probabilities relevant to the squared loss, while degrading the first-moment approximation. The mean squared estimation errors below show that second-moment sampling still significantly improves over uniform sampling, while first-moment sampling becomes significantly worse. At the end of the stream, second-moment sampling significantly outperforms uniform sampling (p=1.4e-24), whereas first-moment sampling significantly underperforms it (p=1.1e-11).
| Stream steps | 1000 | 2000 | 3000 | 4000 | 5000 |
|---|---|---|---|---|---|
| Uniform | 5.83 | 2.79 | 1.83 | 1.33 | 1.01 |
| OAT 2nd moment | 4.91 | 2.38 | 1.53 | 1.08 | 0.82 |
| OAT 1st moment | 13.47 | 6.62 | 4.33 | 3.17 | 2.55 |
Practical significance
This validation is key to show practical significance.
OAT addresses applications in which data arrive continuously but labels are costly, including manufacturing, clinical monitoring, autonomous systems and scientific simulations. In these settings, labelling only uncertain examples introduces selection bias and can produce unreliable evaluations. OAT instead provides an unbiased and label-efficient estimate of model risk.
The MELTS experiment illustrates this practical value directly: each label requires an expensive quantum-chemistry computation, and OAT matches the accuracy of uniform sampling using only approximately 30% of its labels. This represents a concrete reduction in evaluation cost.
Oracle
Have you thought about how we could select differently the Oracle in real-life applications ?
The oracle considered in this work is optimal for risk estimation variance. Other downstream objectives, such as ranking models or ensuring deployment safety, may lead to different oracle policies. Designing such objectives is an interesting extension.
Surrogate cold start
Surrogate [...] reliability is weakest during cold start
The surrogate is initialised using the training data (and validation data when available), so it is already trained when the stream starts. The main cold-start limitation concerns the normalisation constant, which cannot use future samples. Consequently, OAT initially behaves similarly to uniform sampling and progressively approaches the optimal policy as more stream data are observed.
Minor concerns:
- We completely agree that the distinction between importance-weighted → unbiasedness and surrogate → sampling strategy → variance minimisation is not clear enough in the current version of the article. This distinction will be emphasised in the next version of the article and supported by a figure in supplementary materials.
- The so-called optimality in our article is misleading; we will clarify that it is in fact optimality in terms of variance among importance-sampling estimators under the labelling budget.
- We will modify the construction/punctuation of L121.
We thank you again for the useful comments and remarks and look forward to any additional questions or suggestions.
Comments on the paper
1 comment
Dear Reviewers,
Please read the authors' response and update your reviews to reflect that you have taken into account the authors' response. For those who have entered a Contribution Type that doesn't match the authors' intended contribution, please update your review as indicated by the Program Chairs.
Thanks so much.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the reviewers for their constructive comments which helped us clarify some statements and add new results that strengthen the paper.
We also thank the Area Chair for highlighting the reviewers' key concerns regarding novelty and empirical support.
Our rebuttal directly addresses both points. On the empirical side, we provide additional baseline comparisons and ablations in response to the reviewers' comments. On the theoretical side, we introduce a new result proving that our second-moment acquisition strategy is never worse than the first-moment strategy in terms of anticipated variance (the proof is provided in our response to Reviewer JnYe). This result provides an additional formal justification for our acquisition rule and further distinguishes our work from prior first-moment-based approaches in active testing. This complements the discussion of our novelty and contributions provided in the "Novelty and Contributions" section of our rebuttal. We will make this result, together with the scope of the additional empirical evidence, clearer and more explicit in the revised paper.