Abstract
The NLP community frequently relies on small metric improvements to claim state-of-the-art performance, often without rigorous statistical validation. This paper introduces a framework and simulator to estimate p-values from a single test set by accounting for both item-level variance and response variance (from human raters or stochastic models). Through extensive simulations and real-world validation on a toxicity dataset, we demonstrate that traditional methods often overstate confidence. We identify specific metrics, such as "Wins (MAE)" and Spearman Rho, and sampling strategies like bootstrapping both items and responses, that provide significantly more reliable statistical guarantees for model comparison.
Introduction
Current NLP evaluation practices are often characterized by "leaderboard chasing," where "epsilon improvements" in metrics like BLEU or accuracy are reported as significant without statistical testing. This practice contributes to a reproducibility crisis. Standard tests often fail because they ignore the inherent complexity of NLP data, specifically:
- Item Variance: Differences in difficulty across test instances.
- Response Variance: Disagreements among human annotators or stochasticity in model outputs.
Most evaluations simplify this by using a single "gold" label or a single model run. This paper proposes a method to calculate p-values that respect these underlying variances.
Methods
The authors developed a Null Hypothesis Significance Testing (NHST) framework and simulator. To simulate the null hypothesis ($H_0$), responses from two systems are pooled and redistributed to create a "mixed" test set. The simulator follows three stages:
- Reference Data Generation: Creating synthetic ground truth and system outputs with controllable perturbation ($\epsilon_B$) and variance.
- Sampling Strategies: Testing six resampling methods, including bootstrapping items and responses.
- Metric Evaluation: Comparing eight metrics, including Mean Absolute Error (MAE), Earth Mover’s Distance (EMD), Spearman Rho, and "Wins" (item-wise superiority).
The study used both purely simulated data and a real-world toxicity dataset with five human labels per comment to test the framework's robustness.
Results
The choice of metric and sampling strategy significantly impacts the accuracy of p-value estimation. Methods incorporating response variance consistently outperformed those that did not.
As shown in Figure 1, the error in p-value estimation decreases as the difference between systems ($\epsilon_B$) increases. Metrics like Wins (MAE) and Spearman Rho show high sensitivity and reliability even at low perturbation levels.
Table 1 provides the numerical breakdown of these results. Notably, the "Wins (MAE)" metric emerged as a highly effective indicator of true model improvement. Furthermore, the best sampling results were achieved by bootstrapping both items and all available responses, preserving the uncertainty inherent in human labeling.
Discussion and Conclusion
The findings suggest that variance should be treated as a feature of NLP evaluation rather than a nuisance. Incorporating response variance makes statistical tests more sensitive to small but genuine differences. The authors recommend that the NLP community move beyond the traditional $p < 0.05$ threshold when ignoring variance, as it may be too lenient. By providing a rigorous framework for p-value estimation, this work encourages a shift toward more scientifically sound leaderboard evaluations.
Summary updated