In the domain of Natural Language Inference (NLI), especially in tasks involving the classification of multiple input texts, the Cross-Entropy Loss metric is widely employed as a standard for error measurement. However, this metric falls short in effectively evaluating a model's capacity to understand language entailments. In this study, we introduce an innovative technique for generating a contrast set for the Stanford Natural Language Inference (SNLI) dataset. Our strategy involves the automated substitution of verbs, adverbs, and adjectives with their synonyms to preserve the original meaning of sentences. This method aims to assess whether a model's performance is based on genuine language comprehension or simply on pattern recognition. We conducted our analysis using the ELECTRA-small model. The model achieved an accuracy of 89.9% on the conventional SNLI dataset but showed a reduced accuracy of 72.5% on our contrast set, indicating a substantial 17% decline. This outcome led us to conduct a detailed examination of the model's learning behaviors. Following this, we improved the model's resilience by fine-tuning it with a contrast-enhanced training dataset specifically designed for SNLI, which increased its accuracy to 85.5% on the contrast sets. Our findings highlight the importance of incorporating diverse linguistic expressions into datasets for NLI tasks. We hope that our research will encourage the creation of more inclusive datasets, thereby contributing to the development of NLI models that are both more sophisticated and effective.
Enhancing NLP Robustness and Generalization through LLM-Generated Contrast Sets: A Scalable Framework for Systematic Evaluation and Adversarial Training
College of Natural Sciences, The University of Texas at Austin(德克萨斯大学奥斯汀分校自然科学学院)
STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Models
Department of Computer Science, University of Southern California(计算机科学系,南加州大学);Information Sciences Institute, University of Southern California(信息科学研究所,南加州大学)
Evaluating Models' Local Decision Boundaries via Contrast Sets
Allen Institute for AI(艾伦人工智能研究所);Cornell University(康奈尔大学);Tel-Aviv University(特拉维夫大学);University of Pennsylvania(宾夕法尼亚大学);University of Washington(华盛顿大学);UC Irvine(加州大学欧文分校);UC Berkeley(加州大学伯克利分校);University of Edinburgh(爱丁堡大学);Stanford University(斯坦福大学);Bar-Ilan University(巴伊兰大学)
CROC: Evaluating and Training T2I Metrics with Pseudo- and Human-Labeled Contrastive Robustness Checks
University of Mannheim(曼海姆大学);University of Technology Nuremberg(纽伦堡技术大学);Max Planck Institute for Informatics, Saarland Informatics Campus(马克斯·普朗克信息研究所,萨尔兰信息校园)
Automatic Generation of Contrast Sets from Scene Graphs: Probing the Compositional Consistency of GQA
School of Computer Science and Engineering, The Hebrew University of Jerusalem(耶路撒冷希伯来大学计算机科学与工程学院);Department of Computer Science, Ben Gurion University(本·古里安大学计算机科学系)
Evaluating Multiway Multilingual NMT in the Turkic Languages
Turkic Interlingua(突厥语国际语);University of South Florida(南佛罗里达大学);University of Helsinki(赫尔辛基大学);Tashkent State University of Uzbek Language and Literature(塔什干国立乌兹别克语言文学大学);Namangan State University(纳曼干国立大学);NYU(纽约大学);Google Research(谷歌研究院);Indiana University(印第安纳大学)
Evaluating computational models of infant phonetic learning across languages
School of Informatics, University of Edinburgh(爱丁堡大学信息学院);Department of Linguistics & UMIACS, University of Maryland(马里兰大学语言学系与UMIACS);E&E Engineering, Stellenbosch University(斯泰伦博斯大学电气与电子工程系)