Understanding by Understanding Not: Modeling Negation in Language Models

05/07/2021
by   Arian Hosseini, et al.
0

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 the negated NLI benchmarks.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset