[Paper Review] Are you tough enough? Framework for Robustness Validation of Machine Comprehension Systems
This paper proposes a robustness validation framework for machine comprehension systems that evaluates model stability through semantic perturbations using LIME for explainability. By testing model responses to synonym and embedding-based word substitutions, the authors reveal high vulnerability in state-of-the-art models despite strong accuracy, and demonstrate that adversarial training can improve sensitivity to true synonyms by up to 7%.
Deep Learning NLP domain lacks procedures for the analysis of model robustness. In this paper we propose a framework which validates robustness of any Question Answering model through model explainers. We propose that a robust model should transgress the initial notion of semantic similarity induced by word embeddings to learn a more human-like understanding of meaning. We test this property by manipulating questions in two ways: swapping important question word for 1) its semantically correct synonym and 2) for word vector that is close in embedding space. We estimate importance of words in asked questions with Locally Interpretable Model Agnostic Explanations method (LIME). With these two steps we compare state-of-the-art Q&A models. We show that although accuracy of state-of-the-art models is high, they are very fragile to changes in the input. Moreover, we propose 2 adversarial training scenarios which raise model sensitivity to true synonyms by up to 7% accuracy measure. Our findings help to understand which models are more stable and how they can be improved. In addition, we have created and published a new dataset that may be used for validation of robustness of a Q&A model.
Motivation & Objective
- Address the lack of standardized procedures for evaluating robustness in deep learning NLP models.
- Investigate whether state-of-the-art question answering models exhibit human-like understanding beyond word embeddings.
- Develop a systematic method to test model sensitivity to semantic and distributional changes in input questions.
- Improve model robustness through targeted adversarial training scenarios.
- Provide a new public dataset for future robustness evaluation of QA systems.
Proposed method
- Use Locally Interpretable Model-Agnostic Explanations (LIME) to identify and rank the importance of words in input questions.
- Apply two types of input perturbations: replacing key question words with semantically correct synonyms and with nearest neighbors in word embedding space.
- Compare model predictions before and after perturbations to assess robustness and consistency.
- Design two adversarial training scenarios to increase model sensitivity to true synonyms, improving generalization.
- Evaluate model performance using accuracy metrics before and after adversarial fine-tuning.
- Release a new dataset containing perturbed question-answer pairs for robustness benchmarking.
Experimental results
Research questions
- RQ1To what extent do state-of-the-art QA models remain robust when key question words are replaced with semantically correct synonyms?
- RQ2How do models perform when key words are substituted with semantically unrelated but embedding-similar words?
- RQ3Can adversarial training improve a model's sensitivity to true synonyms while maintaining or improving accuracy?
- RQ4What is the relationship between model explainability (via LIME) and robustness to semantic perturbations?
- RQ5How does the proposed framework enable systematic evaluation of model robustness beyond standard accuracy metrics?
Key findings
- Despite high accuracy, state-of-the-art QA models are highly fragile to semantic perturbations, especially when key words are replaced with synonyms.
- Models show significant performance drops when words are replaced with semantically correct synonyms, indicating a lack of true semantic understanding.
- The use of LIME reveals that models rely heavily on surface-level cues rather than deeper semantic reasoning.
- Adversarial training scenarios improved model sensitivity to true synonyms by up to 7% in accuracy, demonstrating potential for robustness enhancement.
- The proposed framework successfully identifies model weaknesses and provides a reproducible method for robustness validation.
- The newly released dataset enables standardized evaluation of QA model robustness across different architectures and training regimes.
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.