计算机科学 > 计算与语言
[提交于 2020年12月30日 (v1),最后修订于 2021年7月26日 (此版本, v2)]
标题:Out of Order: How Important Is The Sequential Order of Words in a Sentence in Natural Language Understanding Tasks?
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Do state-of-the-art natural language understanding models care about word order - one of the most important characteristics of a sequence? Not always! We found 75% to 90% of the correct predictions of BERT-based classifiers, trained on many GLUE tasks, remain constant after input words are randomly shuffled. Despite BERT embeddings are famously contextual, the contribution of each individual word to downstream tasks is almost unchanged even after the word's context is shuffled. BERT-based models are able to exploit superficial cues (e.g. the sentiment of keywords in sentiment analysis; or the word-wise similarity between sequence-pair inputs in natural language inference) to make correct decisions when tokens are arranged in random orders. Encouraging classifiers to capture word order information improves the performance on most GLUE tasks, SQuAD 2.0 and out-of-samples. Our work suggests that many GLUE tasks are not challenging machines to understand the meaning of a sentence.