TL;DR
Evaluating large language models (LLMs) is incredibly expensive, often requiring costly domain experts to grade complex generative outputs. This paper introduces a training-free, theoretically unbiased active testing method that slashes these costs by carefully selecting a small, highly informative subset of prompts for human review. By leveraging a cheap surrogate model to measure semantic entropy and applying an approximate Neyman allocation, the method achieves up to a 28% reduction in estimation error and saves an average of 22.9% of the annotation budget.
What Problem Does This Paper Address?
As LLMs scale and tackle complex reasoning, multi-modal, and agentic tasks, evaluating them becomes a massive bottleneck. Standard evaluation requires running inference on thousands of prompts and paying human experts to grade the multi-token generations.
"Active testing" is a technique designed to minimize this burden by evaluating the model on a small, intelligently sampled subset of the data and using statistical estimators to infer full-pool performance. However, existing active testing frameworks (like LURE) were built for classification tasks and completely break down when applied to generative LLMs. The authors identify two core reasons for this failure:
- Token-level vs. Semantic Entropy: Traditional methods rely on token-level predictive entropy to measure uncertainty. In generative tasks, this approach mistakenly penalizes paraphrastic diversity (different ways of saying the same thing) rather than true semantic uncertainty.
- Weight Explosion: Existing pipelines use importance sampling, which applies heavy weights to samples where a cheap surrogate model and the target model disagree. Because LLMs are systematically overconfident, these mismatches are common, causing the estimator's variance to explode.
Methods
The authors propose a four-step pipeline that bypasses importance sampling in favor of a variance-aware stratified sampling approach:
- Signal Generation: A smaller, cheaper "surrogate" model runs inference on the entire evaluation pool multiple times ($k=10$). The outputs are clustered into meaning-equivalence classes to compute Semantic Entropy (SE) and a Self-Consistency (SC) score.
- Stratification: The evaluation pool is partitioned into $H=5$ distinct strata based on the surrogate's semantic entropy. Prompts with zero semantic entropy (where the surrogate is completely certain) are isolated into a base stratum, while the rest are binned using equal quantiles.
- Approximate Neyman Allocation: To minimize estimation variance, the labeling budget must be distributed optimally across strata. Classical Neyman allocation requires knowing the standard deviation of the target model's loss within each stratum—an impossible requirement since we haven't labeled the data yet. The authors elegantly solve this by approximating the target variance using a smoothed Bernoulli proxy derived from the surrogate's self-consistency scores: $\sqrt{p_h(1-p_h)} + \delta$.
- Estimation: Samples are drawn uniformly without replacement from each stratum according to the allocated budget. After the target model evaluates these samples and experts label them, a stratified Horvitz-Thompson estimator aggregates the results into a theoretically unbiased estimate of full-pool performance.
Datasets
The method was validated across four diverse language and vision-language benchmarks featuring verifiable ground-truth answers:
- MMLU-Redux: A cleaned version of the massive multi-task language understanding dataset (3,000 samples).
- MMLU-Pro: A more challenging, STEM-heavy multi-domain reasoning dataset (12,032 samples).
- GPQA-Diamond: A high-difficulty, graduate-level science reasoning dataset (198 samples).
- MMBench: A multimodal benchmark evaluating vision-language perception and reasoning (4,329 samples).
Target models included advanced open-weight models (Qwen-3.5-9B, Qwen-3-VL-8B) and frontier proprietary models (GPT-5.4), paired with smaller models from the same families acting as surrogates.
Key Insights and Ideas
- Stratification Over Importance Sampling: Moving from importance sampling weights to stratified sampling eliminates the catastrophic variance spikes caused by surrogate-target model disagreements. Even when the surrogate is wrong, the stratified estimator remains stable and unbiased.
- Isolating the Certainty: A key driver of the method's success is isolating the $SE=0$ cluster. By separating out the prompts where the surrogate is completely certain, the algorithm avoids wasting budget on low-variance data.
- API-Friendly and Training-Free: Unlike methods that require access to internal model activations or logits, this approach only requires text generations. This makes it fully compatible with black-box, API-only models like GPT-4 or GPT-5.4.
Key Results
- Significant Variance Reduction: At a modest labeling budget of $M=70$, the proposed method outperforms uniform sampling across all benchmarks, reducing Mean Squared Error (MSE) by up to 28% and closely tracking the theoretical "Oracle-Neyman" optimum.
- Substantial Budget Savings: To achieve the same precision as standard uniform sampling, the proposed method saves an average of 22.9% of the expert annotation budget across the evaluated tasks, peaking at 28% savings on MMLU-Redux.
Limitations and Future Work
- Closed Answer Spaces: The current framework relies on benchmarks with parseable or closed answer spaces (e.g., multiple-choice or short-form answers) to easily cluster generations. Extending this to completely open-ended text generation remains a challenge due to evaluation noise.
- Surrogate Dependency: The method assumes access to a cheaper surrogate model whose difficulty correlates well with the target model. In highly niche domains where no good surrogate exists, the efficiency gains may degrade.
- Future Directions: The authors suggest extending this framework to richer vision-language tasks, interactive environments, and truly open-ended evaluation settings by developing modality-aware surrogate signals.
Summary updated