TL;DR
Evaluating NLP models across multiple datasets is crucial but current statistical methods often lead to erroneous conclusions. This paper introduces a "Replicability Analysis" framework to rigorously assess algorithm performance across diverse datasets, providing statistically sound guarantees for claims of superiority.
What Problem Does This Paper Address?
The NLP field is experiencing a "data revolution," with algorithms increasingly expected to perform well across a vast array of languages, domains, and genres. This necessitates evaluating models on numerous datasets. However, the standard practice of performing individual statistical significance tests for each dataset and then counting how many show a significant difference is statistically flawed. When many tests are performed, the probability of making at least one false claim (Type I error) increases dramatically, leading to potentially incorrect conclusions about an algorithm's true superiority. This paper aims to provide a statistically sound framework to address this "multiplicity problem" in NLP evaluation.
Methods
The paper proposes a framework based on partial conjunction testing and multiple testing procedures.
- Counting Datasets with Effect (Question 1): Instead of simply counting datasets where a p-value is below a nominal significance level, the authors adapt methods from Benjamini and Heller (2008). They propose using kBonferroni (for dependent datasets) and kFisher (for independent datasets) estimators. These estimators provide a lower bound on the number of datasets where an algorithm truly outperforms another, with a guaranteed confidence level (1-α) against overestimation.
- Identifying Datasets with Effect (Question 2): To identify specific datasets where an algorithm is superior, the paper advocates for the Holm procedure. This procedure controls the probability of making at least one false claim across all identified datasets, offering a more reliable way to pinpoint specific instances of superior performance.
The framework distinguishes between independent and dependent datasets, recommending different statistical tests (Bonferroni vs. Fisher) based on this assumption.
Datasets
The paper evaluates its framework on four NLP applications using existing datasets:
- Multi-domain Dependency Parsing: OntoNotes 5 corpus (English portion, 7 genres).
- Multilingual POS Tagging: Datasets from 23 languages shared by the Polyglot word embedding dataset and the Universal Dependencies (UD) dataset.
- Cross-domain Sentiment Classification: Amazon product reviews from 4 domains (books, DVDs, electronic items, kitchen appliances), creating 12 domain pairs.
- Word Similarity: 12 English word pair datasets (e.g., WS-353, SimLex-999).
Key Insights and Ideas
- The "naive" counting method is fundamentally flawed: Simply counting datasets with p < 0.05 is statistically unsound and leads to overestimation of an algorithm's true performance across datasets, especially as the number of datasets grows.
- Dependent datasets require careful handling: Assuming dataset independence when it doesn't exist (e.g., using Fisher's method) can lead to overly optimistic results. Bonferroni's method is recommended for dependent datasets.
- Replicability is a cornerstone of science: The paper frames its work within the broader scientific need for findings to be consistent across different conditions, extending this to NLP's diverse data landscape.
- Distinguishing "counting" from "identifying" is crucial: Knowing how many datasets show an effect is different from knowing which datasets show an effect. The proposed framework addresses both questions with statistical guarantees.
Key Results
The paper demonstrates the practical impact of its framework through experiments:
- Toy Examples: Simulations with synthetic p-values showed that the naive counting method (kcount) significantly overestimates the true number of datasets with effect, while kBonferroni and kFisher provide much more accurate estimates, especially when datasets are dependent.
- Dependency Parsing: For a scenario with small differences between algorithms, kFisher estimated 5 domains with effect, while kcount only found 2. kBonferroni was more conservative, estimating 1.
- Multilingual POS Tagging: kcount estimated 11 languages with effect, while kFisher suggested 16. kBonferroni again provided a more conservative estimate of 6.
- Sentiment Classification & Word Similarity (Dependent Datasets): For these tasks, kcount was overly optimistic (e.g., 10 vs. 6 for sentiment). kBonferroni provided more conservative estimates (6 for sentiment, 6 for word similarity at α=0.05), highlighting the importance of accounting for dataset dependence.
- Holm Procedure: The identified datasets by the Holm procedure generally aligned with the more conservative kBonferroni estimates, providing a reliable list of where an algorithm truly excels.
Limitations and Future Work
- Assumption of Unknown Dependency: For dependent datasets, the framework assumes the type of dependency cannot be determined, leading to the use of Bonferroni's method. If specific positive dependency properties could be assumed, more powerful methods like Simes' test for partial conjunction or Hochberg/Hommel procedures for identification could be used.
- False Discovery Rate (FDR): The paper mentions that controlling the False Discovery Rate (FDR) using methods like Benjamini-Hochberg (1995) could be an alternative for identification, offering a less strict error criterion that might be more suitable when the number of datasets is very large.
- Heterogeneity of Datasets: The proposed framework is most valuable when datasets are truly heterogeneous (different languages, domains). If datasets are very similar and could be combined, simpler comparison methods might suffice.
- Future Work: The authors suggest revisiting assumptions about dependency and exploring alternative methods that leverage specific dependency structures. They also point to the potential of FDR control for identification.
Summary updated