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

具有有限宽度和输入维度的深度ReLU网络中的学生专业化

Student Specialization in Deep ReLU Networks With Finite Width and Input Dimension

Facebook AI Research(脸书人工智能研究院)

Yuandong Tian

摘要:

我们考虑一个深度ReLU / Leaky ReLU学生网络,它是从相同深度的固定教师网络的输出中训练出来的,使用随机梯度下降(SGD)。学生网络为\emph{over-realized}:在每一层$l$上,学生节点的数量$n_l$大于教师节点的数量($m_l$)。在数据集和教师网络上,在较弱的条件下,证明了当每个数据样本的梯度都很小时,每个教师节点都是由至少一个学生节点\emph{at the lowest layer}生成的\emph{specialized}.对于两层网络,可以通过在\emph{polynomial}大小为$\mathcal{O}( K^{5/2} d^3 ε^{-1})$的任何数据集上进行训练来实现这种专门化。直到梯度幅度下降到$\mathcal{O}(ε/K^{3/2}\sqrt{d})$。这里$d$是输入维度,$K = m_1 + n_1$是教师和学生最低层的神经元总数。请注意,我们需要一种特定形式的数据增强,样本复杂性包括从增强生成的额外数据。据我们所知,我们是第一个为教师-学生设置中具有有限深度和宽度的训练双层(Leaky)ReLU网络的学生专业化提供多项式样本复杂度的人,以及多层情况下最低层专业化的有限复杂度,没有输入的参数假设(如高斯)。我们的理论表明,当梯度仍然很大时,具有大扇出权重的教师节点首先被专业化,而其他节点则被小梯度专业化,这表明训练中存在归纳偏差。这就形成了训练的阶段,正如在以前的多个作品中所观察到的那样。合成和CIFAR 10的实验验证了我们的发现。代码发布在https://github.com/facebookresearch/luckmatters上。

英文摘要:

We consider a deep ReLU / Leaky ReLU student network trained from the output of a fixed teacher network of the same depth, with Stochastic Gradient Descent (SGD). The student network is \emph{over-realized}: at each layer $l$, the number $n_l$ of student nodes is more than that ($m_l$) of teacher. Under mild conditions on dataset and teacher network, we prove that when the gradient is small at every data sample, each teacher node is \emph{specialized} by at least one student node \emph{at the lowest layer}. For two-layer network, such specialization can be achieved by training on any dataset of \emph{polynomial} size $\mathcal{O}( K^{5/2} d^3 ε^{-1})$. until the gradient magnitude drops to $\mathcal{O}(ε/K^{3/2}\sqrt{d})$. Here $d$ is the input dimension, $K = m_1 + n_1$ is the total number of neurons in the lowest layer of teacher and student. Note that we require a specific form of data augmentation and the sample complexity includes the additional data generated from augmentation. To our best knowledge, we are the first to give polynomial sample complexity for student specialization of training two-layer (Leaky) ReLU networks with finite depth and width in teacher-student setting, and finite complexity for the lowest layer specialization in multi-layer case, without parametric assumption of the input (like Gaussian). Our theory suggests that teacher nodes with large fan-out weights get specialized first when the gradient is still large, while others are specialized with small gradient, which suggests inductive bias in training. This shapes the stage of training as empirically observed in multiple previous works. Experiments on synthetic and CIFAR10 verify our findings. The code is released in https://github.com/facebookresearch/luckmatters.

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

↑