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

使用对偶性将深度神经网络与整流线性单元分离

Disentangling deep neural networks with rectified linear units using duality

Indian Institute of Technology Madras(印度马德拉斯理工学院)

Chandrashekar Lakshminarayanan, Amit Vikram Singh

摘要:

尽管深度神经网络(DNN)取得了成功,但在很大程度上仍被认为是黑匣子。主要问题是线性和非线性操作在每一层都纠缠在一起,使得很难解释隐藏层的输出。在本文中,我们将研究具有整流线性单元(ReLU)的DNN,并专注于ReLU的门控属性(“开/关”状态)。我们扩展了最近开发的对偶视图,其中计算是断开的路径方式,以表明门中的学习更重要,并且通过所谓的神经路径内核(NPK)分析地学习给定门的权重,该内核取决于输入“与”门。在本文中,我们提出了新的结果表明,卷积与全球池和跳过连接提供分别旋转不变性和系综结构的NPK。为了解决“黑箱”问题,我们提出了一种新的具有ReLU的DNN的可解释对应物,即深度线性门控网络(DLGN):门的预激活由深度线性网络生成,然后将门作为外部掩码来学习不同网络中的权重。DLGN本身并不是一种替代架构,而是一种解纠缠和可解释的重新安排,在DNN中使用ReLU进行计算。DLGN将计算分解为两个“数学上”可解释的线性(i)门控网络中输入和预激活之间的“原始”线性和(ii)以NPK为特征的权重网络中路径空间中的“双重”线性。我们比较了DNN、DGN和DLGN在CIFAR-10和CIFAR-100上的性能,结果表明,DLGN恢复的性能超过了最先进DNN的性能的$83.5\%$。这给我们带来了一个有趣的问题:“DLGN是一个普遍的谱逼近?'

英文摘要:

Despite their success deep neural networks (DNNs) are still largely considered as black boxes. The main issue is that the linear and non-linear operations are entangled in every layer, making it hard to interpret the hidden layer outputs. In this paper, we look at DNNs with rectified linear units (ReLUs), and focus on the gating property (`on/off' states) of the ReLUs. We extend the recently developed dual view in which the computation is broken path-wise to show that learning in the gates is more crucial, and learning the weights given the gates is characterised analytically via the so called neural path kernel (NPK) which depends on inputs and gates. In this paper, we present novel results to show that convolution with global pooling and skip connection provide respectively rotational invariance and ensemble structure to the NPK. To address `black box'-ness, we propose a novel interpretable counterpart of DNNs with ReLUs namely deep linearly gated networks (DLGN): the pre-activations to the gates are generated by a deep linear network, and the gates are then applied as external masks to learn the weights in a different network. The DLGN is not an alternative architecture per se, but a disentanglement and an interpretable re-arrangement of the computations in a DNN with ReLUs. The DLGN disentangles the computations into two `mathematically' interpretable linearities (i) the `primal' linearity between the input and the pre-activations in the gating network and (ii) the `dual' linearity in the path space in the weights network characterised by the NPK. We compare the performance of DNN, DGN and DLGN on CIFAR-10 and CIFAR-100 to show that, the DLGN recovers more than $83.5\%$ of the performance of state-of-the-art DNNs. This brings us to an interesting question: `Is DLGN a universal spectral approximator?'

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

↑