TL;DR
Natural Language Inference (NLI) models are often "cheating" by exploiting single-sentence shortcuts rather than performing actual logical reasoning. This paper introduces PECO, a novel model-driven metric that quantifies this "label leakage" and reveals that even modern, supposedly "debiased" datasets remain heavily compromised.
What Problem Does This Paper Address?
Natural Language Inference is intended to be a pairwise task: given a premise (e.g., "A man is sleeping") and a hypothesis (e.g., "A person is resting"), a model must determine if the relationship is entailment, contradiction, or neutral.
In an ideal dataset, it should be impossible to guess the label by looking at only one of the sentences. However, human annotators often introduce "shortcuts." For example, they might frequently use the word "not" when writing contradictions. Models quickly learn these spurious correlations (label leakage), allowing them to achieve high accuracy in a Single Sentence Condition (SSC). This renders NLI benchmarks "saturated" (high scores) but "unsolved" (no real reasoning). While researchers have tried to build "debiased" datasets since 2018, this paper asks: Have we actually fixed the problem, and how can we measure it objectively?
Methods
The authors propose PECO (Progressive Evaluation of Cluster Outliers), a model-driven technique to detect and visualize leakage.
- Dual Training: They train models in the standard Paired-Sentence Condition (PSC) and the "blind" Single-Sentence Condition (SSC).
- Agreement Metrics: They introduce metrics like NBA (Normal-Bias Agreement) and TRA (Token Relevance Agreement) to see if the full model and the "cheating" model are actually looking at the same features.
- The PECO Score:
- Embedding: They take the elicited sentences (usually the hypotheses) and pass them through a PSC-trained model to get latent representations.
- Clustering: They use k-means to group these embeddings.
- Divergence: For each cluster, they measure how much the label distribution deviates from the global average (using L2 or KL divergence).
- Integration: The PECO score is the area under the curve of these divergences across various thresholds. A high score means the model's internal representation space has "biased regions" where one label is disproportionately predictable.
Datasets
The study evaluates 10 major NLI datasets across 17 conditions:
- Classic Benchmarks: SNLI, MNLI, SICK.
- Cross-Lingual: XNLI (14 languages).
- Fact-Checking: FEVER.
- Adversarial/Debiased: ANLI (rounds 1-3), CAugNLI (counterfactually augmented), and recent "debiased" versions of SNLI and MNLI.
Key Insights and Ideas
- Leakage is Persistent: Even datasets specifically designed to be "hard" (like ANLI) or "debiased" (like SNLI-debiased) still exhibit significant label leakage.
- It’s Semantic, Not Just Surface-Level: By testing on XNLI (translated into 14 languages), the authors found that leakage persists across languages. This suggests that the bias isn't just about specific English words (like "not"), but about the underlying meaning and concepts annotators use when they are asked to write a contradiction versus an entailment.
- Models Want to Cheat: There is a strong correlation (PCC 0.57) between how much a model "reasons" like a biased model (TRA) and its overall accuracy. This confirms that standard NLI models are actively relying on these artifacts to boost performance.
- Bias is Orthogonal to Difficulty: Using "Dataset Cartography," the authors show that some samples are "easy to learn" because they are simple, while others are "easy" specifically because they contain biased shortcuts. PECO successfully separates these two groups.
Key Results
- SNLI vs. CAugNLI: SNLI shows massive biased regions in its latent space (PECO score ~14), whereas the counterfactually augmented CAugNLI is much cleaner (PECO score ~5.4).
- The ANLI Outlier: In ANLI Round 3, the SSC model achieves 48.1% accuracy (nearly matching the full PSC model's 49.8%). However, the two models often get different samples right. This suggests that while leakage is present, the full model isn't always using the same shortcuts as the hypothesis-only model.
- Predictive Power: The PECO score has a high correlation (PCC 0.64) with "Bias Recovery" (how much of the full model's performance can be recovered using only one sentence). This makes PECO a reliable diagnostic tool for dataset quality.
Limitations and Future Work
- Test-Set Reliance: PECO currently requires a labeled test set to evaluate the model's representation space.
- Computational Cost: The method involves training multiple models and performing clustering/PCA, which is more resource-intensive than simple n-gram frequency analysis.
- Future Direction: The authors suggest using PECO "in-the-loop" during dataset creation. If an annotator writes a sentence that falls into a "biased region" of the latent space, the system could immediately flag it and ask for a more diverse or counter-factual example to neutralize the leakage.
For more details, you can find the code at github.com/michaelsaxon/DatasetAnalysis.
Summary updated