[Paper Review] Robust Natural Language Inference Models with Example Forgetting.
This paper proposes using example forgetting—a measure of training example hardness—to improve the robustness of BERT-based natural language inference models. By filtering out forgettable examples during training, the approach enhances model generalization on distribution-shifted benchmarks like HANS, with the large BERT variant showing improved robustness even after optimization.
We investigate whether example forgetting, a recently introduced measure of hardness of examples, can be used to select training examples in order to increase robustness of natural language understanding models in a natural language inference task (MNLI). We analyze forgetting events for MNLI and provide evidence that forgettable examples under simpler models can be used to increase robustness of the recently proposed BERT model, measured by testing an MNLI trained model on HANS, a curated test set that exhibits a shift in distribution compared to the MNLI test set. Moreover, we show that, the “large” version of BERT is more robust than its “base” version but its robustness can still be improved with our approach.
Motivation & Objective
- To investigate whether example forgetting can improve model robustness in natural language inference.
- To evaluate if selecting examples based on forgetting scores enhances generalization under distribution shift.
- To compare the robustness of BERT base and large models and assess whether the proposed method improves both.
Proposed method
- Example forgetting is computed as the drop in model confidence on a training example after fine-tuning.
- Forgettable examples are identified using a simpler model (e.g., BiLSTM) trained on MNLI data.
- The BERT model is retrained on a filtered subset of MNLI data, excluding the most forgettable examples.
- Robustness is evaluated using the HANS benchmark, which tests for shortcut learning and distribution shift.
- The approach is applied to both BERT base and BERT large variants to compare performance gains.
Experimental results
Research questions
- RQ1Can example forgetting be used to identify and filter out hard or misleading training examples to improve model robustness?
- RQ2Does filtering forgettable examples during BERT pretraining improve performance on out-of-distribution benchmarks like HANS?
- RQ3Is the robustness improvement consistent across different BERT architectures, such as base and large?
Key findings
- Filtering forgettable examples from MNLI training data improves BERT's performance on the HANS benchmark, indicating enhanced robustness.
- The BERT large model shows higher inherent robustness than BERT base, but both benefit from the example forgetting-based filtering.
- The approach reduces reliance on linguistic shortcuts, as evidenced by improved HANS scores after filtering.
- The improvement is measurable and consistent, even though the large BERT model already performs well on HANS.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.