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

学习解释:从Transformer注意力模式中学习监督的标记归因

Learning to Explain: Supervised Token Attribution from Transformer Attention Patterns

University of North Texas(北卡罗来纳州立大学)

George Mihaila

AI总结:

ExpNet通过学习Transformer注意力模式到标记重要性分数的映射,提供了一种轻量级的可解释AI方法,能够自动发现最佳注意力特征组合。

摘要:

可解释的AI(XAI)在部署中变得至关重要,尤其是在医疗、法律系统和金融服务等高风险应用中,其中不透明性阻碍了信任和问责。Transformer的自注意力机制已被证明对模型可解释性有价值,注意力权重已被成功用于理解模型的关注点和行为(Xu等,2015);(Wiegreffe和Pinter,2019)。然而,现有的基于注意力的解释方法依赖于手动定义的聚合策略和固定的归因规则(Abnar和Zuidema,2020a);(Chefer等,2021),而模型无关的方法(LIME,SHAP)将模型视为黑箱,并通过输入扰动产生显著的计算成本。我们介绍了解释网络(ExpNet),这是一个轻量级的神经网络,它学习从Transformer注意力模式到标记级重要性分数的显式映射。与以往的方法不同,ExpNet自动发现最佳的注意力特征组合,而不是依赖于预定的规则。我们评估了ExpNet在具有挑战性的跨任务设置中的表现,并将其与覆盖四种方法学家族的广泛模型无关方法和基于注意力的方法进行基准测试。

英文摘要:

Explainable AI (XAI) has become critical as transformer-based models are deployed in high-stakes applications including healthcare, legal systems, and financial services, where opacity hinders trust and accountability. Transformers self-attention mechanisms have proven valuable for model interpretability, with attention weights successfully used to understand model focus and behavior (Xu et al., 2015); (Wiegreffe and Pinter, 2019). However, existing attention-based explanation methods rely on manually defined aggregation strategies and fixed attribution rules (Abnar and Zuidema, 2020a); (Chefer et al., 2021), while model-agnostic approaches (LIME, SHAP) treat the model as a black box and incur significant computational costs through input perturbation. We introduce Explanation Network (ExpNet), a lightweight neural network that learns an explicit mapping from transformer attention patterns to token-level importance scores. Unlike prior methods, ExpNet discovers optimal attention feature combinations automatically rather than relying on predetermined rules. We evaluate ExpNet in a challenging cross-task setting and benchmark it against a broad spectrum of model-agnostic methods and attention-based techniques spanning four methodological families.

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

↑