arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.01311cs.CVcs.AI
收藏

多头解释器:一种提升CNN与Transformer可解释性的通用框架

Multi-Head Explainer: A General Framework to Improve Explainability in CNNs and Transformers

University of Electronic Science and Technology of China(电子科技大学);University of Cambridge(剑桥大学)

Bohang Sun, Pietro Liò

AI总结:

本研究提出多头解释器MHEX框架,通过注意力门、深度监督和等价矩阵三大组件,在仅需少量修改的情况下适配CNN与Transformer架构,同时提升模型分类准确率与可解释性。

摘要:

本研究提出Multi-Head Explainer(MHEX,多头解释器)——一种多功能模块化框架,可同时提升卷积神经网络(CNN)和基于Transformer的模型的可解释性与准确率。MHEX包含三大核心组件:动态突出任务相关特征的注意力门(Attention Gate)、引导早期层捕捉与目标类别相关细粒度细节的深度监督(Deep Supervision),以及统一优化后的局部与全局表征以生成全面显著性图的等价矩阵(Equivalent Matrix)。该方法兼容性极强,仅需极少修改即可轻松集成至现有残差网络(如ResNet)和Transformer架构(如BERT)中。在医学影像与文本分类基准数据集上的大量实验表明,MHEX不仅能提升分类准确率,还能生成高度可解释、细节丰富的显著性分数。

英文摘要:

In this study, we introduce the Multi-Head Explainer (MHEX), a versatile and modular framework that enhances both the explainability and accuracy of Convolutional Neural Networks (CNNs) and Transformer-based models. MHEX consists of three core components: an Attention Gate that dynamically highlights task-relevant features, Deep Supervision that guides early layers to capture fine-grained details pertinent to the target class, and an Equivalent Matrix that unifies refined local and global representations to generate comprehensive saliency maps. Our approach demonstrates superior compatibility, enabling effortless integration into existing residual networks like ResNet and Transformer architectures such as BERT with minimal modifications. Extensive experiments on benchmark datasets in medical imaging and text classification show that MHEX not only improves classification accuracy but also produces highly interpretable and detailed saliency scores.

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

↑