arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.14776cs.LG
收藏

论注意力网络的可解释性

On the Interpretability of Attention Networks

IIT Madras(印度理工学院马德拉斯分校)

Lakshmi Narayan Pandey, Rahul Vashisht, Harish G. Ramaswamy

AI总结:

本文针对注意力网络的可解释性,提出选择性依赖分类(SDC)框架,揭示准确但不可解释的错误模式,并证明鼓励稀疏性的学习算法能提升可解释性。

摘要:

注意力机制构成了几个成功的深度学习架构的核心组成部分,其基于一个关键思想:“输出仅依赖于输入的一小段(但未知的)片段。”在图像描述和语言翻译等几个实际应用中,这大体上是正确的。在带有注意力机制的已训练模型中,一个中间模块的输出(该模块编码了负责输出的输入片段)常被用作窥探网络“推理”过程的一种方式。对于分类问题的一个变体,我们使这种概念更加精确,该变体被称为选择性依赖分类(SDC),当与注意力模型架构一起使用时。在这种设置下,我们展示了各种错误模式,其中注意力模型可以准确但无法解释,并表明这类模型确实会因训练而产生。我们说明了各种可能加剧和缓解这种行为的情况。最后,我们利用针对SDC任务的可解释性的客观定义,评估了几种旨在鼓励稀疏性的注意力模型学习算法,并证明这些算法有助于提高可解释性。

英文摘要:

Attention mechanisms form a core component of several successful deep learning architectures, and are based on one key idea: ''The output depends only on a small (but unknown) segment of the input.'' In several practical applications like image captioning and language translation, this is mostly true. In trained models with an attention mechanism, the outputs of an intermediate module that encodes the segment of input responsible for the output is often used as a way to peek into the `reasoning` of the network. We make such a notion more precise for a variant of the classification problem that we term selective dependence classification (SDC) when used with attention model architectures. Under such a setting, we demonstrate various error modes where an attention model can be accurate but fail to be interpretable, and show that such models do occur as a result of training. We illustrate various situations that can accentuate and mitigate this behaviour. Finally, we use our objective definition of interpretability for SDC tasks to evaluate a few attention model learning algorithms designed to encourage sparsity and demonstrate that these algorithms help improve interpretability.

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

↑