arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.05032cs.LGstat.ML
收藏

从线性度去耦选通

Decoupling Gating from Linearity

The Hebrew University(希伯来大学)

Jonathan Fiat, Eran Malach, Shai Shalev-Shwartz

摘要:

ReLU神经网络一直是最近许多理论著作的焦点,试图解释它们的经验成功。尽管如此,目前的理论结果和经验观察之间仍然存在差距,即使是在浅(一个隐藏层)网络的情况下。例如,在记忆大小为$m$和维度为$d$的随机样本的任务中,最佳理论结果要求网络的大小为$\tildeΩ(\frac{m^2}{d})$,而根据经验,网络大小略大于$\frac{m}{d}$就足够了。为了弥合这一差距,我们转而研究ReLU网络的简化模型。我们观察到,ReLU神经元是线性函数与门的乘积(后者决定神经元是否活跃),两者共享一个联合训练的权重向量。本着这种精神,我们引入了门控线性单元(GaLU),它通过为每个角色分配不同的向量,简单地将线性度从门控中分离出来。我们表明,GaLU网络使我们能够获得比ReLU网络更强大的优化和泛化结果。具体来说,我们展示了一个记忆结果的大小为$\tildeΩ(\frac{m}{d})$的网络,并改进了泛化界。最后,我们表明,在某些情况下,GaLU网络的行为与ReLU网络相似,因此证明是简化模型的良好选择。

英文摘要:

ReLU neural-networks have been in the focus of many recent theoretical works, trying to explain their empirical success. Nonetheless, there is still a gap between current theoretical results and empirical observations, even in the case of shallow (one hidden-layer) networks. For example, in the task of memorizing a random sample of size $m$ and dimension $d$, the best theoretical result requires the size of the network to be $\tildeΩ(\frac{m^2}{d})$, while empirically a network of size slightly larger than $\frac{m}{d}$ is sufficient. To bridge this gap, we turn to study a simplified model for ReLU networks. We observe that a ReLU neuron is a product of a linear function with a gate (the latter determines whether the neuron is active or not), where both share a jointly trained weight vector. In this spirit, we introduce the Gated Linear Unit (GaLU), which simply decouples the linearity from the gating by assigning different vectors for each role. We show that GaLU networks allow us to get optimization and generalization results that are much stronger than those available for ReLU networks. Specifically, we show a memorization result for networks of size $\tildeΩ(\frac{m}{d})$, and improved generalization bounds. Finally, we show that in some scenarios, GaLU networks behave similarly to ReLU networks, hence proving to be a good choice of a simplified model.

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

↑