arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.24149cs.LGq-bio.GN
收藏

你读的是你分类的:突出对文本和文本样输入的归因

What You Read is What You Classify: Highlighting Attributions to Text and Text-Like Inputs

Johns Hopkins Applied Physics Laboratory(约翰霍普金斯应用物理实验室);Google DeepMind(谷歌DeepMind)

Daniel S. Berman, Brian Merritt, Stanley Ta, Dana Udwin, Amanda Ernlund, Jeremy Ratcliff, Vijay Narayan

AI总结:

本文提出一种针对基于token分类器的可解释AI方法,通过mask机制生成可读解释,适用于文本等离散输入。

摘要:

目前,对于离散的token输入(如文本)尚无易于理解的可解释人工智能(AI)方法。大多数可解释AI技术难以扩展到token序列,因为在这种情况下,局部和全局特征都重要,而最先进的模型,如transformers,往往侧重于全局连接。因此,现有的可解释AI算法失败于(i)识别出重要性不同的token,或(ii)对大量token赋予较低的重要性。这种针对基于token的分类器的可解释AI方法推广了适用于图像的基于mask的可解释AI算法。它从一个训练有素的Explainer神经网络开始,该网络被训练生成mask以隐藏对分类不相关的 информации。然后,将mask与分类器嵌入层的连续值进行Hadamard乘积,并将其传递给分类器,从而改变嵌入向量的幅度但保持方向不变。Explainer被训练用于核苷酸序列的分类器,并且显示被mask的段比未被mask的段对分类更不重要。该方法关注于token整体(即输入序列的段)的重要性,从而产生可读的人类解释。

英文摘要:

At present, there are no easily understood explainable artificial intelligence (AI) methods for discrete token inputs, like text. Most explainable AI techniques do not extend well to token sequences, where both local and global features matter, because state-of-the-art models, like transformers, tend to focus on global connections. Therefore, existing explainable AI algorithms fail by (i) identifying disparate tokens of importance, or (ii) assigning a large number of tokens a low value of importance. This method for explainable AI for tokens-based classifiers generalizes a mask-based explainable AI algorithm for images. It starts with an Explainer neural network that is trained to create masks to hide information not relevant for classification. Then, the Hadamard product of the mask and the continuous values of the classifier's embedding layer is taken and passed through the classifier, changing the magnitude of the embedding vector but keeping the orientation unchanged. The Explainer is trained for a taxonomic classifier for nucleotide sequences and it is shown that the masked segments are less relevant to classification than the unmasked ones. This method focused on the importance the token as a whole (i.e., a segment of the input sequence), producing a human-readable explanation.

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

↑