Transformer-based models excel in various natural language processing (NLP) tasks, attracting countless efforts to explain their inner workings. Prior methods explain Transformers by focusing on the raw gradient and attention as token attribution scores, where non-relevant information is often considered during explanation computation, resulting in confusing results. In this work, we propose highlighting the important information and eliminating irrelevant information by a refined information flow on top of the layer-wise relevance propagation (LRP) method. Specifically, we consider identifying syntactic and positional heads as important attention heads and focus on the relevance obtained from these important heads. Experimental results demonstrate that irrelevant information does distort output attribution scores and then should be masked during explanation computation. Compared to eight baselines on both classification and question-answering datasets, our method consistently outperforms with over 3\% to 33\% improvement on explanation metrics, providing superior explanation performance. Our anonymous code repository is available at: https://github.com/LinxinS97/Mask-LRP
Explainable Verbal Deception Detection using Transformers
National Technical University of Athens(雅典国立技术大学);GESIS – Leibniz Institute for the Social Science(莱布尼茨社会科学研究所);University College London(伦敦大学学院);Tilburg University(蒂尔堡大学)
Hierarchical Label-wise Attention Transformer Model for Explainable ICD Coding
University of New South Wales(新南威尔士大学);The Australian e-Health Research Centre, CSIRO(澳大利亚联邦科学与工业研究组织澳大利亚电子健康研究中心);Australian Institute of Health and Welfare(澳大利亚卫生与福利研究所)
Interpreto: An Explainability Library for Transformers
IRT Saint Exupéry Toulouse(伊尔杜夫圣埃克苏佩里图卢斯);IRIT Toulouse(图卢兹IRIT);Khoury College of Computer Sciences(科赫里计算机科学学院);Ampere(阿姆佩尔);MICS, CentraleSupélec(MICS,中央超导学院);Scienta Lab(科学实验室);Thales Avionics(泰勒斯航空电子);ANITI
LLMs Explain't: A Post-Mortem on Semantic Interpretability in Transformer Models
Distributed Operating Systems Group, Department of Informatics, Universität Hamburg, Germany(信息学院分布式操作系统组,乌尔姆大学);Machine Learning Group, Department of Informatics, Universität Hamburg, Germany(信息学院机器学习组,乌尔姆大学)