arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.12794cs.NE
收藏

Expand-and-Cluster:神经网络的参数恢复

Expand-and-Cluster: Parameter Recovery of Neural Networks

Flavio Martinelli, Berfin Simsek, Wulfram Gerstner, Johanni Brea

AI总结:

提出Expand-and-Cluster方法,通过训练过参数化学生网络并聚类共享权重,在不到10%的层大小开销下成功逆向恢复各类神经网络的权重与大小。

摘要:

我们能否通过探测神经网络的输入-输出映射来识别其权重?乍看之下,由于排列、过参数化和激活函数对称性,该问题似乎有许多解。然而,我们证明,根据激活函数的不同,每个神经元的传入权重向量是可识别的,仅存在符号或缩放上的歧义。我们的新方法‘Expand-and-Cluster’能够针对所有常用激活函数识别目标网络的层大小和权重。Expand-and-Cluster包含两个阶段:(i) 为放宽非凸优化问题,我们训练多个过参数化的学生网络以最佳地模仿目标函数;(ii) 为逆向工程目标网络的权重,我们采用专门的聚类过程来揭示学生网络间共享的学习权重向量——这些向量对应于目标权重向量。我们展示了在层大小开销不到10%的情况下成功恢复已训练浅层和深层网络的权重与大小,并通过分析150个难度可变的合成问题,描述了一条“易于识别性”的轴线。

英文摘要:

Can we identify the weights of a neural network by probing its input-output mapping? At first glance, this problem seems to have many solutions because of permutation, overparameterisation and activation function symmetries. Yet, we show that the incoming weight vector of each neuron is identifiable up to sign or scaling, depending on the activation function. Our novel method 'Expand-and-Cluster' can identify layer sizes and weights of a target network for all commonly used activation functions. Expand-and-Cluster consists of two phases: (i) to relax the non-convex optimisation problem, we train multiple overparameterised student networks to best imitate the target function; (ii) to reverse engineer the target network's weights, we employ an ad-hoc clustering procedure that reveals the learnt weight vectors shared between students -- these correspond to the target weight vectors. We demonstrate successful weights and size recovery of trained shallow and deep networks with less than 10\% overhead in the layer size and describe an `ease-of-identifiability' axis by analysing 150 synthetic problems of variable difficulty.

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

↑