Enough Is Enough! a Case Study on the Effect of Data Size for Evaluation Using Universal Dependencies

Rob van der Goot, Zoey Liu, Max Müller-EbersteinCOLING 2024

Abstract

When creating a new dataset for evaluation, one of the first considerations is the size of the dataset. If our evaluation data is too small, we risk making unsupported claims based on the results on such data. If, on the other hand, the data is too large, we waste valuable annotation time and costs that could have been used to widen the scope of our evaluation. Hence, we investigate the effect of the size and a variety of sampling strategies of evaluation data to optimize annotation efforts, using dependency parsing as a test case. We show that for in-language in-domain datasets, 5,000 tokens is enough to obtain a reliable ranking of different parsers; especially if the data is distant enough from the training split (otherwise, we recommend 10,000). In cross-domain setups, the same amounts are required, but in cross-lingual setups much less (2,000 tokens) is enough.

Introduction

In Natural Language Processing (NLP), the creation of evaluation datasets involves a critical trade-off. While the "80/10/10" split is a standard heuristic, and projects like Universal Dependencies (UD) suggest a 10,000-token minimum, these benchmarks are often based on convention rather than empirical necessity. This study addresses the question: What is the minimum amount of data required to reliably rank different parsers? By treating evaluation as a ranking problem rather than an absolute scoring task, we can determine when a subset of data is sufficient to identify the best-performing models.

Methodology

The researchers trained 33 distinct parsers using the MaChAmp toolkit, employing various multilingual language models (e.g., BERT, XLM-R). They simulated evaluation sizes ($M$) from 100 to 20,000 tokens using three sampling strategies:

  • Seq: A consecutive block of text distant from the training data.
  • Rand: Randomly sampled sentences.
  • Rand_seq: A consecutive block starting from a random point.

Stability was measured using Weighted Kendall’s Tau, which quantifies the correlation between model rankings on a subset versus the full "gold" dataset. Additionally, Almost Stochastic Order (ASO) was used to evaluate the stability of statistical significance.

Stability of parser rankings (Kendall’s Tau) across different dev data sizes and sampling strategies for in-domain evaluation.

Key Insights

The Proximity Effect

A significant finding is that random sampling (Rand) often yields higher stability at smaller sizes than sequential sampling (Seq). This is attributed to the "proximity effect": random samples are more likely to contain sentences similar to the training distribution, making the evaluation less representative of true generalization. Sequential sampling, by contrast, provides a more rigorous test of model robustness.

Rankings vs. Scores

One of the core takeaways is that model rankings stabilize much faster than absolute performance scores (like LAS). While exact accuracy may fluctuate with small data samples, the relative order of which model is "better" becomes consistent quite early.

Results

In-Domain and Cross-Domain Evaluation

For most in-domain tasks, 5,000 tokens are sufficient to achieve a nearly perfect ranking correlation. While 10,000 tokens remain a "safe" upper bound, the marginal utility of the additional 5,000 tokens is often negligible for the purpose of model selection.

Cross-Lingual Efficiency

In cross-lingual scenarios—where models are evaluated on languages they were not trained on—the performance gaps between systems are typically much larger. Consequently, stability is reached significantly earlier.

Ranking stability for cross-lingual setups, showing faster convergence compared to in-domain tasks.

As shown in the figure above, a size of just 2,000 tokens (and in some cases as few as 500) is enough to obtain a reliable ranking of parsers in cross-lingual setups.

Conclusion

This study demonstrates that the current 10,000-token guideline for evaluation sets is often overkill. For dependency parsing, 5,000 tokens are generally "enough" for in-domain tasks, and 2,000 tokens suffice for cross-lingual evaluation. These findings suggest that researchers can optimize annotation efforts by focusing on smaller, more diverse evaluation sets across more languages or domains rather than over-annotating single datasets.

Summary updated

BibTeX
@inproceedings{goot2024enough,
  author = {Rob van der Goot and Zoey Liu and Max Müller-Eberstein},
  title = {{Enough Is Enough! a Case Study on the Effect of Data Size for Evaluation Using Universal Dependencies}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=DFfklbkpZO},
}
Figure