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

用激活光谱学理解分布式表示

Making Sense Of Distributed Representations With Activation Spectroscopy

University of Southern California(南加州大学);University of California, Riverside(加州大学河滨分校)

Kyle Reing, Greg Ver Steeg, Aram Galstyan

AI总结:

本研究提出激活光谱学(ActSpec)方法,通过分析伪布尔傅里叶谱量化神经元子集的贡献,检测并追踪分布式表示中神经元的联合影响,并在合成设置及MNIST和情感分析网络中验证了其有效性。

摘要:

在神经网络可解释性研究中,越来越多的证据表明,相关特征是以分布式的方式在许多神经元中被编码的。在不知道网络编码策略的情况下理解这些分布式表示,是一项组合任务,且无法保证该任务是可处理的。本研究探索了一条可行的路径,用于检测和追踪分布式表示中神经元的联合影响。我们将这种方法称为激活光谱学(ActSpec),因为它分析了定义在网络层激活模式上的伪布尔傅里叶谱。给定层与输出 logit 之间定义的子网络被转化为一种特殊类别的伪布尔函数。指定层中每个神经元子集的贡献可以通过该函数的傅里叶系数进行量化。我们提出了一种组合优化程序,用于搜索同时具有高值且非冗余的傅里叶系数。该程序可被视为结合了特定问题额外约束的 Goldreich-Levin 算法的扩展。得到的系数指定了一个子集集合,用于测试表示的分布式程度。我们在多种合成设置中验证了该方法,并与现有的可解释性基准进行了比较。最后,我们在 MNIST 分类器和基于 transformer 的情感分析网络上进行了多项实验评估。

英文摘要:

In the study of neural network interpretability, there is growing evidence to suggest that relevant features are encoded across many neurons in a distributed fashion. Making sense of these distributed representations without knowledge of the network's encoding strategy is a combinatorial task that is not guaranteed to be tractable. This work explores one feasible path to both detecting and tracing the joint influence of neurons in a distributed representation. We term this approach Activation Spectroscopy (ActSpec), owing to its analysis of the pseudo-Boolean Fourier spectrum defined over the activation patterns of a network layer. The sub-network defined between a given layer and an output logit is cast as a special class of pseudo-Boolean function. The contributions of each subset of neurons in the specified layer can be quantified through the function's Fourier coefficients. We propose a combinatorial optimization procedure to search for Fourier coefficients that are simultaneously high-valued, and non-redundant. This procedure can be viewed as an extension of the Goldreich-Levin algorithm which incorporates additional problem-specific constraints. The resulting coefficients specify a collection of subsets, which are used to test the degree to which a representation is distributed. We verify our approach in a number of synthetic settings and compare against existing interpretability benchmarks. We conclude with a number of experimental evaluations on an MNIST classifier, and a transformer-based network for sentiment analysis.

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

↑