Wang 2018 - Diagnostic Results and Analysis

Summary

Each baseline’s MNLI classifier is run on the diagnostic set (Table 5, ). Absolute performance is poor (best overall 28 vs human 80). Models do best on Predicate-Argument Structure and worst on Logic; attention matters more than ELMo or CoVe for the diagnostic; models handle universal quantification and morphological negation through lexical cues but fail on double negation (without ELMo), restrictivity and downward monotonicity, where they apply the subsequence shortcut in the wrong direction.

Overview

Applying the NLI classifier trained on MNLI (single-task) or the multi-task model’s MNLI head to the diagnostic data gives a profile of linguistic strengths and weaknesses that the aggregate score hides.

Main Content

Table 5: diagnostic results ()

Coarse categories: Lexical Semantics (LS), Predicate-Argument Structure (PAS), Logic (L), Knowledge (K). Fine-grained examples: Universal Quantification (UQuant), Morphological Negation (MNeg), Double Negation (2Neg), Anaphora/Coreference (Coref), Restrictivity (Restr), Downward Monotone (Down).

ModelAllLSPASLKUQuantMNeg2NegCorefRestrDown
Single-task training
BiLSTM21252416167053421-1512
+ELMo202021141770204233-26-3
+CoVe21192320187147-133-158
+Attn252430201450472138-8-3
+Attn, ELMo283035231485204233-26-3
+Attn, CoVe24292918127750118-112
Multi-task training
BiLSTM20132414227117-831-158
+ELMo21202119217160222012
+CoVe1815111827714074008
+Attn1813241116711-1231-158
+Attn, ELMo22182613197027531-26-3
+Attn, CoVe18162516137126-83398
Pre-trained sentence representation
CBoW9613510301328-15-11
Skip-Thought12223119616-230-150
InferSent18202015147750-2015-15-9
DisSent16161913157043-1120-36-9
GenSen20282614127857221-1512

(Transcription note: the DisSent “Down” cell is printed “-09” in the source PDF and is read here as -9.)

Findings (Sec. 7)

Coarse categories.

  • Overall performance is low for every model; the highest total score, 28, “still denotes poor absolute performance”.
  • Performance tends to be higher on Predicate-Argument Structure and lower on Logic, though numbers are not closely comparable across categories.
  • Unlike the main benchmark, multi-task models are almost always outperformed by their single-task counterparts on the diagnostic: likely “destructive interference between MNLI and the other tasks” under the simple multi-task regime.
  • Models trained on GLUE tasks largely outperform pre-trained sentence-representation models, except GenSen.
  • Attention has a larger influence on diagnostic scores than ELMo or CoVe, taken to indicate attention is especially important for generalization in NLI.

Fine-grained.

  • Universal quantification is handled relatively well (scores around 70, best 85 for single-task +Attn,ELMo): lexical cues such as “all” often suffice. Morphological negation likewise has strong lexical cues.
  • Double negation is especially hard for GLUE-trained models that use only GloVe; ELMo (42), and to some degree CoVe, ameliorates this.
  • Attention has mixed effects and models with attention tend to struggle with downward monotonicity: they are sensitive to hypernym/hyponym substitution and word deletion as a signal of entailment, but predict it in the wrong direction, as if the changed word were in an upward-monotone context. This agrees with McCoy and Linzen (2019): systems use the subsequence relation between premise and hypothesis as a heuristic shortcut.
  • Restrictivity examples, which often depend on quantifier scope nuances, are especially difficult for almost all models (negative scores of -15 to -36 for most).

Interpretation. Attention may help out-of-domain performance, and transfer methods like ELMo and CoVe encode linguistic information specific to their supervision signal; but increased representational capacity may lead to overfitting, as with attention models in downward-monotone contexts.

Conclusion (Sec. 8)

GLUE is a platform and collection of resources for evaluating and analyzing NLU systems. Models trained jointly on its tasks outperform the combined performance of per-task models in aggregate. Attention and transfer methods such as ELMo combine to beat the best sentence-representation model but “still leave room for improvement”. On the diagnostic set models “fail (often spectacularly) on many linguistic phenomena”. “The question of how to design general-purpose NLU models remains unanswered, and we believe that GLUE can provide fertile soil for addressing this challenge.”

Examples

Reading a negative

A diagnostic score of on Restrictivity (single-task +ELMo) is worse than chance (): the model is systematically anticorrelated with the gold labels. This pattern signals a confident wrong heuristic, not mere ignorance. Because chance-corrected correlation can be negative whereas accuracy cannot be below the worst class rate, MCC-style metrics expose this. Five of six single-task models score at or below on Restrictivity.

import numpy as np
# fraction of models with negative R3 on Restrictivity, from Table 5
restr = [-15,-26,-15,-8,-26,-1, -15,0,0,-15,-26,9, -15,-15,-15,-36,-15]
print(sum(r<0 for r in restr)/len(restr), np.median(restr))

Connections

Relevance to marketing measurement. The ranking reversal between aggregate and diagnostic is a cautionary example for MMM selection: a model that wins the average hold-out error may fail systematically on a specific regime (for example promotional weeks), and only a tagged diagnostic set reveals it.

See Also