[Paper Review] Interpretation of Black Box NLP Models: A Survey
This survey provides a comprehensive overview of interpretability methods for black-box NLP models, categorizing techniques into five main approaches—feature importance, adversarial examples, counterfactual explanations, local surrogate models, and causal methods. It highlights the synergy between methods, identifies key challenges like lack of standardized evaluation, and emphasizes user-centered interpretability for ethical, reliable, and fair AI applications in high-stakes domains.
An increasing number of machine learning models have been deployed in domains with high stakes such as finance and healthcare. Despite their superior performances, many models are black boxes in nature which are hard to explain. There are growing efforts for researchers to develop methods to interpret these black-box models. Post hoc explanations based on perturbations, such as LIME, are widely used approaches to interpret a machine learning model after it has been built. This class of methods has been shown to exhibit large instability, posing serious challenges to the effectiveness of the method itself and harming user trust. In this paper, we propose S-LIME, which utilizes a hypothesis testing framework based on central limit theorem for determining the number of perturbation points needed to guarantee stability of the resulting explanation. Experiments on both simulated and real world data sets are provided to demonstrate the effectiveness of our method.
Motivation & Objective
- To address the critical need for interpretability in high-stakes NLP applications such as healthcare, criminal justice, and finance.
- To identify and categorize interpretability methods in NLP, including feature importance, adversarial examples, counterfactuals, surrogate models, and causal approaches.
- To examine the limitations of current interpretability techniques, particularly the lack of standardized evaluation metrics and user-centric design.
- To highlight ethical concerns such as bias and fairness, especially in models trained on skewed or biased datasets.
- To advocate for interpretability methods that support human understanding, accountability, and trust in model decisions.
Proposed method
- Classifies interpretability methods into five categories: feature importance, adversarial examples, counterfactual explanations, local surrogate models, and causal methods.
- Reviews gradient-based and saliency-based methods (e.g., Integrated Gradients, Grad-CAM) for identifying influential input tokens.
- Examines adversarial examples (AE) as perturbations in input space to test model robustness and generate explanations via input perturbation.
- Explores counterfactual explanations (CE) using masked input and control commands (e.g., negation) to generate alternative inputs that alter predictions.
- Utilizes pre-trained language models like GPT-2 and T5 (e.g., in Polyjuice and MiCE) to generate semantically coherent counterfactuals.
- Applies causal mediation analysis and probing techniques to isolate the effect of specific features or concepts in model representations.
Experimental results
Research questions
- RQ1How can we evaluate the interpretability of NLP models in a way that is meaningful to end-users with varying levels of expertise?
- RQ2What are the key differences between causal and non-causal interpretability methods in NLP, and how do they relate to model robustness?
- RQ3To what extent do existing interpretability methods address ethical concerns such as bias and fairness in model predictions?
- RQ4How can counterfactual and adversarial examples be used to improve model transparency and reliability?
- RQ5Why is there a lack of standardized quantitative evaluation metrics for interpretability, and how can this be addressed?
Key findings
- There is no universally accepted definition or evaluation metric for interpretability, leading to inconsistent benchmarking across studies.
- Causal interpretability methods such as counterfactuals and mediation analysis show strong potential for explaining model decisions by isolating feature effects.
- Methods like MiCE and Polyjuice use fine-tuned T5 and GPT-2 models to generate semantically coherent counterfactuals with high confidence and interpretability.
- Adversarial examples and input perturbations reveal model vulnerabilities and help identify spurious correlations, such as snow patches in image-based NLP tasks.
- Natural language explanations and counterfactuals are more accessible to non-expert users than model parameters or attention maps.
- Despite progress, most interpretability methods remain focused on model developers rather than end-users, highlighting a gap in user-centered design.
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.