通过功能相似表示识别神经网络中的子网络
Identifying Sub-networks in Neural Networks via Functionally Similar Representations
AI总结:
提出基于功能相似表示和Gromov-Wasserstein距离的自动化任务无关方法,识别神经网络中的相似层和潜在子网络,以最小成本为模型压缩等下游应用提供可解释性见解。
摘要:
为神经网络的内部工作原理提供人类可理解的见解,是实现更具可解释性和可信赖AI的重要一步。现有的此类机制可解释性方法通常需要大量先验知识和人工努力,且策略针对特定任务量身定制。在这项工作中,我们通过研究不同子网络的存在性,朝着自动化理解网络迈出了一步。具体而言,我们探索了一种基于神经网络内功能相似表示概念的新型自动化且与任务无关的方法,以识别相似和不同的层,从而揭示潜在的子网络。我们通过首次提出使用Gromov-Wasserstein距离来实现这一点,该距离克服了由中间表示之间不同的分布和维度所带来的挑战,这些问题使直接的层间比较变得复杂。在代数、语言和视觉任务中,我们观察到神经网络层内出现了对应于功能抽象的子群。通过模型压缩和微调的下游应用,我们表明所提出的方法以最小的人工和计算成本为神经网络的行为提供了有意义的见解。
英文摘要:
Providing human-understandable insights into the inner workings of neural networks is an important step toward achieving more explainable and trustworthy AI. Existing approaches to such mechanistic interpretability typically require substantial prior knowledge and manual effort, with strategies tailored to specific tasks. In this work, we take a step toward automating the understanding of the network by investigating the existence of distinct sub-networks. Specifically, we explore a novel automated and task-agnostic approach based on the notion of functionally similar representations within neural networks to identify similar and dissimilar layers, revealing potential sub-networks. We achieve this by proposing, for the first time to our knowledge, the use of Gromov-Wasserstein distance, which overcomes challenges posed by varying distributions and dimensionalities across intermediate representations, issues that complicate direct layer to layer comparisons. On algebraic, language, and vision tasks, we observe the emergence of sub-groups within neural network layers corresponding to functional abstractions. Through downstream applications of model compression and fine-tuning, we show the proposed approach offers meaningful insights into the behavior of neural networks with minimal human and computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。