arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.11073cs.LG
收藏

Grad-SAM:用梯度自注意力图解释Transformers

Grad-SAM: Explaining Transformers via Gradient Self-Attention Maps

The Open University(开放大学);IDC Herzeliya(赫兹利亚跨学科研究中心);Bar-Ilan University(巴伊兰大学);Microsoft(微软);Technion(以色列理工学院);Tel Aviv University(特拉维夫大学)

Oren Barkan, Edan Hauon, Avi Caciularu, Ori Katz, Itzik Malkiel, Omri Armstrong, Noam Koenigstein

摘要:

基于transformer的语言模型在许多语言任务中显著地推进了最先进的技术。随着这场革命的继续,解释模型预测的能力已经成为NLP社区感兴趣的主要领域。在这项工作中,我们提出了梯度自注意力地图(Grad-SAM)-一种新的基于梯度的方法,分析自注意力单位,并确定输入元素,解释模型的预测最好的。对各种基准的广泛评估表明,Grad-SAM比最先进的替代品有了显着的改进。

英文摘要:

Transformer-based language models significantly advanced the state-of-the-art in many linguistic tasks. As this revolution continues, the ability to explain model predictions has become a major area of interest for the NLP community. In this work, we present Gradient Self-Attention Maps (Grad-SAM) - a novel gradient-based method that analyzes self-attention units and identifies the input elements that explain the model's prediction the best. Extensive evaluations on various benchmarks show that Grad-SAM obtains significant improvements over state-of-the-art alternatives.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑