Sensitivity as a Complexity Measure for Sequence Classification Tasks
Dan Jurafsky
Top #8 Global AI Researcher · Stanford University
Dan Jurafsky conducts research in computational linguistics, speech & computational social science at Stanford University.
We introduce a theoretical framework for understanding and predicting the complexity of sequence classification tasks, using a novel extension of the theory of Boolean function sensitivity. The sensitivity of a function, given a distribution over input sequences, quantifies the number of disjoint subsets of the input sequence that can each be individually changed to change the output. We argue that standard sequence classification methods are biased towards learning low-sensitivity functions, so that tasks requiring high sensitivity are more difficult.
To that end, we show analytically that simple lexical classifiers can only express functions of bounded sensitivity, and we show empirically that low-sensitivity functions are easier to learn for LSTMs. We then estimate sensitivity on 15 NLP tasks, finding that sensitivity is higher on challenging tasks collected in GLUE than on simple text classification tasks, and that sensitivity predicts the performance both of simple lexical classifiers and of vanilla BiLSTMs without pretrained contextualized embeddings.
Within a task, sensitivity predicts which inputs are hard for such simple models. Our results suggest that the success of massively pretrained contextual representations stems in part because they provide representations from which information can be extracted by low-sensitivity decoders.
Originally published at Transactions of the Association for Computational Linguistics
By Dan Jurafsky (Stanford AI Lab (SAIL)) · 2021-01-15 · Open Access / Academic Attribution.
Add a Worked Example, Practitioner Field Note, or Counter-Thesis
More from Stanford AI Lab (SAIL) & Related Topics
All 49 works from Stanford AI Lab (SAIL) →How Alan Greenspan’s stint as President Ford’s top economic adviser cemented his passion for public service and prepared him to lead the Fed
The Fed chair who served under five US presidents was more practical and less ideological than his detractors claimed.
Innovative Technology and Operations for Alleviating Poverty through Women's Economic Empowerment
Can technology and operations enable the world to achieve various United Nation Sustainable Development Goals? I provide my own perspective on this question…
Discovering the systematic errors made by machine learning models
Discovering systematic errors with cross-modal embeddings In this blog post, we introduce Domino, a new approach for discovering systematic errors made by…
LinkBERT: Improving Language Model Training with Document Link
Language Model Pretraining Language models (LMs), like BERT 1 and the GPT series 2 , achieve remarkable performance on many natural language processing…