MASE: Interpretable NLP Models via Model-Agnostic Saliency Estimation
Zhou Yang, Shunyan Luo, Jiazhen Zhu, Fang Jin
TL;DR
This work tackles the challenge of interpreting NLP deep models by introducing Model-agnostic Saliency Estimation (MASE), which performs perturbations in the embedding space via Normalized Linear Gaussian Perturbations (NLGP) to obtain local, model-agnostic explanations. MASE yields a saliency vector by fitting a local linear model around the input embeddings and supports a sparse variant (MASE_Sparse) for faster, focused interpretations. The framework unifies several existing explanation methods (e.g., LIME, SHAP, Integrated Gradients) under a common perturbation-and-approximation paradigm and demonstrates superior delta-accuracy faithfulness on LSTM and BERT models across IMDB and Reuters. The approach provides a practical, theoretically-grounded tool for transparent NLP decision-making with broad applicability to text classification tasks.
Abstract
Deep neural networks (DNNs) have made significant strides in Natural Language Processing (NLP), yet their interpretability remains elusive, particularly when evaluating their intricate decision-making processes. Traditional methods often rely on post-hoc interpretations, such as saliency maps or feature visualization, which might not be directly applicable to the discrete nature of word data in NLP. Addressing this, we introduce the Model-agnostic Saliency Estimation (MASE) framework. MASE offers local explanations for text-based predictive models without necessitating in-depth knowledge of a model's internal architecture. By leveraging Normalized Linear Gaussian Perturbations (NLGP) on the embedding layer instead of raw word inputs, MASE efficiently estimates input saliency. Our results indicate MASE's superiority over other model-agnostic interpretation methods, especially in terms of Delta Accuracy, positioning it as a promising tool for elucidating the operations of text-based models in NLP.
