arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.15569cs.LGq-bio.NC
收藏

核心思想指导下的Transformers自注意力再设计

Core-Periphery Principle Guided Redesign of Self-Attention in Transformers

University of Texas at Arlington(德克萨斯大学阿灵顿分校);University of Georgia(佐治亚大学);Athens Academy(雅典学院)

Xiaowei Yu, Lu Zhang, Haixing Dai, Yanjun Lyu, Lin Zhao, Zihao Wu, David Liu, Tianming Liu, Dajiang Zhu

摘要:

设计更高效、可靠和可解释的神经网络架构对于基于人工智能(AI)技术的研究至关重要。先前的研究通过事后分析发现,性能最好的ANN与生物神经网络(BNN)惊人地相似,这表明ANN和BNN可能共享一些共同的原则,以在机器学习或认知/行为任务中实现最佳性能。受这种现象的启发,我们主动灌输BNN的组织原则,以指导ANN的重新设计。我们利用人脑网络中广泛存在的核心认知(CP)组织来指导视觉Transformer(ViT)的自注意力中的信息交流机制,并将这种新的框架命名为CP-ViT。在CP-ViT中,节点间的注意力操作由一个具有核心竞争力结构的稀疏图(CP图)来定义,核心节点被重新设计和重组,发挥整合作用,并作为其他外围节点交换信息的中心。我们在多个公共数据集上评估了所提出的CP-ViT,包括医学图像数据集(INbreast)和自然图像数据集。有趣的是,通过将BNN衍生的原理(CP结构)纳入ViT的重新设计中,我们的CP-ViT优于其他最先进的ANN。总的来说,我们的工作在三个方面推进了最先进的技术水平:1)这项工作为大脑启发的人工智能提供了新的见解:我们可以利用BNN中发现的原则来指导和改进我们的ANN架构设计; 2)我们表明存在CP图的甜蜜点,导致CP-ViTs具有显着提高的性能; CP-ViT中的核心节点对应于与任务相关的有意义和重要的图像块,这可以显著增强训练后的深度模型的可解释性。

英文摘要:

Designing more efficient, reliable, and explainable neural network architectures is critical to studies that are based on artificial intelligence (AI) techniques. Previous studies, by post-hoc analysis, have found that the best-performing ANNs surprisingly resemble biological neural networks (BNN), which indicates that ANNs and BNNs may share some common principles to achieve optimal performance in either machine learning or cognitive/behavior tasks. Inspired by this phenomenon, we proactively instill organizational principles of BNNs to guide the redesign of ANNs. We leverage the Core-Periphery (CP) organization, which is widely found in human brain networks, to guide the information communication mechanism in the self-attention of vision transformer (ViT) and name this novel framework as CP-ViT. In CP-ViT, the attention operation between nodes is defined by a sparse graph with a Core-Periphery structure (CP graph), where the core nodes are redesigned and reorganized to play an integrative role and serve as a center for other periphery nodes to exchange information. We evaluated the proposed CP-ViT on multiple public datasets, including medical image datasets (INbreast) and natural image datasets. Interestingly, by incorporating the BNN-derived principle (CP structure) into the redesign of ViT, our CP-ViT outperforms other state-of-the-art ANNs. In general, our work advances the state of the art in three aspects: 1) This work provides novel insights for brain-inspired AI: we can utilize the principles found in BNNs to guide and improve our ANN architecture design; 2) We show that there exist sweet spots of CP graphs that lead to CP-ViTs with significantly improved performance; and 3) The core nodes in CP-ViT correspond to task-related meaningful and important image patches, which can significantly enhance the interpretability of the trained deep model.

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

↑