论文标题

神经网络与梯度的相似性

Similarity of Neural Networks with Gradients

论文作者

Tang, Shuai, Maddox, Wesley J., Dickens, Charlie, Diethe, Tom, Damianou, Andreas

论文摘要

比较学习神经网络的合适相似性指数在理解高度非线性函数的行为中起着重要作用,并且可以提供有关进一步的理论分析和经验研究的见解。在比较模型时,我们定义了两个关键步骤:首先,从学习模型中抽象的表示形式,我们建议在该模型中利用特征向量和梯度(在先前的工作中很大程度上被忽略)来设计神经网络的表示。其次,我们定义了使用的相似性指数,该指数具有所需的不变属性,并通过素描技术促进了所选的属性,以有效地比较各种数据集。从经验上讲,我们表明所提出的方法提供了一种用于计算神经网络相似性的最新方法,这些方法是在不同数据集和数据集定义的任务上独立培训的神经网络的相似性。

A suitable similarity index for comparing learnt neural networks plays an important role in understanding the behaviour of the highly-nonlinear functions, and can provide insights on further theoretical analysis and empirical studies. We define two key steps when comparing models: firstly, the representation abstracted from the learnt model, where we propose to leverage both feature vectors and gradient ones (which are largely ignored in prior work) into designing the representation of a neural network. Secondly, we define the employed similarity index which gives desired invariance properties, and we facilitate the chosen ones with sketching techniques for comparing various datasets efficiently. Empirically, we show that the proposed approach provides a state-of-the-art method for computing similarity of neural networks that are trained independently on different datasets and the tasks defined by the datasets.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源