NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ILDAE: Instance-Level Difficulty Analysis of Evaluation Data

Neeraj Varshney, Swaroop Mishra, Chitta Baral

Introduction

In the current natural language processing (NLP) landscape, model performance is typically measured against massive, static benchmarks. While these benchmarks have driven significant progress, they suffer from three critical flaws: prohibitive computational costs for evaluation, the presence of "trivial" or "erroneous" instances that saturate scores without providing meaningful signal, and a lack of granularity that masks a model's true robustness. Standard accuracy metrics treat every test question as equal, failing to distinguish between a model that solves a complex reasoning task and one that merely exploits a dataset artifact.

To address these challenges, the ILDAE (Instance-Level Difficulty Analysis of Evaluation data) framework introduces a "model-in-the-loop" approach to quantify the difficulty of individual test instances. By understanding the difficulty landscape of a dataset, researchers can optimize evaluation efficiency, identify dataset errors, and better predict performance on out-of-domain (OOD) data.

Methodology: The Difficulty Score

The core of the ILDAE framework is the Difficulty Score ($d_i$). To ensure this score reflects inherent task difficulty rather than the biases of a single architecture, the authors utilize an ensemble of 120 models based on RoBERTa-large. These models are trained under diverse conditions to capture different facets of learning:

  • Varying Data Volume: Models are trained on subsets ranging from 5% to 100% of the training data.
  • Data Corruption: To simulate noise, 2% to 25% of training labels are intentionally flipped.
  • Training Dynamics: Checkpoints are captured at every epoch to observe how confidence evolves during the learning process.

The difficulty score for any given test instance is defined as $1$ minus the average confidence the ensemble has in the ground-truth answer. An instance where the ensemble is consistently confused or incorrect is categorized as "hard," while high-confidence instances are categorized as "easy."

Experimental Setup

The researchers validated ILDAE across 23 diverse NLP datasets, spanning several task categories:

  • Natural Language Inference (NLI): SNLI, MNLI, DNLI, and Adversarial NLI.
  • Question Answering & Reasoning: ARC (Easy and Challenge), SocialIQA, CSQA, Winogrande, and SWAG.
  • Paraphrase & Sentiment: QQP, MRPC, SST-2, and PAWS.
  • Linguistic Analysis: CoLA (linguistic acceptability) and AG’s News (classification).

Key Insights

1. The Universality of Difficulty

A pivotal finding of the study is that difficulty is largely architecture-agnostic. Although the scores were generated using a RoBERTa-based ensemble, they generalized remarkably well to 27 other models, including BERT, XLNet, and ELECTRA. This suggests that "hard" questions represent fundamental challenges in linguistic reasoning rather than specific model weaknesses.

2. The "Moderate" Sweet Spot for Evaluation

The analysis reveals that neither the easiest nor the hardest questions are ideal for ranking models. Trivial questions are solved by all competitive models, providing no discriminative power. Conversely, the most difficult questions are often "impossible" due to label errors or ambiguity, resulting in random-guess performance across the board. The researchers found that selecting a majority of "moderate" difficulty instances provides the most reliable signal for distinguishing between model capabilities.

3. Identifying Dataset Artifacts

ILDAE highlights how models exploit shortcuts. In NLI datasets, for example, "contradiction" instances were found to be significantly easier than "entailment" or "neutral" ones. This suggests that models may be latching onto simple linguistic cues—such as the presence of the word "not"—rather than performing deep semantic reasoning.

Results and Impact

Efficiency and Cost Reduction

By using ILDAE to select the most informative 5% of test instances, the researchers achieved a 0.93 Kendall correlation with the rankings produced by the full dataset. This 95% reduction in data requirements offers a path toward significantly lower carbon footprints and faster iteration cycles for leaderboard maintainers.

Dataset Integrity and Repair

High difficulty scores often serve as a diagnostic tool for dataset quality. Upon inspecting the most difficult instances in the SNLI dataset, the authors discovered that 72% were erroneous (mislabeled or ambiguous). By employing a human-in-the-loop to fix these errors and "harden" trivial examples, the researchers transformed the dataset. On these repaired instances, average model accuracy rose from a near-failure 13.65% to a logical 69.9%.

Predicting Out-of-Domain (OOD) Performance

Standard accuracy on a clean test set is often a poor predictor of real-world performance. By weighting accuracy based on instance difficulty, the authors improved the correlation with OOD performance by 5.2%, providing a more realistic metric for model robustness.

Limitations and Future Work

While powerful, ILDAE faces challenges with certain multiple-choice formats, such as Winogrande, where models often perform near the random-guess baseline. In such cases, it becomes difficult to distinguish between genuine task difficulty and noise. Additionally, the initial overhead of training 120 models is significant, though it remains a one-time cost per dataset. Future research will focus on automating the dataset repair process and using ILDAE to guide the creation of "un-cheatable" benchmarks from the outset.

Summary updated

BibTeX
@inproceedings{varshney2022ildae,
  author = {Neeraj Varshney and Swaroop Mishra and Chitta Baral},
  title = {{ILDAE: Instance-Level Difficulty Analysis of Evaluation Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.240},
}
Figure