Why Comparing Single Performance Scores Does Not Allow to Draw Conclusions About Machine Learning Approaches

Nils Reimers, Iryna GurevycharXiv 2018

Abstract

In modern machine learning, particularly within Natural Language Processing (NLP), researchers frequently declare a new "state-of-the-art" (SOTA) based on single performance scores. This paper by Nils Reimers and Iryna Gurevych challenges this paradigm, demonstrating that comparing single test scores for non-deterministic models like neural networks is fundamentally unreliable. Through a series of experiments comparing identical learning approaches, the authors show that random seed variance can lead to false-positive "significant" differences in up to 34% of cases. They propose a shift toward comparing full score distributions to ensure scientific validity.

Introduction

The pursuit of SOTA performance has become the primary benchmark for progress in machine learning. The standard protocol involves training a model, tuning hyperparameters on a development set, and reporting a single score on a held-out test set. If this score exceeds previous results and passes a significance test (e.g., bootstrap or permutation test), the approach is deemed superior. However, this logic fails to account for the inherent non-determinism of neural networks, where random weight initialization, data shuffling, and dropout can significantly sway results.

The Problem: Models vs. Approaches

A single test score represents only one specific instance of a model (a fixed set of weights), not the underlying learning approach (the architecture, optimizer, and loss function). The authors argue that much of the reported progress in the field may simply be the result of researchers "getting lucky" with random seeds. To test this, they designed experiments where a learning approach is compared against itself. In a theoretically sound evaluation, identical approaches should show no significant difference 95% of the time (at $p < 0.05$). Any significant difference found is a Type I error (a false positive).

Proposed Methodology

The authors contrast traditional evaluation setups with more robust distribution-based methods:

  1. Evaluation 1 (Single Run): Comparing one run of Approach A against one run of an identical Approach $\tilde{A}$.
  2. Evaluation 2 (Best of $n$): Training both approaches $n$ times, selecting the best performers on the development set, and comparing their test scores. This mimics competitive benchmarking.
  3. Evaluations 3 & 4 (Distribution Comparison): Training multiple models (e.g., 25 runs) for each approach and comparing the resulting score distributions using Welch’s t-test or the Wilcoxon signed-rank test.
The proposed evaluation setup involves training multiple models to compare the resulting performance distributions rather than single points.

Experimental Evidence

The study utilized seven NLP sequence tagging tasks, including Named Entity Recognition (CoNLL 2003) and Event Detection (ACE 2005), using a standard BiLSTM-CRF architecture. The results revealed a startling lack of reliability in standard practices.

A critical finding was the weak correlation between development and test sets. The assumption that the "best" model on the dev set will perform best on the test set proved false; Spearman’s $\rho$ correlations were often low, and in some cases (TempEval 3), even negative. This implies that selecting the "best" run often selects for noise rather than generalized performance.

Quantitative results across various tasks showing the low correlation (Spearman ρ) between dev and test sets and the high percentage of false-positive significant results.

In the "Best of $n$" setup, identical approaches were flagged as significantly different in up to 29% of cases—nearly six times the expected error rate. For the ACE 2005 Events task, $F_1$ scores varied by as much as 9.04 points solely due to the random seed.

Conclusion

The authors conclude that single-score reporting is insufficient for drawing scientific conclusions about machine learning approaches. While distribution-based evaluation (requiring ~25 runs) increases computational costs, it is necessary to avoid the "significance trap." The paper recommends that researchers and shared-task organizers move toward reporting the mean and standard deviation of multiple runs to provide a true measure of an approach's efficacy and stability.

Summary updated

BibTeX
@misc{reimers2018why,
  author = {Nils Reimers and Iryna Gurevych},
  title = {{Why Comparing Single Performance Scores Does Not Allow to Draw Conclusions About Machine Learning Approaches}},
  year = {2018},
  eprint = {1803.09578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.09578},
}
Figure