Conference Findings of ACL 2023 2023

Easy to Decide, Hard to Agree: Reducing Disagreements Between Saliency Methods

Josip Jukić, Martin Tutek, Jan Šnajder

In Findings of the Association for Computational Linguistics: ACL 2023, pages 9147–9162, Toronto, Canada. Association for Computational Linguistics.

Read PDF DOI
Teaser figure from the paper

Abstract

A popular approach to unveiling the black box of neural NLP models is to leverage saliency methods, which assign scalar importance scores to each input component. A common practice for evaluating whether an interpretability method is faithful has been to use evaluation-by-agreement – if multiple methods agree on an explanation, its credibility increases. However, recent work has found that saliency methods exhibit weak rank correlations even when applied to the same model instance and advocated for alternative diagnostic methods. In our work, we demonstrate that rank correlation is not a good fit for evaluating agreement and argue that Pearson-r is a better-suited alternative. We further show that regularization techniques that increase faithfulness of attention explanations also increase agreement between saliency methods. By connecting our findings to instance categories based on training dynamics, we show that the agreement of saliency method explanations is very low for easy-to-learn instances. Finally, we connect the improvement in agreement across instance categories to local representation space statistics of instances, paving the way for work on analyzing which intrinsic model properties improve their predisposition to interpretability methods.

Introduction

Our study examines the limitations of saliency methods in explaining neural network predictions, particularly in domains requiring transparency, like law, finance, and healthcare. Saliency methods often yield disparate importance scores for the same input, leading to disagreements that undermine their reliability. We explore whether this disagreement stems from inherent issues in saliency evaluation and propose solutions to reduce it, focusing on improving the faithfulness and consistency of explanations through regularization and better agreement metrics.

Saliency methods calculate feature importance post-hoc, either through gradients, backpropagation rules, or surrogate models. Other approaches, like self-rationalizing models and attention mechanisms, generate explanations as part of the decision-making process. Prior studies have indicated low agreement among saliency methods, suggesting these discrepancies may arise from input entanglement within hidden layers. We build on these findings, aiming to demonstrate that regularization techniques that reduce hidden state entanglement can improve agreement between saliency methods.

Preliminaries

Our experiments utilize four text classification datasets (IMDB, SST-2, SUBJ, TREC) and two model architectures (Bi-LSTM with attention and DistilBERT). We select popular explainability techniques (Deep-LIFT, Integrated Gradients, Shapley variants) and two regularization techniques (CONICITY and TYING) aimed at reducing entanglement in hidden representations.

Improving Agreement

Choice of Correlation Metric

Traditional agreement evaluation uses rank correlation, but this can exaggerate disagreements due to minor perturbations in saliency scores. We propose Pearson’s correlation coefficient as an alternative, as it is more robust to such variations. Our experiments reveal that Pearson’s r provides more consistent agreement scores across datasets, supporting its use as a complementary metric in saliency evaluations.

Regularizing Models

We apply CONICITY and TYING to promote disentanglement in the hidden layers, hypothesizing that reduced entanglement will improve agreement. Results confirm that regularized models exhibit higher agreement scores without compromising performance, suggesting that representation disentanglement is a fundamental factor in saliency method consistency.

The Cartography of Agreement

Using dataset cartography, we categorize instances based on model confidence and variability into easy-to-learn, hard-to-learn, and ambiguous groups. Surprisingly, we find that easy-to-learn instances yield lower agreement than ambiguous ones. This inverse relationship indicates that the smoothness of the representation space around easy instances may allow for multiple explanations, complicating saliency interpretation. Ambiguous instances, on the other hand, exhibit sharper, well-defined representations that facilitate higher agreement.

The Curvature of Agreement

To further understand agreement distribution, we analyze the local curvature of the representation space. For easy-to-learn instances, we observe high density and smoothness, suggesting multiple valid explanations for predictions. For ambiguous instances, sharper local curvature indicates well-defined importance scores. These findings align with the Rashomon effect, where multiple plausible explanations exist for the same outcome, complicating the interpretability of saliency methods.

Conclusion

Our study highlights the challenges of evaluating interpretability through saliency method agreement and offers solutions to improve it. By employing Pearson’s r and using regularization techniques to reduce entanglement, we enhance agreement among saliency methods without sacrificing model performance. Future work should explore these findings in other models and tasks to assess generalizability.

Limitations

Our approach has limitations, including reliance on datasets that may not fully capture the complexity of different interpretability challenges. Additionally, we focus on single-sequence classification tasks and evaluate agreement under the assumption that saliency methods approximate ground truth importance. Future studies should explore diverse tasks and models to validate our findings more broadly.

BibTeX

@inproceedings{jukic-etal-2023-easy,
    title = "Easy to Decide, Hard to Agree: Reducing Disagreements Between Saliency Methods",
    author = "Juki{\'c}, Josip  and
      Tutek, Martin  and
     \v{S}najder, Jan",
    editor = "Rogers, Anna  and
      Boyd-Graber, Jordan  and
      Okazaki, Naoaki",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2023",
    month = jul,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.findings-acl.582",
    doi = "10.18653/v1/2023.findings-acl.582",
    pages = "9147--9162",
    abstract = "A popular approach to unveiling the black box of neural NLP models is to leverage saliency methods, which assign scalar importance scores to each input component. A common practice for evaluating whether an interpretability method is faithful has been to use evaluation-by-agreement {--} if multiple methods agree on an explanation, its credibility increases. However, recent work has found that saliency methods exhibit weak rank correlations even when applied to the same model instance and advocated for alternative diagnostic methods. In our work, we demonstrate that rank correlation is not a good fit for evaluating agreement and argue that Pearson-r is a better-suited alternative. We further show that regularization techniques that increase faithfulness of attention explanations also increase agreement between saliency methods. By connecting our findings to instance categories based on training dynamics, we show that the agreement of saliency method explanations is very low for easy-to-learn instances. Finally, we connect the improvement in agreement across instance categories to local representation space statistics of instances, paving the way for work on analyzing which intrinsic model properties improve their predisposition to interpretability methods.",
}