Understanding by Understanding Not: Modeling Negation in Language Models
About
Negation is a core construction in natural language. Despite being very successful on many tasks, state-of-the-art pre-trained language models often handle negation incorrectly. To improve language models in this regard, we propose to augment the language modeling objective with an unlikelihood objective that is based on negated generic sentences from a raw text corpus. By training BERT with the resulting combined objective we reduce the mean top~1 error rate to 4% on the negated LAMA dataset. We also see some improvements on the negated NLI benchmarks.
Arian Hosseini, Siva Reddy, Dzmitry Bahdanau, R Devon Hjelm, Alessandro Sordoni, Aaron Courville• 2021
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Natural Language Inference | RTE Neg | Accuracy (RTE Neg)74.5 | 14 | |
| Natural Language Inference | MNLI Neg | Accuracy60.9 | 14 | |
| Natural Language Inference | SNLI-Neg | Accuracy46 | 14 |
Showing 3 of 3 rows