arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.17929cs.CV
收藏

走向解释超复数神经网络

Towards Explaining Hypercomplex Neural Networks

Sapienza University of Rome(罗马第一大学)

Eleonora Lopez, Eleonora Grassucci, Debora Capriotti, Danilo Comminiello

AI总结:

本文提出内在可解释的参数化超复数神经网络(PHNNs)和类四元数网络,通过在超复数域内定义余弦相似度变换(PHB-cos),实现权重对齐并将模型简化为线性变换,揭示了超复数网络关注对象周围形状的特性。

摘要:

超复数神经网络在深度学习社区中正获得越来越多的关注。对超复数模型的关注源于几个方面,从纯粹的理论和数学特征,到轻量级模型相对于传统网络的实际优势,以及它们捕获全局和局部关系的独特性质。特别是,这些架构的一个分支,参数化超复数神经网络(PHNNs),由于其跨多个应用领域的通用性而受到欢迎。尽管如此,只有少数尝试被用来解释或理解它们的复杂性。在本文中,我们提出了内在可解释的PHNNs和类四元数网络,因此不需要任何事后方法。为了实现这一点,我们在参数化超复数域内定义了一种余弦相似度变换。这种PHB-cos变换诱导权重与相关输入特征对齐,并允许将模型简化为单一的线性变换,使其直接可解释。在这项工作中,我们开始深入了解这个独特的神经模型分支是如何运作的。我们观察到,超复数网络除了关注目标对象本身的形状外,还表现出集中于主要感兴趣对象周围形状的趋势。我们提供了深入的分析,研究不同层的单个神经元,并将它们与实值网络的学习方式进行比较。本文的代码可在 https://github.com/ispamm/HxAI 获取。

英文摘要:

Hypercomplex neural networks are gaining increasing interest in the deep learning community. The attention directed towards hypercomplex models originates from several aspects, spanning from purely theoretical and mathematical characteristics to the practical advantage of lightweight models over conventional networks, and their unique properties to capture both global and local relations. In particular, a branch of these architectures, parameterized hypercomplex neural networks (PHNNs), has also gained popularity due to their versatility across a multitude of application domains. Nonetheless, only few attempts have been made to explain or interpret their intricacies. In this paper, we propose inherently interpretable PHNNs and quaternion-like networks, thus without the need for any post-hoc method. To achieve this, we define a type of cosine-similarity transform within the parameterized hypercomplex domain. This PHB-cos transform induces weight alignment with relevant input features and allows to reduce the model into a single linear transform, rendering it directly interpretable. In this work, we start to draw insights into how this unique branch of neural models operates. We observe that hypercomplex networks exhibit a tendency to concentrate on the shape around the main object of interest, in addition to the shape of the object itself. We provide a thorough analysis, studying single neurons of different layers and comparing them against how real-valued networks learn. The code of the paper is available at https://github.com/ispamm/HxAI.

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

↑