Abstract
Saliency methods are essential tools for interpreting the "black box" of neural language models by highlighting influential input words. However, the lack of standardized quantitative evaluation makes it difficult to trust these explanations. This paper proposes a rigorous benchmark based on two criteria: plausibility (alignment with human linguistic logic) and faithfulness (consistency with the model's internal mechanics). Evaluating Vanilla Gradient, SmoothGrad, and Integrated Gradients across four datasets, the study finds that while advanced methods like SmoothGrad often yield better results, their reliability is highly sensitive to model architecture, with Transformers showing superior plausibility over recurrent models.
Introduction
Deep Learning models in NLP are often criticized for their lack of transparency. Saliency methods attempt to solve this by identifying which words most influence a prediction. However, different methods often produce conflicting explanations for the same input. Historically, researchers have relied on qualitative "vibes-based" inspections—if an explanation looks right to a human, it is assumed to be correct. This paper argues that a "plausible" explanation is not necessarily a "faithful" one. To address this, we introduce a quantitative framework to measure how well saliency methods reflect both human logic and actual model behavior.
Methodology and Datasets
We evaluate three gradient-based saliency methods: Vanilla Gradient (V), SmoothGrad (SG), and Integrated Gradients (IG). The evaluation is built on two pillars:
- Plausibility: Measured via "representation probing." We replace a model's final layer with a probe trained on linguistic features (e.g., subject-verb number agreement). A saliency method is plausible if it highlights the correct "cue" words (e.g., the subject) over "attractor" words (distractors).
- Faithfulness: Evaluated through consistency tests. Model Consistency checks if saliency maps remain stable when a model is distilled into a smaller version. Input Consistency checks stability when irrelevant input parts are modified.
The benchmark utilizes four datasets covering Number and Gender Agreement:
- Number Agreement: Penn Treebank (PTB) and Syneval.
- Gender Agreement: CoNLL-2012 and Winobias.
Key Results and Insights
Our quantitative analysis yielded several critical findings regarding the state of model interpretability:
The Superiority of Advanced Methods
SmoothGrad (SG) and Integrated Gradients (IG) consistently outperformed Vanilla Gradients across nearly all plausibility benchmarks. These methods provide more stable and human-aligned explanations by averaging gradients or integrating them along a path, reducing the noise inherent in raw gradients.
The Transformer Advantage
A significant "architecture gap" was observed. Transformers proved far more plausible than LSTMs or QRNNs, particularly on long-distance dependencies like the CoNLL document-level task. For instance, on the CoNLL dataset, the Transformer's plausibility score was often double that of the LSTM (e.g., ~0.82 vs ~0.28 for some configurations). We hypothesize that the recurrent nature of LSTMs/QRNNs causes gradient signals to diminish over long sequences, making them harder to interpret even when their predictions are accurate.
Plausibility vs. Faithfulness
A crucial takeaway is that high plausibility does not guarantee faithfulness. A saliency method can produce an explanation that perfectly matches human intuition while failing to reflect the model's actual internal logic. This divergence suggests that "looking right" is an insufficient metric for trust.
Conclusion and Limitations
While this benchmark provides a much-needed quantitative foundation, limitations remain. The current plausibility tests focus on specific "cue" words and do not yet account for the importance of the entire sentence context. Furthermore, the sensitivity of these methods to minor model configuration changes—such as layer count—highlights a need for caution. Researchers should validate saliency interpretations on their specific model setups rather than assuming out-of-the-box reliability. Future work will look toward automating dataset construction and expanding the benchmark to morphologically rich languages.
Summary updated