ConjNLI:基于连接句的自然语言推理
ConjNLI: Natural Language Inference Over Conjunctive Sentences
摘要:
关于合取句中合取词的推理对于更深入地理解英语中的合取词以及它们的用法和语义与合取和析取布尔逻辑的区别是很重要的。现有的NLI压力测试不考虑连接词的非布尔用法,而是使用模板来测试这种模型知识。因此,我们介绍了ConjNLI,一个挑战压力测试的自然语言推理的连接语句,其中的前提不同的假设的连接词删除,添加,或替换。这些句子包含单个和多个协调连词(“and”,“or”,“but”,“nor”)与量词,否定词的实例,并需要对连词进行各种布尔和非布尔推理。我们发现,像RoBERTa这样的大规模预训练语言模型不能很好地理解连接语义,并采用浅层语义学来对这些句子进行推理。作为一些初步的解决方案,我们首先提出了一个迭代对抗微调方法,使用综合创建的训练数据的基础上布尔和非布尔代数。我们还提出了一个直接的模型进步,使Roberta知道谓词语义角色。虽然我们观察到一些性能的提高,ConjNLI仍然是目前的方法具有挑战性,从而鼓励有趣的未来工作,更好地理解合取。我们的数据和代码可在https://github.com/swarnaHub/ConjNLI上公开获取
英文摘要:
Reasoning about conjuncts in conjunctive sentences is important for a deeper understanding of conjunctions in English and also how their usages and semantics differ from conjunctive and disjunctive boolean logic. Existing NLI stress tests do not consider non-boolean usages of conjunctions and use templates for testing such model knowledge. Hence, we introduce ConjNLI, a challenge stress-test for natural language inference over conjunctive sentences, where the premise differs from the hypothesis by conjuncts removed, added, or replaced. These sentences contain single and multiple instances of coordinating conjunctions ("and", "or", "but", "nor") with quantifiers, negations, and requiring diverse boolean and non-boolean inferences over conjuncts. We find that large-scale pre-trained language models like RoBERTa do not understand conjunctive semantics well and resort to shallow heuristics to make inferences over such sentences. As some initial solutions, we first present an iterative adversarial fine-tuning method that uses synthetically created training data based on boolean and non-boolean heuristics. We also propose a direct model advancement by making RoBERTa aware of predicate semantic roles. While we observe some performance gains, ConjNLI is still challenging for current methods, thus encouraging interesting future work for better understanding of conjunctions. Our data and code are publicly available at: https://github.com/swarnaHub/ConjNLI
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。