arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.04312cs.LGcs.AIcs.NE
收藏

神经网络中的半空间特征学习

Half-Space Feature Learning in Neural Networks

IIT Madras(印度理工学院马德拉斯分校)

Mahesh Lorik Yadav, Harish Guruprasad Ramaswamy, Chandrashekar Lakshminarayanan

AI总结:

本文提出深度线性门控网络(DLGN),将神经网络视为专家混合体,证明其通过在学习输入空间中的半空间来实现特征学习,并假设ReLU网络具有类似行为。

摘要:

目前关于神经网络特征学习存在两种极端观点——(i)神经网络仅仅实现了一种核方法(类似NTK),因此没有学习到任何特征;(ii)神经网络能够表示(并因此学习)适合数据的复杂层次化特征。我们在本文中基于一种新颖观点论证这两种解释都不太可能是正确的。神经网络可以被视为专家混合体,其中每个专家对应于穿过一系列隐藏单元的一条(层数长度的)路径。我们利用这种替代解释来构建一个模型,称为深度线性门控网络(DLGN),它介于深度线性网络和ReLU网络之间。与深度线性网络不同,DLGN能够学习非线性特征(这些特征随后被线性组合),而与ReLU网络不同,这些特征最终是简单的——每个特征实际上是一个区域的指示函数,该区域可紧凑地描述为输入空间中(层数个)半空间的交集。这一观点允许对特征进行全面的全局可视化,不同于基于显著性/激活/梯度图的神经元局部可视化。我们证明DLGN中确实发生了特征学习,其发生机制是通过在输入空间中学习包含目标函数平滑区域的半空间。由于DLGN的结构,后层神经元与前层神经元在本质上是相同的——它们都表示一个半空间——然而,梯度下降的动力学赋予后层神经元一种独特的聚类结构。我们假设ReLU网络也具有类似的特征学习行为。

英文摘要:

There currently exist two extreme viewpoints for neural network feature learning -- (i) Neural networks simply implement a kernel method (a la NTK) and hence no features are learned (ii) Neural networks can represent (and hence learn) intricate hierarchical features suitable for the data. We argue in this paper neither interpretation is likely to be correct based on a novel viewpoint. Neural networks can be viewed as a mixture of experts, where each expert corresponds to a (number of layers length) path through a sequence of hidden units. We use this alternate interpretation to motivate a model, called the Deep Linearly Gated Network (DLGN), which sits midway between deep linear networks and ReLU networks. Unlike deep linear networks, the DLGN is capable of learning non-linear features (which are then linearly combined), and unlike ReLU networks these features are ultimately simple -- each feature is effectively an indicator function for a region compactly described as an intersection of (number of layers) half-spaces in the input space. This viewpoint allows for a comprehensive global visualization of features, unlike the local visualizations for neurons based on saliency/activation/gradient maps. Feature learning in DLGNs is shown to happen and the mechanism with which this happens is through learning half-spaces in the input space that contain smooth regions of the target function. Due to the structure of DLGNs, the neurons in later layers are fundamentally the same as those in earlier layers -- they all represent a half-space -- however, the dynamics of gradient descent impart a distinct clustering to the later layer neurons. We hypothesize that ReLU networks also have similar feature learning behaviour.

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

↑