Breaking NLP: Using Morphosyntax, Semantics, Pragmatics and World Knowledge to Fool Sentiment Analysis Systems
Summary
The authors, a team from The Ohio State University, took part as "breakers" in the "Build It Break It" sentiment analysis competition held at EMNLP in 2017. Their goal was to probe how well "builder" sentiment classifiers handle linguistic structure. They took sentences from the blind test set of movie-review snippets and made small edits to each one, producing minimal pairs where a system should get exactly one member wrong. The edits followed four linguistically motivated strategies:
- morphosyntactic changes, such as negation, comparatives and prefixes like un- or anti-;
- semantic changes, such as too/enough, modals, embedding under operators, antonyms and swapping the film's genre;
- pragmatic tricks, such as scare quotes, Gricean implicatures and reordering clauses;
- edits whose sentiment depends on world knowledge.
The submitted pairs fooled the builder systems most of the time. Semantic and pragmatic edits caused the most trouble. This suggests that even modern sentiment models stay brittle when faced with tiny, adversarial-style edits. The authors argue that such curated example sets can guide the development of more robust systems.
Key points
- The team submitted 99 minimal pairs, which broke systems at an average rate of 72.6%. Their weighted F1 of 28.67 placed them second among four breaker teams.
- 72 of the 99 pairs broke more than half of the six builder systems. All 12 same-sentiment pairs were among the less effective cases.
- Putting a single praise word in scare quotes (e.g., "terrific") broke every builder system in both pairs that used this trick.
- Lexical-semantic and world-knowledge edits proved less challenging than expected. Failed pairs often kept negative keywords that gave the answer away.
- The authors ran no significance tests and note several limitations. The source data had only 521 examples, which made rare constructions hard to find. They also could not empirically verify how natural their edited sentences were.
Cited by
- ACES: Translation Accuracy Challenge Sets for Evaluating Machine Translation Metrics
- Multilingual Irony Detection with Dependency Syntax and Neural Models
- Probing What Different NLP Tasks Teach Machines about Function Word Comprehension
- The Gricean Maxims in NLP — A Survey
- Machine Translation Meta Evaluation through Translation Accuracy Challenge Sets
- Evaluating Universal Dependency Parser Recovery of Predicate Argument Structure via CompChain Analysis
Cite
@inproceedings{mahler2017breaking,
title = {{Breaking NLP: Using Morphosyntax, Semantics, Pragmatics and World Knowledge to Fool Sentiment Analysis Systems}},
author = {Mahler, Taylor and Cheung, Willy and Elsner, Micha and King, David and Marneffe, Marie-Catherine de and Shain, Cory and Stevens-Guille, Symon and White, Michael},
booktitle = {Proceedings of the First Workshop on Building Linguistically Generalizable NLP Systems},
year = {2017},
doi = {10.18653/v1/w17-5405},
url = {https://doi.org/10.18653/v1/w17-5405}
}References
- Rajesh Bhatt and Shoichi Takahashi. 2011. Reduced and unreduced phrasal comparatives. Natural Language & Linguistic Theory 29(3):581–620. find
- Hope C. Dawson and Michael Phelan, editors. 2016. Language Files. The Ohio State University Press, 12th edition. find
- H. Paul Grice. 1975. Logic and conversation. In P Cole and J Morgan, editors, Syntax and Semantics 3: Speech Acts, Academic Press, New York, pages 64–75. find
- Christopher Kennedy. 2002. Comparative deletion and optimality in syntax. Natural Language & Linguistic Theory 20(3):553–621. find
- Jonathan K Kummerfeld, David Hall, James R Curran, and Dan Klein. 2012. Parser showdown at the wall street corral: An empirical investigation of error types in parser output. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Lan… find our card
- Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2014. Intriguing properties of neural networks. ICLR https://doi.org/abs/1312.6199. ↗ our card
- Byron C. Wallace, Do Kook Choe, Laura Kertz, and Eugene Charniak. 2014. Humans require context to infer ironic intent (so computers probably do, too). In ACL (2). pages 512–516. find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/mahler-2017-breaking-nlp-morphosyntax-semantics-pragmatics/