Abstract
Building natural language inference (NLI) benchmarks that are both challenging for modern techniques and free from cheating feature biases is difficult. Chief among these biases is single sentence label leakage, where annotator-introduced spurious correlations yield datasets where the logical relation between (premise, hypothesis) pairs can be accurately predicted from only a single sentence—something that should in principle be impossible. We demonstrate that despite efforts to reduce this leakage, it persists in modern datasets introduced since its 2018 discovery. To enable future amelioration efforts, we introduce a novel model-driven technique, the progressive evaluation of cluster outliers (PECO), which enables both the objective measurement of leakage and the automated detection of subpopulations in the data which maximally exhibit it.
Introduction: The Challenge of Single Sentence Label Leakage
Natural Language Inference (NLI) is a cornerstone task in AI where a model determines if a "hypothesis" statement is true (entailment), false (contradiction), or undetermined (neutral) given a "premise." Ideally, a model must reason over both sentences to reach a conclusion.
However, many NLI datasets suffer from single sentence label leakage. This occurs when crowdworkers inadvertently include "giveaway" words or structures. For example, they might use the word "not" more frequently when writing contradictions. If a model can guess the right answer by looking at the hypothesis alone, it isn't actually reasoning—it is exploiting statistical shortcuts. This paper introduces PECO to identify these biases objectively and automatically, even when they are subtle or semantic.
The PECO Framework
The authors introduce PECO (Progressive Evaluation of Cluster Outliers) to visualize and quantify these biases through a multi-step pipeline:
- Single Sentence Condition (SSC) vs. Paired Sentence Condition (PSC): Models trained on the full pair (PSC) are compared against models trained on only one sentence (SSC).
- Latent Space Clustering: Embeddings from a model trained on the full task are reduced via PCA and grouped into clusters using $k$-means.
- Divergence Measurement: For each cluster, the distribution of labels is measured against the global average. Clusters with extreme label skews (e.g., 90% "Contradiction") are identified as bias regions.
- Progressive Evaluation: By varying the threshold for biased clusters and calculating the area under the resulting curve, a PECO score is generated to represent the dataset's total leakage.
Evaluating Bias Across NLI Benchmarks
The study evaluates 10 major NLI datasets, including classic benchmarks (SNLI, MNLI), multilingual sets (XNLI), and modern adversarial benchmarks (ANLI).
A key finding is that leakage is persistent even in datasets specifically designed to be "debiased." For instance, while SNLI shows massive bias regions in its latent space, CAugNLI—which uses counterfactual augmentation—is significantly more balanced. This confirms that manually editing sentences to flip labels is one of the most effective ways to reduce leakage.
Key Insights and Results
- Models are "Cheating" by Design: There is a high correlation (PCC 0.69) between how often a model agrees with its single-sentence counterpart and how much it recovers original accuracy. This suggests standard NLI models actively rely on shortcuts to achieve high scores.
- Leakage is Semantic: The XNLI results provide a "smoking gun." Despite being translated into 14 languages—which should remove specific English word-frequency biases—the leakage persists. This proves bias is baked into the semantic meaning of human-authored sentences.
- Bias vs. Difficulty: Using "Dataset Cartography," the authors found that "easy-to-learn" samples are not necessarily the biased ones. A sample can be difficult for a model to learn yet still contain a blatant shortcut.
- Metric Validation: The PECO score correlates strongly (PCC 0.64) with "Bias Recovery," validating it as a reliable metric for dataset quality.
Conclusion
While PECO effectively identifies where bias resides, it currently relies on labeled test sets and human intervention to fix the detected issues. Future work suggests integrating PECO directly into the dataset creation process. By identifying biased clusters in real-time, researchers could provide immediate feedback to crowdworkers, discouraging the use of predictable patterns and eliciting sentences that break detected shortcuts.
Summary updated