Improving the Natural Language Inference Robustness to Hard Dataset by Data Augmentation and Preprocessing

Authors: Zijiang YANG
Conference: ICIC 2026 Posters, Toronto, Canada, July 22-26, 2026
Pages: -
Keywords: Natural Language Inference, Robustness, Data Augmentation, Pre-processing

Abstract

Natural Language Inference (NLI) is the task of inferring whether the hypothesis can be justified by the given premise.
Basically, we classify the hypothesis into three labels(entailment, neutrality and contradiction) given the premise.
NLI was well studied by the previous researchers. A number of models, especially the transformer based ones, have achieved significant improvement on these tasks.
However, it is reported that these models are suffering when they are dealing with hard datasets. Particularly, they perform much worse when dealing with unseen out-of-distribution premise and hypothesis. They may not understand the semantic content but learn the spurious correlations. In this work, we propose the data augmentation and preprocessing methods to solve the word overlap, numerical reasoning and length mismatch problems. These methods are general methods that do not rely on the distribution of the testing data and they help improve the robustness of the models. The experimental results show that the proposed method achieves more than 12\% classification accuracy improvement on the HANS dataset and 6\% to 9\% improvement on the ANLI dataset. The notable improvement is achieved by only training on extra 3\% data.
📄 View Full Paper (PDF) 📋 Show Citation