Understanding Deep Learning Performance through an Examination of Test Set Difficulty: A Psychometric Case Study

John Lalor, Hao Wu, Tsendsuren Munkhdalai, Hong YuEMNLP 2018

Introduction

In standard machine learning evaluation, performance is typically distilled into a single metric: accuracy. However, this approach treats every test case as an equal point on a scoreboard, ignoring the reality that some questions are inherently harder than others. If a model achieves 90% accuracy, has it mastered the core logic of the task, or has it simply exploited statistical noise in the "low-hanging fruit"? To address this, researchers have turned to Item Response Theory (IRT)—a staple of psychometric testing—to evaluate deep learning models on Natural Language Processing (NLP) tasks.

Methodology

The authors employed the Three-Parameter Logistic (3PL) model from IRT, which characterizes test items based on three factors:

  1. Difficulty ($b$): The ability level required to have a 50% chance of success.
  2. Discrimination ($a$): How well the item distinguishes between high-ability and low-ability test-takers.
  3. Guessing ($c$): The probability of a correct answer by chance.

Human response data (collected via Amazon Mechanical Turk) was used to calibrate these parameters for items in two datasets: the SNLI (Natural Language Inference) and the Stanford Sentiment Treebank (Sentiment Analysis). Three architectures—LSTM, CNN, and Neural Semantic Encoder (NSE)—were then trained on varying amounts of data. Finally, logistic regression was used to determine how training set size and human-estimated difficulty predicted the models' likelihood of success.

Key Results

The study found that human-derived difficulty is a remarkably strong predictor of machine performance. As models are exposed to more training data, they exhibit an "easy-first" learning curve, mastering simple patterns much faster than nuanced ones.

Contour plots showing the log-odds of a correct answer for LSTM, CNN, and NSE models across NLI (top) and Sentiment Analysis (bottom) tasks.

As shown in the contour plots above, there is a clear relationship between training size, item difficulty, and the probability of a correct answer (expressed as log-odds). In the NLI task (top row), all models showed linear improvement, though the slope was significantly steeper for low-difficulty items.

In the Sentiment Analysis task (bottom row), a "Sentiment Paradox" emerged: while easy items became near-certainties for the models, the log-odds for the hardest items actually decreased for the CNN and NSE architectures as training data increased. This suggests that as models specialize in the dominant patterns of a dataset, they may become less capable of handling highly subjective or ambiguous "fringe" cases.

Insights and Future Work

The authors conclude that deep neural network performance "starts to look more human" as training progresses, in the sense that they prioritize learning easy items first. This framework allows researchers to move beyond aggregate scores and perform "error audits" to see exactly where a model's logic breaks down.

While human difficulty is a useful proxy, the authors acknowledge that machines may have unique "machine-difficulty" patterns. Future work could involve investigating why specific items are hard for both humans and machines, and using IRT parameters to optimize "curriculum learning" by presenting easy examples first during training.

Summary updated

BibTeX
@inproceedings{lalor2018understanding,
  author = {John Lalor and Hao Wu and Tsendsuren Munkhdalai and Hong Yu},
  title = {{Understanding Deep Learning Performance through an Examination of Test Set Difficulty: A Psychometric Case Study}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1500},
}
Figure