Improving the Natural Language Inference Robustness to Hard Dataset by Data Augmentation and Preprocessing
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.
Fields of Study & Subjects
Natural Language Processing Techniques
Topic Modeling
Data Quality and Management
Publication details
- Journal / source
- Poster Volume 0007 The 2026 Twenty-Second International Conference on Intelligent Computing July 23-26, 2026 Toronto, Canada
- Publisher
- The Society of International Computing
- Pages
- 1437–1460
- Publication date
- 1 January 2026
- Language
- EN